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

Disassembly:
mov ecx, dword [0x9ec7ac]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4f5c57
sub esp, 0x70
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4f5207
lea eax, [0x70f7a0]
mov dword [esp], eax
call fcn.0040c5b0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x74]
cmp byte [ecx], 0x71
jne 0x4f51fd
mov byte [eax + 1], 1
mov edx, dword [esp + 0x78]
lea ebx, [edx - 1]
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and ebx, 1
add ebx, ecx
cmp edx, 1
jne 0x4f522b
lea eax, [0x6f30c0]
mov dword [esp], eax
call fcn.0040c5b0
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], eax
mov dword [esp], 0
lea ecx, [0x73c807]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x18
mov ecx, dword [esp + 0x74]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x10], ecx
call fcn.00451c70
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x6c]
mov dword [edx + 4], eax
mov eax, dword [0x9eca70]
test eax, eax
je 0x4f51db
call fcn.00468460
mov dword [edi], ecx
mov eax, dword [edx]
mov dword [edi + 4], eax
mov dword [edx], ecx
mov dword [esp + 0x7c], 0
lea eax, [0x7ab71c]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
add esp, 0x70
ret
mov edx, dword [esp + 0x78]
mov ebp, edx
mov ebx, ecx
jmp 0x4f522b
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x70
ret
mov ebp, edi
test ebp, ebp
je 0x4f52e6
cmp byte [ebx], 0x76
jne 0x4f52e6
mov byte [eax], 1
mov byte [eax + 1], 0
lea esi, [ebp - 1]
mov edi, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, 1
add ebx, esi
cmp ebp, 1
jne 0x4f5229
lea eax, [0x6f30c0]
mov dword [esp], eax
call fcn.0040c5b0
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], eax
mov dword [esp], 0
lea ecx, [0x73c807]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x18
mov ecx, dword [esp + 0x74]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x10], ecx
call fcn.00451c70
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x6c]
mov dword [edx + 4], eax
mov eax, dword [0x9eca70]
test eax, eax
je 0x4f52c4
call fcn.00468460
mov dword [edi], ecx
mov eax, dword [edx]
mov dword [edi + 4], eax
mov dword [edx], ecx
mov dword [esp + 0x7c], 0
lea eax, [0x7ab71c]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
add esp, 0x70
ret
mov byte [eax + 2], 1
jmp 0x4f52ee
mov ebp, edi
test ebp, ebp
je 0x4f53cf
cmp byte [ebx], 0x21
jne 0x4f53b0
movzx esi, byte [eax + 2]
xor esi, 1
xchg esi, ebx
mov byte [eax + 2], bl
xchg esi, ebx
lea esi, [ebp - 1]
mov edi, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, 1
add ebx, esi
cmp ebp, 1
jne 0x4f52ec
lea eax, [0x6f30c0]
mov dword [esp], eax
call fcn.0040c5b0
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], eax
mov dword [esp], 0
lea ecx, [0x73c807]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x18
mov ecx, dword [esp + 0x74]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x10], ecx
call fcn.00451c70
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x6c]
mov dword [edx + 4], eax
mov eax, dword [0x9eca70]
test eax, eax
je 0x4f538e
call fcn.00468460
mov dword [edi], ecx
mov eax, dword [edx]
mov dword [edi + 4], eax
mov dword [edx], ecx
mov dword [esp + 0x7c], 0
lea eax, [0x7ab71c]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
add esp, 0x70
ret
cmp ebp, 1
jne 0x4f53cf
cmp byte [ebx], 0x6e
jne 0x4f53cf
movzx ebx, byte [eax + 2]
xor ebx, 1
mov byte [eax + 2], bl
mov ebp, 1
lea ebx, [0x7a84b0]
mov dword [esp + 0x68], eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x64], ebx
xor esi, esi
xor edi, edi
mov esi, 1
mov dword [esp + 0x24], esi
xor esi, esi
mov dword [esp + 0x30], esi
xor esi, esi
mov dword [esp + 0x34], esi
mov esi, 1
xchg esi, eax
mov byte [esp + 0x22], al
xchg esi, eax
xor esi, esi
jmp 0x4f541c
inc esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], ebp
mov byte [esp + 0x22], dl
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x28]
cmp esi, ebp
jg 0x4f5c13
jge 0x4f543a
jae 0x4f5c4d
movzx edx, byte [ebx + esi]
mov byte [esp + 0x23], dl
mov edx, dword [esp + 0x78]
jmp 0x4f544b
mov dword [esp + 0x48], eax
mov eax, 0x2d
mov byte [esp + 0x23], al
mov eax, dword [esp + 0x48]
cmp edi, esi
jne 0x4f547e
mov edx, dword [esp + 0x24]
cmp edx, 1
jne 0x4f5477
movzx ebx, byte [esp + 0x23]
cmp bl, 0x78
jne 0x4f5487
lea edx, [esi + 1]
mov edi, edx
mov ebx, 4
mov ebp, dword [esp + 0x30]
movzx edx, byte [esp + 0x22]
jmp 0x4f5403
movzx ebx, byte [esp + 0x23]
jmp 0x4f5487
mov edx, dword [esp + 0x24]
movzx ebx, byte [esp + 0x23]
cmp bl, 0x31
ja 0x4f56cc
cmp bl, 0x2b
je 0x4f54a1
cmp bl, 0x2d
jne 0x4f56c2
cmp bl, 0x2b
jne 0x4f54b3
movzx ebp, byte [esp + 0x22]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x4f54b8
jmp 0x4f5842
movzx ebp, byte [esp + 0x22]
mov dword [esp + 0x2c], esi
test esi, esi
jle 0x4f5606
sub esi, edi
imul esi, edx
cmp esi, 0x40
jg 0x4f5958
test esi, esi
jle 0x4f58cd
mov edx, dword [esp + 0x28]
cmp edi, edx
jae 0x4f5c44
mov edx, dword [esp + 0x64]
add edi, edx
cmp byte [edi], 0x79
jne 0x4f54f3
xor esi, esi
test esi, esi
jl 0x4f5c3f
mov ecx, esi
mov edx, 1
shl edx, cl
lea edi, [ecx - 0x20]
mov dword [esp + 0x44], edi
mov ecx, edi
mov ebx, 1
shl ebx, cl
neg ecx
mov dword [esp + 0x40], ecx
mov ebp, 1
shr ebp, cl
lea edi, [esp + 0x50]
xor eax, eax
call fcn.004686fb
mov ecx, edx
mov edx, dword [esp + 0x40]
cmp edx, 0x20
sbb edx, edx
and ebp, edx
mov edx, dword [esp + 0x44]
cmp edx, 0x20
sbb edx, edx
and edx, ebx
or edx, ebp
cmp esi, 0x20
sbb ebx, ebx
and ebx, ecx
add ebx, 0xffffffff
mov dword [esp + 0x50], ebx
adc edx, 0xffffffff
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x5c], edx
movzx edx, byte [esp + 0x22]
mov byte [esp + 0x60], dl
mov edx, dword [esp + 0x68]
mov ebx, dword [edx + 0xc]
mov ebp, dword [edx + 8]
inc ebp
mov ecx, dword [edx + 4]
cmp ebx, ebp
jae 0x4f55db
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x7059e0]
mov dword [esp + 0x10], eax
call fcn.0044e230
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x68]
mov dword [ebx + 0xc], eax
mov eax, dword [0x9eca70]
test eax, eax
je 0x4f55d2
call fcn.00468460
mov dword [edi], ecx
mov ebp, dword [ebx + 4]
mov dword [edi + 4], ebp
mov dword [ebx + 4], ecx
xor eax, eax
mov ebp, edx
mov edx, ebx
mov dword [edx + 8], ebp
lea ebx, [ebp + ebp*4]
lea edi, [ecx + ebx*4 - 0x14]
lea esi, [esp + 0x50]
call fcn.00468bde
movzx ecx, byte [esp + 0x23]
cmp cl, 0x2b
mov eax, edx
mov ecx, dword [esp + 0x74]
mov esi, dword [esp + 0x2c]
jmp 0x4f56a5
cmp bl, 0x2d
jne 0x4f56a2
mov edx, dword [eax + 0xc]
mov ebp, dword [eax + 8]
inc ebp
mov edi, dword [eax + 4]
cmp edx, ebp
jae 0x4f567f
mov dword [esp], edi
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x7059e0]
mov dword [esp + 0x10], eax
call fcn.0044e230
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x68]
mov dword [ebx + 0xc], eax
mov eax, dword [0x9eca70]
test eax, eax
je 0x4f5669
call fcn.00468460
mov dword [edi], ecx
mov ebp, dword [ebx + 4]
mov dword [edi + 4], ebp
mov dword [ebx + 4], ecx
mov eax, ebx
movzx ebx, byte [esp + 0x23]
mov esi, dword [esp + 0x2c]
mov ebp, edx
mov edi, ecx
mov ecx, dword [esp + 0x74]
mov dword [eax + 8], ebp
lea edx, [ebp + ebp*4]
lea edi, [edi + edx*4 - 0x14]
mov edx, esi
lea esi, [0x7ab730]
call fcn.00468bde
cmp bl, 0x2b
mov ecx, dword [esp + 0x74]
mov esi, edx
jmp 0x4f56a5
cmp bl, 0x2b
sete dl
lea edi, [esi + 1]
mov ebx, 1
xor ebp, ebp
xor ebx, ebx
mov dword [esp + 0x34], ebx
mov ebx, 1
jmp 0x4f5403
cmp bl, 0x30
jae 0x4f56e7
jmp 0x4f5b88
cmp bl, 0x46
ja 0x4f5785
cmp bl, 0x39
ja 0x4f577b
cmp edx, 4
jne 0x4f59e3
test edx, edx
jl 0x4f5c3a
mov ecx, edx
mov ebp, dword [esp + 0x34]
shl ebp, cl
mov dword [esp + 0x44], ebp
mov ebp, dword [esp + 0x30]
shl ebp, cl
mov dword [esp + 0x40], ebp
lea eax, [ecx - 0x20]
mov dword [esp + 0x3c], eax
mov ecx, eax
mov ebp, dword [esp + 0x30]
shl ebp, cl
mov dword [esp + 0x38], ebp
neg eax
mov ecx, eax
mov ebp, dword [esp + 0x30]
shr ebp, cl
add ebx, 0xffffffd0
movzx ebx, bl
cmp eax, 0x20
sbb eax, eax
and ebp, eax
cmp edx, 0x20
sbb eax, eax
mov ecx, ebx
mov ebx, dword [esp + 0x40]
and ebx, eax
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x44]
and ebx, eax
or ebp, ebx
mov ebx, dword [esp + 0x30]
or ecx, ebx
mov ebx, dword [esp + 0x3c]
cmp ebx, 0x20
sbb ebx, ebx
mov eax, ebp
mov ebp, dword [esp + 0x38]
and ebx, ebp
or eax, ebx
mov ebx, edx
mov ebp, ecx
mov dword [esp + 0x34], eax
movzx edx, byte [esp + 0x22]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x74]
jmp 0x4f5403
cmp bl, 0x41
jae 0x4f5791
jmp 0x4f5b88
lea ecx, [ebx - 0x61]
cmp cl, 5
ja 0x4f57f0
mov ecx, dword [esp + 0x74]
cmp edx, 4
jne 0x4f5a6e
mov ebp, dword [esp + 0x34]
shl ebp, 4
mov dword [esp + 0x44], ebp
mov ebp, dword [esp + 0x30]
shl ebp, 4
mov dword [esp + 0x40], ebp
mov ebp, dword [esp + 0x30]
shr ebp, 0x1c
and ebx, 0xffffffdf
add ebx, 0xffffffc9
movzx ebx, bl
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x44]
or ebp, ebx
mov dword [esp + 0x44], ebp
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x3c]
or ebx, ebp
mov ebp, ebx
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x34], ebx
movzx edx, byte [esp + 0x22]
mov ebx, dword [esp + 0x24]
jmp 0x4f5403
cmp bl, 0x79
jne 0x4f5b84
lea ebx, [esi + 1]
cmp ebp, ebx
jle 0x4f5822
jbe 0x4f5c31
mov ebx, dword [esp + 0x64]
movzx ecx, byte [esi + ebx + 1]
cmp cl, 0x30
je 0x4f5af9
cmp cl, 0x31
jne 0x4f5826
jmp 0x4f5af9
mov ebx, dword [esp + 0x64]
mov ecx, dword [esp + 0x74]
mov ebx, edx
xor ebp, ebp
xor ecx, ecx
mov dword [esp + 0x34], ecx
movzx edx, byte [esp + 0x22]
mov ecx, dword [esp + 0x74]
jmp 0x4f5403
lea eax, [0x6f30c0]
mov dword [esp], eax
call fcn.0040c5b0
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], eax
mov dword [esp], 0
lea ecx, [0x7436a0]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x24
mov ecx, dword [esp + 0x74]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x10], ecx
call fcn.00451c70
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x6c]
mov dword [edx + 4], eax
mov eax, dword [0x9eca70]
test eax, eax
je 0x4f58ab
call fcn.00468460
mov dword [edi], ecx
mov eax, dword [edx]
mov dword [edi + 4], eax
mov dword [edx], ecx
mov dword [esp + 0x7c], 0
lea eax, [0x7ab71c]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
add esp, 0x70
ret
lea eax, [0x6f30c0]
mov dword [esp], eax
call fcn.0040c5b0
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], eax
mov dword [esp], 0
lea ecx, [0x73c807]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x18
mov ecx, dword [esp + 0x74]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x10], ecx
call fcn.00451c70
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x6c]
mov dword [edx + 4], eax
mov eax, dword [0x9eca70]
test eax, eax
je 0x4f5936
call fcn.00468460
mov dword [edi], ecx
mov eax, dword [edx]
mov dword [edi + 4], eax
mov dword [edx], ecx
mov dword [esp + 0x7c], 0
lea eax, [0x7ab71c]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
add esp, 0x70
ret
lea eax, [0x6f30c0]
mov dword [esp], eax
call fcn.0040c5b0
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], eax
mov dword [esp], 0
lea ecx, [0x73bee3]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x17
mov ecx, dword [esp + 0x74]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x10], ecx
call fcn.00451c70
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x6c]
mov dword [edx + 4], eax
mov eax, dword [0x9eca70]
test eax, eax
je 0x4f59c1
call fcn.00468460
mov dword [edi], ecx
mov eax, dword [edx]
mov dword [edi + 4], eax
mov dword [edx], ecx
mov dword [esp + 0x7c], 0
lea eax, [0x7ab71c]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
add esp, 0x70
ret
lea eax, [0x6f30c0]
mov dword [esp], eax
call fcn.0040c5b0
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], eax
mov dword [esp], 0
lea ecx, [0x73c807]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x18
mov ecx, dword [esp + 0x74]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x10], ecx
call fcn.00451c70
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x6c]
mov dword [edx + 4], eax
mov eax, dword [0x9eca70]
test eax, eax
je 0x4f5a4c
call fcn.00468460
mov dword [edi], ecx
mov eax, dword [edx]
mov dword [edi + 4], eax
mov dword [edx], ecx
mov dword [esp + 0x7c], 0
lea eax, [0x7ab71c]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
add esp, 0x70
ret
lea eax, [0x6f30c0]
mov dword [esp], eax
call fcn.0040c5b0
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], eax
mov dword [esp], 0
lea ecx, [0x73c807]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x18
mov ecx, dword [esp + 0x74]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x10], ecx
call fcn.00451c70
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x6c]
mov dword [edx + 4], eax
mov eax, dword [0x9eca70]
test eax, eax
je 0x4f5ad7
call fcn.00468460
mov dword [edi], ecx
mov eax, dword [edx]
mov dword [edi + 4], eax
mov dword [edx], ecx
mov dword [esp + 0x7c], 0
lea eax, [0x7ab71c]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
add esp, 0x70
ret
lea eax, [0x6f30c0]
mov dword [esp], eax
call fcn.0040c5b0
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], eax
mov dword [esp], 0
lea ecx, [0x73c807]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x18
mov ecx, dword [esp + 0x74]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x10], ecx
call fcn.00451c70
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x6c]
mov dword [edx + 4], eax
mov eax, dword [0x9eca70]
test eax, eax
je 0x4f5b62
call fcn.00468460
mov dword [edi], ecx
mov eax, dword [edx]
mov dword [edi + 4], eax
mov dword [edx], ecx
mov dword [esp + 0x7c], 0
lea eax, [0x7ab71c]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
add esp, 0x70
ret
mov ecx, dword [esp + 0x74]
lea eax, [0x6f30c0]
mov dword [esp], eax
call fcn.0040c5b0
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], eax
mov dword [esp], 0
lea ecx, [0x73c807]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x18
mov ecx, dword [esp + 0x74]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x10], ecx
call fcn.00451c70
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x6c]
mov dword [edx + 4], eax
mov eax, dword [0x9eca70]
test eax, eax
je 0x4f5bf1
call fcn.00468460
mov dword [edi], ecx
mov eax, dword [edx]
mov dword [edi + 4], eax
mov dword [edx], ecx
mov dword [esp + 0x7c], 0
lea eax, [0x7ab71c]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
add esp, 0x70
ret
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x70
ret
mov eax, ebx
mov ecx, ebp
call fcn.004684c0
call fcn.00437510
call fcn.00437510
mov eax, edi
mov ecx, edx
call fcn.004684c0
mov eax, esi
mov ecx, ebp
call fcn.004684c0
nop
call fcn.00467050
jmp fcn.004f5110