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

Disassembly:
push 0xffffffffffffffff
push 0x47fb78
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x4a2350]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a2350]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov edi, ecx
push 0x4a4740
push 0x200000
mov dword [esp + 0x54], edi
xor ebp, ebp
call fcn.004631fe
mov esi, eax
add esp, 8
mov dword [esp + 0x48], esi
cmp esi, ebp
jne 0x417b07
or eax, 0xffffffff
jmp 0x417f5b
push 0x200000
push ebp
push esi
call fcn.00465680
xor eax, eax
add esp, 0xc
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], ebp
mov word [esp + 0x5c], ax
mov dword [esp + 0xb8], 1
mov eax, 8
cmp dword [edi + 0x30], eax
jb 0x417b43
mov ecx, dword [edi + 0x1c]
jmp 0x417b46
lea ecx, [edi + 0x1c]
mov edx, dword [0x4a5fe4]
cmp dword [0x4a5ff8], eax
jae 0x417b59
mov edx, 0x4a5fe4
cmp dword [0x4a5fdc], eax
mov eax, dword [0x4a5fc8]
jae 0x417b6b
mov eax, 0x4a5fc8
push ecx
push 0x100000
push esi
push 0x48a7ac
push edx
push eax
call dword [fcn.00487358]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x417b84
sub eax, edx
sar eax, 1
push eax
mov eax, esi
lea esi, [esp + 0x5c]
call fcn.00418a70
push 4
call fcn.00462074
add esp, 4
mov ebx, 3
mov byte [esp + 0xb8], bl
cmp eax, ebp
je 0x417bc1
lea ecx, [esp + 0x2c]
mov dword [eax], ecx
jmp 0x417bc3
xor eax, eax
mov byte [esp + 0xb8], 1
mov dword [esp + 0x2c], eax
mov byte [esp + 0xb8], 5
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov byte [esp + 0xb8], 6
cmp dword [0x4a5fa4], 8
mov edi, dword [0x4a5f90]
jae 0x417bff
mov edi, 0x4a5f90
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x5c]
push eax
call fcn.004183e0
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x38]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x417c54
cmp dword [esp + 0x6c], ebp
je 0x417c54
push 0x48cac0
xor eax, eax
lea edx, [esp + 0x5c]
call fcn.00418b20
cmp eax, 0xffffffff
jne 0x417c54
lea edx, [esp + 0x58]
push edx
lea ebx, [esp + 0x30]
call fcn.00418820
push 4
call fcn.00462074
add esp, 4
mov byte [esp + 0xb8], 8
cmp eax, ebp
je 0x417c72
lea ecx, [esp + 0x14]
mov dword [eax], ecx
jmp 0x417c74
xor eax, eax
mov byte [esp + 0xb8], 6
mov dword [esp + 0x14], eax
mov byte [esp + 0xb8], 0xa
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov byte [esp + 0xb8], 0xb
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x38]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x417ef2
mov dword [esp + 0x44], 0
mov eax, dword [esp + 0x24]
mov ebx, eax
cmp dword [esp + 0x20], eax
jbe 0x417cda
call fcn.004624c9
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
cmp edi, eax
jbe 0x417ceb
call fcn.004624c9
mov ecx, dword [esp + 0x14]
push ebx
push esi
push edi
push ecx
lea edx, [esp + 0x60]
push edx
lea esi, [esp + 0x28]
call fcn.00418ea0
cmp dword [0x4a5fc0], 8
mov edi, dword [0x4a5fac]
jae 0x417d15
mov edi, 0x4a5fac
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x38]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x417d39
call fcn.004624c9
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x44]
lea ecx, [esp + 0x14]
push ecx
add edx, ebx
push edx
call fcn.004183e0
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x20]
mov eax, 0x92492493
imul ecx
add edx, ecx
mov ecx, dword [esp + 0x3c]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x417dd2
mov esi, ecx
sub esi, dword [esp + 0x38]
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x417d95
call fcn.004624c9
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
cmp dword [eax + ebx + 0x14], 0
je 0x417dd2
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ebp, ecx
jb 0x417dbe
call fcn.004624c9
mov edx, dword [esp + 0x38]
add edx, ebx
push edx
lea ebx, [esp + 0x18]
call fcn.00418820
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x24]
sub esi, dword [esp + 0x20]
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x417ecd
mov eax, 7
xor esi, esi
xor ecx, ecx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x88], esi
mov word [esp + 0x78], cx
mov byte [esp + 0xb8], 0xc
xor edx, edx
mov dword [esp + 0xa8], eax
mov dword [esp + 0xa4], esi
mov word [esp + 0x94], dx
mov byte [esp + 0xb8], 0xe
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x20]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x417e59
call fcn.004624c9
mov eax, dword [esp + 0x20]
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x7c]
call fcn.004189c0
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x20]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jb 0x417ea9
cmp eax, 1
ja 0x417e93
call fcn.004624c9
mov eax, dword [esp + 0x20]
push 0xffffffffffffffff
add eax, 0x1c
push esi
lea ecx, [esp + 0x98]
call fcn.004189c0
mov ebx, dword [esp + 0x4c]
lea ecx, [esp + 0x74]
push ecx
call fcn.00418920
mov byte [esp + 0xb8], 0xb
lea edx, [esp + 0x74]
push edx
call fcn.00428b70
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x38]
add dword [esp + 0x44], 0x1c
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc ebp
add eax, edx
cmp ebp, eax
jb 0x417cc5
mov byte [esp + 0xb8], 6
lea ecx, [esp + 0x14]
push ecx
call fcn.004187a0
mov byte [esp + 0xb8], 1
lea edx, [esp + 0x2c]
push edx
call fcn.004187a0
mov dword [esp + 0xb8], 0xffffffff
cmp dword [esp + 0x70], 8
jb 0x417f35
mov eax, dword [esp + 0x5c]
push eax
call fcn.00461232
add esp, 4
mov edx, dword [esp + 0x48]
xor ecx, ecx
push edx
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], 0
mov word [esp + 0x60], cx
call fcn.0046147d
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.0046123d
add esp, 0xa8
ret