Function at 0x41c470
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48d948
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x220
mov eax, dword [0x4aff10]
push ebx
push esi
push edi
push 0x235
mov dword [esp + 0x228], eax
mov esi, ecx
call fcn.0040a9c0
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
mov ecx, dword [0x4b1dac]
push 0x221
push ecx
call dword [0x4b00f4]
push 0x30
mov dword [esi + 0x28], eax
call fcn.004876fc
mov edi, eax
add esp, 4
mov dword [esp + 0xc], edi
test edi, edi
mov dword [esp + 0x234], 0
je 0x41c522
mov edx, dword [esi + 4]
mov ebx, dword [0x4b1dac]
push 1
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x40
push 0
push 0
push 1
push 0x20f
push ebx
mov dword [esp + 0x28], eax
call dword [0x4b0100]
push eax
mov eax, dword [esp + 0x14]
push eax
mov ecx, edi
call fcn.00484b80
jmp 0x41c524
xor eax, eax
push 0x30
mov dword [esp + 0x238], 0xffffffff
mov dword [esi + 0x20], eax
call fcn.004876fc
mov edi, eax
add esp, 4
mov dword [esp + 0xc], edi
test edi, edi
mov dword [esp + 0x234], 1
je 0x41c58a
mov ecx, dword [esi + 4]
mov ebx, dword [0x4b1dac]
push 2
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x40
push 0
push 0
push 1
push 0x20e
push ebx
mov dword [esp + 0x28], eax
call dword [0x4b0100]
mov edx, dword [esp + 0x10]
push eax
push edx
mov ecx, edi
call fcn.00484b80
jmp 0x41c58c
xor eax, eax
or ebx, 0xffffffff
mov dword [esp + 0x234], ebx
mov dword [esi + 0x24], eax
call fcn.00434340
mov ecx, dword [esi + 4]
push eax
push 0
push 0x80
push ecx
call dword [0x4b0124]
mov eax, dword [esi + 4]
push 0x4cb
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [esp + 0x10], eax
call fcn.0042b1f0
test eax, eax
mov ecx, dword [0x4b0168]
jne 0x41c695
test ecx, ecx
je 0x41c7e3
mov edi, ecx
call fcn.00483560
push edi
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
mov word [esp + 0x1c], 0
xor eax, eax
mov ecx, 0x81
lea edi, [esp + 0x1e]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x1c]
push ecx
push 0
stosw word es:[edi], ax
call fcn.00433810
lea edx, [esp + 0x24]
push 0x493198
push edx
call dword [sym.imp.MSVCR71.dll_wcscat]
add esp, 0x14
call fcn.0042b1f0
test eax, eax
push 0x5c
je 0x41c656
call fcn.004876fc
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
mov dword [esp + 0x234], 2
je 0x41c684
push 1
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call fcn.00483b70
jmp 0x41c686
call fcn.004876fc
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
mov dword [esp + 0x234], 3
je 0x41c684
push 0x3e7
lea edx, [esp + 0x1c]
push edx
mov ecx, eax
call fcn.00483b70
jmp 0x41c686
xor eax, eax
mov ecx, eax
mov dword [esp + 0x234], ebx
mov dword [0x4b0168], ecx
test ecx, ecx
je 0x41c7e3
mov eax, dword [ecx + 0x54]
test eax, eax
jl 0x41c7e3
xor edi, edi
mov edx, dword [ecx + 0x38]
test edx, edx
mov dword [esp + 0xc], edi
je 0x41c794
mov eax, dword [ecx + 0x3c]
sub eax, edx
sar eax, 2
cmp edi, eax
jae 0x41c794
mov eax, edx
lea ebx, [edi*4]
add eax, ebx
mov eax, dword [eax]
mov eax, dword [eax]
push str.Skin
push eax
call dword [sym.imp.MSVCR71.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x41c788
mov ecx, dword [0x4b0168]
mov edx, dword [ecx + 0x38]
mov ecx, dword [edx + ebx]
lea eax, [edx + ebx]
mov edx, dword [ecx + 0x2c]
mov ecx, dword [esi + 0x28]
push edx
mov edx, dword [eax]
mov eax, dword [edx + 0x30]
push ecx
mov ecx, dword [edx + 0x28]
push ecx
mov ecx, dword [edx + 0x24]
push ecx
mov ecx, dword [esp + 0x20]
push eax
push ecx
call fcn.0041a380
push 0x20c
call fcn.004876fc
mov edi, eax
add esp, 0x1c
test edi, edi
je 0x41c746
mov edx, dword [0x4b1dec]
mov ecx, 0x4b1dec
call dword [edx + 0xc]
add eax, 0x10
mov dword [edi], eax
jmp 0x41c748
xor edi, edi
mov eax, dword [0x4b0168]
mov eax, dword [eax + 0x38]
mov ecx, dword [eax + ebx]
add eax, ebx
mov ebx, dword [ecx + 0x28]
test ebx, ebx
mov dword [esp + 0x14], edi
jne 0x41c764
xor eax, eax
jmp 0x41c76e
push ebx
call dword [sym.imp.MSVCR71.dll_wcslen]
add esp, 4
push eax
push ebx
mov ecx, edi
call fcn.00407240
lea edx, [esp + 0x14]
push edx
lea ecx, [esi + 0x30]
call fcn.0041c420
mov edi, dword [esp + 0xc]
mov ecx, dword [0x4b0168]
inc edi
jmp 0x41c6aa
mov eax, dword [esp + 0x10]
push 0
push 0
push 0x18b
push eax
call dword [0x4b0124]
cmp eax, 0xffffffff
je 0x41c7e3
test eax, eax
jle 0x41c7e3
mov ecx, dword [esi + 4]
push 2
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push eax
call dword [0x4b00c0]
mov edx, dword [esi + 4]
lea eax, [esi + 0x30]
push eax
push 0
push 0x41bfd0
mov dword [esi + 0x44], edx
call dword [sym.imp.MSVCR71.dll__beginthread]
add esp, 0xc
mov dword [esi + 0x2c], eax
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x224]
mov eax, 1
call fcn.004877c7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10