Function at 0xa3e4c0
Capabilities:
Parse pe header

Disassembly:
push 0xffffffffffffffff
push 0xa8dcbb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x198
push ebx
push ebp
mov ebp, dword [esp + 0x1b0]
push esi
push edi
lea eax, [esp + 0x1c]
xor ebx, ebx
push 1
push eax
push ebx
push ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.00a2a140
push ebx
push ebx
push ebx
push ebp
mov dword [esp + 0x28], eax
call fcn.00a2a140
lea ecx, [esp + 0x14]
push ebx
push ecx
lea edx, [esp + 0x68]
push 0x40
push edx
push ebp
call fcn.00a2abe0
cmp word [esp + 0x60], 0x5a4d
je 0xa3e567
mov eax, dword [0xaa2204]
mov ecx, dword [eax]
shr ecx, 0x19
test cl, 1
je 0xa3e54f
mov eax, dword [esp + 0x1d0]
cmp eax, ebx
je 0xa3e54f
push str.__DOS_header_not_found_
push eax
call fcn.00a16060
add esp, 8
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push ebx
push edx
push eax
push ebp
call fcn.00a2a140
xor eax, eax
jmp 0xa3e930
mov ecx, dword [esp + 0x9c]
push ebx
push ebx
push ecx
push ebp
call fcn.00a2a140
lea edx, [esp + 0x14]
push ebx
push edx
lea eax, [esp + 0x50]
push 4
push eax
push ebp
call fcn.00a2abe0
cmp dword [esp + 0x48], 0x4550
je 0xa3e5d5
mov ecx, dword [0xaa2204]
mov edx, dword [ecx]
shr edx, 0x19
test dl, 1
je 0xa3e5bd
mov eax, dword [esp + 0x1d0]
cmp eax, ebx
je 0xa3e5bd
push str.__NTSig_not_found_
push eax
call fcn.00a16060
add esp, 8
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push ebx
push eax
push ecx
push ebp
call fcn.00a2a140
xor eax, eax
jmp 0xa3e930
lea edx, [esp + 0x14]
push ebx
push edx
lea eax, [esp + 0x54]
push 0x14
push eax
push ebp
call fcn.00a2abe0
lea ecx, [esp + 0x14]
push ebx
push ecx
lea edx, [esp + 0xd0]
push 0xe0
push edx
push ebp
call fcn.00a2abe0
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov al, byte [esp + 0x33]
mov dword [esp + 0x44], ebx
mov byte [esp + 0x38], al
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x9c]
and ecx, 0xffff
push ebx
push ebx
mov dword [esp + 0x1b8], ebx
lea eax, [ecx + edx + 0x18]
push eax
push ebp
call fcn.00a2a140
cmp word [esp + 0x4e], bx
mov dword [esp + 0x10], ebx
jbe 0xa3e6ec
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
lea ecx, [esp + 0xa0]
push ecx
push 1
push esi
lea ecx, [esp + 0x44]
call fcn.009ee500
sub esi, edi
mov eax, 0x66666667
imul esi
sar edx, 4
mov eax, edx
push ebx
shr eax, 0x1f
add edx, eax
lea eax, [esp + 0x18]
push eax
push 0x28
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x48]
lea esi, [edx + ecx*8]
push esi
push ebp
call fcn.00a2abe0
mov ecx, dword [0xaa2204]
mov edx, dword [ecx]
shr edx, 0x19
test dl, 1
je 0xa3e6d1
mov eax, dword [esp + 0x1d0]
cmp eax, ebx
je 0xa3e6d1
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x20]
push ecx
push str._loaded_section__s_
push eax
mov dword [esp + 0x30], edx
mov byte [esp + 0x34], 0
call fcn.00a16060
add esp, 0xc
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x4e]
inc eax
and edx, 0xffff
cmp eax, edx
mov dword [esp + 0x10], eax
jl 0xa3e649
mov esi, dword [esp + 0x1cc]
mov eax, dword [esp + 0x100]
push esi
push eax
push ebx
mov ebx, dword [esp + 0x1c8]
push 0x40
push ebx
push 0xffffffffffffffff
call fcn.00a22c00
mov edi, eax
test edi, edi
mov dword [esp + 0x10], edi
jne 0xa3e75c
mov ecx, dword [0xaa2204]
mov edx, dword [ecx]
shr edx, 0x19
test dl, 1
je 0xa3e741
mov eax, dword [esp + 0x1d0]
test eax, eax
je 0xa3e741
push str._unable_to_create_map_with_PAGE_EXECUTE_READWRITE__trying_PAGE_READWRITE_
push eax
call fcn.00a16060
add esp, 8
mov eax, dword [esp + 0x100]
push esi
push eax
push 0
push 4
push ebx
push 0xffffffffffffffff
call fcn.00a22c00
mov edi, eax
mov dword [esp + 0x10], eax
mov ecx, dword [0xaa2204]
mov ebx, dword [esp + 0x1d0]
mov edx, dword [ecx]
shr edx, 0x19
test dl, 1
je 0xa3e796
test ebx, ebx
je 0xa3e796
test edi, edi
jne 0xa3e79e
mov eax, dword [esp + 0x100]
push eax
push str.__CreateFileMapping_failed__sz_xh_
push ebx
call fcn.00a16060
add esp, 0xc
jmp 0xa3e8c4
test edi, edi
je 0xa3e8c4
push 0
push 0
push 0
push 0xf001f
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
mov dword [esp + 0x20], esi
jne 0xa3e7f8
mov ecx, dword [0xaa2204]
mov edx, dword [ecx]
shr edx, 0x19
test dl, 1
je 0xa3e7dd
test ebx, ebx
je 0xa3e7dd
push edi
push str.__MapViewOfFile_failed__sys_map_x_
push ebx
call fcn.00a16060
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x3c]
push eax
call fcn.00a7d8f0
add esp, 4
xor eax, eax
jmp 0xa3e930
mov ecx, dword [esp + 0x3c]
push 0
push 0
push 0
mov ebx, dword [ecx + 0x14]
push ebp
call fcn.00a2a140
lea edx, [esp + 0x14]
push 0
push edx
push ebx
push esi
push ebp
call fcn.00a2abe0
xor ebx, ebx
cmp word [esp + 0x4e], bx
mov dword [esp + 0x34], ebx
jbe 0xa3e8b6
mov eax, dword [esp + 0x3c]
mov edi, dword [ebx + eax + 0xc]
mov ecx, dword [ebx + eax + 8]
add edi, esi
mov esi, dword [ebx + eax + 0x10]
cmp esi, ecx
mov dword [esp + 0x2c], ecx
jbe 0xa3e84b
mov dword [esp + 0x2c], esi
mov ecx, esi
test byte [ebx + eax + 0x24], 0x80
jne 0xa3e880
mov eax, dword [ebx + eax + 0x14]
push 0
push 0
push eax
push ebp
call fcn.00a2a140
lea ecx, [esp + 0x14]
push 0
push ecx
push esi
push edi
push ebp
call fcn.00a2abe0
mov ecx, dword [esp + 0x2c]
cmp esi, ecx
jae 0xa3e890
sub ecx, esi
xor eax, eax
add edi, esi
jmp 0xa3e882
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x4e]
mov esi, dword [esp + 0x20]
inc eax
and ecx, 0xffff
add ebx, 0x28
cmp eax, ecx
mov dword [esp + 0x34], eax
jl 0xa3e82b
mov edi, dword [esp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ebx, dword [esp + 0x1d0]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push 0
push edx
push eax
push ebp
call fcn.00a2a140
test edi, edi
je 0xa3e921
mov ecx, dword [esp + 0x1c0]
mov edx, dword [esp + 0x100]
lea eax, [esp + 0x20]
mov dword [esp + 0x20], ecx
push eax
push edi
mov dword [esp + 0x2c], edx
call fcn.00a3dfa0
mov ecx, dword [0xaa2204]
add esp, 8
mov edx, dword [ecx]
shr edx, 0x19
test dl, 1
je 0xa3e921
test ebx, ebx
je 0xa3e921
push edi
push str._Added_VirtualFileMap__xh_
push ebx
call fcn.00a16060
add esp, 0xc
mov eax, dword [esp + 0x3c]
push eax
call fcn.00a7d8f0
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x1a8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1a4
ret 0x1c