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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x18]
cmp eax, dword [ecx + 8]
jbe 0x84fdc3
sub esp, 0x98
mov ecx, dword [esp + 0x9c]
mov edx, dword [ecx + 0x24]
mov ebx, dword [ecx + 0x20]
lea edi, [ecx + 0x24]
mov dword [esp + 0x6c], edi
movzx ebp, byte [esp + 0xa0]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x84f5fa
test ebx, ebx
jne 0x84fd26
mov dword [ecx + 0x20], 0
mov ebp, dword [0xe8ff30]
test ebp, ebp
jne 0x84fd1a
mov dword [ecx + 0x24], 0
mov dword [esp + 0x34], ebx
mov dword [esp + 0x48], edx
lea eax, [0x96a860]
mov dword [esp], eax
call fcn.0040af00
mov eax, dword [esp + 4]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x9c]
mov edx, dword [ecx + 0x64]
mov ebx, dword [ecx + 0x68]
test ebx, ebx
je 0x84fcf7
mov dword [esp + 0x38], ebx
mov dword [esp + 0x4c], edx
mov ebp, dword [ecx]
mov esi, dword [ecx + 4]
test esi, esi
je 0x84fce7
mov dword [esp], ebp
mov dword [esp + 4], esi
call fcn.00408790
mov eax, dword [esp + 8]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
call fcn.00408790
mov eax, dword [esp + 8]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x9c]
mov edx, dword [ecx + 0x14]
mov dword [esp], edx
call fcn.004086c0
mov eax, dword [esp + 4]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x9c]
mov edx, dword [ecx + 0x18]
mov dword [esp], edx
call fcn.004086c0
mov eax, dword [esp + 4]
mov dword [esp + 0x5c], eax
lea edi, [esp + 0x78]
xor eax, eax
call fcn.00456d78
lea eax, [0x92c840]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x84], ecx
lea ecx, [0x92ba80]
mov dword [esp + 0x88], ecx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x94], ecx
lea ecx, [0xaa4970]
mov dword [esp], ecx
mov edx, dword [esp + 0x54]
mov dword [esp + 4], edx
lea ebx, [0x9d71f6]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0x12
lea ebx, [esp + 0x78]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 4
mov dword [esp + 0x18], 4
call fcn.004d9d20
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 0x64]
cmp dword [eax + 0x68], 7
jge 0x84fcbc
xor ecx, ecx
test cl, cl
je 0x84fc81
mov ecx, 1
test cl, cl
je 0x84fbe8
mov ecx, dword [eax + 0x38]
mov edx, dword [eax + 0x3c]
mov ebx, dword [eax + 0x34]
test ecx, ecx
jle 0x84fbde
mov ebp, dword [ebx]
cmp dword [ebx + 4], 7
jne 0x84fbda
cmp dword [ebp], 0x6e756863
jne 0x84fbd6
cmp word [ebp + 4], 0x656b
jne 0x84fbca
cmp byte [ebp + 6], 0x64
xchg ebp, ebx
sete bl
xchg ebp, ebx
test ecx, ecx
xchg ebp, eax
mov byte [esp + 0x2f], al
xchg ebp, eax
jg 0x84fb21
movzx ecx, byte [eax + 0x40]
test cl, cl
jne 0x84fad5
mov ecx, dword [eax + 0x1c]
mov edx, dword [0xe7a1b4]
mov dword [esp], ecx
lea ecx, [0xaa4970]
mov dword [esp + 4], ecx
mov ebx, dword [esp + 0x54]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 0
call fcn.006ab480
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x84fa9f
mov dword [esp + 0x44], eax
mov dword [esp + 0x30], ecx
lea eax, [0xaa4970]
mov dword [esp], eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
lea edx, [0x9ca7c7]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 2
call fcn.004649f0
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x84fa92
movzx ecx, byte [esp + 0x2f]
test cl, cl
jne 0x84fa24
mov edx, dword [esp + 0x54]
lea ebx, [0xaa4970]
mov dword [esp + 0x50], edx
mov dword [esp + 0x3c], ebx
mov ecx, dword [eax + 0x24]
mov ebp, dword [eax + 0x20]
lea esi, [0x9432c0]
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
call fcn.004089e0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x3c]
mov dword [esp], edx
mov ebx, dword [esp + 0x50]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.00464e50
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
movzx edx, byte [esp + 0x2f]
test dl, dl
jne 0x84f9b9
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x9c]
mov dword [ebx + 0x20], edx
mov edx, dword [0xe8ff30]
test edx, edx
jne 0x84f9a3
mov edx, dword [esp + 0x48]
mov dword [ebx + 0x24], edx
test ecx, ecx
jne 0x84f96d
mov edx, dword [esp + 0x54]
mov ebx, dword [edx]
mov eax, dword [edx + 0xc]
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
cmp eax, ecx
ja 0x84fdbd
sub edx, eax
mov ebp, edx
neg edx
sar edx, 0x1f
and edx, eax
add edx, ebx
mov dword [esp + 0xa4], edx
sub ecx, eax
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], ebp
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
add esp, 0x98
ret
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], eax
add esp, 0x98
ret
mov edi, dword [esp + 0x6c]
mov edx, eax
mov eax, dword [esp + 0x48]
call fcn.00456ab0
mov eax, edx
jmp 0x84f911
mov dword [esp + 0x58], eax
mov dword [esp + 0x40], ecx
lea eax, [0x943260]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 8], eax
call fcn.00408a60
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
call eax
lea eax, [0xaa4970]
mov dword [esp], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
lea ecx, [0x9ca7c7]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 2
call fcn.004649f0
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x40]
jmp 0x84f8ee
nop
lea eax, [0x94b660]
mov dword [esp], eax
call fcn.0040af00
mov eax, dword [esp + 4]
lea ecx, [0xaa4970]
mov dword [eax], ecx
mov edx, dword [0xe8ff30]
test edx, edx
jne 0x84fa80
mov edx, dword [esp + 0x54]
mov dword [eax + 4], edx
lea ecx, [0x943500]
mov dword [esp], ecx
lea ecx, [0xaa96f0]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004089e0
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x9c]
jmp 0x84f879
lea edi, [eax + 4]
mov edx, eax
mov eax, dword [esp + 0x54]
call fcn.00456ab0
mov eax, edx
jmp 0x84fa50
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x30]
jmp 0x84f8ee
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], eax
add esp, 0x98
ret
lea eax, [0xaa4970]
mov dword [esp], eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
lea edx, [0x9d80be]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0x13
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.004d9d20
mov eax, dword [esp + 0x9c]
jmp 0x84f7e1
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
lea eax, [0x9ca5cf]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.005424b0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00408790
mov eax, dword [esp + 8]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea ecx, [0x92c840]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
lea eax, [0xaa4970]
mov dword [esp], eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
lea edx, [0x9dbc5f]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0x17
lea edx, [esp + 0x70]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 1
call fcn.004d9d20
mov eax, dword [esp + 0x9c]
movzx ebp, byte [esp + 0x2f]
jmp 0x84f7d5
test ecx, ecx
mov ebp, 0
jmp 0x84f7c9
test ecx, ecx
jmp 0x84fbcc
test ecx, ecx
jmp 0x84fbcc
mov ebp, 0
jmp 0x84f7c9
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x48]
test edx, edx
jne 0x84fbff
mov ebx, dword [eax + 8]
test ebx, ebx
je 0x84fbff
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0x18]
test edx, edx
je 0x84f786
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.00408790
mov eax, dword [esp + 8]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea ecx, [0x92c840]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
lea eax, [0xaa4970]
mov dword [esp], eax
mov edx, dword [esp + 0x54]
mov dword [esp + 4], edx
lea ebx, [0x9d0fa6]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0xa
lea ebx, [esp + 0x70]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 1
call fcn.004d9d20
mov eax, dword [esp + 0x9c]
jmp 0x84f786
mov ecx, dword [eax + 0x64]
cmp dword [eax + 0x68], 8
jge 0x84fc91
xor ecx, ecx
jmp 0x84f77e
mov dword [esp], ecx
lea eax, [0x9cfac2]
mov dword [esp + 4], eax
mov dword [esp + 8], 8
call fcn.00402350
movzx ecx, byte [esp + 0xc]
mov eax, dword [esp + 0x9c]
jmp 0x84f77e
mov dword [esp], ecx
lea eax, [0x9cea34]
mov dword [esp + 4], eax
mov dword [esp + 8], 7
call fcn.00402350
movzx ecx, byte [esp + 0xc]
mov eax, dword [esp + 0x9c]
jmp 0x84f771
mov esi, 3
lea ebp, [0x9cab70]
jmp 0x84f65e
mov eax, dword [ecx + 8]
mov dword [esp], eax
call fcn.005a9720
mov ebx, dword [esp + 8]
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x9c]
jmp 0x84f649
xor eax, eax
call fcn.00456ab0
jmp 0x84f616
mov dword [esp], ebx
mov dword [esp + 4], edx
call fcn.0084f320
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x9c]
mov dword [edi + 0x20], edx
mov edx, dword [0xe8ff30]
test edx, edx
jne 0x84fda4
mov dword [edi + 0x24], ebx
test ebp, ebp
jne 0x84fd6e
mov ebx, eax
mov edx, ecx
jmp 0x84f616
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], ebp
mov dword [esp + 0xb4], esi
add esp, 0x98
ret
mov dword [esp + 0x34], eax
mov edx, edi
mov edi, dword [esp + 0x6c]
mov eax, ebx
call fcn.00456ab0
mov eax, dword [esp + 0x34]
mov edi, edx
jmp 0x84fd61
call fcn.00456b90
nop
call fcn.00455270
jmp fcn.0084f5b0