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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x4c]
cmp eax, dword [ecx + 8]
jbe 0x4f7c1a
sub esp, 0xcc
mov eax, dword [esp + 0xf4]
test eax, eax
je 0x4f7ba0
mov ecx, dword [esp + 0xf8]
lea edx, [ecx - 1]
mov ebx, dword [esp + 0xe0]
mov ebp, dword [esp + 0xd8]
mov esi, dword [esp + 0xd0]
mov edi, dword [esp + 0xd4]
mov dword [esp + 0xb8], eax
xor eax, eax
mov dword [esp + 0x54], eax
xor eax, eax
mov dword [esp + 0xc8], eax
xor eax, eax
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0xb8]
jmp 0x4f777b
lea esi, [0xb49640]
mov edx, edi
test edx, edx
jle 0x4f75af
lea edi, [edx - 1]
cmp edi, ecx
jae 0x4f7c0c
lea esi, [edx + edx*4]
mov esi, dword [eax + esi*4 - 8]
cmp esi, ebx
jg 0x4f758d
cmp edx, ecx
jae 0x4f7c05
lea ebx, [edx + edx*4]
mov esi, dword [eax + ebx*4 + 0xc]
cmp esi, ebp
jge 0x4f7810
cmp edx, ecx
jae 0x4f7be4
mov dword [esp + 0x6c], edx
lea ecx, [edx + edx*4]
mov dword [esp + 0x7c], ecx
mov ebx, dword [eax + ecx*4 + 4]
mov ebp, dword [eax + ecx*4]
mov esi, dword [eax + ecx*4 + 8]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], esi
mov ebx, dword [esp + 0xc4]
mov dword [esp], ebx
mov ebp, dword [esp + 0x4c]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x50]
mov dword [esp + 8], esi
mov edi, dword [esp + 0xc8]
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0x54]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x58]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], esi
call fcn.004f1660
mov eax, dword [esp + 0x38]
mov dword [esp + 0xd8], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xd4], ecx
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x7c]
mov eax, dword [esp + 0xf4]
mov edi, dword [eax + edi*4 + 0x10]
mov ecx, dword [esp + 0xe0]
sub ecx, edi
mov edi, dword [esp + 0xe0]
cmp ecx, edi
ja 0x4f7bdd
mov dword [esp + 0x74], ecx
mov dword [esp + 0xd0], edx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], ebp
mov dword [esp + 0xc0], esi
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov edx, dword [esp + 0xe4]
sub edx, ecx
mov dword [esp + 0x7c], edx
neg edx
sar edx, 0x1f
and edx, ecx
mov ebx, dword [esp + 0xdc]
add edx, ebx
mov dword [esp + 0xc], edx
sub edi, ecx
mov dword [esp + 0x10], edi
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0xe8]
mov dword [esp + 0x18], edx
mov edi, dword [esp + 0xec]
mov dword [esp + 0x1c], edi
mov ebx, dword [esp + 0xf0]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x28], edi
mov ebx, dword [esp + 0xfc]
mov dword [esp + 0x2c], ebx
call fcn.004f7510
mov eax, dword [esp + 0xf8]
mov ecx, dword [esp + 0xf4]
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0xc0]
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x6c]
mov eax, ecx
mov ecx, dword [esp + 0xf8]
mov edi, dword [esp + 0xd4]
mov esi, dword [esp + 0xd0]
mov ebp, dword [esp + 0xd8]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0xc0]
mov dword [esp + 0xc8], ecx
mov ebx, dword [esp + 0x74]
mov ecx, dword [esp + 0xf8]
mov dword [esp + 0xe0], ebx
mov ebx, dword [0xb44114]
cmp edi, ebx
jle 0x4f78ba
mov dword [esp + 0x4c], edi
mov dword [esp + 0xc4], esi
mov dword [esp + 0x50], ebp
lea ebx, [edi - 1]
test ebx, ebx
jl 0x4f78ad
mov ebp, dword [esi + edi*4 - 4]
cmp ebp, 0x10000
jb 0x4f7894
shr ebp, 0x10
mov dword [esp + 0xa0], eax
mov eax, 0x10
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0xa0]
cmp ebp, 0x100
jb 0x4f788b
shr ebp, 8
mov edi, dword [esp + 0x60]
add edi, 8
cmp ebp, 0x100
jae 0x4f7c13
shl ebx, 5
lea esi, [0xb49640]
movzx ebp, byte [esi + ebp]
add ebp, edi
add ebx, ebp
mov ebp, ebx
sar ebx, 1
jmp 0x4f7595
mov dword [esp + 0x78], edx
mov ecx, dword [eax + ebx*4 + 8]
mov edx, dword [eax + ebx*4 + 4]
mov ebx, dword [eax + ebx*4]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x10], edx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x14], ebx
call fcn.004eeb00
mov eax, dword [esp + 0x18]
test eax, eax
jl 0x4f7874
mov eax, dword [esp + 0x78]
dec eax
test eax, eax
jl 0x4f7beb
mov ecx, dword [esp + 0xf8]
mov edx, eax
mov eax, dword [esp + 0xf4]
jmp 0x4f75c6
mov eax, dword [esp + 0xf4]
mov ecx, dword [esp + 0xf8]
mov edx, dword [esp + 0x78]
jmp 0x4f75c6
mov edi, dword [esp + 0x60]
jmp 0x4f77ea
mov dword [esp + 0xa8], eax
xor eax, eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0xa8]
jmp 0x4f77d4
lea esi, [0xb49640]
xor ebx, ebx
jmp 0x4f7807
mov eax, dword [esp + 0xe0]
mov dword [esp + 0xe0], eax
mov ecx, dword [esp + 0xe8]
cmp ecx, 0xa
jne 0x4f7a31
mov ecx, eax
jmp 0x4f7965
lea edx, [ebp + 0x30]
mov ebp, dword [esp + 0x7c]
mov byte [ebp + esi - 1], dl
inc ecx
mov edx, dword [esp + 0xec]
mov edx, dword [esp + 0xd4]
mov ebp, dword [esp + 0xec]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x7c], ebx
mov ecx, dword [esp + 0xd8]
mov ebx, dword [esp + 0xd0]
mov ecx, dword [esp + 0x68]
cmp ecx, ebp
jge 0x4f7a01
mov edx, dword [esp + 0x7c]
test edx, edx
jle 0x4f7951
mov dword [esp + 0x5c], eax
lea ebx, [edx - 1]
mov eax, 0xcccccccd
mov ebp, dword [esp + 0x5c]
mul ebp
shr edx, 3
mov eax, edx
lea edx, [edx + edx*4]
shl edx, 1
sub ebp, edx
cmp ebx, edi
jb 0x4f78df
jmp 0x4f7bd6
mov ecx, edi
mov ebp, dword [esp + 0xd8]
mov edi, dword [esp + 0xd4]
mov esi, ebx
mov eax, edx
test edi, edi
jle 0x4f7a0a
mov dword [esp + 0x70], eax
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x18], eax
call fcn.004f1480
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xd8], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0xd4], edx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0xd0], ebx
mov ebp, dword [esp + 0xec]
mov esi, dword [esp + 0xdc]
mov edi, dword [esp + 0xe0]
mov dword [esp + 0x98], eax
xor eax, eax
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x98]
jmp 0x4f7916
mov edx, dword [esp + 0x7c]
jmp 0x4f7951
mov edx, dword [esp + 0xdc]
jmp 0x4f7a1a
mov byte [eax + edx - 1], 0x30
mov eax, ebx
test eax, eax
jle 0x4f7a2a
lea ebx, [eax - 1]
cmp ebx, ecx
jb 0x4f7a13
jmp 0x4f7bc1
add esp, 0xcc
ret
mov edx, eax
jmp 0x4f7af4
mov byte [esp + 0x4b], dl
mov edx, dword [esp + 0xdc]
movzx eax, byte [esp + 0x4b]
mov byte [ebx + edx - 1], al
lea edx, [ecx + 1]
mov dword [esp + 0x64], edx
mov eax, dword [esp + 0x5c]
mov ebx, dword [esp + 0xe8]
xor edx, edx
div ebx
mov edx, dword [esp + 0xec]
mov ecx, dword [esp + 0xd8]
mov edx, dword [esp + 0xd4]
mov ebx, dword [esp + 0xd0]
mov ebp, dword [esp + 0xe8]
mov dword [esp + 0x7c], edi
mov edi, dword [esp + 0xec]
mov ecx, dword [esp + 0x64]
cmp ecx, edi
jge 0x4f7b90
mov edx, dword [esp + 0x7c]
test edx, edx
jle 0x4f7adc
test ebp, ebp
je 0x4f7bcf
mov dword [esp + 0x5c], eax
xor edx, edx
div ebp
cmp edx, 0x3e
jae 0x4f7bc8
mov ebx, dword [esp + 0x7c]
lea edi, [ebx - 1]
lea ebp, [0x84f1ea]
movzx edx, byte [ebp + edx]
cmp edi, esi
jb 0x4f7a38
jmp 0x4f7bc8
mov ecx, ebp
mov edx, esi
mov esi, ebx
mov ebp, dword [esp + 0xd8]
mov edi, dword [esp + 0xd4]
mov eax, dword [esp + 0x7c]
test edi, edi
jle 0x4f7b99
mov dword [esp + 0x70], eax
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x18], eax
call fcn.004f1480
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xd8], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0xd4], edx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0xd0], ebx
mov ebp, dword [esp + 0xe8]
mov esi, dword [esp + 0xe0]
mov edi, dword [esp + 0xec]
mov dword [esp + 0x88], eax
xor eax, eax
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x88]
jmp 0x4f7a90
mov edx, dword [esp + 0x7c]
jmp 0x4f7adc
mov ecx, edx
jmp 0x4f7a0a
mov eax, dword [esp + 0xe0]
mov esi, dword [esp + 0xd0]
mov edi, dword [esp + 0xd4]
mov ebp, dword [esp + 0xd8]
jmp 0x4f78c1
call fcn.004264e0
ud2
call fcn.004264e0
ud2
call fcn.004266e0
ud2
call fcn.004264e0
ud2
call fcn.004265e0
ud2
call fcn.004264e0
ud2
lea eax, [0x7b48a0]
mov dword [esp], eax
lea eax, [0x8b1200]
mov dword [esp + 4], eax
call fcn.004273c0
ud2
call fcn.004264e0
ud2
call fcn.004264e0
ud2
call fcn.004264e0
ud2
call fcn.0044b230
jmp fcn.004f7510