Function at 0x10008b50
Capabilities:
Allocate or change rwx memory
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
sub esp, 0x190
mov eax, dword [ebp + 8]
mov dword [ebp - 0x194], eax
mov eax, dword [0x1008be80]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x190], 0x9157276d
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x198], eax
sub eax, 0x8558558b
je 0x10009b6d
jmp 0x10008b94
mov eax, dword [ebp - 0x198]
sub eax, 0x89d2645e
je 0x1000907c
jmp 0x10008baa
mov eax, dword [ebp - 0x198]
sub eax, 0x9157276d
je 0x10008fe5
jmp 0x10008bc0
mov eax, dword [ebp - 0x198]
sub eax, 0x9f939c70
je 0x10009a4d
jmp 0x10008bd6
mov eax, dword [ebp - 0x198]
sub eax, 0xa3829f07
je 0x10009db5
jmp 0x10008bec
mov eax, dword [ebp - 0x198]
sub eax, 0xa39616a6
je 0x10009866
jmp 0x10008c02
mov eax, dword [ebp - 0x198]
sub eax, 0xaaa46dc2
je 0x100092a3
jmp 0x10008c18
mov eax, dword [ebp - 0x198]
sub eax, 0xaf6fc7a6
je 0x10009b97
jmp 0x10008c2e
mov eax, dword [ebp - 0x198]
sub eax, 0xb5c06c8d
je 0x10009b7c
jmp 0x10008c44
mov eax, dword [ebp - 0x198]
sub eax, 0xbbbfd6a9
je 0x10009892
jmp 0x10008c5a
mov eax, dword [ebp - 0x198]
sub eax, 0xbbc4f846
je 0x100091fb
jmp 0x10008c70
mov eax, dword [ebp - 0x198]
sub eax, 0xc23c5dfe
je 0x100097f1
jmp 0x10008c86
mov eax, dword [ebp - 0x198]
sub eax, 0xc2694a6a
je 0x10009c3d
jmp 0x10008c9c
mov eax, dword [ebp - 0x198]
sub eax, 0xc86fb2b9
je 0x1000949d
jmp 0x10008cb2
mov eax, dword [ebp - 0x198]
sub eax, 0xd3736a9b
je 0x10009908
jmp 0x10008cc8
mov eax, dword [ebp - 0x198]
sub eax, 0xd82c7494
je 0x10009a7b
jmp 0x10008cde
mov eax, dword [ebp - 0x198]
sub eax, 0xdcd2ef65
je 0x1000948e
jmp 0x10008cf4
mov eax, dword [ebp - 0x198]
sub eax, 0xde60681b
je 0x10009bc9
jmp 0x10008d0a
mov eax, dword [ebp - 0x198]
sub eax, 0xe1ae756d
je 0x100094f4
jmp 0x10008d20
mov eax, dword [ebp - 0x198]
sub eax, 0xeb05ee99
je 0x1000924c
jmp 0x10008d36
mov eax, dword [ebp - 0x198]
sub eax, 0xec75d15d
je 0x1000971b
jmp 0x10008d4c
mov eax, dword [ebp - 0x198]
sub eax, 0xf3ea2ecd
je 0x100096a4
jmp 0x10008d62
mov eax, dword [ebp - 0x198]
sub eax, 0xf8c2c5a6
je 0x10009c2e
jmp 0x10008d78
mov eax, dword [ebp - 0x198]
sub eax, 0xfecbbf
je 0x100094b8
jmp 0x10008d8e
mov eax, dword [ebp - 0x198]
sub eax, 0x437698a
je 0x10009a5c
jmp 0x10008da4
mov eax, dword [ebp - 0x198]
sub eax, 0x76f3c0a
je 0x1000916c
jmp 0x10008dba
mov eax, dword [ebp - 0x198]
sub eax, 0x1055e740
je 0x10009776
jmp 0x10008dd0
mov eax, dword [ebp - 0x198]
sub eax, 0x1589744c
je 0x100096ce
jmp 0x10008de6
mov eax, dword [ebp - 0x198]
sub eax, 0x164694e9
je 0x10009695
jmp 0x10008dfc
mov eax, dword [ebp - 0x198]
sub eax, 0x181cf4ce
je 0x10009360
jmp 0x10008e12
mov eax, dword [ebp - 0x198]
sub eax, 0x1f027140
je 0x1000918d
jmp 0x10008e28
mov eax, dword [ebp - 0x198]
sub eax, 0x205ba072
je 0x10009757
jmp 0x10008e3e
mov eax, dword [ebp - 0x198]
sub eax, 0x23440728
je 0x100096fa
jmp 0x10008e54
mov eax, dword [ebp - 0x198]
sub eax, 0x2419b71c
je 0x10009619
jmp 0x10008e6a
mov eax, dword [ebp - 0x198]
sub eax, 0x2692f4e3
je 0x10009ce6
jmp 0x10008e80
mov eax, dword [ebp - 0x198]
sub eax, 0x2c8e68bc
je 0x100093d6
jmp 0x10008e96
mov eax, dword [ebp - 0x198]
sub eax, 0x36739828
je 0x10009351
jmp 0x10008eac
mov eax, dword [ebp - 0x198]
sub eax, 0x368b7eb6
je 0x10009585
jmp 0x10008ec2
mov eax, dword [ebp - 0x198]
sub eax, 0x3d062f51
je 0x1000925b
jmp 0x10008ed8
mov eax, dword [ebp - 0x198]
sub eax, 0x3f96cb04
je 0x100095a3
jmp 0x10008eee
mov eax, dword [ebp - 0x198]
sub eax, 0x404dc057
je 0x100092e4
jmp 0x10008f04
mov eax, dword [ebp - 0x198]
sub eax, 0x484d8fef
je 0x10009006
jmp 0x10008f1a
mov eax, dword [ebp - 0x198]
sub eax, 0x5083ef3e
je 0x10009b00
jmp 0x10008f30
mov eax, dword [ebp - 0x198]
sub eax, 0x511ca53d
je 0x10009515
jmp 0x10008f46
mov eax, dword [ebp - 0x198]
sub eax, 0x55f668dd
je 0x100094d9
jmp 0x10008f5c
mov eax, dword [ebp - 0x198]
sub eax, 0x5f403ffb
je 0x10009524
jmp 0x10008f72
mov eax, dword [ebp - 0x198]
sub eax, 0x63a58051
je 0x10009c8e
jmp 0x10008f88
mov eax, dword [ebp - 0x198]
sub eax, 0x642ffec8
je 0x10009a3e
jmp 0x10008f9e
mov eax, dword [ebp - 0x198]
sub eax, 0x69268c7a
je 0x10009ab7
jmp 0x10008fb4
mov eax, dword [ebp - 0x198]
sub eax, 0x6ecfa8fd
je 0x10009bb8
jmp 0x10008fca
mov eax, dword [ebp - 0x198]
sub eax, 0x766c970c
je 0x10009aa8
jmp 0x10008fe0
jmp 0x10009de3
push eax
mov eax, esp
mov dword [ebp - 0x168], eax
push eax
mov eax, esp
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x190], 0x484d8fef
jmp 0x10009de3
mov ecx, dword [0x1008d36c]
mov eax, dword [0x1008d368]
mov edx, ecx
add edx, 0x5bc7cd49
sub edx, 1
sub edx, 0x5bc7cd49
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete bl
cmp eax, 0xa
setl dh
mov al, bl
xor al, 0xff
mov ah, dh
xor ah, 0xff
mov cl, 1
xor cl, 1
mov dl, al
and dl, 0xff
and bl, cl
mov ch, ah
and ch, 0xff
and dh, cl
or dl, bl
or ch, dh
xor dl, ch
or al, ah
xor al, 0xff
or cl, 1
and al, cl
or dl, al
mov eax, 0xde60681b
mov ecx, 0x89d2645e
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x190], eax
jmp 0x10009de3
mov eax, dword [ebp - 0x194]
push eax
mov ecx, esp
mov dword [ebp - 0x160], ecx
push eax
mov ecx, esp
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x16c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x170], eax
lea eax, [ebp - 0x11c]
xor ecx, ecx
sub esp, 0xc
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0xc
call fcn.10026200
add esp, 0xc
mov eax, dword [ebp - 0x16c]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x174], eax
cmp dword [ebp - 0x174], 0
setne al
and al, 1
mov byte [ebp - 0x155], al
mov ecx, dword [0x1008d36c]
mov eax, dword [0x1008d368]
mov edx, ecx
sub edx, 0x4bed6e1
sub edx, 1
add edx, 0x4bed6e1
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete bl
cmp eax, 0xa
setl dh
mov al, bl
xor al, 0xff
mov ah, dh
xor ah, 0xff
mov cl, 1
xor cl, 1
mov dl, al
and dl, 0xff
and bl, cl
mov ch, ah
and ch, 0xff
and dh, cl
or dl, bl
or ch, dh
xor dl, ch
or al, ah
xor al, 0xff
or cl, 1
and al, cl
or dl, al
mov eax, 0xde60681b
mov ecx, 0x76f3c0a
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x190], eax
jmp 0x10009de3
mov dl, byte [ebp - 0x155]
mov eax, 0x1f027140
mov ecx, 0x3d062f51
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x190], eax
jmp 0x10009de3
mov ecx, dword [0x1008d36c]
mov eax, dword [0x1008d368]
xor esi, esi
sub esi, 1
mov edx, ecx
add edx, esi
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete bl
cmp eax, 0xa
setl dh
mov al, bl
xor al, 0xff
mov ah, dh
xor ah, 0xff
mov cl, 1
xor cl, 1
mov dl, al
and dl, 0xff
and bl, cl
mov ch, ah
and ch, 0xff
and dh, cl
or dl, bl
or ch, dh
xor dl, ch
or al, ah
xor al, 0xff
or cl, 1
and al, cl
or dl, al
mov eax, 0xf8c2c5a6
mov ecx, 0xbbc4f846
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x190], eax
jmp 0x10009de3
mov eax, dword [0x1008d36c]
mov ecx, dword [0x1008d368]
mov edx, eax
add edx, 0xbf240668
sub edx, 1
sub edx, 0xbf240668
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0xf8c2c5a6
mov ecx, 0xeb05ee99
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x190], eax
jmp 0x10009de3
mov dword [ebp - 0x190], 0x6ecfa8fd
jmp 0x10009de3
mov ecx, dword [ebp - 0x174]
mov edx, dword [ebp - 0x170]
lea eax, [ebp - 0x11c]
sub esp, 0x10
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0xc
call sub.KERNEL32.dll_K32GetModuleInformation
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x190], 0xaaa46dc2
jmp 0x10009de3
mov eax, dword [ebp - 0x154]
mov eax, dword [eax]
mov dword [ebp - 0x178], eax
lea eax, [ebp - 0x110]
mov ecx, dword [ebp - 0x174]
sub esp, 0xc
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x104
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov dword [ebp - 0x190], 0x404dc057
jmp 0x10009de3
lea eax, [ebp - 0x110]
xor ecx, ecx
sub esp, 0x1c
mov dword [esp], eax
mov dword [esp + 4], 0x80000000
mov dword [esp + 8], 1
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x17c], eax
mov edx, 0xffffffff
mov eax, 0x181cf4ce
mov ecx, 0x36739828
cmp dword [ebp - 0x17c], edx
cmove eax, ecx
mov dword [ebp - 0x190], eax
jmp 0x10009de3
mov dword [ebp - 0x190], 0x6ecfa8fd
jmp 0x10009de3
mov ecx, dword [0x1008d36c]
mov eax, dword [0x1008d368]
mov edx, ecx
add edx, 0x993ed0e2
sub edx, 1
sub edx, 0x993ed0e2
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete bl
cmp eax, 0xa
setl dh
mov al, bl
xor al, 0xff
mov ah, dh
xor ah, 0xff
mov cl, 1
xor cl, 1
mov dl, al
and dl, 0xff
and bl, cl
mov ch, ah
and ch, 0xff
and dh, cl
or dl, bl
or ch, dh
xor dl, ch
or al, ah
xor al, 0xff
or cl, 1
and al, cl
or dl, al
mov eax, 0xc2694a6a
mov ecx, 0x2c8e68bc
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x190], eax
jmp 0x10009de3
mov eax, dword [ebp - 0x17c]
xor ecx, ecx
sub esp, 0x18
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0x1000002
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [ebp - 0x180], eax
mov ecx, dword [0x1008d36c]
mov eax, dword [0x1008d368]
mov edx, ecx
sub edx, 0x4b0839ac
sub edx, 1
add edx, 0x4b0839ac
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete bl
cmp eax, 0xa
setl dh
mov al, bl
xor al, 0xff
mov ah, dh
xor ah, 0xff
mov cl, 1
xor cl, 0
mov dl, al
and dl, 0
and bl, cl
mov ch, ah
and ch, 0
and dh, cl
or dl, bl
or ch, dh
xor dl, ch
or al, ah
xor al, 0xff
or cl, 0
and al, cl
or dl, al
mov eax, 0xc2694a6a
mov ecx, 0xdcd2ef65
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x190], eax
jmp 0x10009de3
mov dword [ebp - 0x190], 0xc86fb2b9
jmp 0x10009de3
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x190], 0xfecbbf
jmp 0x10009de3
mov edx, dword [ebp - 0x150]
mov eax, 0x55f668dd
mov ecx, 0x5f403ffb
cmp edx, 0
cmovne eax, ecx
mov dword [ebp - 0x190], eax
jmp 0x10009de3
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x190], 0xe1ae756d
jmp 0x10009de3
mov eax, dword [ebp - 0x14c]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x190], 0x511ca53d
jmp 0x10009de3
mov dword [ebp - 0x190], 0x6ecfa8fd
jmp 0x10009de3
mov eax, dword [ebp - 0x180]
xor ecx, ecx
sub esp, 0x14
mov dword [esp], eax
mov dword [esp + 4], 4
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x190], 0x368b7eb6
jmp 0x10009de3
mov eax, dword [ebp - 0x188]
add eax, 0x3c
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x190], 0x3f96cb04
jmp 0x10009de3
mov ecx, dword [0x1008d36c]
mov eax, dword [0x1008d368]
mov edx, ecx
add edx, 0x5e13c11f
sub edx, 1
sub edx, 0x5e13c11f
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete bl
cmp eax, 0xa
setl dh
mov al, bl
xor al, 0xff
mov ah, dh
xor ah, 0xff
mov cl, 1
xor cl, 0
mov dl, al
and dl, 0
and bl, cl
mov ch, ah
and ch, 0
and dh, cl
or dl, bl
or ch, dh
xor dl, ch
or al, ah
xor al, 0xff
or cl, 0
and al, cl
or dl, al
mov eax, 0x63a58051
mov ecx, 0x2419b71c
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x190], eax
jmp 0x10009de3
mov eax, dword [ebp - 0x144]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x148]
add eax, 0x6ad140a7
add eax, ecx
sub eax, 0x6ad140a7
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x168]
mov word [eax], 0
mov eax, dword [0x1008d36c]
mov ecx, dword [0x1008d368]
mov edx, eax
sub edx, 0xa7c40d06
sub edx, 1
add edx, 0xa7c40d06
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0x63a58051
mov ecx, 0x164694e9
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x190], eax
jmp 0x10009de3
mov dword [ebp - 0x190], 0xf3ea2ecd
jmp 0x10009de3
mov eax, dword [ebp - 0x168]
movzx eax, word [eax]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x190], 0x1589744c
jmp 0x10009de3
mov eax, dword [ebp - 0x13c]
movzx ecx, word [eax + 6]
mov eax, dword [ebp - 0x140]
cmp eax, ecx
setl al
and al, 1
mov byte [ebp - 0x135], al
mov dword [ebp - 0x190], 0x23440728
jmp 0x10009de3
mov dl, byte [ebp - 0x135]
mov eax, 0x69268c7a
mov ecx, 0xec75d15d
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x190], eax
jmp 0x10009de3
mov eax, dword [ebp - 0x18c]
xor ecx, ecx
sub ecx, eax
xor eax, eax
sub eax, 0x18
add ecx, eax
xor eax, eax
sub eax, ecx
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x18c]
add eax, 4
add eax, 0x10
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x190], 0x205ba072
jmp 0x10009de3
mov eax, dword [ebp - 0x130]
mov ax, word [eax]
mov word [ebp - 0x12c], ax
mov dword [ebp - 0x190], 0x1055e740
jmp 0x10009de3
mov ax, word [ebp - 0x12c]
movzx edx, ax
mov ecx, dword [ebp - 0x134]
xor eax, eax
sub eax, ecx
xor ecx, ecx
sub ecx, edx
add eax, ecx
xor ecx, ecx
sub ecx, eax
mov eax, dword [ebp - 0x168]
movzx eax, word [eax]
imul eax, eax, 0x28
sub ecx, 0x97b0d5ec
add ecx, eax
add ecx, 0x97b0d5ec
mov eax, dword [ebp - 0x164]
mov dword [eax], ecx
mov eax, dword [ebp - 0x164]
mov ecx, dword [eax]
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], 0x10033928
call fcn.10029b60
add esp, 8
mov edx, eax
mov eax, 0xc23c5dfe
mov ecx, 0x9f939c70
cmp edx, 0
cmovne eax, ecx
mov dword [ebp - 0x190], eax
jmp 0x10009de3
mov eax, dword [ebp - 0x160]
mov dword [eax], 0
mov eax, dword [ebp - 0x164]
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 0x178]
mov eax, dword [ebp - 0x164]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
add edx, 0xbcffd896
add edx, eax
sub edx, 0xbcffd896
mov eax, dword [ebp - 0x160]
sub esp, 0x10
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp eax, 0
setne al
and al, 1
mov byte [ebp - 0x129], al
mov dword [ebp - 0x190], 0xa39616a6
jmp 0x10009de3
mov cl, byte [ebp - 0x129]
and cl, 1
mov eax, dword [ebp - 0x15c]
mov byte [eax], cl
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x190], 0xbbbfd6a9
jmp 0x10009de3
mov ecx, dword [0x1008d36c]
mov eax, dword [0x1008d368]
mov edx, ecx
add edx, 0xe452bb96
sub edx, 1
sub edx, 0xe452bb96
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete bl
cmp eax, 0xa
setl dh
mov al, bl
xor al, 0xff
mov ah, dh
xor ah, 0xff
mov cl, 1
xor cl, 1
mov dl, al
and dl, 0xff
and bl, cl
mov ch, ah
and ch, 0xff
and dh, cl
or dl, bl
or ch, dh
xor dl, ch
or al, ah
xor al, 0xff
or cl, 1
and al, cl
or dl, al
mov eax, 0x2692f4e3
mov ecx, 0xd3736a9b
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x190], eax
jmp 0x10009de3
mov edx, dword [ebp - 0x128]
mov eax, dword [ebp - 0x164]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
sub edx, 0xcc3a81cf
add edx, eax
add edx, 0xcc3a81cf
mov ecx, dword [ebp - 0x184]
mov eax, dword [ebp - 0x164]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
add ecx, 0x582a8c90
add ecx, eax
sub ecx, 0x582a8c90
mov eax, dword [ebp - 0x164]
mov eax, dword [eax]
mov eax, dword [eax + 8]
sub esp, 0xc
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.10026360
add esp, 0xc
mov eax, dword [ebp - 0x160]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x164]
mov eax, dword [eax]
mov edx, dword [eax + 8]
mov esi, dword [ebp - 0x178]
mov eax, dword [ebp - 0x164]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
add esi, 0xf45d1113
add esi, eax
sub esi, 0xf45d1113
mov eax, dword [ebp - 0x160]
sub esp, 0x10
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp eax, 0
setne cl
and cl, 1
mov eax, dword [ebp - 0x15c]
mov byte [eax], cl
mov ecx, dword [0x1008d36c]
mov eax, dword [0x1008d368]
mov edx, ecx
sub edx, 0xadadcd56
sub edx, 1
add edx, 0xadadcd56
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete bl
cmp eax, 0xa
setl dh
mov al, bl
xor al, 0xff
mov ah, dh
xor ah, 0xff
mov cl, 1
xor cl, 1
mov dl, al
and dl, 0xff
and bl, cl
mov ch, ah
and ch, 0xff
and dh, cl
or dl, bl
or ch, dh
xor dl, ch
or al, ah
xor al, 0xff
or cl, 1
and al, cl
or dl, al
mov eax, 0x2692f4e3
mov ecx, 0x642ffec8
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x190], eax
jmp 0x10009de3
mov dword [ebp - 0x190], 0x9f939c70
jmp 0x10009de3
mov dword [ebp - 0x190], 0x437698a
jmp 0x10009de3
mov eax, dword [ebp - 0x168]
mov ax, word [eax]
mov word [ebp - 0x122], ax
mov dword [ebp - 0x190], 0xd82c7494
jmp 0x10009de3
mov cx, word [ebp - 0x122]
sub cx, 0x4870
add cx, 1
add cx, 0x4870
mov eax, dword [ebp - 0x168]
mov word [eax], cx
mov dword [ebp - 0x190], 0x766c970c
jmp 0x10009de3
mov dword [ebp - 0x190], 0xf3ea2ecd
jmp 0x10009de3
mov eax, dword [0x1008d36c]
mov ecx, dword [0x1008d368]
xor esi, esi
sub esi, 1
mov edx, eax
add edx, esi
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0xa3829f07
mov ecx, 0x5083ef3e
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x190], eax
jmp 0x10009de3
mov eax, dword [ebp - 0x17c]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x180]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x1008d36c]
mov ecx, dword [0x1008d368]
xor esi, esi
sub esi, 1
mov edx, eax
add edx, esi
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0xa3829f07
mov ecx, 0x8558558b
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x190], eax
jmp 0x10009de3
mov dword [ebp - 0x190], 0xb5c06c8d
jmp 0x10009de3
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x190], 0xaf6fc7a6
jmp 0x10009de3
mov eax, dword [ebp - 0x120]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x190], 0x6ecfa8fd
jmp 0x10009de3
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.10025460
lea esp, [ebp - 8]
pop esi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x16c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x170], eax
lea eax, [ebp - 0x11c]
xor ecx, ecx
sub esp, 0xc
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0xc
call fcn.10026200
add esp, 0xc
mov eax, dword [ebp - 0x16c]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x190], 0x89d2645e
jmp 0x10009de3
mov dword [ebp - 0x190], 0xbbc4f846
jmp 0x10009de3
mov eax, dword [ebp - 0x17c]
xor ecx, ecx
sub esp, 0x18
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0x1000002
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x190], 0x2c8e68bc
jmp 0x10009de3
mov eax, dword [ebp - 0x144]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x148]
mov eax, dword [ebp - 0x148]
mov eax, dword [ebp - 0x148]
mov eax, dword [ebp - 0x148]
mov eax, dword [ebp - 0x148]
mov eax, dword [ebp - 0x148]
sub eax, 0xf08f4b
add eax, ecx
add eax, 0xf08f4b
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x168]
mov word [eax], 0
mov dword [ebp - 0x190], 0x2419b71c
jmp 0x10009de3
mov ecx, dword [ebp - 0x128]
mov eax, dword [ebp - 0x164]
mov eax, dword [eax]
mov edx, dword [eax + 0xc]
xor eax, eax
sub eax, ecx
xor ecx, ecx
sub ecx, edx
add eax, ecx
xor edx, edx
sub edx, eax
mov ecx, dword [ebp - 0x184]
mov eax, dword [ebp - 0x164]
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
xor eax, eax
sub eax, ecx
xor ecx, ecx
sub ecx, esi
add eax, ecx
xor ecx, ecx
sub ecx, eax
mov eax, dword [ebp - 0x164]
mov eax, dword [eax]
mov eax, dword [eax + 8]
sub esp, 0xc
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.10026360
add esp, 0xc
mov eax, dword [ebp - 0x160]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x164]
mov eax, dword [eax]
mov edx, dword [eax + 8]
mov esi, dword [ebp - 0x178]
mov eax, dword [ebp - 0x164]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
sub esi, 0x360a5d19
add esi, eax
add esi, 0x360a5d19
mov eax, dword [ebp - 0x160]
sub esp, 0x10
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp eax, 0
setne cl
and cl, 1
mov eax, dword [ebp - 0x15c]
mov byte [eax], cl
mov dword [ebp - 0x190], 0xd3736a9b
jmp 0x10009de3
mov eax, dword [ebp - 0x17c]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x180]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x190], 0x5083ef3e
jmp 0x10008b78