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

Disassembly:
push 0xffffffffffffffff
push 0x542168
mov eax, dword fs:[0]
push eax
sub esp, 0x1bc
mov eax, dword [0x463df0]
xor eax, esp
mov dword [esp + 0x1b8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x463df0]
xor eax, esp
push eax
lea eax, [esp + 0x1d0]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1e0]
mov esi, dword [esp + 0x1e8]
mov dword [esp + 0x14], ecx
call fcn.00478640
mov dword [esp + 0x4c], eax
call fcn.004785c0
xor ebx, ebx
mov ebp, eax
mov dword [esp + 0x94], ebp
cmp dword [esp + 0x1e4], ebx
je 0x4aa8cf
call fcn.00478640
mov eax, dword [eax + 0x28]
add eax, esi
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], 0x465788
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov byte [esp + 0x64], bl
mov ecx, dword [esp + 0x1ec]
mov dword [esp + 0x1d8], ebx
cmp ecx, ebx
je 0x4aa2d6
push ecx
push eax
lea ecx, [esp + 0x5c]
call fcn.004ac7c0
call fcn.00478640
mov eax, dword [eax + 0x28]
add edi, eax
mov dword [esp + 0x18], edi
cmp dword [edi + 0xc], ebx
je 0x4aa873
lea ecx, [ecx]
call fcn.00478640
mov eax, dword [eax + 0x28]
mov ebx, dword [edi + 0xc]
add ebx, eax
mov eax, dword [edi]
mov dword [esp + 0x68], ebx
mov esi, eax
test eax, eax
jne 0x4aa30c
mov esi, dword [edi + 0x10]
call fcn.00478640
mov eax, dword [eax + 0x28]
add eax, esi
cmp dword [eax], 0
mov dword [esp + 0x3c], eax
je 0x4aa862
xor edi, edi
mov dword [esp + 0x48], edi
cmp dword [ebp + 0x3bc], edi
je 0x4aa41d
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 0x28]
mov ecx, dword [ebp + 0x3a0]
push 0x18
lea esi, [edi + 1]
push esi
push eax
call ecx
test eax, eax
jne 0x4aa36d
mov edx, dword [esp + 0x4c]
mov eax, dword [edx + 0x28]
push 0x18
lea esi, [edi + 2]
push esi
push eax
mov eax, dword [ebp + 0x3a0]
call eax
test eax, eax
je 0x4aa41d
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x4c]
cmp dword [eax + 0x24], 0x10
mov dword [esp + 0x1c], 0x20
mov dword [esp + 0x20], 8
jb 0x4aa3b2
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x24], ecx
jmp 0x4aa3b9
add eax, 0x10
mov dword [esp + 0x24], eax
mov ecx, dword [ebp + 0x3bc]
movzx edx, si
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x34], edx
call ecx
mov esi, eax
cmp esi, 0xffffffff
je 0x4aa41d
mov eax, dword [ebp + 0x3c0]
lea edx, [esp + 0x6c]
push edx
push esi
mov dword [esp + 0x74], 0
call eax
test eax, eax
je 0x4aa410
mov ecx, dword [ebp + 0x224]
push 0
push 0
push ebx
call ecx
mov edx, dword [esp + 0x6c]
mov edi, eax
mov eax, dword [ebp + 0x3c4]
push edx
push 0
mov dword [esp + 0x50], edi
call eax
mov ecx, dword [ebp + 0x3c8]
push esi
call ecx
test edi, edi
jne 0x4aa436
mov edx, dword [ebp + 0x224]
push 0
push 0
push ebx
call edx
mov dword [esp + 0x48], eax
test eax, eax
je 0x4aa8fb
mov eax, dword [esp + 0x14]
xor edi, edi
cmp dword [eax + 8], edi
mov dword [esp + 0x44], 0xffffffff
jle 0x4aa519
mov ecx, ebx
test ebx, ebx
jne 0x4aa458
mov ecx, 0x4651d5
mov eax, ecx
mov dword [esp + 0xc8], 0xf
mov dword [esp + 0xc4], 0
mov byte [esp + 0xb4], 0
lea esi, [eax + 1]
jmp 0x4aa480
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4aa480
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0xb8]
call fcn.004790e0
mov ebp, 0x469080
mov dword [esp + 0xac], ebp
mov esi, dword [esp + 0x14]
mov edx, dword [esi + 4]
lea ecx, [esp + 0xac]
push ecx
mov ecx, dword [edx + edi*4]
mov byte [esp + 0x1dc], 4
call fcn.00487fb0
mov byte [esp + 0x1d8], 0
mov dword [esp + 0xac], ebp
test al, al
jne 0x4aa4fb
cmp dword [esp + 0xc8], 0x10
jb 0x4aa4ef
mov eax, dword [esp + 0xb4]
push eax
call fcn.005265f5
add esp, 4
inc edi
cmp edi, dword [esi + 8]
jl 0x4aa44d
jmp 0x4aa519
cmp dword [esp + 0xc8], 0x10
mov dword [esp + 0x44], edi
jb 0x4aa519
mov ecx, dword [esp + 0xb4]
push ecx
call fcn.005265f5
add esp, 4
mov eax, ebx
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4aa520
sub eax, edx
mov dword [esp + 0x90], eax
call fcn.00478640
mov edx, dword [esp + 0x18]
mov eax, dword [eax + 0x28]
mov ebp, dword [edx + 0x10]
add ebp, eax
mov eax, dword [esp + 0x3c]
mov edi, dword [eax]
mov dword [esp + 0x40], ebp
test edi, edi
je 0x4aa835
xor ebx, ebx
test edi, edi
jns 0x4aa719
mov edx, dword [esp + 0x48]
movzx ecx, di
push ecx
push edx
call fcn.0050c020
mov esi, eax
add esp, 8
test esi, esi
jne 0x4aa786
push edi
lea ebx, [esp + 0xb0]
mov ecx, ebx
push 0x46578c
push ecx
call fcn.0052720d
add esp, 0xc
mov edx, dword [0x55ce98]
lea edx, [edx + 0x589f24]
test edx, edx
jne 0x4aa5a5
mov edx, 0x4651d5
mov eax, edx
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], 0
mov byte [esp + 0x24], 0
lea esi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4aa5c0
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x28]
call fcn.004790e0
mov edi, 0x469080
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x24]
mov ebp, 0x10
mov byte [esp + 0x1d8], 5
cmp dword [esp + 0x38], ebp
jae 0x4aa5f8
lea eax, [esp + 0x24]
mov edx, dword [esp + 0x68]
push edx
push ebx
push eax
lea eax, [esp + 0xd8]
push eax
call fcn.0052720d
add esp, 0x10
mov byte [esp + 0x1d8], 0
mov dword [esp + 0x1c], edi
cmp dword [esp + 0x38], ebp
jb 0x4aa62e
mov ecx, dword [esp + 0x24]
push ecx
call fcn.005265f5
add esp, 4
xor ebx, ebx
mov esi, 0xf
lea eax, [esp + 0xcc]
mov dword [esp + 0x8c], esi
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4aa651
sub eax, edx
push eax
lea edx, [esp + 0xd0]
push edx
lea ecx, [esp + 0x7c]
call fcn.004790e0
mov dword [esp + 0x70], edi
mov eax, dword [0x55cec4]
lea eax, [eax + 0x589f24]
mov byte [esp + 0x1d8], 6
mov edx, eax
cmp eax, ebx
jne 0x4aa68e
mov edx, 0x4651d5
mov eax, edx
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], 0
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4aa6a0
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x28]
call fcn.004790e0
mov dword [esp + 0x1c], edi
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x58]
push edx
mov byte [esp + 0x1e4], 7
call fcn.0049a100
add esp, 0xc
mov dword [esp + 0x1c], edi
cmp dword [esp + 0x38], ebp
jb 0x4aa6ee
mov eax, dword [esp + 0x24]
push eax
call fcn.005265f5
add esp, 4
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], 0
mov dword [esp + 0x70], edi
cmp dword [esp + 0x8c], ebp
jb 0x4aaa1d
mov ecx, dword [esp + 0x78]
jmp 0x4aaa14
call fcn.00478640
mov eax, dword [eax + 0x28]
lea ebx, [eax + edi + 2]
mov eax, dword [esp + 0x48]
push ebx
push eax
call fcn.0050c020
mov esi, eax
add esp, 8
test esi, esi
je 0x4aa590
cmp dword [esp + 0x44], 0xffffffff
je 0x4aa77e
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 4]
mov eax, dword [esp + 0x44]
mov ecx, dword [edx + eax*4]
push ebx
call fcn.004a66d0
mov ebp, eax
test ebp, ebp
je 0x4aa77a
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 4]
push ecx
mov ecx, dword [esp + 0x48]
mov ecx, dword [eax + ecx*4]
push esi
push ebp
call fcn.004a6ce0
mov esi, ebp
mov ebp, dword [esp + 0x40]
test esi, esi
je 0x4aa590
cmp dword [esp + 0x1ec], 0
je 0x4aa795
mov dword [ebp], esi
jmp 0x4aa7d4
push 4
push ebp
lea ecx, [esp + 0xa0]
mov dword [esp + 0xa0], 0x465788
call fcn.004ac7c0
mov byte [esp + 0xa8], al
mov dword [ebp], esi
mov dword [esp + 0x98], 0x465788
test al, al
je 0x4aa7d4
lea ecx, [esp + 0x98]
call fcn.004ac810
mov edx, edi
shr edx, 0x1f
test dl, 1
jne 0x4aa814
test ebx, ebx
je 0x4aa814
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4aa7e7
mov esi, dword [esp + 0x14]
sub eax, edx
push eax
push ebx
mov ecx, esi
call fcn.004a9200
mov eax, dword [esp + 0x18]
cmp dword [eax], 0
je 0x4aa814
mov ecx, dword [esp + 0x3c]
push 4
push ecx
mov ecx, esi
call fcn.004a9200
mov eax, dword [esp + 0x3c]
mov edi, dword [eax + 4]
add eax, 4
add ebp, 4
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ebp
test edi, edi
jne 0x4aa553
mov ebx, dword [esp + 0x68]
mov edx, dword [esp + 0x90]
mov esi, dword [esp + 0x14]
push edx
push ebx
mov ecx, esi
call fcn.004a9200
mov eax, dword [esp + 0x18]
push 0x14
push eax
mov ecx, esi
call fcn.004a9200
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x94]
add edi, 0x14
cmp dword [edi + 0xc], 0
mov dword [esp + 0x18], edi
jne 0x4aa2f0
mov ecx, dword [esp + 0x1ec]
test ecx, ecx
je 0x4aa8ac
mov eax, dword [esp + 0x50]
shr ecx, 2
test ecx, ecx
je 0x4aa8a3
lea esp, [esp]
dec ecx
cmp dword [eax], 0
jne 0x4aa89c
mov dword [eax], 0x495590
add eax, 4
test ecx, ecx
jne 0x4aa890
lea ecx, [esp + 0x54]
call fcn.004ac810
cmp byte [esp + 0x64], 0
mov dword [esp + 0x1d8], 0xffffffff
mov dword [esp + 0x54], 0x465788
je 0x4aa8cf
lea ecx, [esp + 0x54]
call fcn.004ac810
mov al, 1
mov ecx, dword [esp + 0x1d0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1b8]
xor ecx, esp
call fcn.00526a8a
add esp, 0x1c8
ret 0x10
mov edx, dword [0x55ce94]
lea eax, [edx + 0x589f24]
push eax
lea ecx, [esp + 0x74]
call fcn.0047ae40
mov edi, 0x10
mov byte [esp + 0x1d8], 1
cmp dword [eax + 0x1c], edi
jb 0x4aa928
mov eax, dword [eax + 8]
jmp 0x4aa92b
add eax, 8
push ebx
push eax
lea ecx, [esp + 0xd4]
push ecx
call fcn.0052720d
add esp, 0xc
mov esi, 0x469080
mov byte [esp + 0x1d8], 0
mov dword [esp + 0x70], esi
cmp dword [esp + 0x8c], edi
jb 0x4aa964
mov edx, dword [esp + 0x78]
push edx
call fcn.005265f5
add esp, 4
xor ebx, ebx
mov ebp, 0xf
lea eax, [esp + 0xcc]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4aa981
sub eax, edx
push eax
lea eax, [esp + 0xd0]
push eax
lea ecx, [esp + 0x28]
call fcn.004790e0
mov dword [esp + 0x1c], esi
mov ecx, dword [0x55cec4]
lea edx, [ecx + 0x589f24]
push edx
lea ecx, [esp + 0x74]
mov byte [esp + 0x1dc], 2
call fcn.0047ae40
lea ecx, [esp + 0x1c]
push ecx
push eax
lea edx, [esp + 0x58]
push edx
mov byte [esp + 0x1e4], 3
call fcn.0049a100
add esp, 0xc
mov dword [esp + 0x70], esi
cmp dword [esp + 0x8c], edi
jb 0x4aa9f3
mov eax, dword [esp + 0x78]
push eax
call fcn.005265f5
add esp, 4
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], 0
mov dword [esp + 0x1c], esi
cmp dword [esp + 0x38], edi
jb 0x4aaa1d
mov ecx, dword [esp + 0x24]
push ecx
call fcn.005265f5
add esp, 4
cmp byte [esp + 0x64], 0
mov dword [esp + 0x1d8], 0xffffffff
mov dword [esp + 0x54], 0x465788
je 0x4aaa40
lea ecx, [esp + 0x54]
call fcn.004ac810
xor al, al
jmp 0x4aa8d1