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

Disassembly:
sete al
jmp 0x417f85
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48b077
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x158], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x170]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
and dword [esp + 0x3c], 0
push 0x64
mov esi, ecx
movzx eax, word [esi + 0xb0]
push 0
push 4
pop ecx
mov edi, ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], eax
call fcn.0041ba11
push 0x64
lea eax, [esp + 0x48]
push 0
push eax
call sub.MSVCR100_CLR0400.dll_memset
mov eax, dword [esi + 0xb8]
add esp, 0xc
push eax
push 0
push 8
pop ecx
mov dword [esp + 0x4c], eax
call fcn.0041ba11
mov ecx, dword [esi + 0xe8]
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0xec]
cmp ecx, eax
jne 0x4288af
mov ecx, dword [esi + 0xf8]
mov eax, dword [esi + 0xfc]
cmp ecx, eax
je 0x417c5c
sub eax, ecx
push 2
sar eax, 1
push eax
push ecx
push 2
mov dword [esp + 0x8c], eax
pop eax
mov edi, ebx
call fcn.0041ba58
mov dword [esp + 0x78], eax
mov ecx, dword [esi + 0x108]
mov eax, dword [esi + 0x10c]
cmp ecx, eax
je 0x417c8f
push 6
pop edi
sub eax, ecx
cdq
idiv edi
push 2
push eax
push ecx
push edi
mov dword [esp + 0x94], eax
pop eax
mov edi, ebx
call fcn.0041ba58
mov dword [esp + 0x80], eax
mov ecx, dword [esi + 0x118]
mov eax, dword [esi + 0x11c]
cmp ecx, eax
jne 0x4288cf
movzx eax, word [esp + 0x24]
push 2
push eax
push 0
push 0xe
mov dword [esp + 0x48], eax
pop eax
mov edi, ebx
call fcn.0041ba58
cmp dword [ebx], 0
mov dword [esp + 0x94], eax
je 0x417d16
and dword [esp + 0x14], 0
xor ecx, ecx
cmp cx, word [esp + 0x24]
jae 0x417d16
mov edi, eax
push dword [esp + 0x14]
mov ecx, dword [esi + 0xbc]
mov eax, dword [ecx]
lea edx, [esp + 0xb0]
push edx
call dword [eax + 4]
lea eax, [esp + 0xac]
push eax
push 0xe
pop esi
mov eax, ebx
call fcn.00417b3d
inc dword [esp + 0x14]
mov ax, word [esp + 0x14]
add edi, esi
mov esi, dword [esp + 0x18]
cmp ax, word [esp + 0x24]
jb 0x417cd7
lea eax, [esp + 0x1c]
mov edx, ebx
call fcn.0041c74d
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
and dword [esp + 0xb4], 0
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ecx
test eax, eax
jne 0x41dbdd
mov ecx, dword [esi + 0xe4]
call fcn.00417564
xor ecx, ecx
cmp ecx, ecx
ja 0x4288f7
cmp eax, 0xffffffff
ja 0x4288f7
push eax
push ecx
xor ecx, ecx
inc ecx
lea edi, [esp + 0xb4]
call fcn.0041ba11
push dword [esp + 0xb4]
mov esi, ebx
call fcn.0041c61b
push ebx
push dword [esp + 0x1c]
lea edi, [esp + 0x4c]
mov dword [esp + 0xa0], eax
call fcn.0041c675
mov eax, dword [esp + 0x38]
add eax, 0x1f
xor edi, edi
shr eax, 5
push eax
lea esi, [esp + 0x2c]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
call fcn.0041bad5
mov dword [esp + 0x178], edi
cmp dword [ebx], edi
je 0x417e0f
lea eax, [esp + 0x44]
push eax
push 0x64
pop esi
mov eax, ebx
call fcn.00417b3d
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
mov dword [esp + 0x20], eax
push edi
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0xd4]
push eax
mov dword [esp + 0x28], ecx
call fcn.00403fac
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x28]
lea eax, [esp + 0xfc]
push eax
call fcn.0041862b
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x28], eax
je 0x417e39
sub eax, dword [esp + 0x28]
push 4
sar eax, 2
mov ecx, eax
pop eax
push eax
push ecx
push dword [esp + 0x30]
mov edi, ebx
call fcn.0041ba58
mov dword [esp + 0x90], eax
or dword [esp + 0x178], 0xffffffff
lea esi, [esp + 0x28]
call fcn.0040134e
mov edi, dword [esp + 0x18]
mov eax, dword [edi + 0x18]
xor esi, esi
cmp eax, esi
jne 0x4288fc
mov dword [esp + 0x14], esi
mov ecx, dword [esp + 0x14]
push edi
call fcn.0041759f
test al, al
jne 0x428962
mov esi, dword [ebx]
test esi, esi
je 0x417fb8
mov eax, dword [ebx + 4]
mov edx, dword [esp + 0x48]
mov ecx, dword [edi + 0xb8]
cmp eax, edx
jb 0x424564
mov edi, eax
sub edi, edx
cmp edi, ecx
jb 0x424564
lea ecx, [esi + edx]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x18]
cmp dword [ecx + 0xdc], 3
je 0x428a50
push eax
push esi
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0xa4]
call fcn.00403f48
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x28]
lea edi, [esp + 0xac]
call fcn.0040495c
push eax
push dword [esp + 0x1c]
call fcn.0041767b
test al, al
jne 0x428a5b
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0xcc]
push eax
call fcn.004191cf
mov dword [esp + 0x178], 2
mov ax, word [esp + 0x13a]
mov edi, dword [esp + 0xe0]
mov word [esp + 0x60], ax
mov ax, word [esp + 0xdc]
mov word [esp + 0x62], ax
mov al, byte [esp + 0x139]
mov byte [esp + 0x65], al
mov al, byte [esp + 0xdf]
mov byte [esp + 0x66], al
mov al, byte [esp + 0x13c]
mov byte [esp + 0x64], al
xor esi, esi
mov eax, dword [esi + 0x417fe4]
lea ecx, [edi + 8]
mov dx, word [ecx]
cmp dx, word [eax]
je 0x424530
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jle 0x4176bb
add esi, 4
cmp esi, 0x18
jb 0x417f59
xor al, al
test al, al
jne 0x424559
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0xbc]
push ebx
lea ecx, [esp + 0x48]
push ecx
push eax
call fcn.00417a84
or dword [esp + 0x178], 0xffffffff
lea eax, [esp + 0xcc]
push eax
call fcn.00417471
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x170]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x158]
xor ecx, esp
call fcn.00401301
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [edi + 0x1981c]
mov edx, dword [esp + 0x14]
lea ecx, [ecx + edx*4]
push dword [ecx]
mov esi, eax
push dword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov edi, 0x80
call fcn.004199a1
inc dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
cmp ecx, dword [esp + 0x28]
jae 0x417d52
mov edi, dword [esp + 0x40]
jmp 0x4199d4
mov edi, dword [esi + 0xe4]
push ecx
push eax
lea eax, [edi + 4]
push eax
mov dword [esp + 0x4c], edi
call fcn.0041db28
mov ecx, dword [edi + 0x19820]
sub ecx, dword [edi + 0x1981c]
and dword [esp + 0x14], 0
sar ecx, 2
mov dword [esp + 0x28], ecx
test ecx, ecx
je 0x417d52
jmp 0x4199d4
test dx, dx
je 0x424552
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x417f6e
add ecx, 4
add eax, 4
test dx, dx
jne 0x417f62
xor eax, eax
jmp 0x417f73
or word [esp + 0x6a], 4
jmp 0x417f8d
call fcn.004336be
int3
sub eax, ecx
push 2
sar eax, 1
push eax
push ecx
push 2
mov dword [esp + 0x84], eax
pop eax
call fcn.0041ba58
mov dword [esp + 0x70], eax
jmp 0x417c2f
push 0xc
pop edi
sub eax, ecx
cdq
idiv edi
push 4
push eax
push ecx
push edi
mov dword [esp + 0x9c], eax
pop eax
mov edi, ebx
call fcn.0041ba58
mov dword [esp + 0x88], eax
jmp 0x417ca3
call fcn.00433969
lea ecx, [eax + 0x4e]
call fcn.00403d51
and eax, 0x1e0000
je 0x417e5b
test eax, 0x20000
je 0x428923
mov dword [esp + 0x14], 0x3a4
jmp 0x417e5f
test eax, 0x100000
je 0x428937
mov dword [esp + 0x14], 0x3b6
jmp 0x417e5f
test eax, 0x40000
je 0x42894b
mov dword [esp + 0x14], 0x3a8
jmp 0x417e5f
and eax, 0x80000
neg eax
sbb eax, eax
and eax, 0x3b5
mov dword [esp + 0x14], eax
jmp 0x417e5f
mov ecx, dword [esp + 0x38]
lea eax, [ecx + 0x1f]
cmp eax, ecx
jb 0x4288f7
cmp eax, 0xffff
ja 0x4288f7
and eax, 0xffe0
movzx eax, ax
mov dword [esp + 0xac], esi
mov dword [esp + 0xb0], esi
mov dword [esp + 0xb4], esi
push eax
lea esi, [esp + 0xb0]
call fcn.0041bad5
mov dword [esp + 0x178], 1
cmp dword [ebx], 0
je 0x4289f7
lea eax, [esp + 0x44]
push eax
push 0x64
pop esi
xor edi, edi
mov eax, ebx
call fcn.00417b3d
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
mov dword [esp + 0x20], eax
push edi
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0xd4]
push eax
mov dword [esp + 0x28], ecx
call fcn.00403fac
lea eax, [esp + 0xf4]
push eax
push dword [esp + 0x18]
lea edi, [esp + 0xb4]
call fcn.00435d19
mov eax, dword [esp + 0xb0]
cmp dword [esp + 0xac], eax
je 0x428a33
sub eax, dword [esp + 0xac]
or word [esp + 0x6a], 8
push 4
sar eax, 2
mov ecx, eax
pop eax
push eax
push ecx
push dword [esp + 0xb4]
mov edi, ebx
call fcn.0041ba58
mov dword [esp + 0xa4], eax
or dword [esp + 0x178], 0xffffffff
lea esi, [esp + 0xac]
call fcn.0040134e
mov edi, dword [esp + 0x18]
jmp 0x417e71
or word [esp + 0x6a], 1
jmp 0x417eb4
or word [esp + 0x6a], 2
jmp 0x417ef9