Function at 0x100059c0
Capabilities:
Enumerate pe sections
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 4], 1
push 0x10044fa8
mov eax, dword [0x10076e0c]
push eax
call fcn.10005890
add esp, 8
mov dword [ebp - 0x30], eax
push 0x10044fb8
mov ecx, dword [0x10076e0c]
push ecx
call fcn.10005890
add esp, 8
mov dword [ebp - 0x6c], eax
push 0x10044fc8
mov edx, dword [0x10076e0c]
push edx
call fcn.10005890
add esp, 8
mov dword [ebp - 0x50], eax
push 0x10044fd8
mov eax, dword [0x10076e0c]
push eax
call fcn.10005890
add esp, 8
mov dword [ebp - 0x2c], eax
push str.NtFlushInstructionCache
mov ecx, dword [0x10076e10]
push ecx
call fcn.10005890
add esp, 8
mov dword [ebp - 0x14], eax
push str.GetNativeSystemInfo
mov edx, dword [0x10076e0c]
push edx
call fcn.10005890
add esp, 8
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
cmp dword [edx], 0x4550
je 0x10005ae5
xor eax, eax
jmp 0x100061ca
mov eax, dword [ebp - 0x18]
movzx ecx, word [eax + 4]
cmp ecx, 0x14c
je 0x10005afb
xor eax, eax
jmp 0x100061ca
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x38]
and eax, 1
je 0x10005b0d
xor eax, eax
jmp 0x100061ca
mov ecx, dword [ebp - 0x18]
movzx edx, word [ecx + 0x14]
mov eax, dword [ebp - 0x18]
lea ecx, [eax + edx + 0x18]
mov dword [ebp - 0xb8], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x38]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x4c], 0
jmp 0x10005b4b
mov ecx, dword [ebp - 0x4c]
add ecx, 1
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0xb8]
add edx, 0x28
mov dword [ebp - 0xb8], edx
mov eax, dword [ebp - 0x18]
movzx ecx, word [eax + 6]
cmp dword [ebp - 0x4c], ecx
jge 0x10005ba5
mov edx, dword [ebp - 0xb8]
cmp dword [edx + 0x10], 0
jne 0x10005b77
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x78]
mov dword [ebp - 0xbc], ecx
jmp 0x10005b8f
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0xb8]
add eax, dword [ecx + 0x10]
mov dword [ebp - 0xbc], eax
mov edx, dword [ebp - 0xbc]
cmp edx, dword [ebp - 0x48]
jbe 0x10005ba3
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x48], eax
jmp 0x10005b33
lea ecx, [ebp - 0xac]
push ecx
call dword [ebp - 0x40]
mov edx, dword [ebp - 0xa8]
sub edx, 1
not edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x50]
mov eax, dword [ebp - 0xa8]
lea ecx, [ecx + eax - 1]
and ecx, edx
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0xa8]
sub edx, 1
not edx
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0x48]
lea eax, [ecx + eax - 1]
and eax, edx
cmp dword [ebp - 0x60], eax
je 0x10005bf5
xor eax, eax
jmp 0x100061ca
push 4
push 0x3000
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x50]
push edx
push 0
call dword [ebp - 0x50]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x54]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0x70]
mov dword [ebp - 8], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x58], 0x3c
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x5c]
sub edx, 1
mov dword [ebp - 0x5c], edx
test ecx, ecx
je 0x10005ca5
mov eax, dword [ebp + 0xc]
and eax, 1
je 0x10005c7e
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp + 8]
cmp dword [ebp - 0x34], ecx
jae 0x10005c7e
mov edx, dword [ebp - 0x34]
cmp edx, dword [ebp - 0x58]
jb 0x10005c64
mov eax, dword [ebp - 0x58]
add eax, 2
cmp dword [ebp - 0x34], eax
jbe 0x10005c7e
mov ecx, dword [ebp - 8]
mov byte [ecx], 0
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x80]
add eax, 1
mov dword [ebp - 0x80], eax
jmp 0x10005c9a
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x80]
mov al, byte [edx]
mov byte [ecx], al
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x80]
add edx, 1
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0x34]
add eax, 1
mov dword [ebp - 0x34], eax
jmp 0x10005c2e
mov ecx, dword [ebp - 0x18]
movzx edx, word [ecx + 0x14]
mov eax, dword [ebp - 0x18]
lea ecx, [eax + edx + 0x18]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x18]
movzx eax, word [edx + 6]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x58]
sub edx, 1
mov dword [ebp - 0x58], edx
test ecx, ecx
je 0x10005d2a
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x70]
add ecx, dword [eax + 0xc]
mov dword [ebp - 0x80], ecx
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x14]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
sub ecx, 1
mov dword [ebp - 0x34], ecx
test eax, eax
je 0x10005d1f
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 8]
mov cl, byte [eax]
mov byte [edx], cl
mov edx, dword [ebp - 0x80]
add edx, 1
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
jmp 0x10005cf1
mov ecx, dword [ebp - 0x5c]
add ecx, 0x28
mov dword [ebp - 0x5c], ecx
jmp 0x10005cc0
mov edx, dword [ebp - 0x18]
add edx, 0x80
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x70]
add ecx, dword [eax]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp dword [edx + 0xc], 0
je 0x10005e44
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x70]
add ecx, dword [eax + 0xc]
push ecx
call dword [ebp - 0x30]
mov dword [ebp + 8], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x70]
add eax, dword [edx]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x70]
add edx, dword [ecx + 0x10]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x5c]
cmp dword [eax], 0
je 0x10005e36
mov ecx, dword [ebp - 0x34]
cmp dword [ecx], 0
je 0x10005dfb
cmp dword [ebp - 0x34], 0
je 0x10005dfb
mov edx, dword [ebp - 0x34]
mov eax, dword [edx]
and eax, 0x80000000
je 0x10005dfb
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x74]
add eax, 0x78
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp + 8]
add edx, dword [ecx]
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x88], ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [edx]
and eax, 0xffff
mov ecx, dword [ebp - 0x74]
sub eax, dword [ecx + 0x10]
mov edx, dword [ebp - 0x88]
lea eax, [edx + eax*4]
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
mov edx, dword [ebp + 8]
add edx, dword [ecx]
mov eax, dword [ebp - 0x5c]
mov dword [eax], edx
jmp 0x10005e19
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x70]
add edx, dword [ecx]
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0x80]
add eax, 2
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp - 0x6c]
mov edx, dword [ebp - 0x5c]
mov dword [edx], eax
mov eax, dword [ebp - 0x5c]
add eax, 4
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x34], 0
je 0x10005e31
mov ecx, dword [ebp - 0x34]
add ecx, 4
mov dword [ebp - 0x34], ecx
jmp 0x10005d75
mov edx, dword [ebp - 8]
add edx, 0x14
mov dword [ebp - 8], edx
jmp 0x10005d41
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x70]
sub ecx, dword [eax + 0x34]
mov dword [ebp + 8], ecx
mov edx, dword [ebp - 0x18]
add edx, 0xa0
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0x80]
cmp dword [eax + 4], 0
je 0x10006002
mov ecx, dword [ebp - 0x80]
mov edx, dword [ebp - 0x70]
add edx, dword [ecx]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x10006002
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x70]
add edx, dword [ecx]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
sub ecx, 8
shr ecx, 1
mov dword [ebp - 0x80], ecx
mov edx, dword [ebp - 8]
add edx, 8
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x80]
sub ecx, 1
mov dword [ebp - 0x80], ecx
test eax, eax
je 0x10005ff1
mov edx, dword [ebp - 0x34]
mov ax, word [edx]
shr ax, 0xc
and ax, 0xf
movzx ecx, ax
cmp ecx, 0xa
jne 0x10005efd
mov edx, 0xfff
mov eax, dword [ebp - 0x34]
and dx, word [eax]
movzx ecx, dx
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + ecx]
add eax, dword [ebp + 8]
mov ecx, 0xfff
mov edx, dword [ebp - 0x34]
and cx, word [edx]
movzx ecx, cx
mov edx, dword [ebp - 0x5c]
mov dword [edx + ecx], eax
jmp 0x10005fe3
mov eax, dword [ebp - 0x34]
mov cx, word [eax]
shr cx, 0xc
and cx, 0xf
movzx edx, cx
cmp edx, 3
jne 0x10005f43
mov eax, 0xfff
mov ecx, dword [ebp - 0x34]
and ax, word [ecx]
movzx edx, ax
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + edx]
add ecx, dword [ebp + 8]
mov edx, 0xfff
mov eax, dword [ebp - 0x34]
and dx, word [eax]
movzx edx, dx
mov eax, dword [ebp - 0x5c]
mov dword [eax + edx], ecx
jmp 0x10005fe3
mov ecx, dword [ebp - 0x34]
mov dx, word [ecx]
shr dx, 0xc
and dx, 0xf
movzx eax, dx
cmp eax, 1
jne 0x10005f96
mov ecx, 0xfff
mov edx, dword [ebp - 0x34]
and cx, word [edx]
movzx eax, cx
mov ecx, dword [ebp + 8]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
mov ecx, dword [ebp - 0x5c]
movzx eax, word [ecx + eax]
add eax, edx
mov ecx, 0xfff
mov edx, dword [ebp - 0x34]
and cx, word [edx]
movzx ecx, cx
mov edx, dword [ebp - 0x5c]
mov word [edx + ecx], ax
jmp 0x10005fe3
mov eax, dword [ebp - 0x34]
mov cx, word [eax]
shr cx, 0xc
and cx, 0xf
movzx edx, cx
cmp edx, 2
jne 0x10005fe3
mov eax, 0xfff
mov ecx, dword [ebp - 0x34]
and ax, word [ecx]
movzx edx, ax
mov eax, dword [ebp + 8]
and eax, 0xffff
movzx ecx, ax
mov eax, dword [ebp - 0x5c]
movzx edx, word [eax + edx]
add edx, ecx
mov eax, 0xfff
mov ecx, dword [ebp - 0x34]
and ax, word [ecx]
movzx eax, ax
mov ecx, dword [ebp - 0x5c]
mov word [ecx + eax], dx
mov edx, dword [ebp - 0x34]
add edx, 2
mov dword [ebp - 0x34], edx
jmp 0x10005ea3
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
add ecx, dword [eax + 4]
mov dword [ebp - 8], ecx
jmp 0x10005e74
mov edx, dword [ebp - 0x18]
movzx eax, word [edx + 0x14]
mov ecx, dword [ebp - 0x18]
lea edx, [ecx + eax + 0x18]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x18]
movzx ecx, word [eax + 6]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x58]
sub eax, 1
mov dword [ebp - 0x58], eax
test edx, edx
je 0x100061a6
mov ecx, dword [ebp - 0x5c]
cmp dword [ecx + 0x10], 0
jbe 0x10006198
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 0x24]
and eax, 0x20000000
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 0x24]
and edx, 0x40000000
neg edx
sbb edx, edx
neg edx
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 0x24]
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
neg ecx
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x24], 0
jne 0x1000609a
cmp dword [ebp - 0x54], 0
jne 0x1000609a
cmp dword [ebp - 0x20], 0
jne 0x1000609a
mov dword [ebp - 0x3c], 1
jmp 0x1000615b
cmp dword [ebp - 0x24], 0
jne 0x100060b8
cmp dword [ebp - 0x54], 0
jne 0x100060b8
cmp dword [ebp - 0x20], 0
je 0x100060b8
mov dword [ebp - 0x3c], 8
jmp 0x1000615b
cmp dword [ebp - 0x24], 0
jne 0x100060d6
cmp dword [ebp - 0x54], 0
je 0x100060d6
cmp dword [ebp - 0x20], 0
jne 0x100060d6
mov dword [ebp - 0x3c], 2
jmp 0x1000615b
cmp dword [ebp - 0x24], 0
jne 0x100060f1
cmp dword [ebp - 0x54], 0
je 0x100060f1
cmp dword [ebp - 0x20], 0
je 0x100060f1
mov dword [ebp - 0x3c], 4
jmp 0x1000615b
cmp dword [ebp - 0x24], 0
je 0x1000610c
cmp dword [ebp - 0x54], 0
jne 0x1000610c
cmp dword [ebp - 0x20], 0
jne 0x1000610c
mov dword [ebp - 0x3c], 0x10
jmp 0x1000615b
cmp dword [ebp - 0x24], 0
je 0x10006127
cmp dword [ebp - 0x54], 0
jne 0x10006127
cmp dword [ebp - 0x20], 0
je 0x10006127
mov dword [ebp - 0x3c], 0x80
jmp 0x1000615b
cmp dword [ebp - 0x24], 0
je 0x10006142
cmp dword [ebp - 0x54], 0
je 0x10006142
cmp dword [ebp - 0x20], 0
jne 0x10006142
mov dword [ebp - 0x3c], 0x20
jmp 0x1000615b
cmp dword [ebp - 0x24], 0
je 0x1000615b
cmp dword [ebp - 0x54], 0
je 0x1000615b
cmp dword [ebp - 0x20], 0
je 0x1000615b
mov dword [ebp - 0x3c], 0x40
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 0x24]
and eax, 0x4000000
je 0x10006174
mov ecx, dword [ebp - 0x3c]
or ecx, 0x200
mov dword [ebp - 0x3c], ecx
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x70]
add ecx, dword [eax + 0xc]
push ecx
call dword [ebp - 0x2c]
test eax, eax
jne 0x10006198
xor eax, eax
jmp 0x100061ca
mov edx, dword [ebp - 0x5c]
add edx, 0x28
mov dword [ebp - 0x5c], edx
jmp 0x1000601d
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x70]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x5c], ecx
push 0
push 0
push 0xffffffffffffffff
call dword [ebp - 0x14]
push 1
push 1
push 0x10000000
call dword [ebp - 0x5c]
mov eax, dword [ebp - 0x70]
mov esp, ebp
pop ebp
ret