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

Disassembly:
mov ecx, dword [0x5efcb0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x4c]
cmp eax, dword [ecx + 8]
jbe 0x4f828d
sub esp, 0xcc
mov eax, dword [esp + 0xd0]
test byte [eax], al
mov eax, dword [eax + 0x106c]
mov dword [esp + 0x64], eax
test eax, eax
je 0x4f77a7
jmp 0x4f77ab
jmp 0x4f77a9
jmp 0x4f77bf
cmp eax, 1
je 0x4f77b2
jmp 0x4f77b9
jmp 0x4f77b4
jmp 0x4f7fb3
jmp 0x4f77bb
jmp 0x4f77bd
jmp 0x4f77bf
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov eax, dword [esp + 0xd0]
test byte [eax], al
mov eax, dword [eax + 0x1088]
mov dword [esp + 0xb4], eax
mov ecx, dword [esp + 0xd0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004f8c30
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x68], ecx
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], edx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], edx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], edx
test eax, eax
jne 0x4f7845
jmp 0x4f7881
mov ecx, dword [esp + 0xd0]
test byte [ecx], al
mov dword [ecx + 0x1074], eax
mov eax, dword [0x5efdd0]
test eax, eax
je 0x4f7860
jmp 0x4f7862
jmp 0x4f7874
call fcn.004757c0
mov dword [edi], edx
mov eax, dword [ecx + 0x1078]
mov dword [edi + 4], eax
jmp 0x4f7874
mov dword [ecx + 0x1078], edx
add esp, 0xcc
ret
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
cmp dword [esp + 0x18], 0x100
jl 0x4f78a0
jmp 0x4f79bf
jmp 0x4f78a2
mov eax, dword [esp + 0xd0]
test byte [eax], al
add eax, 0x104c
mov dword [esp + 0xb0], eax
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov byte [esp + 4], cl
call fcn.004f0900
mov eax, dword [esp + 0xd0]
test byte [eax], al
add eax, 0x104c
mov dword [esp + 0xac], eax
mov dword [esp], eax
call fcn.004f07f0
mov eax, dword [esp + 4]
mov dword [esp + 0x68], eax
test eax, eax
je 0x4f78f5
jmp 0x4f79ba
mov eax, dword [esp + 0xd0]
test byte [eax], al
add eax, 0x104c
mov dword [esp + 0xa8], eax
mov dword [esp], eax
call fcn.004f0e50
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], edx
mov ebx, dword [esp + 0xd0]
test byte [ebx], al
mov dword [ebx + 0x1080], ecx
mov dword [ebx + 0x1084], edx
mov ecx, dword [0x5efdd0]
test ecx, ecx
je 0x4f7954
jmp 0x4f7956
jmp 0x4f7968
call fcn.004757c0
mov dword [edi], eax
mov ecx, dword [ebx + 0x107c]
mov dword [edi + 4], ecx
jmp 0x4f7968
mov dword [ebx + 0x107c], eax
mov eax, dword [esp + 0xd0]
test byte [eax], al
mov ecx, dword [0x5efdd0]
test ecx, ecx
je 0x4f7983
jmp 0x4f7985
jmp 0x4f7994
mov ecx, dword [eax + 0x1068]
call fcn.004757b0
mov dword [edi], ecx
jmp 0x4f7994
lea ecx, [0x5329f4]
mov dword [eax + 0x1068], ecx
mov eax, dword [esp + 0xd0]
test byte [eax], al
mov dword [eax + 0x106c], 0
add esp, 0xcc
ret
jmp 0x4f77bf
cmp dword [esp + 0x18], 0x100
je 0x4f79cb
jmp 0x4f79e3
jmp 0x4f79cd
mov eax, dword [esp + 0xd0]
mov dword [esp], eax
call fcn.004f8910
add esp, 0xcc
ret
cmp dword [esp + 0x18], 0x109
jl 0x4f79ef
jmp 0x4f7a0b
jmp 0x4f79f1
mov eax, dword [esp + 0x18]
add eax, 0xffffff02
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], 0
jmp 0x4f7af8
cmp dword [esp + 0x18], 0x10d
jl 0x4f7a17
jmp 0x4f7a35
jmp 0x4f7a19
mov eax, dword [esp + 0x18]
shl eax, 1
add eax, 0xfffffdf9
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], 1
jmp 0x4f7af8
cmp dword [esp + 0x18], 0x111
jl 0x4f7a41
jmp 0x4f7a60
jmp 0x4f7a43
mov eax, dword [esp + 0x18]
shl eax, 2
add eax, 0xfffffbdf
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], 2
jmp 0x4f7af8
cmp dword [esp + 0x18], 0x115
jl 0x4f7a6c
jmp 0x4f7a88
jmp 0x4f7a6e
mov eax, dword [esp + 0x18]
shl eax, 3
add eax, 0xfffff79b
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], 3
jmp 0x4f7af8
cmp dword [esp + 0x18], 0x119
jl 0x4f7a94
jmp 0x4f7ab0
jmp 0x4f7a96
mov eax, dword [esp + 0x18]
shl eax, 4
add eax, 0xffffeef3
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], 4
jmp 0x4f7af8
cmp dword [esp + 0x18], 0x11d
jl 0x4f7abc
jmp 0x4f7ad8
jmp 0x4f7abe
mov eax, dword [esp + 0x18]
shl eax, 5
add eax, 0xffffdd63
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], 5
jmp 0x4f7af8
cmp dword [esp + 0x18], 0x11e
jl 0x4f7ae4
jmp 0x4f7b09
jmp 0x4f7ae6
mov dword [esp + 0x24], 0x102
mov dword [esp + 0x20], 0
jmp 0x4f7af8
mov eax, dword [esp + 0x20]
test eax, eax
ja 0x4f7b02
jmp 0x4f7b07
jmp 0x4f81ab
jmp 0x4f7b7b
jmp 0x4f7b0b
mov eax, dword [esp + 0xd0]
test byte [eax], al
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0046bb20
mov eax, dword [esp + 8]
mov dword [esp + 0xa4], eax
mov ecx, dword [esp + 0xd0]
test byte [ecx], al
lea edx, [0x53ad70]
mov dword [ecx + 0x1074], edx
mov edx, dword [0x5efdd0]
test edx, edx
je 0x4f7b5a
jmp 0x4f7b5c
jmp 0x4f7b6e
call fcn.004757c0
mov dword [edi], eax
mov edx, dword [ecx + 0x1078]
mov dword [edi + 4], edx
jmp 0x4f7b6e
mov dword [ecx + 0x1078], eax
add esp, 0xcc
ret
mov dword [esp + 0x2c], 0
mov eax, dword [esp + 0xd0]
test byte [eax], al
mov eax, dword [eax + 0x108c]
test eax, eax
jne 0x4f7b9b
jmp 0x4f7c5f
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov eax, dword [esp + 0xd0]
test byte [eax], al
mov eax, dword [eax + 0x108c]
mov dword [esp + 0xa0], eax
mov ecx, dword [esp + 0xd0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004f8c30
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x68], ecx
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], edx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], edx
test eax, eax
jne 0x4f7c1e
jmp 0x4f7c5a
mov ecx, dword [esp + 0xd0]
test byte [ecx], al
mov dword [ecx + 0x1074], eax
mov eax, dword [0x5efdd0]
test eax, eax
je 0x4f7c39
jmp 0x4f7c3b
jmp 0x4f7c4d
call fcn.004757c0
mov dword [edi], edx
mov eax, dword [ecx + 0x1078]
mov dword [edi + 4], eax
jmp 0x4f7c4d
mov dword [ecx + 0x1078], edx
add esp, 0xcc
ret
jmp 0x4f7d3d
jmp 0x4f7c61
mov eax, dword [esp + 0xd0]
test byte [eax], al
cmp dword [eax + 0x18], 5
jb 0x4f7c72
jmp 0x4f7cd7
mov eax, dword [esp + 0xd0]
mov dword [esp], eax
call fcn.004f8af0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
test eax, eax
jne 0x4f7c97
jmp 0x4f7cd3
mov edx, dword [esp + 0xd0]
test byte [edx], al
mov dword [edx + 0x1074], eax
mov eax, dword [0x5efdd0]
test eax, eax
je 0x4f7cb2
jmp 0x4f7cb4
jmp 0x4f7cc6
call fcn.004757c0
mov dword [edi], ecx
mov eax, dword [edx + 0x1078]
mov dword [edi + 4], eax
jmp 0x4f7cc6
mov dword [edx + 0x1078], ecx
add esp, 0xcc
ret
jmp 0x4f7cd5
jmp 0x4f7c61
mov eax, dword [esp + 0xd0]
test byte [eax], al
mov eax, dword [eax + 0x14]
and eax, 0x1f
shl eax, 3
mov byte [esp + 0x15], al
mov byte [esp], al
call fcn.0048b0a0
movzx eax, byte [esp + 4]
mov byte [esp + 0x17], al
movzx eax, al
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xd0]
test byte [eax], al
mov ecx, dword [esp + 0xd0]
test byte [ecx], al
mov ecx, dword [ecx + 0x14]
shr ecx, 5
mov dword [eax + 0x14], ecx
mov eax, dword [esp + 0xd0]
test byte [eax], al
mov ecx, dword [esp + 0xd0]
test byte [ecx], al
mov ecx, dword [ecx + 0x18]
add ecx, 0xfffffffb
mov dword [eax + 0x18], ecx
jmp 0x4f7d3d
cmp dword [esp + 0x2c], 4
jl 0x4f7d46
jmp 0x4f7d51
jmp 0x4f7d48
inc dword [esp + 0x2c]
jmp 0x4f7eee
cmp dword [esp + 0x2c], 0x1e
jl 0x4f7d5a
jmp 0x4f7d7f
jmp 0x4f7d5c
mov eax, dword [esp + 0x2c]
lea ecx, [eax - 2]
shr ecx, 1
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x2c]
and eax, 1
shl eax, cl
cmp ecx, 0x20
sbb edx, edx
and eax, edx
mov dword [esp + 0x28], eax
jmp 0x4f7df1
jmp 0x4f7d81
mov eax, dword [esp + 0xd0]
test byte [eax], al
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0046bb20
mov eax, dword [esp + 8]
mov dword [esp + 0x9c], eax
mov ecx, dword [esp + 0xd0]
test byte [ecx], al
lea edx, [0x53ad70]
mov dword [ecx + 0x1074], edx
mov edx, dword [0x5efdd0]
test edx, edx
je 0x4f7dd0
jmp 0x4f7dd2
jmp 0x4f7de4
call fcn.004757c0
mov dword [edi], eax
mov edx, dword [ecx + 0x1078]
mov dword [edi + 4], edx
jmp 0x4f7de4
mov dword [ecx + 0x1078], eax
add esp, 0xcc
ret
mov eax, dword [esp + 0xd0]
test byte [eax], al
mov eax, dword [eax + 0x18]
cmp dword [esp + 0x1c], eax
ja 0x4f7e05
jmp 0x4f7e6a
mov eax, dword [esp + 0xd0]
mov dword [esp], eax
call fcn.004f8af0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
test eax, eax
jne 0x4f7e2a
jmp 0x4f7e66
mov edx, dword [esp + 0xd0]
test byte [edx], al
mov dword [edx + 0x1074], eax
mov eax, dword [0x5efdd0]
test eax, eax
je 0x4f7e45
jmp 0x4f7e47
jmp 0x4f7e59
call fcn.004757c0
mov dword [edi], ecx
mov eax, dword [edx + 0x1078]
mov dword [edi + 4], eax
jmp 0x4f7e59
mov dword [edx + 0x1078], ecx
add esp, 0xcc
ret
jmp 0x4f7e68
jmp 0x4f7df1
mov eax, dword [esp + 0xd0]
test byte [eax], al
mov ecx, dword [esp + 0x1c]
mov edx, 1
shl edx, cl
cmp ecx, 0x20
sbb ebx, ebx
and edx, ebx
dec edx
and edx, dword [eax + 0x14]
or dword [esp + 0x28], edx
mov eax, dword [esp + 0xd0]
test byte [eax], al
mov edx, dword [esp + 0xd0]
test byte [edx], al
mov edx, dword [edx + 0x14]
mov ecx, dword [esp + 0x1c]
shr edx, cl
cmp ecx, 0x20
sbb ebx, ebx
and edx, ebx
mov dword [eax + 0x14], edx
mov eax, dword [esp + 0xd0]
test byte [eax], al
mov edx, dword [esp + 0xd0]
test byte [edx], al
mov edx, dword [edx + 0x18]
sub edx, dword [esp + 0x1c]
mov dword [eax + 0x18], edx
mov eax, dword [esp + 0x1c]
lea ecx, [eax + 1]
mov eax, 1
shl eax, cl
cmp ecx, 0x20
sbb edx, edx
and eax, edx
add eax, dword [esp + 0x28]
inc eax
mov dword [esp + 0x2c], eax
jmp 0x4f7eee
mov eax, dword [esp + 0xd0]
test byte [eax], al
add eax, 0x104c
mov dword [esp + 0x98], eax
mov dword [esp], eax
call fcn.004f0750
mov eax, dword [esp + 4]
mov dword [esp + 0x68], eax
cmp dword [esp + 0x2c], eax
jg 0x4f7f1b
jmp 0x4f7f8b
mov eax, dword [esp + 0xd0]
test byte [eax], al
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0046bb20
mov eax, dword [esp + 8]
mov dword [esp + 0x94], eax
mov ecx, dword [esp + 0xd0]
test byte [ecx], al
lea edx, [0x53ad70]
mov dword [ecx + 0x1074], edx
mov edx, dword [0x5efdd0]
test edx, edx
je 0x4f7f6a
jmp 0x4f7f6c
jmp 0x4f7f7e
call fcn.004757c0
mov dword [edi], eax
mov edx, dword [ecx + 0x1078]
mov dword [edi + 4], edx
jmp 0x4f7f7e
mov dword [ecx + 0x1078], eax
add esp, 0xcc
ret
mov eax, dword [esp + 0xd0]
test byte [eax], al
mov ecx, dword [esp + 0x24]
mov dword [eax + 0x1090], ecx
mov eax, dword [esp + 0xd0]
test byte [eax], al
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x1094], ecx
jmp 0x4f7fb3
mov eax, dword [esp + 0xd0]
test byte [eax], al
add eax, 0x104c
mov dword [esp + 0x90], eax
mov ecx, dword [esp + 0xd0]
test byte [ecx], al
mov ecx, dword [ecx + 0x1094]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0xd0]
test byte [edx], al
mov edx, dword [edx + 0x1090]
mov dword [esp + 0x40], edx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004f0c70
mov eax, dword [esp + 0xc]
mov dword [esp + 0x30], eax
test eax, eax
je 0x4f800c
jmp 0x4f8061
mov eax, dword [esp + 0xd0]
test byte [eax], al
add eax, 0x104c
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0xd0]
test byte [ecx], al
mov ecx, dword [ecx + 0x1094]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0xd0]
test byte [edx], al
mov edx, dword [edx + 0x1090]
mov dword [esp + 0x38], edx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004f0960
mov eax, dword [esp + 0xc]
mov dword [esp + 0x30], eax
jmp 0x4f8063
jmp 0x4f8063
mov eax, dword [esp + 0xd0]
test byte [eax], al
mov ecx, dword [esp + 0xd0]
test byte [ecx], al
mov ecx, dword [ecx + 0x1090]
sub ecx, dword [esp + 0x30]
mov dword [eax + 0x1090], ecx
mov eax, dword [esp + 0xd0]
test byte [eax], al
add eax, 0x104c
mov dword [esp + 0x88], eax
mov dword [esp], eax
call fcn.004f07f0
mov eax, dword [esp + 4]
mov dword [esp + 0x68], eax
test eax, eax
sete al
mov byte [esp + 0x16], al
je 0x4f80b7
jmp 0x4f80b9
jmp 0x4f80d3
mov eax, dword [esp + 0xd0]
test byte [eax], al
mov eax, dword [eax + 0x1090]
test eax, eax
setg al
mov byte [esp + 0x16], al
jmp 0x4f80d3
movzx eax, byte [esp + 0x16]
test al, al
jne 0x4f80e1
jmp 0x4f81a6
mov eax, dword [esp + 0xd0]
test byte [eax], al
add eax, 0x104c
mov dword [esp + 0x84], eax
mov dword [esp], eax
call fcn.004f0e50
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], edx
mov ebx, dword [esp + 0xd0]
test byte [ebx], al
mov dword [ebx + 0x1080], ecx
mov dword [ebx + 0x1084], edx
mov ecx, dword [0x5efdd0]
test ecx, ecx
je 0x4f8140
jmp 0x4f8142
jmp 0x4f8154
call fcn.004757c0
mov dword [edi], eax
mov ecx, dword [ebx + 0x107c]
mov dword [edi + 4], ecx
jmp 0x4f8154
mov dword [ebx + 0x107c], eax
mov eax, dword [esp + 0xd0]
test byte [eax], al
mov ecx, dword [0x5efdd0]
test ecx, ecx
je 0x4f816f
jmp 0x4f8171
jmp 0x4f8180
mov ecx, dword [eax + 0x1068]
call fcn.004757b0
mov dword [edi], ecx
jmp 0x4f8180
lea ecx, [0x5329f4]
mov dword [eax + 0x1068], ecx
mov eax, dword [esp + 0xd0]
test byte [eax], al
mov dword [eax + 0x106c], 1
add esp, 0xcc
ret
jmp 0x4f77bf
mov eax, dword [esp + 0xd0]
test byte [eax], al
mov eax, dword [eax + 0x18]
cmp dword [esp + 0x20], eax
ja 0x4f81bf
jmp 0x4f8224
mov eax, dword [esp + 0xd0]
mov dword [esp], eax
call fcn.004f8af0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
test eax, eax
jne 0x4f81e4
jmp 0x4f8220
mov edx, dword [esp + 0xd0]
test byte [edx], al
mov dword [edx + 0x1074], eax
mov eax, dword [0x5efdd0]
test eax, eax
je 0x4f81ff
jmp 0x4f8201
jmp 0x4f8213
call fcn.004757c0
mov dword [edi], ecx
mov eax, dword [edx + 0x1078]
mov dword [edi + 4], eax
jmp 0x4f8213
mov dword [edx + 0x1078], ecx
add esp, 0xcc
ret
jmp 0x4f8222
jmp 0x4f81ab
mov eax, dword [esp + 0xd0]
test byte [eax], al
mov ecx, dword [esp + 0x20]
mov edx, 1
shl edx, cl
cmp ecx, 0x20
sbb ebx, ebx
and edx, ebx
dec edx
and edx, dword [eax + 0x14]
add dword [esp + 0x24], edx
mov eax, dword [esp + 0xd0]
test byte [eax], al
mov edx, dword [esp + 0xd0]
test byte [edx], al
mov edx, dword [edx + 0x14]
mov ecx, dword [esp + 0x20]
shr edx, cl
cmp ecx, 0x20
sbb ebx, ebx
and edx, ebx
mov dword [eax + 0x14], edx
mov eax, dword [esp + 0xd0]
test byte [eax], al
mov edx, dword [esp + 0xd0]
test byte [edx], al
mov edx, dword [edx + 0x18]
sub edx, dword [esp + 0x20]
mov dword [eax + 0x18], edx
jmp 0x4f7b7b
call fcn.004743b0
jmp fcn.004f7770