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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x9c
mov eax, dword [0x4c100c]
imul eax, dword [0x4c0f70]
mov edx, dword [0x4c0fe0]
mov dword [edx], eax
mov eax, dword [0x4c1000]
mov dword [edx + 8], 0
mov dword [edx + 0xc], 0
mov dword [edx + 0x10], 0
mov dword [edx + 4], eax
mov eax, dword [0x4c0ffc]
mov dword [edx + 0x14], eax
mov eax, dword [0x4c0f68]
shr eax, 0xa
test eax, eax
je 0x40b02a
mov ecx, eax
xor ebx, ebx
jmp 0x40aa62
mov ebx, esi
sar ecx, 1
lea esi, [ebx + 1]
jne 0x40aa60
mov dword [edx + 0x18], ebx
xor ecx, ecx
nop
add ecx, 1
sar eax, 1
jne 0x40aa70
sub ecx, 1
mov eax, dword [0x4c0f6c]
xor ebx, ebx
xor esi, esi
mov dword [edx + 0x1c], ecx
xor edi, edi
xor ecx, ecx
mov dword [edx + 0x2c], 0
mov dword [edx + 0x30], 0
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], eax
mov eax, dword [0x4c0f70]
mov word [edx + 0x3e], cx
mov dword [edx + 0x40], 0
mov dword [edx + 0x44], 0
mov dword [edx + 0x28], eax
xor eax, eax
mov word [edx + 0x34], ax
mov eax, 0xa
mov word [edx + 0x36], ax
mov eax, 0xffffef53
mov word [edx + 0x38], ax
mov eax, 1
mov word [edx + 0x3a], ax
mov eax, 2
mov word [edx + 0x3c], ax
mov eax, dword [0x4c0f74]
cmp dword [ebp + 8], 1
mov dword [edx + 0x48], 0
mov dword [edx + 0x4c], 1
mov word [edx + 0x58], ax
movzx eax, word [0x4c0f82]
mov word [edx + 0x50], bx
mov word [edx + 0x52], si
mov dword [edx + 0x54], 0xb
mov dword [edx + 0x5c], eax
movzx eax, word [0x4c0f84]
mov word [edx + 0x5a], di
mov dword [edx + 0x60], eax
movzx eax, word [0x4c0f80]
mov dword [edx + 0x64], eax
je 0x40b03b
mov esi, dword [0x4c0f8c]
lea ebx, [ebp - 0x74]
mov dword [esp], ebx
mov dword [ebp - 0x8c], edx
call fcn.004103d0
mov dword [esp], ebx
mov dword [esp + 8], 0x16
mov dword [esp + 4], str.extandroid_make_ext4fs
call fcn.00410410
mov dword [esp], esi
call sub.msvcrt.dll_strlen
mov dword [esp], ebx
mov dword [esp + 4], esi
mov dword [esp + 8], eax
call fcn.00410410
lea eax, [ebp - 0x88]
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.004104f0
mov edx, dword [ebp - 0x8c]
mov ebx, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x88]
mov dword [edx + 0x6c], ebx
mov ebx, dword [ebp - 0x80]
mov dword [edx + 0x68], ecx
mov dword [edx + 0x70], ebx
mov ebx, dword [ebp - 0x7c]
mov dword [edx + 0x74], ebx
mov dword [esp], ecx
call dword [sym.imp.WS2_32.dll_ntohl]
mov edx, dword [ebp - 0x8c]
mov ebx, dword [sym.imp.WS2_32.dll_ntohs]
mov dword [edx + 0x68], eax
movzx eax, word [edx + 0x6c]
sub esp, 4
mov dword [esp], eax
call ebx
mov edx, dword [ebp - 0x8c]
mov word [edx + 0x6c], ax
movzx eax, word [edx + 0x6e]
sub esp, 4
mov dword [esp], eax
call ebx
mov edx, dword [ebp - 0x8c]
mov ebx, 0x40
mov dword [edx + 0x78], 0
mov dword [edx + 0x7c], 0
and ax, 0xfff
sub esp, 4
or ah, 0x50
mov word [edx + 0x6e], ax
movzx eax, byte [edx + 0x70]
mov dword [edx + 0x80], 0
mov dword [edx + 0x84], 0
mov ecx, dword [0x4c0f8c]
and eax, 0xffffffbf
or eax, 0xffffff80
mov byte [edx + 0x70], al
lea eax, [edx + 0x78]
mov dword [esp + 8], 0x10
mov dword [esp + 4], ecx
mov dword [esp], eax
call sub.msvcrt.dll_strncpy
mov edx, dword [ebp - 0x8c]
lea edi, [edx + 0x88]
test edi, 1
jne 0x40b016
test edi, 2
jne 0x40b005
mov ecx, ebx
xor eax, eax
shr ecx, 2
test bl, 2
rep stosd dword es:[edi], eax
je 0x40ac8b
xor esi, esi
add edi, 2
mov word [edi - 2], si
and ebx, 1
je 0x40ac93
mov byte [edi], 0
mov eax, dword [0x4c0f88]
test byte [0x4c0f82], 4
mov dword [edx + 0xc8], 0
mov byte [edx + 0xcc], 0
mov word [edx + 0xce], ax
mov byte [edx + 0xcd], 0
je 0x40acca
mov dword [edx + 0xe0], 8
mov eax, dword [0x4c1004]
mov ebx, 0x20
mov esi, 0x1c
mov ecx, dword [0x4c100c]
mov edi, 0x1c
mov dword [edx + 0xe4], 0
mov dword [edx + 0xe8], 0
mov dword [edx + 0x150], eax
xor eax, eax
mov word [edx + 0x164], ax
xor eax, eax
mov word [edx + 0x166], ax
xor eax, eax
test ecx, ecx
mov dword [edx + 0xec], 0
mov byte [edx + 0xfc], 2
mov byte [edx + 0xfd], 1
mov word [edx + 0xfe], bx
mov dword [edx + 0x100], 0
mov dword [edx + 0x104], 0
mov dword [edx + 0x108], 0
mov dword [edx + 0x154], 0
mov dword [edx + 0x158], 0
mov word [edx + 0x15c], si
mov word [edx + 0x15e], di
mov dword [edx + 0x160], 2
mov dword [edx + 0x168], 0
mov dword [edx + 0x16c], 0
mov dword [edx + 0x170], 0
mov byte [edx + 0x174], 0
mov dword [edx + 0x178], 0
mov dword [edx + 0x17c], 0
je 0x40af90
mov dword [ebp - 0x90], edx
mov ebx, eax
jmp 0x40ae80
lea eax, [edx + 1]
mov dword [esp + 0xc], eax
mov eax, dword [0x4c0f68]
imul eax, dword [0x4c1010]
mov dword [ebp - 0x8c], edx
mov dword [esp + 8], eax
mov eax, dword [0x4c0ff0]
mov dword [esp + 4], eax
mov eax, dword [0x4c0f98]
mov dword [esp], eax
call fcn.00410940
mov ecx, dword [0x4c1010]
add ecx, dword [0x4c0f88]
mov edx, dword [ebp - 0x8c]
add ecx, 1
add edx, ecx
mov ecx, dword [0x4c0ff0]
mov eax, ebx
shl eax, 5
mov edi, dword [ebp - 0x90]
add ebx, 1
lea esi, [edx + 1]
mov dword [ecx + eax], edx
mov ecx, dword [0x4c0ff0]
add edx, 2
mov dword [ecx + eax + 4], esi
mov ecx, dword [0x4c0ff0]
mov dword [ecx + eax + 8], edx
mov ecx, dword [edi + 0x20]
mov edx, dword [0x4c0ff0]
mov word [edx + eax + 0xc], cx
mov ecx, dword [edi + 0x28]
mov edx, dword [0x4c0ff0]
mov word [edx + eax + 0xe], cx
mov edx, dword [0x4c0ff0]
xor ecx, ecx
mov word [edx + eax + 0x10], cx
cmp dword [0x4c100c], ebx
jbe 0x40af90
mov edx, dword [0x4c0f6c]
mov dword [esp], ebx
imul edx, ebx
add edx, dword [0x4c0ffc]
mov dword [ebp - 0x8c], edx
call fcn.0040a2c0
xor ecx, ecx
mov edx, dword [ebp - 0x8c]
test eax, eax
je 0x40ae18
test ebx, ebx
je 0x40add0
mov esi, dword [0x4c0fec]
lea eax, [ebx*4]
mov dword [ebp - 0x8c], eax
mov dword [esp + 4], 1
mov dword [ebp - 0x94], edx
add esi, eax
mov eax, dword [0x4c0f68]
mov dword [esp], eax
call sub.msvcrt.dll_calloc
mov edx, dword [ebp - 0x94]
mov dword [esi], eax
mov eax, dword [0x4c0fec]
mov esi, dword [ebp - 0x90]
mov edi, dword [eax + ebx*4]
mov eax, 0x400
test edi, 1
jne 0x40afd0
test edi, 2
jne 0x40aff0
mov ecx, eax
shr ecx, 2
test al, 2
rep movsd dword es:[edi], dword [esi]
je 0x40af2e
movzx ecx, word [esi]
mov word [edi], cx
mov ecx, 2
test al, 1
je 0x40af39
movzx eax, byte [esi + ecx]
mov byte [edi + ecx], al
mov eax, dword [ebp - 0x8c]
add eax, dword [0x4c0fec]
cmp byte [0x4c0f91], 0
mov ecx, dword [eax]
mov word [ecx + 0x5a], bx
mov ecx, dword [0x4c0fe8]
jne 0x40af5c
mov ecx, dword [eax]
mov eax, dword [0x4c0f68]
mov dword [esp + 0xc], edx
mov dword [esp + 4], ecx
mov dword [ebp - 0x8c], edx
mov dword [esp + 8], eax
mov eax, dword [0x4c0f98]
mov dword [esp], eax
call fcn.00410940
mov edx, dword [ebp - 0x8c]
jmp 0x40add0
mov edx, dword [0x4c0ffc]
mov eax, dword [0x4c0fe8]
cmp byte [0x4c0f91], 0
cmove eax, dword [0x4c0fe4]
mov dword [esp + 0xc], edx
mov edx, dword [0x4c0f68]
mov dword [esp + 4], eax
mov eax, dword [0x4c0f98]
mov dword [esp + 8], edx
mov dword [esp], eax
call fcn.00410940
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
movzx eax, byte [esi]
add edi, 1
lea esi, [esi + 1]
mov byte [edi - 1], al
test edi, 2
mov eax, 0x3ff
je 0x40af18
lea esi, [esi]
movzx ecx, word [esi]
add edi, 2
add esi, 2
sub eax, 2
mov word [edi - 2], cx
jmp 0x40af18
xor eax, eax
add edi, 2
mov word [edi - 2], ax
sub ebx, 2
jmp 0x40ac74
mov byte [edx + 0x88], 0
lea edi, [edx + 0x89]
mov bl, 0x3f
jmp 0x40ac68
mov dword [edx + 0x18], 0xffffffff
mov ecx, 0xffffffff
jmp 0x40aa7a
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 4], str.Not_compiled_with_real_UUID_support_n
add eax, 0x40
mov dword [esp], eax
call fcn.0040a230
call sub.msvcrt.dll_abort
nop
lea esi, [esi]
sub esp, 0x1c
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], eax
mov eax, dword [0x4c0f68]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
mov eax, dword [0x4c0f98]
mov dword [esp], eax
call fcn.00410940
add esp, 0x1c
ret