Function at 0x41c739
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b456e
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x4f3bd0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor esi, esi
cmp dword [edi + 0x10f4], esi
je 0x41c77a
or eax, 0xffffffff
jmp 0x41cc02
mov eax, dword [ebp + 0xc]
sub eax, esi
mov dword [esp + 0x14], esi
je 0x41cb74
push 2
pop esi
sub eax, esi
je 0x41c90c
dec eax
je 0x41c846
dec eax
jne 0x41cbfe
mov esi, dword [ebp + 0x10]
push dword [esi + 4]
mov ebx, 0xfde9
push ebx
lea eax, [edi + 0x60]
call fcn.004183c2
mov ecx, dword [esi + 0x24]
xor edx, edx
cmp ecx, edx
je 0x41c7d8
or dword [esp + 0x14], 0xffffffff
lea eax, [edi + 0x10cc]
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], edx
mov dword [eax + 0x20], edx
jmp 0x41cbfe
cmp dword [edi + 0x38], edx
je 0x41cbfe
lea eax, [esp + 0x40]
call fcn.0041817e
mov dword [esp + 0x78], 1
mov eax, dword [esi + 4]
push dword [esi + 0xc]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x38], eax
push ebx
lea eax, [esp + 0x48]
call fcn.004183c2
push dword [edi + 0x1104]
mov dword [esp + 0x3c], eax
mov ax, word [esi + 0x1e]
push dword [esi + 0x24]
mov word [esp + 0x44], ax
mov ax, word [esi + 0x20]
mov word [esp + 0x46], ax
lea eax, [esp + 0x38]
push eax
call dword [edi + 0x38]
add esp, 0xc
push dword [esp + 0x40]
call fcn.00476b24
pop ecx
jmp 0x41cbfe
lea eax, [esp + 0x40]
call fcn.0041817e
lea eax, [esp + 0x30]
mov dword [esp + 0x78], 7
call fcn.0041817e
mov ebx, dword [ebp + 0x10]
mov byte [esp + 0x78], 8
test byte [ebx + 0x1c], 0x80
mov eax, 0xfde9
jne 0x41c879
mov eax, dword [edi + 0x1100]
push dword [ebx + 4]
push eax
lea eax, [esp + 0x38]
call fcn.004183c2
lea esi, [esp + 0x30]
call fcn.0041835f
lea eax, [esp + 0x40]
lea esi, [edi + 0x58]
push eax
call fcn.004182c1
lea edi, [esp + 0x30]
lea eax, [esp + 0x40]
call fcn.00418320
mov esi, dword [ebp + 8]
cmp dword [esi + 0x10f8], 0
jne 0x41c8d6
mov edi, dword [ebx + 0x14]
mov eax, esi
call fcn.0041c6cc
movzx eax, word [ebx + 0x1a]
push eax
movzx eax, word [ebx + 0x18]
push eax
push dword [esp + 0x48]
mov ax, word [ebx + 0x1c]
call fcn.0041cc98
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x41c8ff
push dword [esi + 0x1104]
mov ecx, dword [esi + 0x10f8]
add esi, 0x10c0
neg ecx
sbb ecx, ecx
and ecx, esi
push ecx
push dword [esp + 0x48]
call eax
add esp, 0xc
mov dword [esp + 0x14], 1
jmp 0x41ca4e
lea eax, [esp + 0x40]
call fcn.0041817e
lea eax, [esp + 0x30]
mov dword [esp + 0x78], esi
call fcn.0041817e
lea eax, [esp + 0x28]
mov byte [esp + 0x78], 3
call fcn.0041817e
lea eax, [esp + 0x20]
mov byte [esp + 0x78], 4
call fcn.0041817e
lea eax, [esp + 0x18]
mov byte [esp + 0x78], 5
call fcn.0041817e
mov eax, dword [ebp + 0x10]
mov byte [esp + 0x78], 6
test byte [eax + 0x1c], 0x80
mov ecx, 0xfde9
jne 0x41c965
mov ecx, dword [edi + 0x1100]
push dword [eax + 4]
lea eax, [esp + 0x2c]
push ecx
call fcn.004183c2
lea esi, [esp + 0x28]
call fcn.0041835f
lea eax, [esp + 0x30]
push eax
lea ebx, [esp + 0x44]
mov eax, esi
call fcn.00418530
pop ecx
lea eax, [esp + 0x20]
lea esi, [edi + 0x58]
push eax
call fcn.004182c1
lea edi, [esp + 0x30]
lea eax, [esp + 0x20]
call fcn.00418320
lea eax, [esp + 0x18]
push eax
lea esi, [esp + 0x24]
call fcn.004182c1
mov edi, ebx
lea eax, [esp + 0x18]
call fcn.00418320
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
xor esi, esi
cmp dword [ebx + 0x28], esi
je 0x41ca5d
mov eax, dword [esp + 0x40]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x58], eax
mov eax, dword [edi]
mov dword [esp + 0x5c], eax
mov ax, word [edi + 0x1c]
mov word [esp + 0x68], ax
lea eax, [esp + 0x60]
push eax
movzx eax, word [edi + 0x1a]
push eax
movzx eax, word [edi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
push dword [ebx + 0x1104]
lea eax, [esp + 0x4c]
push eax
call dword [ebx + 0x28]
pop ecx
pop ecx
test eax, eax
jne 0x41ca5d
push dword [esp + 0x18]
call fcn.00476b24
pop ecx
push dword [esp + 0x20]
call fcn.00476b24
pop ecx
push dword [esp + 0x28]
call fcn.00476b24
pop ecx
push dword [esp + 0x30]
call fcn.00476b24
pop ecx
jmp 0x41c837
cmp dword [ebx + 0x10f8], esi
je 0x41ca92
mov edi, dword [edi]
lea esi, [ebx + 0x10c0]
call fcn.00418415
mov eax, 0xff000000
mov edi, eax
lea esi, [ebx + 0x48]
push eax
jmp 0x41ca81
inc edi
push edi
mov ecx, esi
call fcn.0041d0e1
test eax, eax
jge 0x41ca7f
mov dword [esp + 0x14], edi
jmp 0x41ca30
push dword [esp + 0x20]
call fcn.00418459
pop ecx
cmp eax, esi
je 0x41cabd
add ebx, 0x10cc
or dword [esp + 0x14], 0xffffffff
mov dword [ebx + 0x18], 8
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], esi
jmp 0x41ca30
push 0x180
push 0x8321
push dword [esp + 0x20]
mov eax, ebx
call fcn.0041c3c6
cmp eax, esi
mov dword [esp + 0x14], eax
jg 0x41caf2
add ebx, 0x10cc
mov dword [ebx + 0x18], 8
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x20], esi
jmp 0x41ca30
mov ecx, dword [ebx + 0xc]
xor edx, edx
mov word [ecx], dx
mov ecx, dword [ebx + 0x14]
mov word [ecx], dx
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x20], esi
mov dword [ebx + 0x24], esi
mov dword [ebx + 8], eax
mov eax, dword [edi]
lea edi, [ebx + 0x14]
push edi
lea esi, [esp + 0x1c]
mov dword [ebx + 0x1c], eax
call fcn.004182c1
lea eax, [ebx + 0xc]
push eax
lea esi, [esp + 0x2c]
call fcn.004182c1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 0x24], eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x41ca30
mov ecx, dword [edi]
fldz
push dword [ebx + 0x1104]
fstp dword [esp + 0x5c]
mov dword [esp + 0x50], ecx
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x4c], ecx
mov ecx, dword [ebx + 0x1c]
mov dword [esp + 0x54], ecx
mov ecx, dword [ebx + 0x20]
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x4c]
push ecx
call eax
pop ecx
pop ecx
jmp 0x41ca30
push dword [edi + 0x60]
call fcn.00475eae
pop ecx
cmp eax, dword [edi + 0x64]
jb 0x41cb87
call fcn.004181e9
cmp eax, esi
mov esi, dword [ebp + 0x10]
mov ebx, 0xfde9
jne 0x41cb9f
push dword [esi + 4]
lea eax, [edi + 0x60]
push ebx
call fcn.004183c2
cmp dword [edi + 0x34], 0
je 0x41cbfe
lea eax, [esp + 0x40]
call fcn.0041817e
and dword [esp + 0x78], 0
mov eax, dword [esi + 4]
push dword [esi + 0xc]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x38], eax
push ebx
lea eax, [esp + 0x48]
call fcn.004183c2
push dword [edi + 0x1104]
mov dword [esp + 0x3c], eax
mov ax, word [esi + 0x1e]
mov word [esp + 0x40], ax
mov ax, word [esi + 0x20]
mov word [esp + 0x42], ax
lea eax, [esp + 0x34]
push eax
call dword [edi + 0x34]
push dword [esp + 0x48]
call fcn.00476b24
add esp, 0xc
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc