Function at 0x417f2d
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 0x417f56
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x25], bl
cmp dword [edi + 0x48], ebx
je 0x417fd4
cmp dword [edi + 0x30], ebx
je 0x417f6f
sub eax, dword [edi + 0x34]
cmp eax, dword [edi + 0x30]
jb 0x4181a6
lea eax, [edi + 0x18]
push eax
lea eax, [edi + 0x80]
push eax
call fcn.00417d94
pop ecx
pop ecx
test al, al
je 0x417fd4
lea eax, [edi + 0x24]
push eax
lea eax, [edi + 0x8c]
push eax
call fcn.00411494
pop ecx
pop ecx
test al, al
je 0x417fd4
mov eax, dword [edi + 0x78]
cmp eax, dword [edi + 0x10]
jne 0x417fd4
mov eax, dword [edi + 0x7c]
cmp eax, dword [edi + 0x14]
jne 0x417fd4
mov eax, dword [edi + 0x70]
cmp eax, dword [edi + 8]
jne 0x417fce
mov eax, dword [edi + 0x74]
cmp eax, dword [edi + 0xc]
jne 0x417fce
mov eax, dword [edi + 0x68]
cmp eax, dword [edi]
jne 0x417fce
mov eax, dword [edi + 0x6c]
cmp eax, dword [edi + 4]
je 0x4181a6
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.00417e66
cmp byte [ebp - 0x25], 0
je 0x418004
lea eax, [edi + 0x98]
push eax
push ebx
call fcn.00417d94
pop ecx
pop ecx
test al, al
jne 0x4181a6
push ebx
lea ecx, [edi + 0x98]
call fcn.00418c79
mov eax, dword [edi + 0x10]
or eax, dword [edi + 0x14]
je 0x41803e
lea eax, [ebp - 0x24]
push eax
push dword [edi + 0x14]
push dword [edi + 0x10]
call fcn.00418a09
add esp, 0xc
mov ecx, ebx
push 0x20
call fcn.00415e5d
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
call fcn.00418eee
cmp dword [edi + 0x1c], 0
je 0x418058
push 0x20
mov ecx, ebx
call fcn.00415e5d
lea eax, [edi + 0x18]
mov ecx, ebx
push eax
call fcn.00418ebd
cmp dword [edi + 0x28], 0
push esi
je 0x41814a
mov eax, dword [edi + 0x3c]
cmp eax, dword [edi + 0xac]
jae 0x41814a
push 0x20
mov ecx, ebx
call fcn.00415e5d
lea eax, [edi + 0x24]
lea esi, [edi + 0x5c]
push eax
mov ecx, esi
call fcn.00418d19
mov ecx, dword [edi + 0xa4]
push esi
call fcn.00419d43
lea esi, [edi + 0x50]
lea ecx, [edi + 0x5c]
push esi
push ecx
call fcn.00419df8
mov eax, dword [edi + 0x54]
add eax, dword [edi + 0x3c]
pop ecx
pop ecx
cmp eax, dword [edi + 0xac]
jbe 0x418142
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x418139
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.00418d19
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.004190a8
push 0x440570
push esi
lea esi, [edi + 0x5c]
mov ecx, esi
call fcn.00419236
mov ecx, dword [edi + 0xa4]
push esi
call fcn.00419d43
push ebx
push esi
call fcn.00419df8
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 0x41812f
test ecx, ecx
jne 0x4180c3
lea ebx, [edi + 0x38]
lea esi, [edi + 0x50]
test ecx, ecx
jne 0x418142
mov eax, dword [esi]
and dword [esi + 4], 0
mov byte [eax], 0
push esi
mov ecx, ebx
call fcn.00418ebd
lea esi, [edi + 0x44]
push ebx
push esi
call fcn.00417dbb
pop ecx
pop ecx
test al, al
je 0x418190
push 0
mov ecx, edi
call fcn.00417de2
mov eax, dword [edi + 0xa4]
push dword [eax]
push dword [ebx]
call fcn.0042d4ae
cmp byte [edi + 0xa8], 0
pop ecx
pop ecx
je 0x418188
mov ecx, dword [edi + 0xa4]
call fcn.00419cbe
push ebx
mov ecx, esi
call fcn.00418c79
push edi
lea ecx, [edi + 0x68]
call fcn.00417d48
cmp dword [edi + 0x30], 0
pop esi
je 0x4181a6
mov eax, dword [ebp - 0x30]
mov dword [edi + 0x34], eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00425d5a
mov esp, ebp
pop ebp
ret