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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b461e
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 0x41c7d1
or eax, 0xffffffff
jmp 0x41cc59
mov eax, dword [ebp + 0xc]
sub eax, esi
mov dword [esp + 0x14], esi
je 0x41cbcb
push 2
pop esi
sub eax, esi
je 0x41c963
dec eax
je 0x41c89d
dec eax
jne 0x41cc55
mov esi, dword [ebp + 0x10]
push dword [esi + 4]
mov ebx, 0xfde9
push ebx
lea eax, [edi + 0x60]
call fcn.00418419
mov ecx, dword [esi + 0x24]
xor edx, edx
cmp ecx, edx
je 0x41c82f
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 0x41cc55
cmp dword [edi + 0x38], edx
je 0x41cc55
lea eax, [esp + 0x40]
call fcn.004181d5
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.00418419
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.00476b34
pop ecx
jmp 0x41cc55
lea eax, [esp + 0x40]
call fcn.004181d5
lea eax, [esp + 0x30]
mov dword [esp + 0x78], 7
call fcn.004181d5
mov ebx, dword [ebp + 0x10]
mov byte [esp + 0x78], 8
test byte [ebx + 0x1c], 0x80
mov eax, 0xfde9
jne 0x41c8d0
mov eax, dword [edi + 0x1100]
push dword [ebx + 4]
push eax
lea eax, [esp + 0x38]
call fcn.00418419
lea esi, [esp + 0x30]
call fcn.004183b6
lea eax, [esp + 0x40]
lea esi, [edi + 0x58]
push eax
call fcn.00418318
lea edi, [esp + 0x30]
lea eax, [esp + 0x40]
call fcn.00418377
mov esi, dword [ebp + 8]
cmp dword [esi + 0x10f8], 0
jne 0x41c92d
mov edi, dword [ebx + 0x14]
mov eax, esi
call fcn.0041c723
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.0041ccef
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x41c956
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 0x41caa5
lea eax, [esp + 0x40]
call fcn.004181d5
lea eax, [esp + 0x30]
mov dword [esp + 0x78], esi
call fcn.004181d5
lea eax, [esp + 0x28]
mov byte [esp + 0x78], 3
call fcn.004181d5
lea eax, [esp + 0x20]
mov byte [esp + 0x78], 4
call fcn.004181d5
lea eax, [esp + 0x18]
mov byte [esp + 0x78], 5
call fcn.004181d5
mov eax, dword [ebp + 0x10]
mov byte [esp + 0x78], 6
test byte [eax + 0x1c], 0x80
mov ecx, 0xfde9
jne 0x41c9bc
mov ecx, dword [edi + 0x1100]
push dword [eax + 4]
lea eax, [esp + 0x2c]
push ecx
call fcn.00418419
lea esi, [esp + 0x28]
call fcn.004183b6
lea eax, [esp + 0x30]
push eax
lea ebx, [esp + 0x44]
mov eax, esi
call fcn.00418587
pop ecx
lea eax, [esp + 0x20]
lea esi, [edi + 0x58]
push eax
call fcn.00418318
lea edi, [esp + 0x30]
lea eax, [esp + 0x20]
call fcn.00418377
lea eax, [esp + 0x18]
push eax
lea esi, [esp + 0x24]
call fcn.00418318
mov edi, ebx
lea eax, [esp + 0x18]
call fcn.00418377
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
xor esi, esi
cmp dword [ebx + 0x28], esi
je 0x41cab4
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 0x41cab4
push dword [esp + 0x18]
call fcn.00476b34
pop ecx
push dword [esp + 0x20]
call fcn.00476b34
pop ecx
push dword [esp + 0x28]
call fcn.00476b34
pop ecx
push dword [esp + 0x30]
call fcn.00476b34
pop ecx
jmp 0x41c88e
cmp dword [ebx + 0x10f8], esi
je 0x41cae9
mov edi, dword [edi]
lea esi, [ebx + 0x10c0]
call fcn.0041846c
mov eax, 0xff000000
mov edi, eax
lea esi, [ebx + 0x48]
push eax
jmp 0x41cad8
inc edi
push edi
mov ecx, esi
call fcn.0041d139
test eax, eax
jge 0x41cad6
mov dword [esp + 0x14], edi
jmp 0x41ca87
push dword [esp + 0x20]
call fcn.004184b0
pop ecx
cmp eax, esi
je 0x41cb14
add ebx, 0x10cc
or dword [esp + 0x14], 0xffffffff
mov dword [ebx + 0x18], 8
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], esi
jmp 0x41ca87
push 0x180
push 0x8321
push dword [esp + 0x20]
mov eax, ebx
call fcn.0041c41d
cmp eax, esi
mov dword [esp + 0x14], eax
jg 0x41cb49
add ebx, 0x10cc
mov dword [ebx + 0x18], 8
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x20], esi
jmp 0x41ca87
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.00418318
lea eax, [ebx + 0xc]
push eax
lea esi, [esp + 0x2c]
call fcn.00418318
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 0x24], eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x41ca87
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 0x41ca87
push dword [edi + 0x60]
call fcn.00475ebe
pop ecx
cmp eax, dword [edi + 0x64]
jb 0x41cbde
call fcn.00418240
cmp eax, esi
mov esi, dword [ebp + 0x10]
mov ebx, 0xfde9
jne 0x41cbf6
push dword [esi + 4]
lea eax, [edi + 0x60]
push ebx
call fcn.00418419
cmp dword [edi + 0x34], 0
je 0x41cc55
lea eax, [esp + 0x40]
call fcn.004181d5
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.00418419
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.00476b34
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