Function at 0x10004c90
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100249da
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2d4
push esi
push edi
mov dword [ebp - 0x38], ecx
lea ecx, [ebp - 0x18]
call fcn.10002130
mov dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x18]
call fcn.10005b50
push 0x10027604
lea ecx, [ebp - 0x5c]
call fcn.10002060
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x18]
call fcn.100045a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.10002340
lea ecx, [ebp - 0x18]
call fcn.10005630
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x18]
call fcn.10005b50
push 0x10027624
lea ecx, [ebp - 0x74]
call fcn.10002060
mov byte [ebp - 4], 2
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x18]
call fcn.100045a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.10002340
lea ecx, [ebp - 0x18]
call fcn.10005630
mov ecx, 0x10
mov esi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
lea edi, [ebp - 0x2e0]
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.10005b50
push 0x1002768c
lea ecx, [ebp - 0x8c]
call fcn.10002060
mov byte [ebp - 4], 3
lea edx, [ebp - 0x8c]
push edx
lea ecx, [ebp - 0x18]
call fcn.100045a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x8c]
call fcn.10002340
lea ecx, [ebp - 0x18]
call fcn.10005630
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x18]
call fcn.10005b50
push 0x100276ac
lea ecx, [ebp - 0xa4]
call fcn.10002060
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa4]
push ecx
lea ecx, [ebp - 0x18]
call fcn.100045a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa4]
call fcn.10002340
lea ecx, [ebp - 0x18]
call fcn.10005630
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.10005b50
push 0x100276cc
lea ecx, [ebp - 0xbc]
call fcn.10002060
mov byte [ebp - 4], 5
lea edx, [ebp - 0xbc]
push edx
lea ecx, [ebp - 0x18]
call fcn.100045a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xbc]
call fcn.10002340
lea ecx, [ebp - 0x18]
call fcn.10005630
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x18]
call fcn.10005b50
push 0x100276ec
lea ecx, [ebp - 0xd4]
call fcn.10002060
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xd4]
push ecx
lea ecx, [ebp - 0x18]
call fcn.100045a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd4]
call fcn.10002340
lea ecx, [ebp - 0x18]
call fcn.10005630
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.10005b50
push 0x1002770c
lea ecx, [ebp - 0xec]
call fcn.10002060
mov byte [ebp - 4], 7
lea edx, [ebp - 0xec]
push edx
lea ecx, [ebp - 0x18]
call fcn.100045a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xec]
call fcn.10002340
lea ecx, [ebp - 0x18]
call fcn.10005630
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x18]
call fcn.10005b50
push 0x1002772c
lea ecx, [ebp - 0x104]
call fcn.10002060
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x104]
push ecx
lea ecx, [ebp - 0x18]
call fcn.100045a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x104]
call fcn.10002340
lea ecx, [ebp - 0x18]
call fcn.10005630
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 0x10005500
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x30]
movzx edx, byte [ecx]
cmp edx, 0x3d
je 0x10005500
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x30]
movzx ecx, byte [eax]
push ecx
mov ecx, dword [ebp - 0x38]
call fcn.10005a90
test eax, eax
je 0x10005500
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x18]
call fcn.10005b50
push 0x1002774c
lea ecx, [ebp - 0x11c]
call fcn.10002060
mov byte [ebp - 4], 9
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x18]
call fcn.100045a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x11c]
call fcn.10002340
lea ecx, [ebp - 0x18]
call fcn.10005630
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x1c]
mov al, byte [ecx]
mov byte [ebp + edx - 0x20], al
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x30]
add edx, 1
mov dword [ebp - 0x30], edx
cmp dword [ebp - 0x1c], 4
jne 0x100054fb
mov dword [ebp - 0x1c], 0
jmp 0x10004ffa
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 4
jge 0x10005067
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x18]
call fcn.10005b50
push 0x1002776c
lea ecx, [ebp - 0x134]
call fcn.10002060
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x134]
push edx
lea ecx, [ebp - 0x18]
call fcn.100045a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x134]
call fcn.10002340
lea ecx, [ebp - 0x18]
call fcn.10005630
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [ebp + eax - 0x20]
push ecx
lea edx, [ebp - 0x2e0]
push edx
mov ecx, dword [ebp - 0x38]
call fcn.10005a60
mov ecx, dword [ebp - 0x1c]
mov byte [ebp + ecx - 0x20], al
jmp 0x10004ff1
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x18]
call fcn.10005b50
push 0x1002778c
lea ecx, [ebp - 0x14c]
call fcn.10002060
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ebp - 0x18]
call fcn.100045a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14c]
call fcn.10002340
lea ecx, [ebp - 0x18]
call fcn.10005630
mov ecx, 1
imul edx, ecx, 0
movzx eax, byte [ebp + edx - 0x20]
mov ecx, 1
shl ecx, 0
movzx edx, byte [ebp + ecx - 0x20]
and edx, 0x30
sar edx, 4
lea eax, [edx + eax*4]
mov ecx, 1
imul edx, ecx, 0
mov byte [ebp + edx - 0x28], al
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x18]
call fcn.10005b50
push 0x100277ac
lea ecx, [ebp - 0x164]
call fcn.10002060
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x164]
push ecx
lea ecx, [ebp - 0x18]
call fcn.100045a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x164]
call fcn.10002340
lea ecx, [ebp - 0x18]
call fcn.10005630
push 0x100277cc
lea ecx, [ebp - 0x17c]
call fcn.10002060
mov byte [ebp - 4], 0xd
lea edx, [ebp - 0x17c]
push edx
lea ecx, [ebp - 0x18]
call fcn.100045a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x17c]
call fcn.10002340
lea ecx, [ebp - 0x18]
call fcn.10005630
push 0x100277ec
lea ecx, [ebp - 0x194]
call fcn.10002060
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x194]
push eax
lea ecx, [ebp - 0x18]
call fcn.100045a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x194]
call fcn.10002340
lea ecx, [ebp - 0x18]
call fcn.10005630
push 0x1002780c
lea ecx, [ebp - 0x1ac]
call fcn.10002060
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x1ac]
push ecx
lea ecx, [ebp - 0x18]
call fcn.100045a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1ac]
call fcn.10002340
lea ecx, [ebp - 0x18]
call fcn.10005630
push 0x1002782c
lea ecx, [ebp - 0x1c4]
call fcn.10002060
mov byte [ebp - 4], 0x10
lea edx, [ebp - 0x1c4]
push edx
lea ecx, [ebp - 0x18]
call fcn.100045a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c4]
call fcn.10002340
lea ecx, [ebp - 0x18]
call fcn.10005630
mov eax, 1
shl eax, 0
movzx ecx, byte [ebp + eax - 0x20]
and ecx, 0xf
shl ecx, 4
mov edx, 1
shl edx, 1
movzx eax, byte [ebp + edx - 0x20]
and eax, 0x3c
sar eax, 2
add ecx, eax
mov edx, 1
shl edx, 0
mov byte [ebp + edx - 0x28], cl
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x18]
call fcn.10005b50
push 0x1002784c
lea ecx, [ebp - 0x1dc]
call fcn.10002060
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x1dc]
push ecx
lea ecx, [ebp - 0x18]
call fcn.100045a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1dc]
call fcn.10002340
lea ecx, [ebp - 0x18]
call fcn.10005630
push 0x1002786c
lea ecx, [ebp - 0x1f4]
call fcn.10002060
mov byte [ebp - 4], 0x12
lea edx, [ebp - 0x1f4]
push edx
lea ecx, [ebp - 0x18]
call fcn.100045a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1f4]
call fcn.10002340
lea ecx, [ebp - 0x18]
call fcn.10005630
push 0x1002788c
lea ecx, [ebp - 0x20c]
call fcn.10002060
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x18]
call fcn.100045a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20c]
call fcn.10002340
lea ecx, [ebp - 0x18]
call fcn.10005630
push 0x100278ac
lea ecx, [ebp - 0x224]
call fcn.10002060
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x224]
push ecx
lea ecx, [ebp - 0x18]
call fcn.100045a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x224]
call fcn.10002340
lea ecx, [ebp - 0x18]
call fcn.10005630
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.10005b50
push 0x100278cc
lea ecx, [ebp - 0x23c]
call fcn.10002060
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x23c]
push ecx
lea ecx, [ebp - 0x18]
call fcn.100045a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x23c]
call fcn.10002340
lea ecx, [ebp - 0x18]
call fcn.10005630
mov dword [ebp - 0x1c], 0
jmp 0x100053b5
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 3
jge 0x10005468
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x18]
call fcn.10005b50
push 0x100278ec
lea ecx, [ebp - 0x254]
call fcn.10002060
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x254]
push ecx
lea ecx, [ebp - 0x18]
call fcn.100045a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x254]
call fcn.10002340
lea ecx, [ebp - 0x18]
call fcn.10005630
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.10005b50
push 0x1002790c
lea ecx, [ebp - 0x26c]
call fcn.10002060
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x18]
call fcn.100045a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x26c]
call fcn.10002340
lea ecx, [ebp - 0x18]
call fcn.10005630
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
jmp 0x100053ac
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x18]
call fcn.10005b50
push 0x1002792c
lea ecx, [ebp - 0x284]
call fcn.10002060
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x284]
push eax
lea ecx, [ebp - 0x18]
call fcn.100045a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x284]
call fcn.10002340
lea ecx, [ebp - 0x18]
call fcn.10005630
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x18]
call fcn.10005b50
push 0x1002794c
lea ecx, [ebp - 0x29c]
call fcn.10002060
mov byte [ebp - 4], 0x19
lea edx, [ebp - 0x29c]
push edx
lea ecx, [ebp - 0x18]
call fcn.100045a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x29c]
call fcn.10002340
lea ecx, [ebp - 0x18]
call fcn.10005630
jmp 0x10004f32
cmp dword [ebp - 0x1c], 0
je 0x100055de
mov dword [ebp - 0x24], 0
jmp 0x1000551c
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [ebp - 0x1c]
jge 0x10005545
mov edx, dword [ebp - 0x24]
movzx eax, byte [ebp + edx - 0x20]
push eax
lea ecx, [ebp - 0x2e0]
push ecx
mov ecx, dword [ebp - 0x38]
call fcn.10005a60
mov edx, dword [ebp - 0x24]
mov byte [ebp + edx - 0x20], al
jmp 0x10005513
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 0x100055b9
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 0x100055de
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 0x100055b0
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.10002360
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