Function at 0x4a6700
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 0x4a701b
sub esp, 0xcc
mov eax, dword [esp + 0xe8]
test eax, eax
jne 0x4a6805
mov eax, dword [0x595230]
mov ecx, dword [0x595234]
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x90], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
lea edx, [0x4d7ea0]
mov dword [esp], edx
call fcn.0040b170
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x44]
mov dword [edi + 4], eax
mov eax, dword [0x5bb250]
test eax, eax
jne 0x4a6784
mov ecx, dword [esp + 0x90]
mov dword [edi], ecx
jmp 0x4a6790
mov eax, dword [esp + 0x90]
call fcn.0045bfa0
mov ecx, dword [esp + 0xe8]
mov dword [edi + 0xc], ecx
mov ecx, dword [0x5bb250]
test ecx, ecx
jne 0x4a67b0
mov eax, dword [esp + 0xe4]
mov dword [edi + 8], eax
jmp 0x4a67c5
lea ecx, [edi + 8]
mov eax, dword [esp + 0xe4]
mov edx, edi
mov edi, ecx
call fcn.0045bfa0
mov edi, edx
mov byte [edi + 0x1a], 1
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
lea eax, [0x5073d0]
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], edi
add esp, 0xcc
ret
mov ecx, dword [esp + 0xe4]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004a35d0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
test eax, eax
je 0x4a68e9
mov dword [esp + 0x70], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x58], ebx
lea eax, [0x4cc8c0]
mov dword [esp], eax
call fcn.0040b170
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x34]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x38]
mov dword [edi + 8], eax
mov eax, dword [0x5bb250]
test eax, eax
jne 0x4a687a
mov ecx, dword [esp + 0x70]
mov dword [edi], ecx
jmp 0x4a6883
mov eax, dword [esp + 0x70]
call fcn.0045bfa0
mov ecx, dword [esp + 0x2c]
mov dword [edi + 0x10], ecx
mov ecx, dword [0x5bb250]
test ecx, ecx
jne 0x4a689d
mov eax, dword [esp + 0x58]
mov dword [edi + 0xc], eax
jmp 0x4a68af
lea ecx, [edi + 0xc]
mov eax, dword [esp + 0x58]
mov edx, edi
mov edi, ecx
call fcn.0045bfa0
mov edi, edx
mov dword [esp + 0xec], edi
mov dword [esp + 0xf0], 1
mov dword [esp + 0xf4], 1
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
add esp, 0xcc
ret
mov eax, dword [esp + 0xd4]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0xd8]
mov dword [esp], edx
lea ebx, [0x4cf2e0]
mov dword [esp + 4], ebx
lea ebx, [0x5bb108]
mov dword [esp + 8], ebx
call ecx
mov eax, dword [esp + 0x10]
lea ecx, [0x4c8580]
cmp dword [esp + 0xc], ecx
je 0x4a6925
xor eax, eax
mov dword [esp + 0x5c], eax
test eax, eax
je 0x4a694c
mov edx, dword [eax]
test edx, edx
je 0x4a694c
mov eax, dword [edx]
mov ecx, dword [esp + 0xe4]
mov dword [esp], ecx
mov ebx, dword [esp + 0xe8]
mov dword [esp + 4], ebx
call eax
lea eax, [0x4d0740]
mov dword [esp], eax
call fcn.0040b170
mov eax, dword [esp + 4]
mov dword [esp + 0x8c], eax
lea ecx, [0x4ae8c0]
mov dword [eax], ecx
mov ecx, dword [0x5bb250]
test ecx, ecx
jne 0x4a6983
mov ecx, dword [esp + 0xd0]
mov dword [eax + 4], ecx
jmp 0x4a6992
lea edi, [eax + 4]
mov eax, dword [esp + 0xd0]
call fcn.0045bfa0
mov eax, dword [esp + 0xd4]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0xd8]
mov dword [esp], edx
lea ebx, [0x4cf2a0]
mov dword [esp + 4], ebx
lea ebx, [0x5bb108]
mov dword [esp + 8], ebx
call ecx
mov eax, dword [esp + 0x10]
lea ecx, [0x4cec20]
cmp dword [esp + 0xc], ecx
je 0x4a69ce
xor eax, eax
test eax, eax
jne 0x4a69d9
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x60], eax
mov ecx, dword [0x594c70]
mov dword [esp + 0x88], ecx
lea edx, [0x4d7f40]
mov dword [esp], edx
call fcn.0040b170
mov eax, dword [esp + 4]
lea ecx, [0x508bf4]
mov dword [eax], ecx
mov ecx, dword [0x5bb250]
test ecx, ecx
jne 0x4a6a1a
mov ecx, dword [esp + 0x88]
mov dword [eax + 4], ecx
jmp 0x4a6a2d
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x88]
call fcn.0045bfa0
mov eax, ecx
mov ecx, dword [esp + 0xd4]
mov dword [eax + 8], ecx
mov ecx, dword [0x5bb250]
test ecx, ecx
jne 0x4a6a4d
mov ecx, dword [esp + 0xd8]
mov dword [eax + 0xc], ecx
jmp 0x4a6a60
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0xd8]
call fcn.0045bfa0
mov eax, ecx
lea ecx, [0x508c74]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004820a0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 8]
mov dword [esp + 0x90], edx
mov dword [esp], 0
mov ebx, dword [esp + 0xdc]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0xe0]
mov dword [esp + 8], ebp
lea esi, [0x4e02dc]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 1
mov esi, dword [esp + 0xe4]
mov dword [esp + 0x14], esi
mov edi, dword [esp + 0xe8]
mov dword [esp + 0x18], edi
call fcn.00449000
mov eax, dword [esp + 0x20]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x64], ecx
lea edx, [0x5bb1b8]
mov dword [esp], edx
mov dword [esp + 4], 1
call fcn.00462a90
mov eax, dword [esp + 0xd0]
test eax, eax
je 0x4a6b0d
lea ecx, [eax + 8]
jmp 0x4a6b18
mov edx, dword [0x591190]
test byte [edx], al
lea ecx, [edx + 8]
mov dword [esp + 0x54], ecx
lea eax, [0x4d5820]
mov dword [esp], eax
call fcn.0040b170
mov eax, dword [esp + 4]
lea ecx, [0x4a7070]
mov dword [eax], ecx
mov ecx, dword [esp + 0x90]
mov dword [eax + 4], ecx
mov ecx, dword [0x5bb250]
test ecx, ecx
jne 0x4a6b5a
mov ecx, dword [esp + 0x68]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 0xc], ecx
jmp 0x4a6b76
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x68]
call fcn.0045bfa0
lea edi, [ecx + 0xc]
mov eax, dword [esp + 0x60]
call fcn.0045bfa0
mov eax, ecx
mov ecx, dword [esp + 0xe0]
mov dword [eax + 0x14], ecx
mov ecx, dword [0x5bb250]
test ecx, ecx
jne 0x4a6b96
mov ecx, dword [esp + 0xdc]
mov dword [eax + 0x10], ecx
jmp 0x4a6ba9
lea edi, [eax + 0x10]
mov ecx, eax
mov eax, dword [esp + 0xdc]
call fcn.0045bfa0
mov eax, ecx
mov ecx, dword [esp + 0xe8]
mov dword [eax + 0x1c], ecx
mov ecx, dword [0x5bb250]
test ecx, ecx
jne 0x4a6bc9
mov ecx, dword [esp + 0xe4]
mov dword [eax + 0x18], ecx
jmp 0x4a6bdc
lea edi, [eax + 0x18]
mov ecx, eax
mov eax, dword [esp + 0xe4]
call fcn.0045bfa0
mov eax, ecx
mov ecx, dword [esp + 0x54]
mov dword [esp], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x30]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
call fcn.0049c3f0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x7c], eax
movzx ecx, byte [esp + 0x14]
test cl, cl
jne 0x4a6c24
nop
lea eax, [0x5bb1b8]
mov dword [esp], eax
mov dword [esp + 4], 0xffffffff
call fcn.00462a90
mov eax, dword [esp + 0xd4]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0xd8]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov dword [esp + 0x84], eax
lea edi, [esp + 0xb8]
xor eax, eax
call fcn.0045c17b
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov eax, dword [esp + 0x84]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x94], eax
lea ecx, [esp + 0xb8]
mov dword [esp + 0x98], ecx
lea edx, [esp + 0x94]
mov dword [esp], edx
lea edx, [esp + 0x48]
mov dword [esp + 4], edx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 2
mov byte [esp + 0x14], 1
call fcn.00442930
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4a6eac
cmp eax, 1
jne 0x4a701a
mov eax, dword [esp + 0xd0]
test eax, eax
je 0x4a6cff
add eax, 8
jmp 0x4a6d0a
mov ecx, dword [0x591190]
test byte [ecx], al
lea eax, [ecx + 8]
mov dword [esp], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 8], eax
call fcn.0049c7d0
movzx eax, byte [esp + 0xc]
test al, al
je 0x4a6d35
mov edx, dword [esp + 0x6c]
mov eax, dword [edx]
call eax
jmp 0x4a6d5b
mov dword [esp], 8
lea eax, [0x4eac54]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xc], eax
call fcn.0043cbd0
mov eax, dword [esp + 0xd4]
mov eax, dword [eax + 0x18]
mov ecx, dword [esp + 0xd8]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x78], ecx
mov edx, dword [esp + 4]
mov ebx, dword [0x595114]
mov ebp, dword [esp + 8]
cmp dword [0x595110], edx
jne 0x4a6de2
mov dword [esp + 0x80], edx
mov dword [esp + 0x74], ebp
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call fcn.00403360
movzx eax, byte [esp + 0xc]
test al, al
je 0x4a6dcf
mov eax, dword [0x595208]
mov ecx, dword [0x59520c]
mov ebx, dword [esp + 0x5c]
test ebx, ebx
jmp 0x4a6e35
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x80]
mov ebp, dword [esp + 0x74]
mov ebx, dword [0x59156c]
cmp dword [0x591568], edx
je 0x4a6df8
mov ebx, dword [esp + 0x5c]
test ebx, ebx
jmp 0x4a6e35
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call fcn.00403360
movzx eax, byte [esp + 0xc]
test al, al
je 0x4a6e25
mov eax, dword [0x5915a0]
mov ecx, dword [0x5915a4]
mov ebx, dword [esp + 0x5c]
test ebx, ebx
jmp 0x4a6e35
mov eax, dword [esp + 0x5c]
test eax, eax
mov ecx, dword [esp + 0x78]
mov ebx, eax
mov eax, dword [esp + 0x3c]
je 0x4a6e76
mov edx, dword [ebx + 4]
test edx, edx
je 0x4a6e76
mov dword [esp + 0x50], ecx
mov dword [esp + 0x28], eax
mov ebx, dword [edx]
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov byte [esp + 0xc], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
call ebx
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], ecx
add esp, 0xcc
ret
lea edi, [esp + 0xa4]
lea esi, [esp + 0xb8]
call fcn.0045c65e
mov edx, dword [esp + 0x6c]
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4a6f62
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4a6f62
mov ecx, dword [esp + 0xa8]
lea edx, [0x4caea0]
cmp dword [esp + 0xa4], edx
jne 0x4a6efe
mov ebx, dword [ecx]
mov ebp, dword [ecx + 4]
mov ecx, dword [ecx + 8]
jmp 0x4a6f04
xor ecx, ecx
xor ebp, ebp
xor ebx, ebx
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
call fcn.004a71a0
mov eax, dword [esp + 0x5c]
mov edx, dword [eax + 4]
mov eax, dword [edx]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
movzx esi, byte [esp + 0xb4]
mov edi, dword [esp + 0xac]
mov eax, dword [esp + 0xb0]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
xchg esi, eax
mov byte [esp + 0xc], al
xchg esi, eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
call eax
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0xb0]
movzx ebp, byte [esp + 0xb4]
test edx, edx
je 0x4a6f96
xor eax, eax
xor ecx, ecx
mov ebp, ebx
mov ebx, edx
xor edx, edx
jmp 0x4a6fda
lea edx, [0x4caea0]
cmp ecx, edx
jne 0x4a7004
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [eax + 8]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4a6fd6
mov dword [esp + 0x24], ecx
lea eax, [0x4d2300]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.00445aa0
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
mov eax, ecx
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0xec], edx
mov dword [esp + 0xf0], ecx
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], ebx
mov dword [esp + 0xfc], ebp
add esp, 0xcc
ret
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x4ce140]
mov dword [esp + 8], eax
call fcn.004088b0
nop
call fcn.0045ab60
jmp fcn.004a6700