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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x4542bc]
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 0x417f52
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x25], bl
cmp dword [edi + 0x48], ebx
je 0x417fd0
cmp dword [edi + 0x30], ebx
je 0x417f6b
sub eax, dword [edi + 0x34]
cmp eax, dword [edi + 0x30]
jb 0x4181a2
lea eax, [edi + 0x18]
push eax
lea eax, [edi + 0x80]
push eax
call fcn.00417d90
pop ecx
pop ecx
test al, al
je 0x417fd0
lea eax, [edi + 0x24]
push eax
lea eax, [edi + 0x8c]
push eax
call fcn.00411491
pop ecx
pop ecx
test al, al
je 0x417fd0
mov eax, dword [edi + 0x78]
cmp eax, dword [edi + 0x10]
jne 0x417fd0
mov eax, dword [edi + 0x7c]
cmp eax, dword [edi + 0x14]
jne 0x417fd0
mov eax, dword [edi + 0x70]
cmp eax, dword [edi + 8]
jne 0x417fca
mov eax, dword [edi + 0x74]
cmp eax, dword [edi + 0xc]
jne 0x417fca
mov eax, dword [edi + 0x68]
cmp eax, dword [edi]
jne 0x417fca
mov eax, dword [edi + 0x6c]
cmp eax, dword [edi + 4]
je 0x4181a2
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.00417e62
cmp byte [ebp - 0x25], 0
je 0x418000
lea eax, [edi + 0x98]
push eax
push ebx
call fcn.00417d90
pop ecx
pop ecx
test al, al
jne 0x4181a2
push ebx
lea ecx, [edi + 0x98]
call fcn.00418c75
mov eax, dword [edi + 0x10]
or eax, dword [edi + 0x14]
je 0x41803a
lea eax, [ebp - 0x24]
push eax
push dword [edi + 0x14]
push dword [edi + 0x10]
call fcn.00418a05
add esp, 0xc
mov ecx, ebx
push 0x20
call fcn.00415e58
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
call fcn.00418eea
cmp dword [edi + 0x1c], 0
je 0x418054
push 0x20
mov ecx, ebx
call fcn.00415e58
lea eax, [edi + 0x18]
mov ecx, ebx
push eax
call fcn.00418eb9
cmp dword [edi + 0x28], 0
push esi
je 0x418146
mov eax, dword [edi + 0x3c]
cmp eax, dword [edi + 0xac]
jae 0x418146
push 0x20
mov ecx, ebx
call fcn.00415e58
lea eax, [edi + 0x24]
lea esi, [edi + 0x5c]
push eax
mov ecx, esi
call fcn.00418d15
mov ecx, dword [edi + 0xa4]
push esi
call fcn.00419d3f
lea esi, [edi + 0x50]
lea ecx, [edi + 0x5c]
push esi
push ecx
call fcn.00419df4
mov eax, dword [edi + 0x54]
add eax, dword [edi + 0x3c]
pop ecx
pop ecx
cmp eax, dword [edi + 0xac]
jbe 0x41813e
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x418135
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.00418d15
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.004190a4
push 0x43f560
push esi
lea esi, [edi + 0x5c]
mov ecx, esi
call fcn.00419232
mov ecx, dword [edi + 0xa4]
push esi
call fcn.00419d3f
push ebx
push esi
call fcn.00419df4
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 0x41812b
test ecx, ecx
jne 0x4180bf
lea ebx, [edi + 0x38]
lea esi, [edi + 0x50]
test ecx, ecx
jne 0x41813e
mov eax, dword [esi]
and dword [esi + 4], 0
mov byte [eax], 0
push esi
mov ecx, ebx
call fcn.00418eb9
lea esi, [edi + 0x44]
push ebx
push esi
call fcn.00417db7
pop ecx
pop ecx
test al, al
je 0x41818c
push 0
mov ecx, edi
call fcn.00417dde
mov eax, dword [edi + 0xa4]
push dword [eax]
push dword [ebx]
call fcn.0042d46e
cmp byte [edi + 0xa8], 0
pop ecx
pop ecx
je 0x418184
mov ecx, dword [edi + 0xa4]
call fcn.00419cba
push ebx
mov ecx, esi
call fcn.00418c75
push edi
lea ecx, [edi + 0x68]
call fcn.00417d44
cmp dword [edi + 0x30], 0
pop esi
je 0x4181a2
mov eax, dword [ebp - 0x30]
mov dword [edi + 0x34], eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00425d6f
mov esp, ebp
pop ebp
ret