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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x4552bc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, ecx
xor ebx, ebx
mov eax, ebx
mov dword [ebp - 0x30], ebx
cmp dword [edi + 0x30], ebx
je 0x417f60
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x25], bl
cmp dword [edi + 0x48], ebx
je 0x417fde
cmp dword [edi + 0x30], ebx
je 0x417f79
sub eax, dword [edi + 0x34]
cmp eax, dword [edi + 0x30]
jb 0x4181b0
lea eax, [edi + 0x18]
push eax
lea eax, [edi + 0x80]
push eax
call fcn.00417d9e
pop ecx
pop ecx
test al, al
je 0x417fde
lea eax, [edi + 0x24]
push eax
lea eax, [edi + 0x8c]
push eax
call fcn.0041143b
pop ecx
pop ecx
test al, al
je 0x417fde
mov eax, dword [edi + 0x78]
cmp eax, dword [edi + 0x10]
jne 0x417fde
mov eax, dword [edi + 0x7c]
cmp eax, dword [edi + 0x14]
jne 0x417fde
mov eax, dword [edi + 0x70]
cmp eax, dword [edi + 8]
jne 0x417fd8
mov eax, dword [edi + 0x74]
cmp eax, dword [edi + 0xc]
jne 0x417fd8
mov eax, dword [edi + 0x68]
cmp eax, dword [edi]
jne 0x417fd8
mov eax, dword [edi + 0x6c]
cmp eax, dword [edi + 4]
je 0x4181b0
xor eax, eax
inc eax
mov byte [ebp - 0x25], al
lea ebx, [edi + 0x38]
mov ecx, edi
mov eax, dword [ebx]
and dword [ebx + 4], 0
mov byte [eax], 0
call fcn.00417e70
cmp byte [ebp - 0x25], 0
je 0x41800e
lea eax, [edi + 0x98]
push eax
push ebx
call fcn.00417d9e
pop ecx
pop ecx
test al, al
jne 0x4181b0
push ebx
lea ecx, [edi + 0x98]
call fcn.00418c83
mov eax, dword [edi + 0x10]
or eax, dword [edi + 0x14]
je 0x418048
lea eax, [ebp - 0x24]
push eax
push dword [edi + 0x14]
push dword [edi + 0x10]
call fcn.00418a13
add esp, 0xc
mov ecx, ebx
push 0x20
call fcn.00415e68
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
call fcn.00418ef8
cmp dword [edi + 0x1c], 0
je 0x418062
push 0x20
mov ecx, ebx
call fcn.00415e68
lea eax, [edi + 0x18]
mov ecx, ebx
push eax
call fcn.00418ec7
cmp dword [edi + 0x28], 0
push esi
je 0x418154
mov eax, dword [edi + 0x3c]
cmp eax, dword [edi + 0xac]
jae 0x418154
push 0x20
mov ecx, ebx
call fcn.00415e68
lea eax, [edi + 0x24]
lea esi, [edi + 0x5c]
push eax
mov ecx, esi
call fcn.00418d23
mov ecx, dword [edi + 0xa4]
push esi
call fcn.00419d4d
lea esi, [edi + 0x50]
lea ecx, [edi + 0x5c]
push esi
push ecx
call fcn.00419e02
mov eax, dword [edi + 0x54]
add eax, dword [edi + 0x3c]
pop ecx
pop ecx
cmp eax, dword [edi + 0xac]
jbe 0x41814c
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x418143
lea ebx, [edi + 0x50]
lea esi, [edi + 0x5c]
mov eax, ecx
shr eax, 3
push 1
test eax, eax
pop edx
cmove eax, edx
sub ecx, eax
lea eax, [edi + 0x24]
mov dword [ebp - 0x2c], ecx
mov ecx, esi
push eax
call fcn.00418d23
mov eax, dword [edi + 0x60]
lea ecx, [edi + 0x5c]
sub eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x2c]
push eax
shr esi, 1
push esi
call fcn.004190b2
push 0x440570
push esi
lea esi, [edi + 0x5c]
mov ecx, esi
call fcn.00419240
mov ecx, dword [edi + 0xa4]
push esi
call fcn.00419d4d
push ebx
push esi
call fcn.00419e02
mov eax, dword [edi + 0x54]
add eax, dword [edi + 0x3c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2c]
cmp eax, dword [edi + 0xac]
jbe 0x418139
test ecx, ecx
jne 0x4180cd
lea ebx, [edi + 0x38]
lea esi, [edi + 0x50]
test ecx, ecx
jne 0x41814c
mov eax, dword [esi]
and dword [esi + 4], 0
mov byte [eax], 0
push esi
mov ecx, ebx
call fcn.00418ec7
lea esi, [edi + 0x44]
push ebx
push esi
call fcn.00417dc5
pop ecx
pop ecx
test al, al
je 0x41819a
push 0
mov ecx, edi
call fcn.00417dec
mov eax, dword [edi + 0xa4]
push dword [eax]
push dword [ebx]
call fcn.0042d53e
cmp byte [edi + 0xa8], 0
pop ecx
pop ecx
je 0x418192
mov ecx, dword [edi + 0xa4]
call fcn.00419cc8
push ebx
mov ecx, esi
call fcn.00418c83
push edi
lea ecx, [edi + 0x68]
call fcn.00417d52
cmp dword [edi + 0x30], 0
pop esi
je 0x4181b0
mov eax, dword [ebp - 0x30]
mov dword [edi + 0x34], eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00425cef
mov esp, ebp
pop ebp
ret