Function at 0x1003c8f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10064fec
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x364
push esi
push edi
mov dword [ebp - 0x38], ecx
lea ecx, [ebp - 0x18]
call fcn.1003a4b0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x18]
call fcn.1003c2b0
push 0x10029b44
lea ecx, [ebp - 0x5c]
call fcn.1003a330
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x18]
call fcn.1003c280
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.1003a6f0
lea ecx, [ebp - 0x18]
call fcn.1003d490
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x18]
call fcn.1003c2b0
push 0x10029b50
lea ecx, [ebp - 0x74]
call fcn.1003a330
mov byte [ebp - 4], 2
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x18]
call fcn.1003c280
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.1003a6f0
lea ecx, [ebp - 0x18]
call fcn.1003d490
mov ecx, 0x10
mov esi, 0x10029b60
lea edi, [ebp - 0x370]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x18]
call fcn.1003c2b0
push 0x10029ba4
lea ecx, [ebp - 0x8c]
call fcn.1003a330
mov byte [ebp - 4], 3
lea edx, [ebp - 0x8c]
push edx
lea ecx, [ebp - 0x18]
call fcn.1003c280
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x8c]
call fcn.1003a6f0
lea ecx, [ebp - 0x18]
call fcn.1003d490
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x18]
call fcn.1003c2b0
push 0x10029bb0
lea ecx, [ebp - 0xa4]
call fcn.1003a330
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa4]
push ecx
lea ecx, [ebp - 0x18]
call fcn.1003c280
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa4]
call fcn.1003a6f0
lea ecx, [ebp - 0x18]
call fcn.1003d490
push 0x40
push 0x3000
mov edx, dword [ebp + 0xc]
imul eax, dword [edx], 3
push eax
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x18]
call fcn.1003c2b0
push 0x10029bbc
lea ecx, [ebp - 0xbc]
call fcn.1003a330
mov byte [ebp - 4], 5
lea edx, [ebp - 0xbc]
push edx
lea ecx, [ebp - 0x18]
call fcn.1003c280
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xbc]
call fcn.1003a6f0
lea ecx, [ebp - 0x18]
call fcn.1003d490
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x18]
call fcn.1003c2b0
push 0x10029bc8
lea ecx, [ebp - 0xd4]
call fcn.1003a330
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xd4]
push ecx
lea ecx, [ebp - 0x18]
call fcn.1003c280
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd4]
call fcn.1003a6f0
lea ecx, [ebp - 0x18]
call fcn.1003d490
mov dword [ebp - 0x2c], 0
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x18]
call fcn.1003c2b0
push 0x10029bd4
lea ecx, [ebp - 0xec]
call fcn.1003a330
mov byte [ebp - 4], 7
lea edx, [ebp - 0xec]
push edx
lea ecx, [ebp - 0x18]
call fcn.1003c280
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xec]
call fcn.1003a6f0
lea ecx, [ebp - 0x18]
call fcn.1003d490
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x18]
call fcn.1003c2b0
push 0x10029be0
lea ecx, [ebp - 0x104]
call fcn.1003a330
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x104]
push ecx
lea ecx, [ebp - 0x18]
call fcn.1003c280
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x104]
call fcn.1003a6f0
lea ecx, [ebp - 0x18]
call fcn.1003d490
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x34]
sub eax, 1
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x40], 0
je 0x1003d35f
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x30]
movzx edx, byte [ecx]
cmp edx, 0x3d
je 0x1003d35f
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x30]
movzx ecx, byte [eax]
push ecx
mov ecx, dword [ebp - 0x38]
call fcn.1003d8f0
test eax, eax
je 0x1003d35f
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x18]
call fcn.1003c2b0
push 0x10029bec
lea ecx, [ebp - 0x11c]
call fcn.1003a330
mov byte [ebp - 4], 9
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x18]
call fcn.1003c280
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x11c]
call fcn.1003a6f0
lea ecx, [ebp - 0x18]
call fcn.1003d490
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x18]
call fcn.1003c2b0
push 0x10029bf8
lea ecx, [ebp - 0x134]
call fcn.1003a330
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x134]
push edx
lea ecx, [ebp - 0x18]
call fcn.1003c280
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x134]
call fcn.1003a6f0
lea ecx, [ebp - 0x18]
call fcn.1003d490
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x1c]
mov dl, byte [eax]
mov byte [ebp + ecx - 0x20], dl
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0x30], ecx
cmp dword [ebp - 0x1c], 4
jne 0x1003d35a
mov dword [ebp - 0x1c], 0
jmp 0x1003cca0
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 4
jge 0x1003cd5a
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x18]
call fcn.1003c2b0
push 0x10029c04
lea ecx, [ebp - 0x14c]
call fcn.1003a330
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x14c]
push ecx
lea ecx, [ebp - 0x18]
call fcn.1003c280
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14c]
call fcn.1003a6f0
lea ecx, [ebp - 0x18]
call fcn.1003d490
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x18]
call fcn.1003c2b0
push 0x10029c10
lea ecx, [ebp - 0x164]
call fcn.1003a330
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x164]
push eax
lea ecx, [ebp - 0x18]
call fcn.1003c280
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x164]
call fcn.1003a6f0
lea ecx, [ebp - 0x18]
call fcn.1003d490
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x20]
push edx
lea eax, [ebp - 0x370]
push eax
mov ecx, dword [ebp - 0x38]
call fcn.1003d8c0
mov ecx, dword [ebp - 0x1c]
mov byte [ebp + ecx - 0x20], al
jmp 0x1003cc97
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x18]
call fcn.1003c2b0
push 0x10029c1c
lea ecx, [ebp - 0x17c]
call fcn.1003a330
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x17c]
push eax
lea ecx, [ebp - 0x18]
call fcn.1003c280
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x17c]
call fcn.1003a6f0
lea ecx, [ebp - 0x18]
call fcn.1003d490
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x18]
call fcn.1003c2b0
push 0x10029c28
lea ecx, [ebp - 0x194]
call fcn.1003a330
mov byte [ebp - 4], 0xe
lea edx, [ebp - 0x194]
push edx
lea ecx, [ebp - 0x18]
call fcn.1003c280
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x194]
call fcn.1003a6f0
lea ecx, [ebp - 0x18]
call fcn.1003d490
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x18]
call fcn.1003c2b0
push 0x10029c34
lea ecx, [ebp - 0x1ac]
call fcn.1003a330
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x1ac]
push ecx
lea ecx, [ebp - 0x18]
call fcn.1003c280
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1ac]
call fcn.1003a6f0
lea ecx, [ebp - 0x18]
call fcn.1003d490
mov edx, 1
imul eax, edx, 0
movzx ecx, byte [ebp + eax - 0x20]
mov edx, 1
shl edx, 0
movzx eax, byte [ebp + edx - 0x20]
and eax, 0x30
sar eax, 4
lea ecx, [eax + ecx*4]
mov edx, 1
imul eax, edx, 0
mov byte [ebp + eax - 0x28], cl
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x18]
call fcn.1003c2b0
push 0x10029c40
lea ecx, [ebp - 0x1c4]
call fcn.1003a330
mov byte [ebp - 4], 0x10
lea edx, [ebp - 0x1c4]
push edx
lea ecx, [ebp - 0x18]
call fcn.1003c280
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c4]
call fcn.1003a6f0
lea ecx, [ebp - 0x18]
call fcn.1003d490
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x18]
call fcn.1003c2b0
push 0x10029c4c
lea ecx, [ebp - 0x1dc]
call fcn.1003a330
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x1dc]
push ecx
lea ecx, [ebp - 0x18]
call fcn.1003c280
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1dc]
call fcn.1003a6f0
lea ecx, [ebp - 0x18]
call fcn.1003d490
mov edx, 1
shl edx, 0
movzx eax, byte [ebp + edx - 0x20]
and eax, 0xf
shl eax, 4
mov ecx, 1
shl ecx, 1
movzx edx, byte [ebp + ecx - 0x20]
and edx, 0x3c
sar edx, 2
add eax, edx
mov ecx, 1
shl ecx, 0
mov byte [ebp + ecx - 0x28], al
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x18]
call fcn.1003c2b0
push 0x10029c58
lea ecx, [ebp - 0x1f4]
call fcn.1003a330
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x1f4]
push eax
lea ecx, [ebp - 0x18]
call fcn.1003c280
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1f4]
call fcn.1003a6f0
lea ecx, [ebp - 0x18]
call fcn.1003d490
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x18]
call fcn.1003c2b0
push 0x10029c64
lea ecx, [ebp - 0x20c]
call fcn.1003a330
mov byte [ebp - 4], 0x13
lea edx, [ebp - 0x20c]
push edx
lea ecx, [ebp - 0x18]
call fcn.1003c280
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20c]
call fcn.1003a6f0
lea ecx, [ebp - 0x18]
call fcn.1003d490
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x18]
call fcn.1003c2b0
push 0x10029c70
lea ecx, [ebp - 0x224]
call fcn.1003a330
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x224]
push ecx
lea ecx, [ebp - 0x18]
call fcn.1003c280
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x224]
call fcn.1003a6f0
lea ecx, [ebp - 0x18]
call fcn.1003d490
mov edx, 1
shl edx, 1
movzx eax, byte [ebp + edx - 0x20]
and eax, 3
shl eax, 6
mov ecx, 1
imul edx, ecx, 3
movzx ecx, byte [ebp + edx - 0x20]
add eax, ecx
mov edx, 1
shl edx, 1
mov byte [ebp + edx - 0x28], al
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x18]
call fcn.1003c2b0
push 0x10029c7c
lea ecx, [ebp - 0x23c]
call fcn.1003a330
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x23c]
push ecx
lea ecx, [ebp - 0x18]
call fcn.1003c280
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x23c]
call fcn.1003a6f0
lea ecx, [ebp - 0x18]
call fcn.1003d490
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x18]
call fcn.1003c2b0
push 0x10029c88
lea ecx, [ebp - 0x254]
call fcn.1003a330
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x18]
call fcn.1003c280
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x254]
call fcn.1003a6f0
lea ecx, [ebp - 0x18]
call fcn.1003d490
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x18]
call fcn.1003c2b0
push 0x10029c94
lea ecx, [ebp - 0x26c]
call fcn.1003a330
mov byte [ebp - 4], 0x17
lea edx, [ebp - 0x26c]
push edx
lea ecx, [ebp - 0x18]
call fcn.1003c280
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x26c]
call fcn.1003a6f0
lea ecx, [ebp - 0x18]
call fcn.1003d490
mov dword [ebp - 0x1c], 0
jmp 0x1003d0fc
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x1003d23b
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x18]
call fcn.1003c2b0
push 0x10029ca0
lea ecx, [ebp - 0x284]
call fcn.1003a330
mov byte [ebp - 4], 0x18
lea edx, [ebp - 0x284]
push edx
lea ecx, [ebp - 0x18]
call fcn.1003c280
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x284]
call fcn.1003a6f0
lea ecx, [ebp - 0x18]
call fcn.1003d490
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x18]
call fcn.1003c2b0
push 0x10029cac
lea ecx, [ebp - 0x29c]
call fcn.1003a330
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x29c]
push ecx
lea ecx, [ebp - 0x18]
call fcn.1003c280
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x29c]
call fcn.1003a6f0
lea ecx, [ebp - 0x18]
call fcn.1003d490
mov edx, dword [ebp - 0x3c]
add edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
mov cl, byte [ebp + eax - 0x28]
mov byte [edx], cl
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x18]
call fcn.1003c2b0
push 0x10029cb8
lea ecx, [ebp - 0x2b4]
call fcn.1003a330
mov byte [ebp - 4], 0x1a
lea eax, [ebp - 0x2b4]
push eax
lea ecx, [ebp - 0x18]
call fcn.1003c280
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2b4]
call fcn.1003a6f0
lea ecx, [ebp - 0x18]
call fcn.1003d490
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x18]
call fcn.1003c2b0
push 0x10029cc4
lea ecx, [ebp - 0x2cc]
call fcn.1003a330
mov byte [ebp - 4], 0x1b
lea edx, [ebp - 0x2cc]
push edx
lea ecx, [ebp - 0x18]
call fcn.1003c280
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2cc]
call fcn.1003a6f0
lea ecx, [ebp - 0x18]
call fcn.1003d490
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
jmp 0x1003d0f3
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x18]
call fcn.1003c2b0
push 0x10029cd0
lea ecx, [ebp - 0x2e4]
call fcn.1003a330
mov byte [ebp - 4], 0x1c
lea edx, [ebp - 0x2e4]
push edx
lea ecx, [ebp - 0x18]
call fcn.1003c280
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2e4]
call fcn.1003a6f0
lea ecx, [ebp - 0x18]
call fcn.1003d490
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x18]
call fcn.1003c2b0
push 0x10029cdc
lea ecx, [ebp - 0x2fc]
call fcn.1003a330
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x2fc]
push ecx
lea ecx, [ebp - 0x18]
call fcn.1003c280
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2fc]
call fcn.1003a6f0
lea ecx, [ebp - 0x18]
call fcn.1003d490
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x18]
call fcn.1003c2b0
push 0x10029ce8
lea ecx, [ebp - 0x314]
call fcn.1003a330
mov byte [ebp - 4], 0x1e
lea eax, [ebp - 0x314]
push eax
lea ecx, [ebp - 0x18]
call fcn.1003c280
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x314]
call fcn.1003a6f0
lea ecx, [ebp - 0x18]
call fcn.1003d490
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x18]
call fcn.1003c2b0
push 0x10029cf4
lea ecx, [ebp - 0x32c]
call fcn.1003a330
mov byte [ebp - 4], 0x1f
lea edx, [ebp - 0x32c]
push edx
lea ecx, [ebp - 0x18]
call fcn.1003c280
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x32c]
call fcn.1003a6f0
lea ecx, [ebp - 0x18]
call fcn.1003d490
jmp 0x1003cb92
cmp dword [ebp - 0x1c], 0
je 0x1003d43d
mov dword [ebp - 0x24], 0
jmp 0x1003d37b
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [ebp - 0x1c]
jge 0x1003d3a4
mov edx, dword [ebp - 0x24]
movzx eax, byte [ebp + edx - 0x20]
push eax
lea ecx, [ebp - 0x370]
push ecx
mov ecx, dword [ebp - 0x38]
call fcn.1003d8c0
mov edx, dword [ebp - 0x24]
mov byte [ebp + edx - 0x20], al
jmp 0x1003d372
mov eax, 1
imul ecx, eax, 0
movzx edx, byte [ebp + ecx - 0x20]
mov eax, 1
shl eax, 0
movzx ecx, byte [ebp + eax - 0x20]
and ecx, 0x30
sar ecx, 4
lea edx, [ecx + edx*4]
mov eax, 1
imul ecx, eax, 0
mov byte [ebp + ecx - 0x28], dl
mov edx, 1
shl edx, 0
movzx eax, byte [ebp + edx - 0x20]
and eax, 0xf
shl eax, 4
mov ecx, 1
shl ecx, 1
movzx edx, byte [ebp + ecx - 0x20]
and edx, 0x3c
sar edx, 2
add eax, edx
mov ecx, 1
shl ecx, 0
mov byte [ebp + ecx - 0x28], al
mov dword [ebp - 0x24], 0
jmp 0x1003d418
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x1c]
sub eax, 1
cmp dword [ebp - 0x24], eax
jge 0x1003d43d
mov ecx, dword [ebp - 0x3c]
add ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x24]
mov al, byte [ebp + edx - 0x28]
mov byte [ecx], al
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
jmp 0x1003d40f
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x2c]
mov dword [edx], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.1003a750
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8