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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b3bae
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x4f2be0]
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 0x41c799
or eax, 0xffffffff
jmp 0x41cc21
mov eax, dword [ebp + 0xc]
sub eax, esi
mov dword [esp + 0x14], esi
je 0x41cb93
push 2
pop esi
sub eax, esi
je 0x41c92b
dec eax
je 0x41c865
dec eax
jne 0x41cc1d
mov esi, dword [ebp + 0x10]
push dword [esi + 4]
mov ebx, 0xfde9
push ebx
lea eax, [edi + 0x60]
call fcn.004183e1
mov ecx, dword [esi + 0x24]
xor edx, edx
cmp ecx, edx
je 0x41c7f7
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 0x41cc1d
cmp dword [edi + 0x38], edx
je 0x41cc1d
lea eax, [esp + 0x40]
call fcn.004181a6
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.004183e1
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.004760d4
pop ecx
jmp 0x41cc1d
lea eax, [esp + 0x40]
call fcn.004181a6
lea eax, [esp + 0x30]
mov dword [esp + 0x78], 7
call fcn.004181a6
mov ebx, dword [ebp + 0x10]
mov byte [esp + 0x78], 8
test byte [ebx + 0x1c], 0x80
mov eax, 0xfde9
jne 0x41c898
mov eax, dword [edi + 0x1100]
push dword [ebx + 4]
push eax
lea eax, [esp + 0x38]
call fcn.004183e1
lea esi, [esp + 0x30]
call fcn.0041837e
lea eax, [esp + 0x40]
lea esi, [edi + 0x58]
push eax
call fcn.004182e0
lea edi, [esp + 0x30]
lea eax, [esp + 0x40]
call fcn.0041833f
mov esi, dword [ebp + 8]
cmp dword [esi + 0x10f8], 0
jne 0x41c8f5
mov edi, dword [ebx + 0x14]
mov eax, esi
call fcn.0041c6eb
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.0041ccb7
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x41c91e
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 0x41ca6d
lea eax, [esp + 0x40]
call fcn.004181a6
lea eax, [esp + 0x30]
mov dword [esp + 0x78], esi
call fcn.004181a6
lea eax, [esp + 0x28]
mov byte [esp + 0x78], 3
call fcn.004181a6
lea eax, [esp + 0x20]
mov byte [esp + 0x78], 4
call fcn.004181a6
lea eax, [esp + 0x18]
mov byte [esp + 0x78], 5
call fcn.004181a6
mov eax, dword [ebp + 0x10]
mov byte [esp + 0x78], 6
test byte [eax + 0x1c], 0x80
mov ecx, 0xfde9
jne 0x41c984
mov ecx, dword [edi + 0x1100]
push dword [eax + 4]
lea eax, [esp + 0x2c]
push ecx
call fcn.004183e1
lea esi, [esp + 0x28]
call fcn.0041837e
lea eax, [esp + 0x30]
push eax
lea ebx, [esp + 0x44]
mov eax, esi
call fcn.0041854f
pop ecx
lea eax, [esp + 0x20]
lea esi, [edi + 0x58]
push eax
call fcn.004182e0
lea edi, [esp + 0x30]
lea eax, [esp + 0x20]
call fcn.0041833f
lea eax, [esp + 0x18]
push eax
lea esi, [esp + 0x24]
call fcn.004182e0
mov edi, ebx
lea eax, [esp + 0x18]
call fcn.0041833f
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
xor esi, esi
cmp dword [ebx + 0x28], esi
je 0x41ca7c
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 0x41ca7c
push dword [esp + 0x18]
call fcn.004760d4
pop ecx
push dword [esp + 0x20]
call fcn.004760d4
pop ecx
push dword [esp + 0x28]
call fcn.004760d4
pop ecx
push dword [esp + 0x30]
call fcn.004760d4
pop ecx
jmp 0x41c856
cmp dword [ebx + 0x10f8], esi
je 0x41cab1
mov edi, dword [edi]
lea esi, [ebx + 0x10c0]
call fcn.00418434
mov eax, 0xff000000
mov edi, eax
lea esi, [ebx + 0x48]
push eax
jmp 0x41caa0
inc edi
push edi
mov ecx, esi
call fcn.0041d101
test eax, eax
jge 0x41ca9e
mov dword [esp + 0x14], edi
jmp 0x41ca4f
push dword [esp + 0x20]
call fcn.00418478
pop ecx
cmp eax, esi
je 0x41cadc
add ebx, 0x10cc
or dword [esp + 0x14], 0xffffffff
mov dword [ebx + 0x18], 8
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], esi
jmp 0x41ca4f
push 0x180
push 0x8321
push dword [esp + 0x20]
mov eax, ebx
call fcn.0041c3e5
cmp eax, esi
mov dword [esp + 0x14], eax
jg 0x41cb11
add ebx, 0x10cc
mov dword [ebx + 0x18], 8
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x20], esi
jmp 0x41ca4f
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.004182e0
lea eax, [ebx + 0xc]
push eax
lea esi, [esp + 0x2c]
call fcn.004182e0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 0x24], eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x41ca4f
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 0x41ca4f
push dword [edi + 0x60]
call fcn.004754ae
pop ecx
cmp eax, dword [edi + 0x64]
jb 0x41cba6
call fcn.00418208
cmp eax, esi
mov esi, dword [ebp + 0x10]
mov ebx, 0xfde9
jne 0x41cbbe
push dword [esi + 4]
lea eax, [edi + 0x60]
push ebx
call fcn.004183e1
cmp dword [edi + 0x34], 0
je 0x41cc1d
lea eax, [esp + 0x40]
call fcn.004181a6
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.004183e1
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.004760d4
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