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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x20]
cmp eax, dword [ecx + 8]
jbe 0x4f4b7d
sub esp, 0xa0
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x60]
test ecx, ecx
jne 0x4f4b06
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [eax + 0x20]
mov ebp, dword [eax + 0x24]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call fcn.004f3f60
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x10]
test eax, eax
jne 0x4f4a8d
mov edi, dword [esp + 0xa4]
mov dword [edi + 4], ecx
mov ecx, dword [0x795b00]
test ecx, ecx
jne 0x4f4a81
mov dword [edi], ebx
mov eax, dword [edi + 0x50]
test eax, eax
jne 0x4f4a45
mov eax, dword [edi + 0x58]
mov ecx, dword [edi + 0x5c]
test eax, eax
jne 0x4f4996
mov eax, dword [edi + 0x44]
lea ecx, [0x5725e0]
mov dword [esp], ecx
mov dword [esp + 4], 0
add eax, 3
mov dword [esp + 0x40], eax
mov dword [esp + 8], eax
call fcn.00441b50
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xa4]
mov dword [ecx + 0x70], 0
mov edx, dword [esp + 0x40]
mov dword [ecx + 0x74], edx
lea edi, [ecx + 0x6c]
mov edx, dword [0x795b00]
test edx, edx
jne 0x4f498c
mov dword [ecx + 0x6c], eax
mov dword [esp + 0x64], edi
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea ebx, [0x59ca2c]
mov dword [esp + 0x70], ebx
lea ebx, [0x59ca30]
mov dword [esp + 0x74], ebx
lea ebx, [0x59ca28]
mov dword [esp + 0x78], ebx
xor eax, eax
jmp 0x4f43c8
mov ebx, dword [esp + 0x40]
lea eax, [ebx + 1]
mov ecx, edx
mov edi, dword [esp + 0x64]
cmp eax, 3
jge 0x4f4507
mov dword [esp + 0x40], eax
mov edx, dword [esp + eax*4 + 0x70]
mov dword [esp], ecx
mov ebx, dword [edx]
call ebx
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov ebx, dword [esp + 0xc]
test eax, eax
jne 0x4f448e
mov ebx, dword [esp + 0xa4]
mov ebp, dword [ebx + 0x70]
lea esi, [ebp + 1]
mov eax, ebp
mov ebp, dword [ebx + 0x6c]
mov edx, ebx
mov ebx, dword [ebx + 0x74]
cmp esi, ebx
ja 0x4f4432
lea ebx, [eax + 1]
mov dword [edx + 0x70], ebx
mov ebx, dword [0x795b00]
lea edi, [ebp + eax*4]
test ebx, ebx
jne 0x4f4429
mov dword [ebp + eax*4], ecx
jmp 0x4f43bb
mov eax, ecx
call fcn.0045a0f0
jmp 0x4f43bb
mov dword [esp + 0x48], ecx
lea ecx, [0x5725e0]
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
call fcn.00441c00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xa4]
mov dword [ebx + 0x74], edx
mov edx, dword [0x795b00]
test edx, edx
jne 0x4f4483
mov dword [ebx + 0x6c], eax
mov edx, ebx
mov ebp, eax
mov eax, ecx
mov ecx, dword [esp + 0x48]
jmp 0x4f440f
mov edi, dword [esp + 0x64]
call fcn.0045a0f0
jmp 0x4f4477
mov dword [esp + 0x54], ebx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x78]
mov edx, dword [eax + 0x7c]
mov ebx, dword [eax + 0x80]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.004f3eb0
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x84]
mov edx, dword [eax + 0x88]
mov ebx, dword [eax + 0x8c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.004f3eb0
mov eax, dword [esp + 0x30]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xac], eax
add esp, 0xa0
ret
mov eax, dword [ecx + 0x70]
mov edx, dword [ecx + 0x44]
lea ebx, [eax + edx]
mov dword [esp + 0x40], ebx
mov ebp, dword [ecx + 0x74]
mov esi, dword [ecx + 0x6c]
mov edi, dword [ecx + 0x40]
cmp ebx, ebp
ja 0x4f493e
cmp eax, ebx
ja 0x4f4b75
mov dword [esp + 0x60], esi
mov dword [esp + 0x3c], ebp
lea ecx, [0x5725e0]
mov dword [esp], ecx
sub ebp, eax
xchg ebp, ebx
neg ebx
xchg ebp, ebx
shl eax, 2
sar ebp, 0x1f
and eax, ebp
add eax, esi
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edx
call fcn.0040fd50
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0xa4]
mov dword [ecx + 0x70], eax
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0x74], eax
mov eax, dword [0x795b00]
test eax, eax
jne 0x4f492c
mov eax, dword [esp + 0x60]
mov dword [ecx + 0x6c], eax
mov eax, dword [ecx + 0x14]
mov edx, dword [ecx + 0x18]
mov ebx, dword [ecx + 0x1c]
test eax, eax
je 0x4f4901
xor ebp, ebp
xor esi, esi
test ebp, ebp
jne 0x4f48ec
mov ebp, dword [ecx + 0xc]
mov esi, dword [ecx + 8]
mov edi, dword [ecx + 0x10]
test ebp, ebp
jle 0x4f48b8
mov dword [esp + 0x28], edi
mov dword [esp + 0x44], esi
mov dword [esp + 0x24], ebp
mov byte [esp], 1
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.004f4e30
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004f5160
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x14]
lea edi, [esp + 0x7c]
mov ebx, eax
xor eax, eax
call fcn.0045a357
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x20]
mov ebp, dword [eax + 0x24]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], ebp
mov ecx, dword [eax + 0x6c]
mov ebp, dword [eax + 0x70]
mov esi, dword [eax + 0x74]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], ebp
mov dword [esp + 0x98], esi
mov dword [esp + 0x84], ebx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
mov ecx, dword [eax + 0x4c]
mov dword [esp + 0x9c], ecx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x44]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x7c]
mov dword [esp + 0x14], ecx
call fcn.004a8bf0
mov eax, dword [0x795b00]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
test eax, eax
jne 0x4f48a0
mov eax, dword [esp + 0xa4]
mov dword [eax + 0x50], ecx
test ebx, ebx
jne 0x4f482e
mov ecx, dword [eax + 0x78]
mov edx, dword [eax + 0x7c]
mov ebx, dword [eax + 0x80]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.004f3eb0
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x94]
test ecx, ecx
jle 0x4f478a
lea eax, [0x54b360]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004044c0
mov eax, dword [0x795b00]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x4f4813
mov eax, dword [esp + 0xa4]
mov dword [eax + 0x9c], ecx
mov ecx, dword [eax + 0x90]
mov dword [esp + 0x5c], ecx
mov edx, dword [eax + 0x94]
mov dword [esp + 0x40], edx
xor ebx, ebx
jmp 0x4f4786
mov dword [esp + 0x3c], ebx
mov edx, dword [ecx + ebx*4]
mov dword [esp], 8
lea ebp, [0x59ca20]
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call fcn.00439590
mov eax, dword [esp + 0x3c]
lea ebx, [eax + 1]
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x40]
cmp ebx, edx
jl 0x4f474b
mov ecx, dword [eax + 0x58]
test ecx, ecx
jne 0x4f47ae
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
add esp, 0xa0
ret
lea eax, [0x54b620]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.004044c0
mov eax, dword [0x795b00]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x4f47fb
mov eax, dword [esp + 0xa4]
mov dword [eax + 0xa0], ecx
mov dword [esp], 4
lea ecx, [0x59ca24]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00439590
jmp 0x4f4791
mov edx, dword [esp + 0xa4]
lea edi, [edx + 0xa0]
mov eax, ecx
call fcn.0045a0f0
mov eax, edx
jmp 0x4f47df
mov edx, dword [esp + 0xa4]
lea edi, [edx + 0x9c]
mov eax, ecx
call fcn.0045a0f0
mov eax, edx
jmp 0x4f4733
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x50], edx
mov ecx, dword [eax + 0x78]
mov edx, dword [eax + 0x7c]
mov ebx, dword [eax + 0x80]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.004f3eb0
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x84]
mov edx, dword [eax + 0x88]
mov ebx, dword [eax + 0x8c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.004f3eb0
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0xac], eax
add esp, 0xa0
ret
mov ebp, dword [esp + 0xa4]
lea edi, [ebp + 0x50]
mov eax, ecx
call fcn.0045a0f0
mov eax, ebp
jmp 0x4f46c5
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov ebp, ecx
mov ecx, dword [ecx]
mov esi, ecx
mov ecx, dword [ebp + 4]
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], ecx
mov edi, 1
mov ebp, 1
lea esi, [esp + 0x68]
jmp 0x4f45bd
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xac], esi
add esp, 0xa0
ret
mov eax, dword [ecx + 0x4c]
mov dword [esp], eax
call fcn.004a7f60
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0xa4]
jmp 0x4f45a4
mov edi, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
call fcn.0045a0f0
jmp 0x4f458f
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x58], edi
lea ecx, [0x5725e0]
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.00441c00
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x58]
jmp 0x4f4525
call fcn.0045a0f0
jmp 0x4f437d
mov eax, dword [eax + 0x14]
mov dword [esp], ecx
call eax
mov dword [esp], 0
call fcn.00405950
movzx eax, byte [esp + 8]
test al, al
jne 0x4f49bf
mov edi, dword [esp + 0xa4]
jmp 0x4f432c
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x78]
mov edx, dword [eax + 0x7c]
mov ebx, dword [eax + 0x80]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.004f3eb0
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x84]
mov edx, dword [eax + 0x88]
mov ebx, dword [eax + 0x8c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.004f3eb0
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x58]
mov eax, dword [eax + 0x5c]
mov ecx, dword [ecx + 0x18]
mov dword [esp], eax
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
add esp, 0xa0
ret
lea eax, [0x556340]
mov dword [esp], eax
call fcn.0040b1d0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x15
lea ecx, [0x581434]
mov dword [eax], ecx
lea ecx, [0x5c0850]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
add esp, 0xa0
ret
mov eax, ebx
call fcn.0045a0f0
jmp 0x4f4313
mov dword [esp + 0x4c], edx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x78]
mov edx, dword [eax + 0x7c]
mov ebx, dword [eax + 0x80]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.004f3eb0
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x84]
mov edx, dword [eax + 0x88]
mov ebx, dword [eax + 0x8c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.004f3eb0
mov eax, dword [esp + 0x34]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xac], eax
add esp, 0xa0
ret
mov ecx, dword [eax + 0x78]
mov edx, dword [eax + 0x7c]
mov ebx, dword [eax + 0x80]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.004f3eb0
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x84]
mov edx, dword [eax + 0x88]
mov ebx, dword [eax + 0x8c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.004f3eb0
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x60]
mov eax, dword [eax + 0x64]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
add esp, 0xa0
ret
mov ecx, ebx
call fcn.0045a1d0
nop
call fcn.00458ba0
jmp fcn.004f4290