Function at 0x4a8ab4
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 [0x4f6de1], 0
je 0x4a8e54
mov ebx, dword [0x50f0f0]
xor ecx, ecx
mov dword [esp + 8], ecx
mov dword [esp + 4], ebx
mov dword [esp], 0x50e930
call fcn.004bb65c
mov eax, dword [0x50f0c0]
mov edx, dword [0x50f0c4]
mov dword [esp + 0x9c], edx
mov edx, dword [esp + 0x9c]
xor ecx, ecx
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x40], esi
mov ebx, 0x2710
mov dword [esp + 0x44], edi
call fcn.004b8b36
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], 0x50e950
call fcn.004bb65c
mov esi, dword [0x50f0c8]
mov ebx, 0x2710
mov dword [esp + 0x90], esi
mov edi, dword [0x50f0cc]
xor ecx, ecx
mov dword [esp + 0x94], edi
mov edx, dword [esp + 0x94]
mov dword [esp + 0x48], esi
mov eax, dword [esp + 0x90]
mov dword [esp + 0x4c], edi
call fcn.004b8b36
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], 0x50e97c
call fcn.004bb65c
mov esi, dword [0x50f0d0]
mov ebx, 0x2710
mov dword [esp + 0x80], esi
mov edi, dword [0x50f0d4]
xor ecx, ecx
mov dword [esp + 0x84], edi
mov edx, dword [esp + 0x84]
mov dword [esp + 0x50], esi
mov eax, dword [esp + 0x80]
mov dword [esp + 0x54], edi
call fcn.004b8b36
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x50]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], 0x50e9a4
call fcn.004bb65c
mov esi, dword [0x50f0e0]
mov ebx, 0x2710
mov dword [esp + 0x88], esi
mov edi, dword [0x50f0e4]
xor ecx, ecx
mov dword [esp + 0x8c], edi
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x58], esi
mov eax, dword [esp + 0x88]
mov dword [esp + 0x5c], edi
call fcn.004b8b36
mov edi, dword [esp + 0x5c]
mov esi, dword [esp + 0x58]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edx
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], 0x50e9cc
call fcn.004bb65c
mov esi, dword [0x50f0c8]
mov eax, dword [0x50f0d0]
mov dword [esp + 0xa0], esi
mov edi, dword [0x50f0cc]
mov dword [esp + 0xa4], edi
mov edx, dword [0x50f0d4]
add eax, dword [esp + 0xa0]
mov esi, dword [0x50f0c0]
adc edx, dword [esp + 0xa4]
mov edi, dword [0x50f0c4]
mov dword [esp + 0xb0], eax
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0xb4], edx
mov ebx, dword [esp + 0xb4]
mov dword [esp + 0xac], ebx
mov edx, dword [esp + 0xac]
mov dword [esp + 0xa8], ecx
mov eax, dword [esp + 0xa8]
mov dword [esp + 0xb8], esi
mov dword [esp + 0xbc], edi
add eax, dword [esp + 0xb8]
adc edx, dword [esp + 0xbc]
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]
xor ecx, ecx
mov dword [esp + 0x60], esi
mov ebx, 0x2710
mov dword [esp + 0x64], edi
call fcn.004b8b36
mov edi, dword [esp + 0x64]
mov esi, dword [esp + 0x60]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], 0x50e9f4
call fcn.004bb65c
mov esi, dword [0x50f0c0]
mov eax, dword [0x50f0c8]
mov dword [esp + 0xd0], esi
mov edi, dword [0x50f0c4]
mov dword [esp + 0xd4], edi
mov edx, dword [0x50f0cc]
add eax, dword [esp + 0xd0]
lea esi, [esp + 0x100]
adc edx, dword [esp + 0xd4]
mov dword [esp + 0xd8], eax
mov ecx, dword [esp + 0xd8]
mov dword [esp + 0xdc], edx
mov ebx, dword [esp + 0xdc]
mov dword [esp + 0xe4], ebx
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0xe4]
mov ebx, 0x2710
mov dword [esp + 0xe0], ecx
xor ecx, ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xe0]
mov byte [esp + 0x100], 0
mov dword [esp + 0x2c], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], edi
call fcn.004b8b36
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x7c]
mov esi, dword [esp + 0x68]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x78]
xor ecx, ecx
mov dword [esp + 0x18], edx
mov edi, dword [esp + 0x6c]
xor edx, edx
mov dword [esp + 0x14], eax
mov esi, dword [0x50f0f0]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], esi
mov edi, dword [0x50f0f4]
shrd edi, edx, 0x14
sar edx, 0x14
mov dword [esp + 8], edx
mov dword [esp + 4], edi
mov dword [esp], 0x50ea20
call fcn.004bb65c
mov eax, ebp
call fcn.004abe0c
xor esi, esi
cmp dword [ebp + 0xa8], esi
je 0x4a8fe5
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 0x4a8eb9
cmp dword [ebx + 0x4c], 0
je 0x4a8eb2
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 0x4a8ecf
mov dword [esp], edx
call fcn.004b86e8
mov dword [ebx + 0x54], 0
mov ecx, dword [ebx + 0x60]
test ecx, ecx
je 0x4a8ee5
mov dword [esp], ecx
call fcn.004b86e8
mov dword [ebx + 0x60], 0
lea edi, [ebx + 0xc]
cmp dword [edi], 0
je 0x4a8efd
mov edx, dword [edi]
mov dword [esp], edx
call fcn.004b86e8
mov dword [edi], 0
cmp byte [0x50f1c8], 0
je 0x4a8f34
cmp byte [ebx + 0x58], 0
je 0x4a8f1c
mov edx, dword [ebx + 0x9c]
mov dword [esp], edx
call fcn.004b86e8
jmp 0x4a8f34
lea edi, [ebx + 0x44]
cmp dword [edi], 0
je 0x4a8f34
mov ecx, dword [edi]
mov dword [esp], ecx
call fcn.004b86e8
mov dword [edi], 0
cmp byte [ebx + 0x58], 0
je 0x4a8f54
lea edi, [ebx + 0x3c]
cmp dword [edi], 0
je 0x4a8f6c
mov edx, dword [edi]
mov dword [esp], edx
call fcn.004b86e8
mov dword [edi], 0
jmp 0x4a8f6c
lea edi, [ebx + 0x14]
cmp dword [edi], 0
je 0x4a8f6c
mov ecx, dword [edi]
mov dword [esp], ecx
call fcn.004b86e8
mov dword [edi], 0
lea edi, [ebx + 0x1c]
cmp dword [edi], 0
je 0x4a8f84
mov ecx, dword [edi]
mov dword [esp], ecx
call fcn.004b86e8
mov dword [edi], 0
lea edi, [ebx + 0x24]
cmp dword [edi], 0
je 0x4a8f9c
mov edx, dword [edi]
mov dword [esp], edx
call fcn.004b86e8
mov dword [edi], 0
lea edi, [ebx + 0x2c]
cmp dword [edi], 0
je 0x4a8fb4
mov ecx, dword [edi]
mov dword [esp], ecx
call fcn.004b86e8
mov dword [edi], 0
lea edi, [ebx + 0x34]
cmp dword [edi], 0
je 0x4a8fcc
mov edx, dword [edi]
mov dword [esp], edx
call fcn.004b86e8
mov dword [edi], 0
mov dword [esp], ebx
call fcn.004b86e8
mov ecx, dword [esp + 0xec]
inc esi
cmp esi, dword [ecx + 4]
jb 0x4a8e7d
lea ebx, [ebp + 0xa4]
mov edx, dword [ebx]
mov dword [esp], edx
call fcn.004b86e8
xor ecx, ecx
lea edi, [ebp + 0x80]
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
mov eax, dword [edi]
call fcn.004b2274
lea edx, [ebp + 0x90]
mov dword [edi], 0
mov eax, dword [edx]
mov dword [esp + 0xe8], edx
call fcn.004b2598
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 0x4a9058
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 0x4a9080
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