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

Disassembly:
push 0xffffffffffffffff
push 0x5d46fb
mov eax, dword fs:[0]
push eax
sub esp, 0x90
push ebx
push ebp
push esi
push edi
mov eax, dword [0x628560]
xor eax, esp
push eax
lea eax, [esp + 0xa4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xb4]
lea eax, [ebp + 0xc]
mov dword [esp + 0x64], eax
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [esp + 0x68], eax
xor esi, esi
mov dword [esp + 0xac], esi
call fcn.004b7ba0
mov dword [esp + 0x28], eax
mov byte [eax + 0x11], 1
mov eax, dword [esp + 0x28]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x28]
mov dword [eax], eax
mov eax, dword [esp + 0x28]
mov dword [eax + 8], eax
mov dword [esp + 0x2c], esi
mov byte [esp + 0xac], 1
call fcn.004b7ba0
mov dword [esp + 0x34], eax
mov byte [eax + 0x11], 1
mov eax, dword [esp + 0x34]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x34]
mov dword [eax], eax
mov eax, dword [esp + 0x34]
mov dword [eax + 8], eax
mov dword [esp + 0x38], esi
mov byte [esp + 0xac], 2
mov eax, dword [ebp + 4]
mov ebx, dword [eax]
mov esi, ebp
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], esi
lea esp, [esp]
test esi, esi
mov edi, dword [ebp + 4]
je 0x4aa33b
cmp esi, ebp
je 0x4aa340
call fcn.004f446a
cmp ebx, edi
je 0x4aa589
test esi, esi
jne 0x4aa351
call fcn.004f446a
add esi, 4
cmp ebx, dword [esi]
mov dword [esp + 0x20], esi
jne 0x4aa361
call fcn.004f446a
mov ecx, dword [ebx + 0x10]
mov edx, dword [ecx + 0x2c]
mov al, byte [edx + 0x60]
add ebx, 0x10
test al, al
mov dword [esp + 0x6c], ebx
je 0x4aa56c
mov edi, dword [esp + 0x1c]
cmp edi, dword [esi]
jne 0x4aa386
call fcn.004f446a
mov ecx, dword [ebx]
mov edx, dword [ecx + 0x2c]
mov eax, dword [edx + 0xcc]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ecx, edx
jl 0x4aa3a1
sub ecx, edx
mov eax, ecx
jmp 0x4aa3a8
mov eax, dword [eax + 4]
sub eax, edx
add eax, ecx
test eax, eax
jle 0x4aa3cb
cmp edi, dword [esi]
jne 0x4aa3b5
call fcn.004f446a
mov eax, dword [ebx]
mov eax, dword [eax + 0x2c]
mov ecx, dword [eax + 0x64]
test ecx, ecx
lea edx, [ecx - 1]
mov dword [eax + 0x64], edx
jg 0x4aa56c
cmp edi, dword [esi]
jne 0x4aa3d4
call fcn.004f446a
mov eax, dword [ebx]
mov dword [eax], 6
cmp edi, dword [esi]
jne 0x4aa3e5
call fcn.004f446a
call fcn.004b7d90
mov ecx, dword [ebx]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
cmp edi, dword [esi]
jne 0x4aa3fb
call fcn.004f446a
lea eax, [edi + 0xc]
push eax
lea ecx, [esp + 0x8c]
push ecx
lea ebx, [esp + 0x2c]
call fcn.00453e60
cmp edi, dword [esi]
jne 0x4aa422
call fcn.004f446a
cmp edi, dword [esi]
jne 0x4aa422
call fcn.004f446a
mov ebp, dword [esp + 0xb4]
mov edx, dword [edi + 0x10]
lea ebx, [edi + 0xc]
add ebp, 0x58
mov eax, ebp
mov dword [esp + 0x70], edx
call fcn.004ac650
mov ecx, dword [esp + 0x70]
mov dword [eax], ecx
cmp edi, dword [esi]
jne 0x4aa44c
call fcn.004f446a
mov edx, dword [esp + 0x6c]
mov ebx, dword [edx]
mov esi, dword [esp + 0xb4]
add ebx, 0x20
lea eax, [esp + 0x4c]
call fcn.004ac750
mov edi, dword [esp + 0x4c]
test edi, edi
mov esi, dword [esi + 4]
je 0x4aa479
cmp edi, dword [esp + 0xb4]
je 0x4aa47e
call fcn.004f446a
mov ebx, dword [esp + 0x50]
cmp ebx, esi
jne 0x4aa4d4
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
cmp eax, dword [ecx]
jne 0x4aa497
call fcn.004f446a
mov eax, dword [esp + 0x1c]
mov ebx, dword [eax + 0x10]
add eax, 0xc
add ebx, 0x20
lea eax, [esp + 0x74]
mov esi, ebp
call fcn.004ac750
mov edi, dword [eax]
test edi, edi
mov ebx, dword [eax + 4]
mov esi, dword [ebp + 4]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], ebx
je 0x4aa4c7
cmp edi, ebp
je 0x4aa4cc
call fcn.004f446a
cmp ebx, esi
je 0x4aa56c
test edi, edi
jne 0x4aa4dd
call fcn.004f446a
cmp ebx, dword [edi + 4]
jne 0x4aa4e7
call fcn.004f446a
mov edx, dword [ebx + 0x10]
mov eax, dword [edx + 0x3c]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
cmp ecx, dword [edx]
jne 0x4aa507
call fcn.004f446a
cmp ebx, dword [edi + 4]
jne 0x4aa511
call fcn.004f446a
mov ebp, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebx + 0x10]
mov esi, dword [eax + 0x30]
add ebp, 0xc
add ecx, 0x1c
call fcn.004acde0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
cmp edx, dword [ecx]
jne 0x4aa53a
call fcn.004f446a
cmp ebx, dword [edi + 4]
jne 0x4aa544
call fcn.004f446a
mov ecx, dword [ebp + 4]
mov eax, dword [ebx + 0x10]
mov esi, dword [eax + 0x34]
add ecx, 0x1c
call fcn.004acde0
cmp ebx, dword [edi + 4]
jne 0x4aa55f
call fcn.004f446a
mov ecx, dword [ebx + 0x10]
mov edx, dword [ecx + 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea esi, [esp + 0x18]
call fcn.004b6110
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0xb4]
jmp 0x4aa330
mov ebp, dword [esp + 0xb4]
mov eax, dword [ebp + 0x5c]
mov esi, dword [eax]
add ebp, 0x58
mov edi, ebp
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], edi
test edi, edi
mov ebx, dword [ebp + 4]
je 0x4aa5ad
cmp edi, ebp
je 0x4aa5b2
call fcn.004f446a
cmp esi, ebx
je 0x4aa652
test edi, edi
jne 0x4aa5c3
call fcn.004f446a
cmp esi, dword [edi + 4]
jne 0x4aa5cd
call fcn.004f446a
call fcn.004b7d90
mov ecx, dword [esi + 0x10]
sub eax, dword [ecx + 8]
sbb edx, dword [ecx + 0xc]
mov dword [esp + 0x78], edx
jne 0x4aa5e8
cmp eax, 0xf4240
jbe 0x4aa63c
cmp esi, dword [edi + 4]
jne 0x4aa5f2
call fcn.004f446a
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 0x2c]
cmp dword [ecx + 0x228], 0
je 0x4aa61d
cmp esi, dword [edi + 4]
jne 0x4aa60b
call fcn.004f446a
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 0x2c]
mov ecx, dword [eax + 0x228]
cmp byte [ecx + 0x18], 0
jne 0x4aa63c
cmp esi, dword [edi + 4]
jne 0x4aa627
call fcn.004f446a
add esi, 0xc
push esi
lea edx, [esp + 0x98]
push edx
lea ebx, [esp + 0x38]
call fcn.00453e60
lea esi, [esp + 0x54]
call fcn.004b6110
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x54]
jmp 0x4aa5a2
mov eax, dword [esp + 0x28]
mov ebp, dword [eax]
lea esi, [esp + 0x24]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], esi
test esi, esi
mov edi, dword [esp + 0x28]
je 0x4aa674
lea ecx, [esp + 0x24]
cmp esi, ecx
je 0x4aa679
call fcn.004f446a
cmp ebp, edi
je 0x4aa748
test esi, esi
jne 0x4aa68a
call fcn.004f446a
cmp ebp, dword [esi + 4]
jne 0x4aa694
call fcn.004f446a
mov edx, dword [esp + 0xb4]
mov ecx, dword [edx + 4]
mov eax, dword [ecx + 4]
cmp byte [eax + 0x15], 0
mov edi, ecx
jne 0x4aa6c4
mov ecx, dword [ebp + 0xc]
lea esp, [esp]
cmp ecx, dword [eax + 0xc]
jge 0x4aa6bb
mov edi, eax
mov eax, dword [eax]
jmp 0x4aa6be
mov eax, dword [eax + 8]
cmp byte [eax + 0x15], 0
je 0x4aa6b0
mov ecx, dword [edx + 4]
mov eax, dword [ecx + 4]
cmp byte [eax + 0x15], 0
mov ebx, ecx
jne 0x4aa6e9
mov ecx, dword [ebp + 0xc]
cmp dword [eax + 0xc], ecx
jge 0x4aa6df
mov eax, dword [eax + 8]
jmp 0x4aa6e3
mov ebx, eax
mov eax, dword [eax]
cmp byte [eax + 0x15], 0
je 0x4aa6d5
mov eax, edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ebx
test eax, eax
je 0x4aa700
cmp eax, dword [esp + 0xb4]
je 0x4aa705
call fcn.004f446a
cmp dword [esp + 0x60], edi
je 0x4aa71a
lea esi, [esp + 0x5c]
call fcn.004b6110
mov eax, dword [esp + 0x5c]
jmp 0x4aa6f3
push edi
mov edi, dword [esp + 0xb8]
push edi
push ebx
push edi
lea edx, [esp + 0x90]
push edx
call fcn.004b6040
lea esi, [esp + 0x3c]
call fcn.00454560
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
jmp 0x4aa664
mov eax, dword [esp + 0x34]
mov edi, dword [eax]
lea esi, [esp + 0x30]
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], esi
lea ebx, [ebx]
test esi, esi
mov ebx, dword [esp + 0x34]
je 0x4aa770
lea ecx, [esp + 0x30]
cmp esi, ecx
je 0x4aa775
call fcn.004f446a
cmp edi, ebx
je 0x4aa7b0
test esi, esi
jne 0x4aa782
call fcn.004f446a
cmp edi, dword [esi + 4]
jne 0x4aa78c
call fcn.004f446a
mov edx, dword [edi + 0xc]
mov eax, dword [esp + 0xb4]
push edx
push eax
call fcn.004aa810
lea esi, [esp + 0x44]
call fcn.00454560
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
jmp 0x4aa760
lea eax, [esp + 0x30]
mov byte [esp + 0xac], 1
call fcn.00454130
lea eax, [esp + 0x24]
mov byte [esp + 0xac], 0
call fcn.00454130
cmp dword [esp + 0x68], 0xffffffff
je 0x4aa7e6
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [esp + 0xa4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x9c
ret 4