Function at 0x40280b
Capabilities:
Get system information on windows
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
and dword [ebp - 0x30], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
and dword [ebp - 0x58], 0
and dword [ebp - 0x34], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x50], eax
and dword [ebp - 0x48], 0
push 0x2430
push 1
call fcn.00409d13
pop ecx
pop ecx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x3c], eax
cmp dword [ebp + 8], 0
jne 0x40285a
cmp dword [ebp + 0x1c], 0
je 0x40285a
mov dword [ebp - 0x48], 1
cmp dword [ebp - 0x48], 0
je 0x40288c
push 0x2000000
push dword [ebp - 0x34]
push 0
push 4
push dword [ebp + 0x1c]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x402885
xor eax, eax
jmp 0x403108
mov dword [ebp - 0x34], 0x2000000
cmp dword [ebp - 0x48], 0
je 0x4028de
mov eax, dword [ebp - 0x50]
add eax, 8
mov ecx, dword [ebp - 0x3c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x3c]
and dword [eax + 4], 0
mov eax, dword [ebp - 0x3c]
and dword [eax + 8], 0
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx + 0x12], ax
mov eax, dword [ebp + 0xc]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp + 0xc]
and eax, 0x80000003
jns 0x4028d5
dec eax
or eax, 0xfffffffc
inc eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx + 0x10], ax
jmp 0x402925
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov eax, dword [ebp - 0x3c]
and dword [eax + 4], 0
mov eax, dword [ebp - 0x3c]
and dword [eax + 8], 0
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx + 0x12], ax
mov eax, dword [ebp + 0xc]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp + 0xc]
and eax, 0x80000003
jns 0x40291e
dec eax
or eax, 0xfffffffc
inc eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx + 0x10], ax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x2000000
push dword [ebp - 0x58]
push 0
push 0xf001f
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jne 0x402957
xor eax, eax
jmp 0x403108
mov dword [ebp - 0x5c], 1
xor eax, eax
inc eax
je 0x4030a3
cmp dword [ebp - 0x48], 0
je 0x402a0a
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 8]
lea eax, [eax*4 + 8]
cmp eax, dword [ebp - 0x34]
jb 0x402a0a
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp + 0xc]
je 0x402a0a
mov eax, dword [ebp - 0x34]
add eax, 0x2000000
cmp eax, dword [ebp + 0xc]
jae 0x4029a8
mov dword [ebp - 0x8c], 0x2000000
jmp 0x4029b4
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp - 0x34]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x50], 0
je 0x4029d0
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
and dword [ebp - 0x50], 0
push dword [ebp - 0x60]
push dword [ebp - 0x34]
push 0
push 4
push dword [ebp + 0x1c]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x4029f3
xor eax, eax
jmp 0x403108
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x34]
add eax, 8
mov ecx, dword [ebp - 0x3c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x60]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x70], 1
mov eax, dword [ebp - 0x3c]
movsx eax, word [eax + 0x12]
test eax, eax
jne 0x402a62
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ecx + eax*4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 8]
inc eax
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x70]
mov eax, dword [eax + 4]
and eax, dword [ecx*4 + 0x419080]
mov dword [ebp - 0x6c], eax
push 0x20
pop eax
sub eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x3c]
mov word [ecx + 0x12], ax
jmp 0x402af9
mov eax, dword [ebp - 0x3c]
movsx eax, word [eax + 0x12]
cmp eax, dword [ebp - 0x70]
jge 0x402ad5
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ecx + eax*4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 8]
inc eax
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x3c]
movsx ecx, word [eax + 0x12]
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 4]
shl eax, cl
mov ecx, dword [ebp - 0x70]
and eax, dword [ecx*4 + 0x419080]
or eax, dword [ebp - 0x6c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x3c]
movsx eax, word [eax + 0x12]
mov ecx, dword [ebp - 0x70]
sub ecx, eax
mov dword [ebp - 0x70], ecx
push 0x20
pop eax
sub eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x3c]
mov word [ecx + 0x12], ax
jmp 0x402af9
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x70]
mov eax, dword [eax + 4]
and eax, dword [ecx*4 + 0x419080]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x3c]
movsx eax, word [eax + 0x12]
sub eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x3c]
mov word [ecx + 0x12], ax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0x70]
shr eax, cl
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 4], eax
cmp dword [ebp - 0x6c], 0
je 0x402d0e
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x58]
cmp eax, 0x2000000
jb 0x402b89
mov dword [ebp - 0x64], 0x2000000
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 8]
xor edx, edx
div dword [ebp - 8]
imul eax, dword [ebp - 8]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
add eax, 0x2000000
cmp eax, dword [ebp + 0x14]
jbe 0x402b50
mov eax, dword [ebp + 0x14]
sub eax, dword [ebp - 0x58]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x54], 0
je 0x402b63
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
and dword [ebp - 0x54], 0
push dword [ebp - 0x64]
push dword [ebp - 0x58]
push 0
push 0xf001f
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jne 0x402b89
xor eax, eax
jmp 0x403108
mov dword [ebp - 0x78], 8
mov eax, dword [ebp - 0x3c]
movsx eax, word [eax + 0x12]
test eax, eax
jne 0x402be1
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ecx + eax*4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 8]
inc eax
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x78]
mov eax, dword [eax + 4]
and eax, dword [ecx*4 + 0x419080]
mov dword [ebp - 0x74], eax
push 0x20
pop eax
sub eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x3c]
mov word [ecx + 0x12], ax
jmp 0x402c78
mov eax, dword [ebp - 0x3c]
movsx eax, word [eax + 0x12]
cmp eax, dword [ebp - 0x78]
jge 0x402c54
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ecx + eax*4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 8]
inc eax
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x3c]
movsx ecx, word [eax + 0x12]
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 4]
shl eax, cl
mov ecx, dword [ebp - 0x78]
and eax, dword [ecx*4 + 0x419080]
or eax, dword [ebp - 0x74]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x3c]
movsx eax, word [eax + 0x12]
mov ecx, dword [ebp - 0x78]
sub ecx, eax
mov dword [ebp - 0x78], ecx
push 0x20
pop eax
sub eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x3c]
mov word [ecx + 0x12], ax
jmp 0x402c78
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x78]
mov eax, dword [eax + 4]
and eax, dword [ecx*4 + 0x419080]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x3c]
movsx eax, word [eax + 0x12]
sub eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x3c]
mov word [ecx + 0x12], ax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0x78]
shr eax, cl
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x54]
mov dl, byte [ebp - 0x4c]
mov byte [ecx + eax], dl
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp + 0x14]
jbe 0x402cee
mov eax, dword [ebp + 0x18]
and dword [eax], 0
mov eax, dword [ebp - 0x3c]
and dword [eax], 0
xor eax, eax
je 0x402cde
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 8]
shl ecx, 2
mov eax, dword [ebp - 0x3c]
movsx eax, word [eax + 0x12]
cdq
and edx, 7
add eax, edx
sar eax, 3
sub ecx, eax
mov dword [0], ecx
push dword [ebp - 0x40]
call fcn.00409c85
pop ecx
xor eax, eax
jmp 0x403108
mov eax, dword [ebp - 0x40]
add eax, dword [ebp - 0x5c]
mov cl, byte [ebp - 0x4c]
mov byte [eax + 0x201c], cl
mov eax, dword [ebp - 0x5c]
inc eax
and eax, 0x3ff
mov dword [ebp - 0x5c], eax
jmp 0x40309e
mov dword [ebp - 0x80], 0xa
mov eax, dword [ebp - 0x3c]
movsx eax, word [eax + 0x12]
test eax, eax
jne 0x402d66
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ecx + eax*4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 8]
inc eax
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x80]
mov eax, dword [eax + 4]
and eax, dword [ecx*4 + 0x419080]
mov dword [ebp - 0x7c], eax
push 0x20
pop eax
sub eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x3c]
mov word [ecx + 0x12], ax
jmp 0x402dfd
mov eax, dword [ebp - 0x3c]
movsx eax, word [eax + 0x12]
cmp eax, dword [ebp - 0x80]
jge 0x402dd9
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ecx + eax*4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 8]
inc eax
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x3c]
movsx ecx, word [eax + 0x12]
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 4]
shl eax, cl
mov ecx, dword [ebp - 0x80]
and eax, dword [ecx*4 + 0x419080]
or eax, dword [ebp - 0x7c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x3c]
movsx eax, word [eax + 0x12]
mov ecx, dword [ebp - 0x80]
sub ecx, eax
mov dword [ebp - 0x80], ecx
push 0x20
pop eax
sub eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x3c]
mov word [ecx + 0x12], ax
jmp 0x402dfd
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x80]
mov eax, dword [eax + 4]
and eax, dword [ecx*4 + 0x419080]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x3c]
movsx eax, word [eax + 0x12]
sub eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x3c]
mov word [ecx + 0x12], ax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0x80]
shr eax, cl
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x402e29
cmp dword [ebp - 0x30], 1
jne 0x402e24
and dword [ebp - 0x30], 0
jmp 0x4030a3
mov dword [ebp - 0x88], 4
mov eax, dword [ebp - 0x3c]
movsx eax, word [eax + 0x12]
test eax, eax
jne 0x402e8d
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ecx + eax*4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 8]
inc eax
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x88]
mov eax, dword [eax + 4]
and eax, dword [ecx*4 + 0x419080]
mov dword [ebp - 0x84], eax
push 0x20
pop eax
sub eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x3c]
mov word [ecx + 0x12], ax
jmp 0x402f45
mov eax, dword [ebp - 0x3c]
movsx eax, word [eax + 0x12]
cmp eax, dword [ebp - 0x88]
jge 0x402f18
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ecx + eax*4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 8]
inc eax
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x3c]
movsx ecx, word [eax + 0x12]
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 4]
shl eax, cl
mov ecx, dword [ebp - 0x88]
and eax, dword [ecx*4 + 0x419080]
or eax, dword [ebp - 0x84]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x3c]
movsx eax, word [eax + 0x12]
mov ecx, dword [ebp - 0x88]
sub ecx, eax
mov dword [ebp - 0x88], ecx
push 0x20
pop eax
sub eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x3c]
mov word [ecx + 0x12], ax
jmp 0x402f45
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x88]
mov eax, dword [eax + 4]
and eax, dword [ecx*4 + 0x419080]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x3c]
movsx eax, word [eax + 0x12]
sub eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x3c]
mov word [ecx + 0x12], ax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0x88]
shr eax, cl
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x58]
cmp eax, 0x2000000
jb 0x402fed
mov dword [ebp - 0x68], 0x2000000
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 8]
xor edx, edx
div dword [ebp - 8]
imul eax, dword [ebp - 8]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x44]
jge 0x402fa0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x58]
add eax, dword [ebp - 0x68]
cmp eax, dword [ebp + 0x14]
jbe 0x402fb4
mov eax, dword [ebp + 0x14]
sub eax, dword [ebp - 0x58]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x54], 0
je 0x402fc7
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
and dword [ebp - 0x54], 0
push dword [ebp - 0x68]
push dword [ebp - 0x58]
push 0
push 0xf001f
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jne 0x402fed
xor eax, eax
jmp 0x403108
and dword [ebp - 0x2c], 0
jmp 0x402ffa
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x44]
jg 0x40309e
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x2c]
and eax, 0x3ff
mov ecx, dword [ebp - 0x40]
movzx eax, byte [ecx + eax + 0x201c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x54]
mov dl, byte [ebp - 0x4c]
mov byte [ecx + eax], dl
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp + 0x14]
jbe 0x40307e
mov eax, dword [ebp + 0x18]
and dword [eax], 0
mov eax, dword [ebp - 0x3c]
and dword [eax], 0
xor eax, eax
je 0x40306e
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 8]
shl ecx, 2
mov eax, dword [ebp - 0x3c]
movsx eax, word [eax + 0x12]
cdq
and edx, 7
add eax, edx
sar eax, 3
sub ecx, eax
mov dword [0], ecx
push dword [ebp - 0x40]
call fcn.00409c85
pop ecx
xor eax, eax
jmp 0x403108
mov eax, dword [ebp - 0x40]
add eax, dword [ebp - 0x5c]
mov cl, byte [ebp - 0x4c]
mov byte [eax + 0x201c], cl
mov eax, dword [ebp - 0x5c]
inc eax
and eax, 0x3ff
mov dword [ebp - 0x5c], eax
jmp 0x402ff3
jmp 0x40295e
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
mov eax, dword [ebp - 0x3c]
and dword [eax], 0
lea eax, [ebp - 0x38]
test eax, eax
je 0x4030d6
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 8]
shl ecx, 2
mov eax, dword [ebp - 0x3c]
movsx eax, word [eax + 0x12]
cdq
and edx, 7
add eax, edx
sar eax, 3
sub ecx, eax
mov dword [ebp - 0x38], ecx
cmp dword [ebp - 0x54], 0
je 0x4030e9
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
and dword [ebp - 0x54], 0
cmp dword [ebp - 0x50], 0
je 0x4030fc
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
and dword [ebp - 0x50], 0
push dword [ebp - 0x40]
call fcn.00409c85
pop ecx
mov eax, dword [ebp - 0x38]
leave
ret