Function at 0x1002e2f0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10085f59
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x23c
push esi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], 0
xor eax, eax
mov byte [ebp - 0x11], 1
push 0x1d602
push 0
mov eax, dword [ebp - 0x10]
add eax, 0x3c
push eax
call fcn.10063ea0
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x1d640]
mov dword [ebp - 0x78], edx
push 2
mov ecx, dword [ebp - 0x78]
call fcn.1001b500
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp + 8], eax
je 0x1002e373
mov eax, dword [ebp + 8]
push eax
push 0
push 0x1c39
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x1002e3b0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x1d640]
mov dword [ebp - 0x80], edx
push 0xd
mov dl, 0x43
mov ecx, 0x10097888
call fcn.1005ef80
add esp, 4
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
push eax
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.100042b0
add esp, 8
xor al, al
jmp 0x1002f483
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
mov dword [edx + 0x1d6b4], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov dword [ecx + 0x1d6b8], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x4e], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp + 8], eax
je 0x1002e418
mov edx, dword [ebp + 8]
push edx
mov ecx, 0x100afb35
call fcn.10059680
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x1d6bc], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x1d6bc], 0
jne 0x1002e416
mov eax, dword [ebp + 8]
push eax
mov ecx, 0x100afb35
call fcn.100598b0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x1d6bc], eax
jmp 0x1002e429
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x1d6bc], eax
call fcn.1000a100
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x1d6bc]
mov dword [ebp - 0x84], ecx
push str.xxxx
push str.cb_s
push 0x3ff
mov edx, dword [ebp - 0x84]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x88]
call fcn.10052290
test eax, eax
je 0x1002e4b7
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x1d6d0], 1
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x1d640]
mov dword [ebp - 0x90], eax
push 0x10
mov dl, 0x43
mov ecx, 0x100978a8
call fcn.1005ef80
add esp, 4
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
push ecx
mov edx, dword [ebp - 0x90]
push edx
call fcn.1001b520
add esp, 8
jmp 0x1002e663
mov dword [ebp - 0x44], 0x100978bc
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x94], ecx
mov edx, dword [ebp - 0x2c]
mov al, byte [edx]
mov byte [ebp - 0x1d], al
add dword [ebp - 0x2c], 1
cmp byte [ebp - 0x1d], 0
jne 0x1002e4d0
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [ebp - 0x94]
mov dword [ebp - 0x98], ecx
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0xa4], edx
push 0x300
call fcn.10061c92
add esp, 4
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x38], eax
push 0x300
push 0
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.10063ea0
add esp, 0xc
mov edx, dword [0x100afbd8]
mov dword [ebp - 0xa0], edx
push 0
push 0x300
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x1d6bc]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [ebp - 0xa0]
mov dword [ebp - 0x34], 0
jmp 0x1002e569
mov ecx, dword [ebp - 0x34]
add ecx, 1
mov dword [ebp - 0x34], ecx
cmp dword [ebp - 0x34], 0x300
jae 0x1002e64b
mov edx, dword [ebp - 0xa4]
push edx
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, dword [ebp - 0x34]
push ecx
call fcn.100702a0
add esp, 0xc
test eax, eax
jne 0x1002e646
mov edx, dword [ebp - 0x18]
push edx
mov ecx, 0x100afb35
call fcn.10059950
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x1d6bc], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x1d6bc], 0
jne 0x1002e5fe
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x1d640]
mov dword [ebp - 0xac], ecx
push 0xf
mov dl, 0x43
mov ecx, 0x100978c0
call fcn.1005ef80
add esp, 4
mov dword [ebp - 0xa8], eax
mov edx, dword [ebp - 0xa8]
push edx
mov eax, dword [ebp - 0xac]
push eax
call fcn.100042b0
add esp, 8
xor al, al
jmp 0x1002f483
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x1d6d0], 1
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x1d640]
mov dword [ebp - 0xb4], eax
push 0x10
mov dl, 0x43
mov ecx, 0x100978d4
call fcn.1005ef80
add esp, 4
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xb0]
push ecx
mov edx, dword [ebp - 0xb4]
push edx
call fcn.1001b520
add esp, 8
jmp 0x1002e64b
jmp 0x1002e560
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xb8]
push ecx
call fcn.10061814
add esp, 4
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x1d6bc], 0
jne 0x1002e6b2
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x1d640]
mov dword [ebp - 0xc0], ecx
push 0xa
mov dl, 0x43
mov ecx, 0x100978e8
call fcn.1005ef80
add esp, 4
mov dword [ebp - 0xbc], eax
mov edx, dword [ebp - 0xbc]
push edx
mov eax, dword [ebp - 0xc0]
push eax
call fcn.100042b0
add esp, 8
xor al, al
jmp 0x1002f483
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x1d640]
mov dword [ebp - 0xcc], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x1d6bc]
mov dword [ebp - 0xc4], ecx
push 0x1e
mov dl, 0x43
mov ecx, 0x100978f8
call fcn.1005ef80
add esp, 4
mov dword [ebp - 0xc8], eax
mov edx, dword [ebp - 0xc4]
push edx
mov eax, dword [ebp - 0xc8]
push eax
mov ecx, dword [ebp - 0xcc]
push ecx
call fcn.1001b520
add esp, 0xc
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x1d6bc]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, 0x100afb35
call fcn.10059a00
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x1d6c0], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x1d6c0], 0
jne 0x1002e774
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x1d640]
mov dword [ebp - 0xd4], edx
push 0xa
mov dl, 0x43
mov ecx, 0x1009791c
call fcn.1005ef80
add esp, 4
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
push eax
mov ecx, dword [ebp - 0xd4]
push ecx
call fcn.100042b0
add esp, 8
xor al, al
jmp 0x1002f483
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x1d640]
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x1d6c0]
mov dword [ebp - 0xd8], edx
push 0x1b
mov dl, 0x43
mov ecx, 0x1009792c
call fcn.1005ef80
add esp, 4
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xd8]
push eax
mov ecx, dword [ebp - 0xdc]
push ecx
mov edx, dword [ebp - 0xe0]
push edx
call fcn.1001b520
add esp, 0xc
call fcn.1000a100
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x1d6c0]
mov dword [ebp - 0xe4], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x1d6bc]
mov dword [ebp - 0xe8], eax
mov ecx, dword [ebp - 0xe4]
push ecx
mov edx, dword [ebp - 0xe8]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0xec]
call fcn.1001b650
mov dword [ebp - 0x28], eax
call fcn.1000a100
mov dword [ebp - 0xf8], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x1d6c0]
mov dword [ebp - 0xf0], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x1d6bc]
add ecx, 0x1000
mov dword [ebp - 0xf4], ecx
push str.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
push 0x10097984
mov edx, dword [ebp - 0xf0]
push edx
mov eax, dword [ebp - 0xf4]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0xf8]
call fcn.10052290
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x1d6c4], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax + 0x1d6c4]
sub edx, dword [ecx + 0x1d6bc]
sub edx, 0x1000
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x1d6c4], edx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x1d640]
mov dword [ebp - 0x104], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x1d6c4]
mov dword [ebp - 0xfc], ecx
push 0xd
mov dl, 0x43
mov ecx, 0x100979bc
call fcn.1005ef80
add esp, 4
mov dword [ebp - 0x100], eax
mov edx, dword [ebp - 0xfc]
push edx
mov eax, dword [ebp - 0x100]
push eax
mov ecx, dword [ebp - 0x104]
push ecx
call fcn.1001b520
add esp, 0xc
push 1
push str.origins2.global
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x1d6c0]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.1002e240
add esp, 0x10
test eax, eax
je 0x1002e909
mov byte [0x100afb36], 1
mov edx, dword [ebp - 0x10]
add edx, 0x1d644
mov dword [ebp - 0x108], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x1d6c0]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x1d6bc]
push eax
mov ecx, dword [ebp - 0x108]
call fcn.1001b740
mov ecx, dword [ebp - 0x10]
add ecx, 0x1d644
mov dword [ebp - 0x10c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x1d6c0]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x1d6c4]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x1d6bc]
add ecx, 0x1000
push ecx
mov edx, dword [ebp - 0x28]
add edx, 0x1000
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10c]
call fcn.1004b2f0
mov ecx, dword [ebp - 0x10]
add ecx, 0x1d684
mov dword [ebp - 0x110], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x1d6c0]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x1d6bc]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x110]
call fcn.1001b850
mov ecx, dword [ebp - 0x10]
add ecx, 0x1d684
mov dword [ebp - 0x114], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x1d6c0]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x1d6bc]
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x10]
add edx, 0x1d644
push edx
mov ecx, dword [ebp - 0x114]
call fcn.10058190
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x1d640]
mov dword [ebp - 0x11c], ecx
push 0x14
mov dl, 0x43
mov ecx, 0x100979dc
call fcn.1005ef80
add esp, 4
mov dword [ebp - 0x118], eax
mov edx, dword [ebp - 0x118]
push edx
mov eax, dword [ebp - 0x11c]
push eax
call fcn.1001b520
add esp, 8
mov ecx, 0x1002ba80
sub ecx, 0x1001d210
mov dword [ebp - 0x40], ecx
mov edx, 0x15000
mov ecx, 0x2000
call fcn.1005e4a0
mov dword [ebp - 0x30], eax
push 0x40
push 0x103000
mov edx, dword [ebp - 0x40]
add edx, dword [ebp - 0x30]
push edx
push 0
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, eax
mov edx, dword [ebp - 0x30]
sub edx, 1
xor ecx, ecx
call fcn.1005e4a0
add esi, eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x1d6c8], esi
mov edx, 0x15000
mov ecx, 0x2000
call fcn.1005e4a0
mov dword [ebp - 0x30], eax
push 0x40
push 0x103000
mov edx, dword [ebp - 0x30]
add edx, 0x1d602
push edx
push 0
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, eax
mov edx, dword [ebp - 0x30]
sub edx, 1
xor ecx, ecx
call fcn.1005e4a0
add esi, eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x1d6cc], esi
mov edx, dword [ebp - 0x10]
add edx, 0xb866
mov eax, dword [ebp - 0x10]
add eax, 0x3c
sub edx, eax
mov ecx, dword [ebp - 0x10]
add edx, dword [ecx + 0x1d6cc]
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x807a], edx
mov ecx, dword [ebp - 0x10]
add ecx, 0xb866
mov edx, dword [ebp - 0x10]
add edx, 0x3c
sub ecx, edx
mov eax, 0x1d602
sub eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x8082], eax
push 0x40
push 0x103000
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x8082]
push eax
push 0
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x807a], eax
mov eax, dword [0x100afbdc]
mov dword [ebp - 0x120], eax
push 0
mov ecx, dword [ebp - 0x40]
push ecx
push 0x1001d210
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x1d6c8]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [ebp - 0x120]
call fcn.1000a100
mov dword [ebp - 0x12c], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x1d6cc]
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x1d6c8]
mov dword [ebp - 0x128], edx
mov eax, dword [ebp - 0x124]
push eax
push 0x31234567
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x128]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x12c]
call fcn.10052730
push 0x804
call fcn.10061819
add esp, 4
mov dword [ebp - 0x48], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x48], 0
je 0x1002ec06
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x1d6b4]
push edx
mov eax, dword [ebp - 0x10]
add eax, 0x1d684
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x1d6c0]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x1d6bc]
push edx
mov ecx, dword [ebp - 0x48]
call fcn.1001b900
mov dword [ebp - 0x4c], eax
jmp 0x1002ec0d
mov dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x130], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x130]
mov dword [ecx + 0x1d6a8], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x1d6a8]
mov dword [ebp - 0x134], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x1d6b4]
push eax
mov ecx, dword [ebp - 0x134]
call fcn.10059ce0
movzx ecx, al
test ecx, ecx
jne 0x1002ec9c
mov ecx, dword [ebp - 0x10]
add ecx, 0x1d644
call fcn.1004a8f0
mov byte [ebp - 0x11], 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x1d6a8]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x1002ec8d
push 1
mov ecx, dword [ebp - 0x50]
call fcn.1002f4a0
mov dword [ebp - 0x138], eax
jmp 0x1002ec97
mov dword [ebp - 0x138], 0
jmp 0x1002f45a
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x5d], 0
push 1
push str.Sena2
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x1d6c0]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.1002e240
add esp, 0x10
test eax, eax
je 0x1002ecd1
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x5d], 1
push 0
push str.elym2
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x1d6c0]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.1002e240
add esp, 0x10
test eax, eax
je 0x1002ecfc
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x5d], 2
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 0x1d6d0]
test edx, edx
je 0x1002ed14
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x5d], 3
push 0x160
call fcn.10061819
add esp, 4
mov dword [ebp - 0x54], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x54], 0
je 0x1002ed64
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x1d6c0]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x1d6bc]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x1d6b8]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x54]
call fcn.1001b7a0
mov dword [ebp - 0x58], eax
jmp 0x1002ed6b
mov dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x13c], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x13c]
mov dword [ecx + 0x1d6ac], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x1d6ac]
mov dword [ebp - 0x140], ecx
lea edx, [ebp - 0x39]
push edx
mov ecx, dword [ebp - 0x140]
call fcn.10053800
mov ecx, eax
call fcn.100436e0
movzx eax, al
test eax, eax
jne 0x1002ee3c
mov ecx, dword [ebp - 0x10]
add ecx, 0x1d644
call fcn.1004a8f0
mov byte [ebp - 0x11], 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x1d6a8]
mov dword [ebp - 0x5c], edx
cmp dword [ebp - 0x5c], 0
je 0x1002edf0
push 1
mov ecx, dword [ebp - 0x5c]
call fcn.1002f4a0
mov dword [ebp - 0x144], eax
jmp 0x1002edfa
mov dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x1d6a8], 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x1d6ac]
mov dword [ebp - 0x148], edx
push 0x160
mov eax, dword [ebp - 0x148]
push eax
call fcn.10061b63
add esp, 8
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x1d6ac], 0
jmp 0x1002f45a
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x1d6ac]
mov dword [ebp - 0x14c], eax
lea ecx, [ebp - 0x3a]
push ecx
mov ecx, dword [ebp - 0x14c]
call fcn.10052a20
mov ecx, eax
call fcn.100436e0
movzx edx, al
test edx, edx
jne 0x1002eeee
mov ecx, dword [ebp - 0x10]
add ecx, 0x1d644
call fcn.1004a8f0
mov byte [ebp - 0x11], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x1d6a8]
mov dword [ebp - 0x60], ecx
cmp dword [ebp - 0x60], 0
je 0x1002eea2
push 1
mov ecx, dword [ebp - 0x60]
call fcn.1002f4a0
mov dword [ebp - 0x150], eax
jmp 0x1002eeac
mov dword [ebp - 0x150], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x1d6a8], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x1d6ac]
mov dword [ebp - 0x154], ecx
push 0x160
mov edx, dword [ebp - 0x154]
push edx
call fcn.10061b63
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x1d6ac], 0
jmp 0x1002f45a
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x1d6ac]
call fcn.100558b0
movzx edx, al
test edx, edx
jne 0x1002ef89
mov ecx, dword [ebp - 0x10]
add ecx, 0x1d644
call fcn.1004a8f0
mov byte [ebp - 0x11], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x1d6a8]
mov dword [ebp - 0x64], ecx
cmp dword [ebp - 0x64], 0
je 0x1002ef3d
push 1
mov ecx, dword [ebp - 0x64]
call fcn.1002f4a0
mov dword [ebp - 0x158], eax
jmp 0x1002ef47
mov dword [ebp - 0x158], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x1d6a8], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x1d6ac]
mov dword [ebp - 0x15c], ecx
push 0x160
mov edx, dword [ebp - 0x15c]
push edx
call fcn.10061b63
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x1d6ac], 0
jmp 0x1002f45a
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x1d6ac]
call fcn.10054590
movzx edx, al
test edx, edx
jne 0x1002f024
mov ecx, dword [ebp - 0x10]
add ecx, 0x1d644
call fcn.1004a8f0
mov byte [ebp - 0x11], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x1d6a8]
mov dword [ebp - 0x68], ecx
cmp dword [ebp - 0x68], 0
je 0x1002efd8
push 1
mov ecx, dword [ebp - 0x68]
call fcn.1002f4a0
mov dword [ebp - 0x160], eax
jmp 0x1002efe2
mov dword [ebp - 0x160], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x1d6a8], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x1d6ac]
mov dword [ebp - 0x164], ecx
push 0x160
mov edx, dword [ebp - 0x164]
push edx
call fcn.10061b63
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x1d6ac], 0
jmp 0x1002f45a
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x1d6ac]
call fcn.10056010
movzx edx, al
test edx, edx
jne 0x1002f0bf
mov ecx, dword [ebp - 0x10]
add ecx, 0x1d644
call fcn.1004a8f0
mov byte [ebp - 0x11], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x1d6a8]
mov dword [ebp - 0x6c], ecx
cmp dword [ebp - 0x6c], 0
je 0x1002f073
push 1
mov ecx, dword [ebp - 0x6c]
call fcn.1002f4a0
mov dword [ebp - 0x168], eax
jmp 0x1002f07d
mov dword [ebp - 0x168], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x1d6a8], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x1d6ac]
mov dword [ebp - 0x16c], ecx
push 0x160
mov edx, dword [ebp - 0x16c]
push edx
call fcn.10061b63
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x1d6ac], 0
jmp 0x1002f45a
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x1d6ac]
call fcn.10056500
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x1d6ac]
call fcn.10056600
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x1d6ac]
call fcn.10056730
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x1d6ac]
call fcn.10056f40
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x1d6ac]
call fcn.10057040
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x5d], 3
jne 0x1002f21c
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x20]
push ecx
lea edx, [ebp - 0x200]
push edx
call fcn.10004160
add esp, 8
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x174], eax
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x1c]
or ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x174]
mov dword [ebp - 0x180], edx
push 0x10097a1c
mov eax, dword [ebp - 0x10]
add eax, 0x1d6d4
push eax
lea ecx, [ebp - 0x1e8]
push ecx
call fcn.10013680
add esp, 0xc
mov dword [ebp - 0x178], eax
mov edx, dword [ebp - 0x178]
mov dword [ebp - 0x17c], edx
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x1c]
or eax, 2
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x17c]
mov dword [ebp - 0x184], ecx
mov edx, dword [ebp - 0x180]
push edx
mov eax, dword [ebp - 0x184]
push eax
lea ecx, [ebp - 0x1d0]
push ecx
call fcn.10013940
add esp, 0xc
mov dword [ebp - 0x188], eax
mov edx, dword [ebp - 0x188]
mov dword [ebp - 0x18c], edx
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x1c]
or eax, 4
mov dword [ebp - 0x1c], eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1b4], esp
push 0x10097a04
mov edx, dword [ebp - 0x18c]
push edx
push ecx
call fcn.10013730
add esp, 0xc
call fcn.1005e410
add esp, 0x18
mov byte [ebp - 0x1e], al
movzx eax, byte [ebp - 0x1e]
test eax, eax
je 0x1002f21c
mov dword [ebp - 0x70], 1
jmp 0x1002f223
mov dword [ebp - 0x70], 0
mov cl, byte [ebp - 0x70]
mov byte [ebp - 0x1f], cl
mov dword [ebp - 4], 3
mov edx, dword [ebp - 0x1c]
and edx, 4
je 0x1002f247
and dword [ebp - 0x1c], 0xfffffffb
lea ecx, [ebp - 0x1d0]
call fcn.1000abe0
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
and eax, 2
je 0x1002f265
and dword [ebp - 0x1c], 0xfffffffd
lea ecx, [ebp - 0x1e8]
call fcn.1000abe0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
and ecx, 1
je 0x1002f283
and dword [ebp - 0x1c], 0xfffffffe
lea ecx, [ebp - 0x200]
call fcn.1000abe0
movzx edx, byte [ebp - 0x1f]
test edx, edx
je 0x1002f299
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x1d6ac]
call fcn.100571b0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x20]
push eax
lea ecx, [ebp - 0x248]
push ecx
call fcn.10004160
add esp, 8
mov dword [ebp - 0x190], eax
mov edx, dword [ebp - 0x190]
mov dword [ebp - 0x194], edx
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x1a0], eax
push 0x10097a48
mov ecx, dword [ebp - 0x10]
add ecx, 0x1d6d4
push ecx
lea edx, [ebp - 0x230]
push edx
call fcn.10013680
add esp, 0xc
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x19c], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x19c]
mov dword [ebp - 0x1a4], ecx
mov edx, dword [ebp - 0x1a0]
push edx
mov eax, dword [ebp - 0x1a4]
push eax
lea ecx, [ebp - 0x218]
push ecx
call fcn.10013940
add esp, 0xc
mov dword [ebp - 0x1a8], eax
mov edx, dword [ebp - 0x1a8]
mov dword [ebp - 0x1ac], edx
mov byte [ebp - 4], 7
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0x1b8], esp
push 0x10097a38
mov ecx, dword [ebp - 0x1ac]
push ecx
push eax
call fcn.10013730
add esp, 0xc
call fcn.1005e410
add esp, 0x18
mov byte [ebp - 0x20], al
movzx edx, byte [ebp - 0x20]
test edx, edx
jne 0x1002f383
mov dword [ebp - 0x74], 1
jmp 0x1002f38a
mov dword [ebp - 0x74], 0
mov al, byte [ebp - 0x74]
mov byte [ebp - 0x21], al
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x218]
call fcn.1000abe0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x230]
call fcn.1000abe0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.1000abe0
movzx ecx, byte [ebp - 0x21]
test ecx, ecx
je 0x1002f44e
push 0x40
push 0x103000
push 0x61a80
push 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x1d6b4]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x1d60b], eax
push 0x40
push 0x103000
push 0x186a0
push 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x1d6b4]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x1d610], eax
push 0x40
push 0x103000
push 0x186a0
push 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x1d6b4]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x1d617], eax
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x1d605], 1
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.1002c120
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x1b0], ecx
mov edx, dword [ebp - 0x1b0]
push edx
call fcn.10061814
add esp, 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x1d644
call fcn.1004a8f0
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4