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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x18]
cmp eax, dword [ecx + 8]
jbe 0x4e6f79
sub esp, 0x98
lea eax, [0x510768]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.004a0820
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
test eax, eax
je 0x4e6a11
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004af3f0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x50fe31]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0xffffffff
call fcn.004ae8c0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x28], ecx
xor edx, edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
jmp 0x4e6e7a
lea edi, [esp + 0x78]
xor eax, eax
call fcn.0045d7d8
lea ecx, [0x5100af]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], 4
lea ecx, [0x5100b3]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], 4
lea ecx, [0x5100a7]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], 4
lea ecx, [0x5100ab]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], 4
mov eax, 4
mov ecx, 4
lea edx, [esp + 0x78]
mov dword [esp + 0x48], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov ebx, dword [esp + 0x9c]
mov dword [esp], ebx
mov ebp, dword [esp + 0xa0]
mov dword [esp + 4], ebp
lea esi, [0x50ff5f]
mov dword [esp + 8], esi
mov dword [esp + 0xc], 3
call fcn.004ae4b0
mov eax, dword [esp + 0x10]
test eax, eax
jge 0x4e6bd4
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea eax, [0x50fe2c]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], 1
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x74], ecx
lea edx, [esp + 0x68]
mov dword [esp], edx
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call fcn.004b11a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x10], edx
call fcn.004e67f0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test eax, eax
je 0x4e6ba9
lea eax, [0x5101bf]
mov dword [esp], eax
mov dword [esp + 4], 4
call fcn.004a0820
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004b0eb0
mov eax, dword [esp + 8]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x24], ecx
xor edx, edx
jmp 0x4e6cfe
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
add esp, 0x98
ret
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov ecx, dword [esp + 0xa0]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x48]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x10], edx
call fcn.004e67f0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
test eax, eax
je 0x4e6cc4
mov dword [esp + 0x54], ebp
mov dword [esp + 0x4c], ebx
lea eax, [0x4fef20]
mov dword [esp], eax
call fcn.0040b480
mov edi, dword [esp + 4]
mov eax, dword [esp + 0xa0]
mov dword [edi + 4], eax
mov eax, dword [0x605b20]
test eax, eax
jne 0x4e6c5b
mov ecx, dword [esp + 0x9c]
mov dword [edi], ecx
jmp 0x4e6c67
mov eax, dword [esp + 0x9c]
call fcn.0045d600
mov ecx, dword [esp + 0x54]
mov dword [edi + 8], ecx
mov ecx, dword [0x605b20]
test ecx, ecx
jne 0x4e6c81
mov eax, dword [esp + 0x4c]
mov dword [edi + 0xc], eax
jmp 0x4e6c93
lea ecx, [edi + 0xc]
mov eax, dword [esp + 0x4c]
mov edx, edi
mov edi, ecx
call fcn.0045d600
mov edi, edx
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
lea eax, [0x53ba6c]
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], edi
add esp, 0x98
ret
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
add esp, 0x98
ret
mov ebx, dword [esp + 0x3c]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x24]
cmp edx, ecx
jge 0x4e6dd7
mov dword [esp + 0x3c], edx
lea ecx, [eax + edx*8]
mov ebx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x60], ecx
mov ebx, dword [esp + 0xa0]
mov dword [esp + 0x64], ebx
lea ebp, [esp + 0x58]
mov dword [esp], ebp
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call fcn.004b11a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x10], edx
call fcn.004e67f0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test eax, eax
jne 0x4e6cef
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
add esp, 0x98
ret
lea eax, [0x4fef20]
mov dword [esp], eax
call fcn.0040b480
mov edi, dword [esp + 4]
mov eax, dword [esp + 0xa0]
mov dword [edi + 4], eax
mov eax, dword [0x605b20]
test eax, eax
jne 0x4e6e08
mov ecx, dword [esp + 0x9c]
mov dword [edi], ecx
jmp 0x4e6e14
mov eax, dword [esp + 0x9c]
call fcn.0045d600
mov eax, dword [0x5dfa34]
mov ecx, dword [0x5dfa30]
mov dword [edi + 8], ecx
mov ecx, dword [0x605b20]
test ecx, ecx
jne 0x4e6e32
mov dword [edi + 0xc], eax
jmp 0x4e6e40
lea ecx, [edi + 0xc]
mov edx, edi
mov edi, ecx
call fcn.0045d600
mov edi, edx
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
lea eax, [0x53ba6c]
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], edi
add esp, 0x98
ret
mov ecx, dword [esp + 0x3c]
lea edx, [ecx + 1]
mov ecx, edi
cmp edx, ecx
jge 0x4e6f6e
mov dword [esp + 0x3c], edx
mov edi, ecx
lea ecx, [eax + edx*8]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
test edx, edx
je 0x4e6e71
mov dword [esp + 0x2c], ebx
cmp byte [ecx], 0x2e
je 0x4e6ee7
mov dword [esp + 0x30], ebp
mov dword [esp + 0x48], esi
mov dword [esp], 0
lea eax, [0x50fe2c]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
call fcn.0044a020
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x50], ecx
lea ecx, [ebx + 1]
cmp ebp, ecx
jae 0x4e6f33
mov dword [esp + 0x34], edx
lea eax, [0x4f9fa0]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
call fcn.00446d70
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x38], ecx
lea ecx, [esi + ebx*8 + 4]
mov dword [ecx], edx
mov ecx, dword [0x605b20]
lea edx, [esi + ebx*8]
test ecx, ecx
jne 0x4e6f52
mov ecx, dword [esp + 0x50]
mov dword [edx], ecx
jmp 0x4e6f65
mov ecx, edi
mov edi, edx
mov ebx, eax
mov eax, dword [esp + 0x50]
call fcn.0045d600
mov eax, ebx
mov edi, ecx
mov ebx, dword [esp + 0x38]
jmp 0x4e6e71
mov eax, ebx
mov ecx, ebp
mov edx, esi
jmp 0x4e6a84
call fcn.0045c1c0
jmp fcn.004e6970