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

Disassembly:
and dword [ebx + 0x74], 0
jmp 0x4aa4d0
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push edi
xor edi, edi
cmp dword [ebp + 0x14], 2
mov dword [ebp - 4], edi
jne 0x4aa2f8
cmp dword [ebp + 0x18], 3
jg 0x533ca1
cmp dword [ebp + 0x18], edi
jl 0x533ca1
push ebx
mov ebx, dword [ebp + 8]
push esi
lea esi, [ebx + 0x18]
push esi
mov dword [ebp - 0xc], esi
call fcn.004aa24d
mov eax, dword [ebx + 0x90]
cmp eax, edi
jne 0x533cab
mov dword [ebp - 4], edi
cmp dword [ebx + 0x94], edi
jne 0x533cc1
mov dword [ebp - 8], edi
push 0x64546553
push 0x38
push edi
call fcn.0047a005
mov esi, eax
cmp esi, edi
je 0x533d02
mov eax, dword [ebx + 0x58]
mov ebx, dword [ebx + 0x5c]
lea ecx, [ebp + 0xc]
push ecx
add eax, 0xa0
push eax
push ebx
push eax
push edi
push dword [ebp + 0x1c]
push dword [ebp + 0xc]
push dword [0x5c4ee0]
push dword [ebp + 0x1c]
call fcn.00496525
mov ebx, dword [ebp + 0xc]
xor edi, edi
cmp eax, edi
mov dword [ebp + 0x1c], eax
jl 0x533d25
lea eax, [ebx + 0x10]
push eax
call fcn.0040e547
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x80], eax
mov eax, dword [ebp + 0x18]
push esi
mov byte [ebx + 0x8c], 0
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x30], esi
call fcn.00412eef
mov eax, dword fs:[0x124]
dec dword [eax + 0xd4]
mov esi, dword [ebp + 8]
push 1
push dword [esi + 0x30]
call fcn.0040a980
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov dword [ebx + 0x18], ecx
mov eax, dword [eax + 4]
mov dword [ebx + 0x1c], eax
mov eax, dword [esi + 0x40]
mov dword [ebx + 0x40], eax
mov eax, dword [esi + 0x44]
mov dword [ebx + 0x44], eax
mov eax, dword [esi + 0x28]
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp + 8]
mov edi, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x5c]
and dword [ebx + 0x60], 0
mov dword [ebx + 0x5c], ecx
mov ecx, dword [eax + 0x64]
mov dword [ebx + 0x64], ecx
mov ecx, dword [eax + 0x4c]
mov dword [ebx + 0x4c], ecx
mov ecx, dword [eax + 0x50]
mov dword [ebx + 0x50], ecx
mov ecx, dword [eax + 0x54]
mov dword [ebx + 0x54], ecx
mov ecx, dword [eax + 0x58]
mov dword [ebx + 0x58], ecx
mov ecx, dword [eax + 0x88]
and ecx, 0xffffffdf
mov dword [ebx + 0x88], ecx
mov ecx, dword [ebp - 4]
mov dword [ebx + 0x90], ecx
mov ecx, dword [ebp - 8]
mov dword [ebx + 0x94], ecx
mov ecx, dword [eax + 0x48]
mov dword [ebx + 0x48], ecx
mov ecx, dword [eax + 0x38]
mov dword [ebx + 0x38], ecx
mov ecx, dword [eax + 0x3c]
mov dword [ebx + 0x3c], ecx
mov ecx, dword [eax + 0x20]
mov dword [ebx + 0x20], ecx
mov ecx, dword [eax + 0x24]
mov dword [ebx + 0x24], ecx
mov ecx, dword [eax + 0x98]
mov dword [ebx + 0x98], ecx
mov ecx, dword [eax + 0x9c]
mov dword [ebx + 0x9c], ecx
mov ecx, dword [eax + 0x58]
mov edx, ecx
shr ecx, 2
lea esi, [eax + 0xa0]
lea edi, [ebx + 0xa0]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
sub ecx, eax
add ecx, dword [eax + 0x68]
mov dword [ebx + 0x68], ecx
xor ecx, ecx
cmp dword [eax + 0x4c], ecx
jbe 0x4aa4ad
mov edx, dword [eax + 0x68]
mov edx, dword [edx + ecx*8]
mov esi, dword [ebx + 0x68]
sub edx, eax
add edx, ebx
mov dword [esi + ecx*8], edx
inc ecx
cmp ecx, dword [eax + 0x4c]
jb 0x4aa497
mov ecx, dword [eax + 0x6c]
test ecx, ecx
jne 0x4df800
and dword [ebx + 0x6c], 0
cmp dword [eax + 0x54], 0
jbe 0x4a029e
mov ecx, dword [eax + 0x74]
sub ecx, eax
add ecx, ebx
mov dword [ebx + 0x74], ecx
mov ecx, dword [eax + 0x70]
movzx esi, byte [ecx + 1]
mov eax, dword [eax + 0x7c]
test eax, eax
lea esi, [esi*4 + 8]
je 0x4aa4eb
movzx eax, word [eax + 2]
add esi, eax
push 0x64546553
push esi
push 1
call fcn.0047a005
test eax, eax
mov dword [ebp + 0x18], eax
mov dword [ebx + 0x78], eax
je 0x533d74
mov edx, dword [ebp + 8]
mov ecx, esi
mov esi, dword [edx + 0x78]
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [edx + 0x7c]
test eax, eax
je 0x4da805
sub eax, dword [edx + 0x78]
add eax, dword [ebp + 0x18]
mov dword [ebx + 0x7c], eax
mov esi, dword [edx + 0x70]
mov ecx, dword [edx + 0x30]
sub esi, dword [edx + 0x78]
call fcn.00405599
mov eax, dword fs:[0x124]
inc dword [eax + 0xd4]
jne 0x4aa559
lea ecx, [eax + 0x34]
cmp dword [ecx], ecx
jne 0x533db1
mov eax, dword [ebp + 0x18]
add eax, esi
cmp byte [ebp + 0x10], 0
mov dword [ebx + 0x70], eax
jne 0x4b9e36
lea eax, [ebx + 0x38]
mov ecx, dword [eax]
or ecx, dword [eax + 4]
je 0x4aa57d
push 1
push eax
call fcn.0041ce0d
mov eax, dword [ebp + 0x20]
mov dword [eax], ebx
mov eax, dword [ebp + 0x1c]
pop esi
pop ebx
pop edi
leave
ret 0x1c
push ebx
call fcn.004b9dd6
jmp 0x4aa56b
and dword [ebx + 0x7c], 0
jmp 0x4aa532
sub ecx, eax
add ecx, ebx
mov dword [ebx + 0x6c], ecx
xor ecx, ecx
cmp dword [eax + 0x50], ecx
jbe 0x4aa4bc
jmp 0x533d53
mov eax, 0xc00000a5
jmp 0x4aa587
push eax
lea eax, [ebp - 4]
push eax
call fcn.0056c03a
cmp eax, edi
jge 0x4aa31a
mov edi, eax
jmp 0x533ce3
push 0x20206553
push 0xc
push 1
call fcn.0047a005
cmp eax, edi
mov dword [ebp - 8], eax
jne 0x533cf0
push dword [ebp - 4]
call int.0056c0e3
mov edi, 0xc000009a
push esi
call fcn.004aa150
mov eax, edi
jmp 0x4aa585
mov esi, dword [ebx + 0x94]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor edi, edi
jmp 0x4aa329
cmp dword [ebp - 8], edi
je 0x533d10
push edi
push dword [ebp - 8]
call fcn.0047a1e6
push dword [ebp - 4]
call int.0056c0e3
push dword [ebp - 0xc]
call fcn.004aa150
jmp 0x533da7
push dword [ebp - 0xc]
call fcn.004aa150
push dword [ebp - 4]
call int.0056c0e3
push edi
push esi
call fcn.0047a1e6
cmp dword [ebp - 8], edi
je 0x4aa582
push edi
push dword [ebp - 8]
call fcn.0047a1e6
jmp 0x4aa582
mov edx, dword [eax + 0x6c]
mov edx, dword [edx + ecx*8]
mov esi, dword [ebx + 0x6c]
sub edx, eax
add edx, ebx
mov dword [esi + ecx*8], edx
inc ecx
cmp ecx, dword [eax + 0x50]
jae 0x4aa4bc
jmp 0x533d53
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x30]
call fcn.00405599
mov eax, dword fs:[0x124]
inc dword [eax + 0xd4]
jne 0x533da0
lea ecx, [eax + 0x34]
cmp dword [ecx], ecx
je 0x533da0
mov cl, 1
mov byte [eax + 0x49], 1
call dword [fcn.0040110c]
mov ecx, ebx
call fcn.0040a930
mov eax, 0xc000009a
jmp 0x4aa585
mov cl, 1
mov byte [eax + 0x49], 1
call dword [fcn.0040110c]
jmp 0x4aa559