Function at 0x41e920
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4925d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x220
mov eax, dword [0x4b5320]
push ebx
push esi
push edi
push 0x235
mov dword [esp + 0x228], eax
mov esi, ecx
call fcn.0040ab20
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
mov ecx, dword [0x4b71c4]
push 0x221
push ecx
call dword [0x4b5508]
push 0x30
mov dword [esi + 0x28], eax
call fcn.0048c300
mov edi, eax
add esp, 4
mov dword [esp + 0xc], edi
test edi, edi
mov dword [esp + 0x234], 0
je 0x41e9d2
mov edx, dword [esi + 4]
mov ebx, dword [0x4b71c4]
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 [0x4b5514]
push eax
mov eax, dword [esp + 0x14]
push eax
mov ecx, edi
call fcn.00489760
jmp 0x41e9d4
xor eax, eax
push 0x30
mov dword [esp + 0x238], 0xffffffff
mov dword [esi + 0x20], eax
call fcn.0048c300
mov edi, eax
add esp, 4
mov dword [esp + 0xc], edi
test edi, edi
mov dword [esp + 0x234], 1
je 0x41ea3a
mov ecx, dword [esi + 4]
mov ebx, dword [0x4b71c4]
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 [0x4b5514]
mov edx, dword [esp + 0x10]
push eax
push edx
mov ecx, edi
call fcn.00489760
jmp 0x41ea3c
xor eax, eax
or ebx, 0xffffffff
mov dword [esp + 0x234], ebx
mov dword [esi + 0x24], eax
call fcn.00437680
mov ecx, dword [esi + 4]
push eax
push 0
push 0x80
push ecx
call dword [0x4b5538]
mov eax, dword [esi + 4]
push 0x4cb
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [esp + 0x10], eax
call fcn.0042d7a0
test eax, eax
mov ecx, dword [0x4b5578]
jne 0x41eb45
test ecx, ecx
je 0x41ec93
mov edi, ecx
call fcn.00488150
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.00436b50
lea edx, [esp + 0x24]
push 0x4981f8
push edx
call dword [sym.imp.MSVCR71.dll_wcscat]
add esp, 0x14
call fcn.0042d7a0
test eax, eax
push 0x5c
je 0x41eb06
call fcn.0048c300
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
mov dword [esp + 0x234], 2
je 0x41eb34
push 1
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call fcn.00488760
jmp 0x41eb36
call fcn.0048c300
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
mov dword [esp + 0x234], 3
je 0x41eb34
push 0x3e7
lea edx, [esp + 0x1c]
push edx
mov ecx, eax
call fcn.00488760
jmp 0x41eb36
xor eax, eax
mov ecx, eax
mov dword [esp + 0x234], ebx
mov dword [0x4b5578], ecx
test ecx, ecx
je 0x41ec93
mov eax, dword [ecx + 0x54]
test eax, eax
jl 0x41ec93
xor edi, edi
mov edx, dword [ecx + 0x38]
test edx, edx
mov dword [esp + 0xc], edi
je 0x41ec44
mov eax, dword [ecx + 0x3c]
sub eax, edx
sar eax, 2
cmp edi, eax
jae 0x41ec44
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 0x41ec38
mov ecx, dword [0x4b5578]
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.0041c840
push 0x20c
call fcn.0048c300
mov edi, eax
add esp, 0x1c
test edi, edi
je 0x41ebf6
mov edx, dword [0x4b7204]
mov ecx, 0x4b7204
call dword [edx + 0xc]
add eax, 0x10
mov dword [edi], eax
jmp 0x41ebf8
xor edi, edi
mov eax, dword [0x4b5578]
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 0x41ec14
xor eax, eax
jmp 0x41ec1e
push ebx
call dword [sym.imp.MSVCR71.dll_wcslen]
add esp, 4
push eax
push ebx
mov ecx, edi
call fcn.004072a0
lea edx, [esp + 0x14]
push edx
lea ecx, [esi + 0x30]
call fcn.0041e8d0
mov edi, dword [esp + 0xc]
mov ecx, dword [0x4b5578]
inc edi
jmp 0x41eb5a
mov eax, dword [esp + 0x10]
push 0
push 0
push 0x18b
push eax
call dword [0x4b5538]
cmp eax, 0xffffffff
je 0x41ec93
test eax, eax
jle 0x41ec93
mov ecx, dword [esi + 4]
push 2
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push eax
call dword [0x4b54d4]
mov edx, dword [esi + 4]
lea eax, [esi + 0x30]
push eax
push 0
push 0x41e480
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.0048c3c7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10