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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov eax, dword [0x424b60]
mov edx, dword [0x424bb0]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x424b84]
imul eax, edx
mov edx, dword [ebp - 0x1c]
mov dword [edx], eax
mov eax, dword [0x424b78]
mov dword [edx + 8], 0
mov dword [edx + 4], eax
mov dword [edx + 0xc], 0
mov dword [edx + 0x10], 0
mov eax, dword [0x424b70]
mov dword [edx + 0x14], eax
or edx, 0xffffffff
mov eax, dword [0x424ba8]
shr eax, 0xa
test eax, eax
jle 0x40ee98
xor edx, edx
lea esi, [esi]
sar eax, 1
inc edx
test eax, eax
jg 0x40ee90
dec edx
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x18], edx
or edx, 0xffffffff
mov eax, dword [0x424ba8]
shr eax, 0xa
test eax, eax
jle 0x40eeb8
xor edx, edx
nop
sar eax, 1
inc edx
test eax, eax
jg 0x40eeb0
dec edx
mov esi, dword [ebp - 0x1c]
mov dword [esi + 0x1c], edx
mov eax, dword [0x424bac]
mov dword [esi + 0x20], eax
mov eax, dword [0x424bac]
mov dword [esi + 0x24], eax
mov eax, dword [0x424bb0]
mov dword [esi + 0x2c], 0
mov dword [esi + 0x28], eax
mov dword [esi + 0x30], 0
mov word [esi + 0x34], 0
mov word [esi + 0x36], 0xffff
mov word [esi + 0x38], 0xef53
mov word [esi + 0x3a], 1
mov word [esi + 0x3c], 2
mov word [esi + 0x3e], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 1
mov word [esi + 0x50], 0
mov word [esi + 0x52], 0
mov dword [esi + 0x54], 0xb
mov eax, dword [0x424bb4]
mov word [esi + 0x5a], 0
mov word [esi + 0x58], ax
mov ax, word [0x424bc2]
and eax, 0xffff
mov dword [esi + 0x5c], eax
mov eax, dword [0x424bc4]
and eax, 0xffff
mov dword [esi + 0x60], eax
mov eax, dword [0x424bc0]
and eax, 0xffff
mov dword [esi + 0x64], eax
push eax
mov eax, esi
add eax, 0x68
push eax
mov eax, dword [0x424bcc]
push eax
push str.extandroid_make_ext4fs
call fcn.00410ca0
mov eax, esi
add eax, 0x78
mov dword [esi + 0x78], 0
add esp, 0xc
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
push 0x10
mov edi, dword [0x424bcc]
push edi
mov edi, esi
push eax
call sub.msvcrt.dll_strncpy
cld
xor eax, eax
add edi, 0x88
mov ecx, 0x10
add esp, 0x10
rep stosd dword es:[edi], eax
mov dword [esi + 0xc8], 0
mov eax, dword [0x424bc8]
mov byte [esi + 0xcc], 0
mov word [esi + 0xce], ax
mov byte [esi + 0xcd], 0
test byte [0x424bc2], 4
je 0x40f004
mov dword [esi + 0xe0], 8
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0xe4], 0
mov dword [eax + 0xe8], 0
mov dword [eax + 0xec], 0
mov byte [eax + 0xfc], 2
mov byte [eax + 0xfd], 1
mov word [eax + 0xfe], 0x20
mov dword [eax + 0x100], 0
mov dword [eax + 0x104], 0
mov dword [eax + 0x108], 0
mov ecx, dword [ebp - 0x1c]
mov eax, dword [0x424b7c]
mov dword [ecx + 0x150], eax
mov dword [ecx + 0x154], 0
mov dword [ecx + 0x158], 0
mov word [ecx + 0x15c], 0x1c
mov word [ecx + 0x15e], 0x1c
mov dword [ecx + 0x160], 0
mov word [ecx + 0x164], 0
mov word [ecx + 0x166], 0
mov dword [ecx + 0x168], 0
mov dword [ecx + 0x16c], 0
mov dword [ecx + 0x170], 0
mov byte [ecx + 0x174], 0
mov dword [ecx + 0x178], 0
mov dword [ecx + 0x17c], 0
mov esi, dword [0x424b84]
test esi, esi
je 0x40f265
mov eax, dword [0x424bac]
mov dword [ebp - 0x10], 0
jmp 0x40f1a4
mov eax, dword [ebp - 0x18]
mov edx, dword [0x424b88]
inc eax
push ecx
push eax
mov eax, dword [0x424ba8]
imul eax, edx
push eax
mov eax, dword [0x424b68]
push eax
call fcn.00410ae0
mov eax, dword [0x424bc8]
mov edi, dword [0x424b88]
add eax, edi
add esp, 0x10
lea edx, [eax + 1]
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
shl ebx, 5
mov eax, dword [0x424b68]
add edx, esi
mov dword [eax + ebx], edx
mov eax, dword [0x424b68]
lea ecx, [edx + 1]
add edx, 2
mov dword [eax + ebx + 4], ecx
mov eax, dword [0x424b68]
mov dword [eax + ebx + 8], edx
mov esi, dword [ebp - 0x1c]
mov eax, dword [0x424b68]
mov edx, dword [esi + 0x20]
mov word [eax + ebx + 0xc], dx
mov eax, dword [0x424b68]
mov edx, dword [esi + 0x28]
mov word [eax + ebx + 0xe], dx
mov eax, dword [0x424b68]
mov word [eax + ebx + 0x10], 0
mov ecx, dword [ebp - 0x10]
inc ecx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [0x424b84], eax
jbe 0x40f265
mov eax, dword [0x424bac]
mov ebx, dword [ebp - 0x10]
mov esi, dword [0x424b70]
imul eax, ebx
mov ecx, dword [ebp - 0x10]
add eax, esi
push ecx
mov dword [ebp - 0x18], eax
call fcn.0040e390
pop edx
xor edx, edx
test eax, eax
je 0x40f135
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x40f102
mov eax, dword [ebp - 0x10]
shl eax, 2
mov dword [ebp - 0x14], eax
mov ebx, eax
mov eax, dword [0x424b64]
add ebx, eax
push eax
push eax
mov eax, dword [0x424ba8]
push 1
push eax
call sub.msvcrt.dll_calloc
mov dword [ebx], eax
mov ecx, dword [ebp - 0x14]
mov eax, dword [0x424b64]
mov edx, dword [0x424ba8]
mov esi, dword [ebp - 0x1c]
mov edi, dword [ecx + eax]
mov ecx, edx
cld
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
test dl, 2
mov ebx, esi
je 0x40f226
mov ax, word [esi]
add ebx, 2
mov word [edi], ax
add edi, 2
and edx, 1
je 0x40f22f
mov al, byte [ebx]
mov byte [edi], al
mov edx, dword [ebp - 0x14]
mov eax, dword [0x424b64]
mov ecx, dword [ebp - 0x10]
add esp, 0xc
mov eax, dword [edx + eax]
mov word [eax + 0x5a], cx
mov edi, dword [ebp - 0x18]
mov esi, dword [0x424ba8]
mov eax, dword [0x424b64]
push edi
push esi
mov ebx, dword [edx + eax]
push ebx
call fcn.00410ae0
add esp, 0x10
jmp 0x40f102
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret