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

Disassembly:
sub esp, 0x120
mov dword [esp + 0x34], ebp
mov ebp, eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], edi
cmp byte [0x4e97a1], 0
je 0x49c41c
mov ebx, dword [0x511540]
xor ecx, ecx
mov dword [esp + 8], ecx
mov dword [esp + 4], ebx
mov dword [esp], 0x50fc30
call fcn.004ab600
mov eax, dword [0x511510]
mov edx, dword [0x511514]
mov dword [esp + 0xbc], edx
mov edx, dword [esp + 0xbc]
xor ecx, ecx
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x40], esi
mov ebx, 0x2710
mov dword [esp + 0x44], edi
call fcn.004a8c26
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], 0x50fc50
call fcn.004ab600
mov esi, dword [0x511518]
mov ebx, 0x2710
mov dword [esp + 0x80], esi
mov edi, dword [0x51151c]
xor ecx, ecx
mov dword [esp + 0x84], edi
mov edx, dword [esp + 0x84]
mov dword [esp + 0x48], esi
mov eax, dword [esp + 0x80]
mov dword [esp + 0x4c], edi
call fcn.004a8c26
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], 0x50fc7c
call fcn.004ab600
mov esi, dword [0x511520]
mov ebx, 0x2710
mov dword [esp + 0xd0], esi
mov edi, dword [0x511524]
xor ecx, ecx
mov dword [esp + 0xd4], edi
mov edx, dword [esp + 0xd4]
mov dword [esp + 0x50], esi
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x54], edi
call fcn.004a8c26
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x50]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], 0x50fca4
call fcn.004ab600
mov esi, dword [0x511530]
mov ebx, 0x2710
mov dword [esp + 0xd8], esi
mov edi, dword [0x511534]
xor ecx, ecx
mov dword [esp + 0xdc], edi
mov edx, dword [esp + 0xdc]
mov dword [esp + 0x58], esi
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x5c], edi
call fcn.004a8c26
mov edi, dword [esp + 0x5c]
mov esi, dword [esp + 0x58]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], 0x50fccc
call fcn.004ab600
mov esi, dword [0x511518]
mov eax, dword [0x511520]
mov dword [esp + 0xe0], esi
mov edi, dword [0x51151c]
mov dword [esp + 0xe4], edi
mov edx, dword [0x511524]
add eax, dword [esp + 0xe0]
mov esi, dword [0x511510]
adc edx, dword [esp + 0xe4]
mov edi, dword [0x511514]
mov dword [esp + 0xc0], eax
mov ecx, dword [esp + 0xc0]
mov dword [esp + 0xc4], edx
mov ebx, dword [esp + 0xc4]
mov dword [esp + 0xcc], ebx
mov edx, dword [esp + 0xcc]
mov dword [esp + 0xc8], ecx
mov eax, dword [esp + 0xc8]
mov dword [esp + 0xb0], esi
mov dword [esp + 0xb4], edi
add eax, dword [esp + 0xb0]
adc edx, dword [esp + 0xb4]
mov dword [esp + 0x98], eax
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x9c], edx
mov ebx, dword [esp + 0x9c]
mov dword [esp + 0xac], ebx
mov edx, dword [esp + 0xac]
mov dword [esp + 0xa8], ecx
mov eax, dword [esp + 0xa8]
xor ecx, ecx
mov dword [esp + 0x60], esi
mov ebx, 0x2710
mov dword [esp + 0x64], edi
call fcn.004a8c26
mov edi, dword [esp + 0x64]
mov esi, dword [esp + 0x60]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edx
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], 0x50fcf4
call fcn.004ab600
mov esi, dword [0x511510]
mov eax, dword [0x511518]
mov dword [esp + 0x88], esi
mov edi, dword [0x511514]
mov dword [esp + 0x8c], edi
mov edx, dword [0x51151c]
add eax, dword [esp + 0x88]
lea esi, [esp + 0x100]
adc edx, dword [esp + 0x8c]
mov dword [esp + 0x90], eax
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x94], edx
mov ebx, dword [esp + 0x94]
mov dword [esp + 0xa4], ebx
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0xa4]
mov ebx, 0x2710
mov dword [esp + 0xa0], ecx
xor ecx, ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xa0]
mov byte [esp + 0x100], 0
mov dword [esp + 0x2c], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], edi
call fcn.004a8c26
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x74]
mov esi, dword [esp + 0x68]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x70]
xor ecx, ecx
mov dword [esp + 0x18], edx
mov edi, dword [esp + 0x6c]
xor edx, edx
mov dword [esp + 0x14], eax
mov esi, dword [0x511540]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], esi
mov edi, dword [0x511544]
shrd edi, edx, 0x14
sar edx, 0x14
mov dword [esp + 8], edx
mov dword [esp + 4], edi
mov dword [esp], 0x50fd20
call fcn.004ab600
mov eax, ebp
call fcn.0049f2ac
xor esi, esi
cmp dword [ebp + 0xa8], esi
je 0x49c5ad
lea ebx, [ebp + 0xa4]
mov dword [esp + 0xf0], ebx
mov dword [esp + 0xec], ebx
mov ecx, dword [esp + 0xf0]
mov edx, dword [ecx]
mov ebx, dword [edx + esi*4]
mov ecx, dword [ebx + 0x4c]
sub dword [ebp + 0xfc], ecx
mov edx, dword [ebx]
test edx, edx
je 0x49c481
cmp dword [ebx + 0x4c], 0
je 0x49c47a
push 0x8000
push 0
push edx
call sub.KERNEL32.DLL_VirtualFree
mov dword [ebx + 0x4c], 0
xor ecx, ecx
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
mov edx, dword [ebx + 0x54]
test edx, edx
je 0x49c497
mov dword [esp], edx
call fcn.004a8fd8
mov dword [ebx + 0x54], 0
mov ecx, dword [ebx + 0x60]
test ecx, ecx
je 0x49c4ad
mov dword [esp], ecx
call fcn.004a8fd8
mov dword [ebx + 0x60], 0
lea edi, [ebx + 0xc]
cmp dword [edi], 0
je 0x49c4c5
mov edx, dword [edi]
mov dword [esp], edx
call fcn.004a8fd8
mov dword [edi], 0
cmp byte [0x5115c8], 0
je 0x49c4fc
cmp byte [ebx + 0x58], 0
je 0x49c4e4
mov edx, dword [ebx + 0x9c]
mov dword [esp], edx
call fcn.004a8fd8
jmp 0x49c4fc
lea edi, [ebx + 0x44]
cmp dword [edi], 0
je 0x49c4fc
mov ecx, dword [edi]
mov dword [esp], ecx
call fcn.004a8fd8
mov dword [edi], 0
cmp byte [ebx + 0x58], 0
je 0x49c51c
lea edi, [ebx + 0x3c]
cmp dword [edi], 0
je 0x49c534
mov edx, dword [edi]
mov dword [esp], edx
call fcn.004a8fd8
mov dword [edi], 0
jmp 0x49c534
lea edi, [ebx + 0x14]
cmp dword [edi], 0
je 0x49c534
mov ecx, dword [edi]
mov dword [esp], ecx
call fcn.004a8fd8
mov dword [edi], 0
lea edi, [ebx + 0x1c]
cmp dword [edi], 0
je 0x49c54c
mov ecx, dword [edi]
mov dword [esp], ecx
call fcn.004a8fd8
mov dword [edi], 0
lea edi, [ebx + 0x24]
cmp dword [edi], 0
je 0x49c564
mov edx, dword [edi]
mov dword [esp], edx
call fcn.004a8fd8
mov dword [edi], 0
lea edi, [ebx + 0x2c]
cmp dword [edi], 0
je 0x49c57c
mov ecx, dword [edi]
mov dword [esp], ecx
call fcn.004a8fd8
mov dword [edi], 0
lea edi, [ebx + 0x34]
cmp dword [edi], 0
je 0x49c594
mov edx, dword [edi]
mov dword [esp], edx
call fcn.004a8fd8
mov dword [edi], 0
mov dword [esp], ebx
call fcn.004a8fd8
mov ecx, dword [esp + 0xec]
inc esi
cmp esi, dword [ecx + 4]
jb 0x49c445
lea ebx, [ebp + 0xa4]
mov edx, dword [ebx]
mov dword [esp], edx
call fcn.004a8fd8
xor ecx, ecx
lea edi, [ebp + 0x80]
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
mov eax, dword [edi]
call fcn.004a5158
lea edx, [ebp + 0x90]
mov dword [edi], 0
mov eax, dword [edx]
mov dword [esp + 0xe8], edx
call fcn.004a547c
mov ecx, dword [esp + 0xe8]
mov dword [ecx], 0
lea esi, [ebp + 0x138]
mov edx, dword [esi + 0x44]
mov dword [esi + 0x40], 0
test edx, edx
je 0x49c620
push 0x8000
push 0
push edx
call sub.KERNEL32.DLL_VirtualFree
mov dword [esi + 0x44], 0
xor ecx, ecx
lea ebx, [ebp + 0x1b8]
mov dword [esi + 0x48], ecx
mov edx, dword [ebx + 0x44]
test edx, edx
mov dword [ebx + 0x40], ecx
je 0x49c648
push 0x8000
push ecx
push edx
call sub.KERNEL32.DLL_VirtualFree
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x48], 0
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
add esp, 0x120
ret