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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b465e
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 0x41c683
or eax, 0xffffffff
jmp 0x41cb0b
mov eax, dword [ebp + 0xc]
sub eax, esi
mov dword [esp + 0x14], esi
je 0x41ca7d
push 2
pop esi
sub eax, esi
je 0x41c815
dec eax
je 0x41c74f
dec eax
jne 0x41cb07
mov esi, dword [ebp + 0x10]
push dword [esi + 4]
mov ebx, 0xfde9
push ebx
lea eax, [edi + 0x60]
call fcn.004182cb
mov ecx, dword [esi + 0x24]
xor edx, edx
cmp ecx, edx
je 0x41c6e1
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 0x41cb07
cmp dword [edi + 0x38], edx
je 0x41cb07
lea eax, [esp + 0x40]
call fcn.00418090
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.004182cb
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.00476c84
pop ecx
jmp 0x41cb07
lea eax, [esp + 0x40]
call fcn.00418090
lea eax, [esp + 0x30]
mov dword [esp + 0x78], 7
call fcn.00418090
mov ebx, dword [ebp + 0x10]
mov byte [esp + 0x78], 8
test byte [ebx + 0x1c], 0x80
mov eax, 0xfde9
jne 0x41c782
mov eax, dword [edi + 0x1100]
push dword [ebx + 4]
push eax
lea eax, [esp + 0x38]
call fcn.004182cb
lea esi, [esp + 0x30]
call fcn.00418268
lea eax, [esp + 0x40]
lea esi, [edi + 0x58]
push eax
call fcn.004181ca
lea edi, [esp + 0x30]
lea eax, [esp + 0x40]
call fcn.00418229
mov esi, dword [ebp + 8]
cmp dword [esi + 0x10f8], 0
jne 0x41c7df
mov edi, dword [ebx + 0x14]
mov eax, esi
call fcn.0041c5d5
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.0041cba1
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x41c808
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 0x41c957
lea eax, [esp + 0x40]
call fcn.00418090
lea eax, [esp + 0x30]
mov dword [esp + 0x78], esi
call fcn.00418090
lea eax, [esp + 0x28]
mov byte [esp + 0x78], 3
call fcn.00418090
lea eax, [esp + 0x20]
mov byte [esp + 0x78], 4
call fcn.00418090
lea eax, [esp + 0x18]
mov byte [esp + 0x78], 5
call fcn.00418090
mov eax, dword [ebp + 0x10]
mov byte [esp + 0x78], 6
test byte [eax + 0x1c], 0x80
mov ecx, 0xfde9
jne 0x41c86e
mov ecx, dword [edi + 0x1100]
push dword [eax + 4]
lea eax, [esp + 0x2c]
push ecx
call fcn.004182cb
lea esi, [esp + 0x28]
call fcn.00418268
lea eax, [esp + 0x30]
push eax
lea ebx, [esp + 0x44]
mov eax, esi
call fcn.00418439
pop ecx
lea eax, [esp + 0x20]
lea esi, [edi + 0x58]
push eax
call fcn.004181ca
lea edi, [esp + 0x30]
lea eax, [esp + 0x20]
call fcn.00418229
lea eax, [esp + 0x18]
push eax
lea esi, [esp + 0x24]
call fcn.004181ca
mov edi, ebx
lea eax, [esp + 0x18]
call fcn.00418229
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
xor esi, esi
cmp dword [ebx + 0x28], esi
je 0x41c966
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 0x41c966
push dword [esp + 0x18]
call fcn.00476c84
pop ecx
push dword [esp + 0x20]
call fcn.00476c84
pop ecx
push dword [esp + 0x28]
call fcn.00476c84
pop ecx
push dword [esp + 0x30]
call fcn.00476c84
pop ecx
jmp 0x41c740
cmp dword [ebx + 0x10f8], esi
je 0x41c99b
mov edi, dword [edi]
lea esi, [ebx + 0x10c0]
call fcn.0041831e
mov eax, 0xff000000
mov edi, eax
lea esi, [ebx + 0x48]
push eax
jmp 0x41c98a
inc edi
push edi
mov ecx, esi
call fcn.0041cfeb
test eax, eax
jge 0x41c988
mov dword [esp + 0x14], edi
jmp 0x41c939
push dword [esp + 0x20]
call fcn.00418362
pop ecx
cmp eax, esi
je 0x41c9c6
add ebx, 0x10cc
or dword [esp + 0x14], 0xffffffff
mov dword [ebx + 0x18], 8
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], esi
jmp 0x41c939
push 0x180
push 0x8321
push dword [esp + 0x20]
mov eax, ebx
call fcn.0041c2cf
cmp eax, esi
mov dword [esp + 0x14], eax
jg 0x41c9fb
add ebx, 0x10cc
mov dword [ebx + 0x18], 8
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x20], esi
jmp 0x41c939
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.004181ca
lea eax, [ebx + 0xc]
push eax
lea esi, [esp + 0x2c]
call fcn.004181ca
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 0x24], eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x41c939
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 0x41c939
push dword [edi + 0x60]
call fcn.0047600e
pop ecx
cmp eax, dword [edi + 0x64]
jb 0x41ca90
call fcn.004180f2
cmp eax, esi
mov esi, dword [ebp + 0x10]
mov ebx, 0xfde9
jne 0x41caa8
push dword [esi + 4]
lea eax, [edi + 0x60]
push ebx
call fcn.004182cb
cmp dword [edi + 0x34], 0
je 0x41cb07
lea eax, [esp + 0x40]
call fcn.00418090
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.004182cb
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.00476c84
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