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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x28]
cmp eax, dword [ecx + 8]
jbe 0x4f9342
sub esp, 0xa8
mov eax, dword [esp + 0xac]
test byte [eax], al
lea ecx, [eax + 0x24]
mov dword [esp], ecx
call fcn.00401290
mov eax, dword [esp + 4]
test eax, eax
je 0x4f9320
mov eax, dword [esp + 0xac]
movzx ecx, byte [eax + 0x29]
test cl, cl
jne 0x4f91a8
mov ecx, dword [eax + 0x18]
cmp ecx, 0xffffffff
jne 0x4f90b4
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0xb4]
mov ebx, dword [esp + 0xb0]
mov ebp, dword [eax + 0x1c]
cmp ebp, 0xffffffff
jne 0x4f902d
mov ebp, dword [eax + 0xc]
mov dword [esp + 0x5c], ebp
mov esi, dword [eax + 8]
mov dword [esp + 0x9c], esi
mov edi, dword [esp + 0xbc]
mov dword [esp + 0x60], eax
xor eax, eax
mov dword [esp + 0x58], eax
xor eax, eax
mov dword [esp + 0x78], eax
xor eax, eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x60]
jmp 0x4f8a87
mov esi, dword [esp + 0x58]
inc esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x78], eax
mov dword [esp + 0x3c], ebp
mov eax, dword [esp + 0xac]
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x9c]
mov dword [esp + 0xb4], edx
mov eax, dword [esp + 0x58]
cmp eax, ebp
jge 0x4f8f3f
mov esi, dword [esi + eax*4]
mov dword [esp + 0x74], esi
movzx ebp, byte [esi + 0x19]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4f8abd
mov ebp, dword [esi]
lea eax, [edi + ebp]
test byte [eax], al
mov eax, dword [edi + ebp]
test eax, eax
je 0x4f8ec8
movzx eax, byte [esi + 0x18]
test al, al
je 0x4f8ade
mov eax, dword [esi]
lea ebp, [edi + eax]
test byte [ebp], al
mov eax, dword [edi + eax]
test eax, eax
jne 0x4f8ade
mov eax, dword [esp + 0x78]
mov ebp, dword [esp + 0x3c]
jmp 0x4f8a64
mov eax, dword [esi + 0x14]
mov dword [esp + 0x98], eax
mov ebp, dword [esi]
mov eax, dword [esi + 8]
mov esi, dword [esi + 4]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
lea eax, [edi + ebp]
mov dword [esp + 0xc], eax
movzx eax, byte [esp + 0xc0]
mov byte [esp + 0x18], al
mov edx, dword [esp + 0x98]
mov ecx, dword [edx]
call ecx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
test ecx, ecx
je 0x4f8eae
lea edi, [0x921910]
cmp ecx, edi
jne 0x4f8ea2
mov edx, eax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], ebp
mov dword [esp + 0x94], esi
jne 0x4f8c30
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x4f8b84
mov eax, dword [esp + 0x78]
mov edi, dword [esp + 0xbc]
mov ebx, esi
mov edx, ebp
mov ebp, ecx
mov ecx, dword [esp + 0x54]
jmp 0x4f8a64
mov dword [esp + 0x7c], eax
lea eax, [0x8267e0]
mov dword [esp], eax
call fcn.00409d90
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x20]
mov edx, dword [esp + 4]
mov dword [esp + 0x90], edx
mov ebx, dword [esp + 0x7c]
mov ebp, dword [ebx + 4]
mov ebx, dword [ebx]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebp
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
lea eax, [0x8969d0]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.0043be30
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x90]
mov dword [edi + 4], eax
mov eax, dword [0xc6f140]
test eax, eax
jne 0x4f8c27
mov dword [edi], ecx
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x50]
mov esi, dword [esp + 0x94]
lea edi, [0x921910]
lea ecx, [0x921910]
mov eax, dword [esp + 0x90]
jmp 0x4f8b6e
mov eax, ecx
call fcn.0044c860
jmp 0x4f8c00
mov eax, dword [0xc5c378]
cmp ecx, eax
je 0x4f8dab
test ecx, ecx
je 0x4f8d81
mov eax, dword [ecx + 4]
lea edi, [0x82d4e0]
cmp edi, eax
jne 0x4f8d81
mov eax, dword [0xc544ec]
cmp edx, eax
jne 0x4f8d81
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4f8c89
mov ecx, dword [esp + 0x78]
mov edi, dword [esp + 0xbc]
mov ebx, esi
mov edx, ebp
mov ebp, eax
mov eax, ecx
mov ecx, dword [esp + 0x54]
jmp 0x4f8a64
mov eax, dword [esp + 0xac]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00499d20
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
lea eax, [0x80eb20]
mov dword [esp], eax
mov ecx, dword [0xc5bae4]
mov dword [esp + 4], ecx
lea ecx, [esp + 0xa0]
mov dword [esp + 8], ecx
call fcn.0040ac10
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov edx, dword [esp + 0x74]
mov ebx, dword [edx + 0x20]
mov edx, dword [edx + 0x1c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ebx
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
lea eax, [0x8969d0]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.0043be30
mov eax, dword [esp + 0x20]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x70], ecx
lea edx, [0x8268a0]
mov dword [esp], edx
call fcn.00409d90
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x38]
mov dword [edi + 4], eax
mov eax, dword [0xc6f140]
test eax, eax
jne 0x4f8d76
mov eax, dword [esp + 0x70]
mov dword [edi], eax
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x50]
mov esi, dword [esp + 0x94]
mov ecx, edi
lea eax, [0x921930]
lea edi, [0x82d4e0]
jmp 0x4f8c71
mov eax, dword [esp + 0x70]
call fcn.0044c860
jmp 0x4f8d54
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc8], ebp
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], edx
add esp, 0xa8
ret
mov dword [esp + 0x8c], edx
mov dword [esp + 0x40], ecx
mov dword [esp], ecx
mov dword [esp + 4], edx
mov eax, dword [0xc5c37c]
mov dword [esp + 8], eax
call fcn.00402ea0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4f8dfa
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x50]
mov esi, dword [esp + 0x94]
lea edi, [0x921910]
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x40]
jmp 0x4f8c3e
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x1c]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov dword [esp], 0
lea ecx, [0x8a2c78]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x16
lea edx, [0x89e56f]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 0x10
call fcn.0043be30
mov eax, dword [esp + 0x20]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x68], ecx
lea edx, [0x826720]
mov dword [esp], edx
call fcn.00409d90
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x30]
mov dword [edi + 4], eax
mov eax, dword [0xc6f140]
test eax, eax
jne 0x4f8e97
mov eax, dword [esp + 0x68]
mov dword [edi], eax
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x50]
mov esi, dword [esp + 0x94]
mov edx, edi
lea ecx, [0x9218b0]
lea edi, [0x921910]
jmp 0x4f8c3e
mov eax, dword [esp + 0x68]
call fcn.0044c860
jmp 0x4f8e75
mov edx, eax
mov eax, 0
jmp 0x4f8b4d
mov edi, dword [esp + 0xbc]
mov edx, ebp
mov ecx, ebx
mov eax, dword [esp + 0x78]
mov ebp, dword [esp + 0x3c]
mov ebx, esi
jmp 0x4f8a64
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4f8edf
mov ebp, dword [esp + 0x78]
mov esi, eax
mov eax, ebp
mov ebp, esi
jmp 0x4f8a64
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x88], ebx
lea eax, [0x8267e0]
mov dword [esp], eax
call fcn.00409d90
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x1c]
mov edi, dword [esp + 4]
mov dword [edi + 4], ecx
mov ecx, dword [0xc6f140]
test ecx, ecx
jne 0x4f8f38
mov dword [edi], eax
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0xb4]
mov ebx, dword [esp + 0x88]
mov ebp, edi
lea eax, [0x921910]
mov edi, dword [esp + 0xbc]
jmp 0x4f8ed4
call fcn.0044c860
jmp 0x4f8f15
mov eax, dword [esp + 0xac]
mov eax, dword [eax + 0x14]
cmp eax, 0xffffffff
je 0x4f9025
lea ebp, [edi + eax]
test byte [ebp], al
mov ebp, dword [edi + eax]
mov eax, dword [edi + eax + 4]
lea esi, [eax + edx]
mov dword [esp + 0x5c], esi
cmp esi, ecx
ja 0x4f8fdf
test esi, esi
jl 0x4f9334
cmp esi, ecx
ja 0x4f9334
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb8], ecx
lea ecx, [ebx + edx]
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
call fcn.0044d060
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0xb0]
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0xd4], eax
add esp, 0xa8
ret
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x34], eax
lea eax, [0x80a6a0]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], esi
call fcn.00438c30
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0xb4]
mov ebp, dword [esp + 0x6c]
mov esi, dword [esp + 0x5c]
jmp 0x4f8f6a
mov eax, ecx
mov ecx, edx
mov edx, ebx
jmp 0x4f8fad
mov esi, dword [esp + 0xbc]
lea edi, [esi + ebp]
test byte [edi], al
mov ebp, dword [esi + ebp]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
movzx ecx, byte [esp + 0xc0]
mov byte [esp + 0x14], cl
call fcn.0050acc0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
test ebx, ebx
jne 0x4f908a
mov ebx, edx
mov edx, ecx
mov ecx, eax
mov eax, dword [esp + 0xac]
jmp 0x4f8a30
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xd4], ebp
add esp, 0xa8
ret
movzx edx, byte [eax + 0x28]
mov ebx, dword [esp + 0xbc]
add ecx, ebx
test dl, dl
je 0x4f9156
mov dword [esp], eax
mov edx, dword [esp + 0xb0]
mov dword [esp + 4], edx
mov edx, dword [esp + 0xb4]
mov dword [esp + 8], edx
mov edx, dword [esp + 0xb8]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
movzx ecx, byte [esp + 0xc0]
mov byte [esp + 0x14], cl
call fcn.00509e40
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
test ecx, ecx
jne 0x4f912c
mov eax, dword [esp + 0xac]
mov ecx, edx
mov edx, ebx
mov ebx, ebp
jmp 0x4f8a24
mov dword [esp + 0xc4], ebp
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], edx
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], eax
add esp, 0xa8
ret
mov dword [esp], eax
mov edx, dword [esp + 0xb0]
mov dword [esp + 4], edx
mov edx, dword [esp + 0xb4]
mov dword [esp + 8], edx
mov edx, dword [esp + 0xb8]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
movzx ecx, byte [esp + 0xc0]
mov byte [esp + 0x14], cl
call fcn.00509210
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
jmp 0x4f9116
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
call fcn.004f5b00
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004a07f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
lea edx, [0x820180]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00407bf0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 8]
mov ebx, dword [esp + 4]
mov ebp, dword [esp + 0xb4]
lea esi, [edx + ebp]
mov dword [esp + 0x5c], esi
mov edi, dword [esp + 0xb8]
cmp esi, edi
ja 0x4f92bb
test esi, esi
jl 0x4f933b
cmp esi, edi
ja 0x4f933b
mov dword [esp + 0xb8], edi
mov eax, dword [esp + 0xb0]
lea ecx, [ebp + eax]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.0044d060
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0xd4], eax
add esp, 0xa8
ret
mov dword [esp + 0x48], edx
mov dword [esp + 0x84], ebx
lea eax, [0x80a6a0]
mov dword [esp], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], esi
call fcn.00438c30
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x84]
mov ebp, dword [esp + 0xb4]
mov esi, dword [esp + 0x5c]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x80]
jmp 0x4f9242
mov eax, dword [esp + 0xac]
mov dword [esp], eax
call fcn.004f9350
jmp 0x4f89f0
call fcn.00426870
ud2
call fcn.00426870
ud2
call fcn.0044b100
jmp fcn.004f89b0