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

Disassembly:
sub esp, 0xbc
test byte [esp + 0xe0], 0x40
jne 0x4f7a73
push ebx
mov ebx, dword [esp + 0xc4]
push esi
push edi
mov edi, dword [esp + 0xd8]
mov eax, dword [ebx + 0x10]
mov eax, dword [eax]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x40]
push eax
push dword [esp + 0xd8]
push dword [esp + 0xe4]
push edi
call fcn.004f6d10
cmp dword [esp + 0x94], 0xffffffff
lea esi, [edi + eax]
mov dword [esp + 0x30], esi
jne 0x4f7a65
cmp dword [esp + 0x98], 0xffffffff
jne 0x4f7a65
mov edx, dword [esp + 0xec]
mov eax, edx
shr eax, 1
not al
and eax, 0xffffff01
cmp byte [esp + 0x60], 0
push ebp
mov ebp, dword [esp + 0xf8]
mov dword [esp + 0x30], eax
je 0x4f76f5
mov ecx, dword [esp + 0xd8]
mov eax, ecx
test ecx, ecx
je 0x4f741f
test dl, 1
jne 0x4f741f
lea eax, [ecx - 1]
lea edx, [esp + 0x44]
push edx
push ecx
push eax
push esi
mov eax, edx
push eax
call fcn.004f9850
push eax
call fcn.004f9300
cmp byte [esp + 0x30], 0
mov edx, eax
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0x24], eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x1c], eax
je 0x4f7682
test byte [esp + 0xf0], 1
mov edi, dword [esp + 0xa8]
mov eax, dword [esp + 0xa4]
je 0x4f74ea
test al, 1
je 0x4f74ad
mov eax, edi
and eax, 1
push eax
push dword [ebx]
push ebp
call dword [esp + pe_nt_image_headers32]
mov eax, dword [esp + 0xa4]
test al, 2
je 0x4f74cb
mov eax, edi
shr eax, 1
and eax, 1
push eax
push dword [ebx + 4]
push ebp
call dword [esp + pe_nt_image_headers32]
mov eax, dword [esp + 0xa4]
test al, 4
je 0x4f74ea
mov eax, edi
shr eax, 2
and eax, 1
push eax
push dword [ebx + 8]
push ebp
call dword [esp + pe_nt_image_headers32]
mov eax, dword [esp + 0xa4]
test al, 8
je 0x4f7509
mov eax, edi
shr eax, 3
and eax, 1
push eax
push dword [ebx + 0xc]
push ebp
call dword [esp + pe_nt_image_headers32]
mov eax, dword [esp + 0xa4]
test al, 0x20
je 0x4f7528
mov eax, edi
shr eax, 5
and eax, 1
push eax
push dword [ebx + 0x10]
push ebp
call dword [esp + pe_nt_image_headers32]
mov eax, dword [esp + 0xa4]
test al, 0x40
je 0x4f7547
mov eax, edi
shr eax, 6
and eax, 1
push eax
push dword [ebx + 0x14]
push ebp
call dword [esp + pe_nt_image_headers32]
mov eax, dword [esp + 0xa4]
test al, al
jns 0x4f755d
shr edi, 7
and edi, 1
push edi
push dword [ebx + 0x18]
push ebp
call dword [esp + pe_nt_image_headers32]
cmp byte [esp + 0x62], 0
jne 0x4f7571
mov ebx, dword [esp + 0x10]
add ebx, 0xfffffffc
add ebx, dword [esp + 0x18]
jmp 0x4f75c3
cmp byte [esp + 0xe8], 0
je 0x4f7598
push dword [esp + 0xd8]
lea eax, [esp + 0x48]
push esi
push eax
call fcn.004f7d10
mov ebx, dword [esp + 0x10]
add ebx, 0xfffffffc
add ebx, eax
jmp 0x4f75c3
cmp byte [esp + 0x66], 0
je 0x4f75bb
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x28]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [ecx]
add eax, 0xfffffffc
mov dword [esp + 0x20], eax
jmp 0x4f75c7
mov ebx, dword [esp + 0x28]
sub ebx, dword [esp + 0x4c]
mov dword [esp + 0x20], ebx
lea eax, [esp + 0x34]
push eax
call fcn.004f8c60
test eax, eax
jne 0x4f76a4
mov edx, dword [esp + 0x14]
lea edi, [eax + 1]
xor ebx, ebx
xor ebp, ebp
mov eax, edx
or eax, dword [esp + 0x24]
je 0x4f76a4
cmp ebp, 0x100
jae 0x4f76a4
mov ecx, edi
mov eax, ebx
and eax, dword [esp + 0x24]
and ecx, edx
or ecx, eax
je 0x4f7674
mov eax, dword [esp + 0x20]
mov ecx, ebx
sub eax, ebp
not ecx
and dword [esp + 0x24], ecx
mov dword [esp + 0x34], eax
mov eax, edi
not eax
mov dword [esp + 0x40], ecx
and edx, eax
mov dword [esp + 0x3c], eax
mov ecx, edi
mov dword [esp + 0x14], edx
and ecx, dword [esp + 0x2c]
mov eax, ebx
and eax, dword [esp + 0x1c]
xor edx, edx
or ecx, eax
je 0x4f765d
mov eax, dword [esp + 0x2c]
mov edx, 1
and eax, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x1c]
and eax, dword [esp + 0x40]
mov dword [esp + 0x1c], eax
push edx
push dword [esp + 0x38]
push dword [esp + 0x100]
call dword [esp + pe_nt_image_headers32]
mov edx, dword [esp + 0x14]
shld ebx, edi, 1
add ebp, 4
add edi, edi
jmp 0x4f75e4
mov eax, dword [esp + 0xa0]
cmp eax, 8
je 0x4f78ed
push eax
push ebx
call fcn.004f8c00
push 0
push eax
push ebp
call dword [esp + pe_nt_image_headers32]
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
cmp byte [esp + 0x62], 0
mov eax, dword [esp + 0x28]
jne 0x4f76ba
lea eax, [edx + ebx]
cmp byte [esp + 0xec], 0
mov dword [esp + 0x14], eax
jne 0x4f796b
mov ebp, dword [esp + 0x78]
xor edi, edi
test ebp, ebp
je 0x4f796b
nop word [eax + eax]
mov bl, byte [esi]
dec ebp
inc esi
test bl, 0xc0
jne 0x4f78f6
movzx eax, bl
jmp 0x4f791c
lea eax, [esp + 0x44]
push eax
push dword [esp + 0xdc]
push esi
push eax
call fcn.004f9850
push eax
call fcn.004f8c80
cmp byte [esp + 0x30], 0
mov edx, eax
mov eax, dword [esp + 0xc4]
mov ebp, dword [esp + 0xbc]
mov ebx, dword [esp + 0xc0]
mov edi, dword [esp + 0xb0]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
je 0x4f78c5
test byte [esp + 0xa4], 0x80
mov eax, dword [esp + 0xa8]
je 0x4f7781
shr eax, 7
and eax, 1
push eax
mov eax, dword [esp + 0xd4]
push dword [eax + 0x18]
push dword [esp + 0x100]
call dword [esp + pe_nt_image_headers32]
mov eax, dword [esp + 0xa8]
test byte [esp + 0xa4], 0x40
je 0x4f77aa
shr eax, 6
and eax, 1
push eax
mov eax, dword [esp + 0xd4]
push dword [eax + 0x14]
push dword [esp + 0x100]
call dword [esp + pe_nt_image_headers32]
mov eax, dword [esp + 0xa4]
test al, 8
je 0x4f77e2
mov eax, dword [esp + 0xa8]
shr eax, 3
and eax, 1
push eax
mov eax, dword [esp + 0xd4]
push dword [eax + 0xc]
push dword [esp + 0x100]
call dword [esp + pe_nt_image_headers32]
mov eax, dword [esp + 0xa4]
test al, 0x20
je 0x4f780c
mov eax, dword [esp + 0xa8]
shr eax, 5
and eax, 1
push eax
mov eax, dword [esp + 0xd4]
push dword [eax + 0x10]
push dword [esp + 0x100]
call dword [esp + pe_nt_image_headers32]
test edi, edi
je 0x4f7865
mov ebp, dword [esp + 0xf8]
mov esi, dword [esp + 0xac]
mov ebx, dword [esp + 0x10]
mov al, byte [edi]
inc edi
movzx edx, al
test al, al
jns 0x4f7842
and edx, 0x7f
nop
mov cl, byte [edi]
inc edi
movzx eax, cl
and eax, 0x7f
shl edx, 7
add edx, eax
test cl, cl
js 0x4f7830
mov ecx, edx
and edx, 0xfffffffc
and ecx, 3
push ecx
lea eax, [edx + ebx]
push eax
push ebp
call dword [esp + pe_nt_image_headers32]
sub esi, 1
jne 0x4f7822
mov esi, dword [esp + 0x34]
jmp 0x4f76a8
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0xc4]
mov eax, ebp
or eax, ebx
je 0x4f76a4
mov eax, ebp
and eax, 1
or eax, 0
je 0x4f78a8
mov eax, ecx
xor edx, edx
and eax, 1
or eax, edx
je 0x4f7894
mov edx, 1
push edx
push edi
push dword [esp + 0x100]
call dword [esp + pe_nt_image_headers32]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
shrd ecx, eax, 1
shrd ebp, ebx, 1
shr eax, 1
shr ebx, 1
add edi, 4
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], eax
jmp 0x4f7870
mov eax, dword [esp + 0xa0]
cmp eax, 8
je 0x4f78ed
push eax
push dword [esp + 0xd4]
call fcn.004f8c00
push 0
push eax
push dword [esp + 0x100]
jmp 0x4f769d
mov ebx, dword [esp + 0x10]
jmp 0x4f76ac
movzx edx, bl
and edx, 0x3f
test bl, bl
jns 0x4f7912
mov cl, byte [esi]
inc esi
movzx eax, cl
and eax, 0x7f
shl edx, 7
add edx, eax
test cl, cl
js 0x4f7900
mov eax, edx
neg eax
test bl, 0x40
cmove eax, edx
mov ebx, dword [esp + 0x14]
sub edi, eax
mov ecx, edi
mov dword [esp + 0x1c], edi
mov edx, ecx
and ecx, 0xfffffffc
and edx, 3
add ebx, ecx
cmp byte [esp + 0x63], 0
je 0x4f7953
mov edi, dword [esp + 0x4c]
lea eax, [edi - 4]
cmp ecx, eax
jl 0x4f794f
mov ebx, dword [esp + 0x28]
sub ecx, edi
add ebx, 4
add ebx, ecx
mov edi, dword [esp + 0x1c]
push edx
push ebx
push dword [esp + 0x100]
call dword [esp + pe_nt_image_headers32]
test ebp, ebp
jne 0x4f76e0
cmp byte [esp + 0x30], 0
mov ebp, dword [esp + 0x7c]
je 0x4f7994
mov edx, dword [esp + 0xd8]
test byte [esp + 0xf0], 1
lea eax, [edx - 1]
cmove edx, eax
mov dword [esp + 0xd8], edx
jmp 0x4f79a2
mov eax, dword [esp + 0xd8]
mov dword [esp + 0xd8], eax
xor ebx, ebx
test ebp, ebp
je 0x4f7a56
nop dword [eax]
mov al, byte [esi]
dec ebp
inc esi
movzx edx, al
test al, al
jns 0x4f79d2
and edx, 0x7f
nop
mov cl, byte [esi]
inc esi
movzx eax, cl
and eax, 0x7f
shl edx, 7
add edx, eax
test cl, cl
js 0x4f79c0
mov al, byte [esi]
lea edi, [esi + 1]
movzx esi, al
test al, al
jns 0x4f79f3
and esi, 0x7f
mov cl, byte [edi]
inc edi
movzx eax, cl
and eax, 0x7f
shl esi, 7
add esi, eax
test cl, cl
js 0x4f79e1
mov al, byte [edi]
add ebx, esi
lea esi, [edi + 1]
movzx edi, al
test al, al
jns 0x4f7a16
and edi, 0x7f
mov cl, byte [esi]
inc esi
movzx eax, cl
and eax, 0x7f
shl edi, 7
add edi, eax
test cl, cl
js 0x4f7a04
mov eax, edx
add edi, ebx
and eax, 3
and edx, 0xfffffffc
cmp byte [esp + 0x62], 0
je 0x4f7a29
neg edx
mov ecx, dword [esp + 0x14]
add ecx, edx
mov edx, dword [esp + 0xd8]
cmp edx, ebx
jb 0x4f7a56
cmp edx, edi
jae 0x4f7a4e
push eax
push ecx
push dword [esp + 0x100]
call dword [esp + pe_nt_image_headers32]
test ebp, ebp
jne 0x4f79b0
pop ebp
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0xbc
ret 0x2c
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0xbc
ret 0x2c
mov al, 1
add esp, 0xbc
ret 0x2c