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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x634
mov eax, dword [0x433970]
mov dword [esp + 0x630], eax
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
xor edx, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x20], eax
push ebx
xor ecx, ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x28], eax
xor ebx, ebx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x60], edx
push esi
mov dword [esp + 0x30], eax
push edi
mov dword [esp + 0x50], ecx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x70], edx
push ebx
mov dword [esp + 0x10c], ebx
mov ecx, 0x82
lea edi, [esp + 0x110]
mov dword [esp + 0x44], eax
mov dword [esp + 0x78], edx
rep stosd dword es:[edi], eax
push ebx
lea eax, [esp + 0x14]
mov dword [esp + 0x80], edx
push eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x88], edx
mov dword [esp + 0x18], ebx
call fcn.004c9056
test eax, eax
je 0x4aadb6
mov ecx, dword [ebp + 8]
push ebx
push ebx
push 3
push ebx
push 1
push 0x80000000
push ecx
call dword [fcn.0042b070]
mov edi, eax
cmp edi, 0xffffffff
push ebx
jne 0x4aadcb
mov edx, dword [esp + 0x10]
push edx
call fcn.004c9050
xor eax, eax
mov ecx, dword [esp + 0x63c]
call fcn.004be2c1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0x18]
push ecx
push edi
mov dword [esp + 0x20], 0x64
call fcn.004c904a
push edi
call dword [fcn.0042b06c]
mov edx, dword [esp + 0x10]
lea eax, [edx*4 + 2]
push eax
call fcn.004befcc
mov ecx, dword [esp + 0x14]
mov esi, eax
add esp, 4
xor eax, eax
cmp ecx, ebx
jbe 0x4aae46
movzx ecx, byte [esp + eax + 0xa0]
shr ecx, 4
mov dx, word [ecx*2 + 0x42b8ac]
xor ecx, ecx
mov word [esi + eax*4], dx
mov cl, byte [esp + eax + 0xa0]
and ecx, 0xf
mov dx, word [ecx*2 + 0x42b8ac]
mov word [esi + eax*4 + 2], dx
mov ecx, dword [esp + 0x10]
inc eax
cmp eax, ecx
jb 0x4aae0d
push ebx
mov word [esi + ecx*4], bx
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ebx
push eax
lea ecx, [esp + 0xac]
push ecx
push edx
call fcn.004c9044
mov edi, eax
cmp edi, ebx
mov dword [esp + 0x44], edi
jne 0x4aae9f
mov eax, dword [ebp + 8]
mov dword [esp + 0x4c], eax
mov eax, 1
lea ecx, [esp + 0x48]
mov dword [esp + 0x48], 0x10
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x24], 2
mov dword [esp + 0x34], eax
jmp 0x4aaee5
push ebx
lea edx, [esp + 0x10c]
push edx
push edi
call fcn.004c903e
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x10c]
mov dword [esp + 0x64], eax
mov eax, 2
lea edx, [esp + 0x5c]
mov dword [esp + 0x5c], 0x24
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x68], esi
mov dword [esp + 0x30], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], 1
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x94]
push ecx
push 0xffffffffffffffff
mov dword [esp + 0x24], 0x2c
mov dword [esp + 0x34], ebx
mov dword [esp + 0x4c], 0x100
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x9c], 0xaac56b
mov word [esp + 0xa0], 0xcd44
mov word [esp + 0xa2], 0x11d0
mov byte [esp + 0xa4], 0x8c
mov byte [esp + 0xa5], 0xc2
mov byte [esp + 0xa6], bl
mov byte [esp + 0xa7], 0xc0
mov byte [esp + 0xa8], 0x4f
mov byte [esp + 0xa9], 0xc2
mov byte [esp + 0xaa], 0x95
mov byte [esp + 0xab], 0xee
call fcn.004c9038
test eax, eax
jl 0x4ab0a0
mov edx, dword [esp + 0x38]
push edx
mov dword [esp + 0x18], ebx
call fcn.004c9032
cmp eax, ebx
je 0x4ab01e
push ebx
push ebx
push ebx
push eax
call fcn.004c902c
mov edi, eax
cmp edi, ebx
je 0x4ab01a
push ebx
push edi
call fcn.004c9020
cmp eax, ebx
mov dword [esp + 0x58], eax
je 0x4ab01a
push edi
call fcn.004aac28
mov dword [esp + 0x18], eax
xor eax, eax
mov word [esp + 0x31c], bx
mov ecx, 0xc7
lea edi, [esp + 0x31e]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 4]
add esp, 4
push 0x31f
stosw word es:[edi], ax
lea eax, [esp + 0x31c]
push eax
push ebx
push ebx
push 4
push edx
call dword [fcn.0042b024]
lea eax, [esp + 0x318]
push eax
call fcn.004be987
add esp, 4
push eax
lea ecx, [esp + 0x31c]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.004a3e68
mov edi, dword [esp + 0x44]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x84]
push eax
push 0xffffffffffffffff
mov dword [esp + 0x40], 2
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x8c], 0x189a3842
mov word [esp + 0x90], 0x3041
mov word [esp + 0x92], 0x11d1
mov byte [esp + 0x94], 0x85
mov byte [esp + 0x95], 0xe1
mov byte [esp + 0x96], bl
mov byte [esp + 0x97], 0xc0
mov byte [esp + 0x98], 0x4f
mov byte [esp + 0x99], 0xc2
mov byte [esp + 0x9a], 0x95
mov byte [esp + 0x9b], 0xee
call fcn.004c9038
cmp edi, ebx
je 0x4ab0b0
mov ecx, dword [esp + 0xc]
push ebx
push edi
push ecx
call fcn.004c9026
mov edx, dword [esp + 0xc]
push ebx
push edx
call fcn.004c9050
push esi
call fcn.004befc7
mov ecx, dword [esp + 0x640]
mov eax, dword [esp + 0x18]
add esp, 4
call fcn.004be2c1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret