joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002d1c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 8]
push eax
push 0x40
push 5
push 0x417360
call esi
mov eax, 0x1002ea90
mov byte [0x417360], 0xe9
sub eax, 0x417365
mov dword [0x417361], eax
lea eax, [esp + 8]
push eax
push dword [esp + 0xc]
push 5
push 0x417360
call esi
call fcn.1002e590
lea eax, [esp + 8]
push eax
push 0x40
push 5
push 0x4514f0
call esi
mov eax, 0x1002d470
mov byte [0x4514f0], 0xe9
sub eax, 0x4514f5
mov dword [0x4514f1], eax
lea eax, [esp + 8]
push eax
push dword [esp + 0xc]
push 5
push 0x4514f0
call esi
call fcn.1002d980
lea eax, [esp + 8]
push eax
push 0x40
push 5
push 0x4156a8
call esi
mov eax, 0x1002d1b0
mov byte [0x4156a8], 0xe9
sub eax, 0x4156ad
mov dword [0x4156a9], eax
lea eax, [esp + 8]
push eax
push dword [esp + 0xc]
push 5
push 0x4156a8
call esi
lea eax, [esp + 8]
push eax
push 0x40
push 5
push 0x415b9c
call esi
mov eax, 0x1002ce50
mov byte [0x415b9c], 0xe9
sub eax, 0x415ba1
mov dword [0x415b9d], eax
lea eax, [esp + 8]
push eax
push dword [esp + 0xc]
push 5
push 0x415b9c
call esi
lea eax, [esp + 8]
push eax
push 0x40
push 4
push 0x421a49
call esi
mov eax, 0x1002ce70
sub eax, 0x421a4d
mov dword [0x421a49], eax
lea eax, [esp + 8]
push eax
push dword [esp + 0xc]
push 4
push 0x421a49
call esi
lea eax, [esp + 0x10]
mov dword [esp + 8], 0x45fa4d
lea ecx, [esp + 8]
mov dword [esp + 0xc], 0x45fba6
push eax
push ecx
mov ecx, 0x1002c150
call fcn.100122b0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1002d980
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010ea78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
push str.DontTurnOffSneakIfYouRun
mov edx, str.Misc
mov ecx, str.._sfall.ini
call fcn.100052a0
mov dword [0x10154e3c], eax
cmp eax, 1
je 0x1002d9fa
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x1002d9f6
mov ecx, dword [ebp - 0x28]
inc edx
push 1
call fcn.1000d8e0
mov eax, dword [0x10154e3c]
xor esi, esi
jmp 0x1002da2d
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
xor edx, edx
call fcn.10005410
mov dword [ebp - 4], 0xffffffff
mov esi, eax
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x1002da28
mov ecx, dword [ebp - 0x28]
inc edx
push 1
call fcn.1000d8e0
mov eax, dword [0x10154e3c]
cmp byte [0x10153f67], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
je 0x1002da65
cmp eax, 1
je 0x1002da65
push str..ddraw.ini
push 0
mov edx, str.DontTurnOffSneakIfYouRun
mov ecx, str.Misc
call fcn.10005480
mov esi, eax
test esi, esi
je 0x1002dabb
cmp byte [0x10174f84], 0
je 0x1002dab4
test byte [0x10174f88], 1
je 0x1002dab4
mov edx, str.Applying_DontTurnOffSneakIfYouRun_patch.
mov ecx, 0x10153db8
call fcn.10012ce0
push eax
call fcn.10012f80
add esp, 4
cmp dword [0x101553d8], 0
je 0x1002dab4
mov edx, str.Applying_DontTurnOffSneakIfYouRun_patch.
mov ecx, 0x10141e60
call fcn.10012ce0
push eax
call fcn.10012f80
add esp, 4
mov byte [0x1013cd7c], 0
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 5
push 0x418168
call esi
mov eax, 0x1002d960
mov byte [0x418168], 0xe9
sub eax, 0x41816d
mov dword [0x418169], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
push 5
push 0x418168
call esi
lea eax, [ebp - 0x10]
push eax
push 0x40
push 5
push 0x418574
call esi
mov eax, 0x1002d970
mov byte [0x418574], 0xe9
sub eax, 0x418579
mov dword [0x418575], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
push 5
push 0x418574
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1002e590
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 4]
push eax
push 0x40
push 5
push 0x413f5c
call esi
mov eax, 0x1002e550
mov byte [0x413f5c], 0xe9
sub eax, 0x413f61
mov dword [0x413f5d], eax
lea eax, [esp + 4]
push eax
push dword [esp + 8]
push 5
push 0x413f5c
call esi
lea eax, [esp + 4]
push eax
push 0x40
push 5
push 0x41405c
call esi
mov eax, 0x1002e560
mov byte [0x41405c], 0xe9
sub eax, 0x414061
mov dword [0x41405d], eax
lea eax, [esp + 4]
push eax
push dword [esp + 8]
push 5
push 0x41405c
call esi
lea eax, [esp + 4]
push eax
push 0x40
push 5
push 0x41541c
call esi
mov eax, 0x1002e570
mov byte [0x41541c], 0xe9
sub eax, 0x415421
mov dword [0x41541d], eax
lea eax, [esp + 4]
push eax
push dword [esp + 8]
push 5
push 0x41541c
call esi
lea eax, [esp + 4]
push eax
push 0x40
push 5
push 0x413e2c
call esi
mov eax, 0x1002e580
mov byte [0x413e2c], 0xe9
sub eax, 0x413e31
mov dword [0x413e2d], eax
lea eax, [esp + 4]
push eax
push dword [esp + 8]
push 5
push 0x413e2c
call esi
pop esi
pop ecx
ret

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

Disassembly:
push ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 4]
push eax
push 0x40
push 5
push 0x419428
call esi
mov eax, 0x1002f7b0
mov byte [0x419428], 0xe9
sub eax, 0x41942d
mov dword [0x419429], eax
lea eax, [esp + 4]
push eax
push dword [esp + 8]
push 5
push 0x419428
call esi
lea eax, [esp + 4]
push eax
push 0x40
push 5
push 0x4198c8
call esi
mov eax, 0x1002eda0
mov byte [0x4198c8], 0xe9
sub eax, 0x4198cd
mov dword [0x4198c9], eax
lea eax, [esp + 4]
push eax
push dword [esp + 8]
push 5
push 0x4198c8
call esi
pop esi
pop ecx
ret
Function at 0x10031190
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 4]
push eax
push 0x40
push 5
push 0x425170
call esi
mov eax, 0x100357f0
mov byte [0x425170], 0xe9
sub eax, 0x425175
mov dword [0x425171], eax
lea eax, [esp + 4]
push eax
push dword [esp + 8]
push 5
push 0x425170
call esi
lea eax, [esp + 4]
push eax
push 0x40
push 5
push 0x412cf4
call esi
mov eax, 0x10031180
mov byte [0x412cf4], 0xe9
sub eax, 0x412cf9
mov dword [0x412cf5], eax
lea eax, [esp + 4]
push eax
push dword [esp + 8]
push 5
push 0x412cf4
call esi
pop esi
pop ecx
ret

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

Disassembly:
push ecx
push esi
call fcn.10031190
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 4]
push eax
push 0x40
push 5
push 0x4243a8
call esi
mov eax, 0x100349f0
mov byte [0x4243a8], 0xe9
sub eax, 0x4243ad
mov dword [0x4243a9], eax
lea eax, [esp + 4]
push eax
push dword [esp + 8]
push 5
push 0x4243a8
call esi
call fcn.100366c0
call fcn.10039000
lea eax, [esp + 4]
push eax
push 0x40
push 5
push 0x410e24
call esi
mov eax, 0x10034170
mov byte [0x410e24], 0xe9
sub eax, 0x410e29
mov dword [0x410e25], eax
lea eax, [esp + 4]
push eax
push dword [esp + 8]
push 5
push 0x410e24
call esi
lea eax, [esp + 4]
push eax
push 0x40
push 5
push 0x4267cc
call esi
mov eax, 0x10032870
mov byte [0x4267cc], 0xe9
sub eax, 0x4267d1
mov dword [0x4267cd], eax
lea eax, [esp + 4]
push eax
push dword [esp + 8]
push 5
push 0x4267cc
call esi
pop esi
pop ecx
ret
Function at 0x10032d00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0xc], edx
push edi
mov al, byte [esi + 0x23]
and al, 0xf
cmp al, 1
jne 0x10032dfe
mov eax, dword [esi + 0x44]
shr eax, 7
not al
test al, 1
je 0x10032dfe
mov edx, dword [esp + 0x18]
call fcn.1001b420
cmp byte [esp + 0x20], 0
mov edi, dword [esp + 0x1c]
je 0x10032d70
test byte [esi + 0x44], 0x81
mov edx, dword [edi]
je 0x10032d4d
mov ecx, esi
call fcn.1001b540
jmp 0x10032d70
mov ecx, dword [esi + 0x50]
cmp ecx, dword [edx + 0x50]
je 0x10032d70
mov eax, dword [0x1013cd38]
mov eax, dword [eax]
cmp ecx, dword [eax + 0x50]
jne 0x10032d69
mov eax, dword [edi + 0x38]
cmp ecx, dword [eax + 0x50]
jne 0x10032d70
mov ecx, esi
call fcn.10029d20
mov ecx, dword [esi + 0x78]
lea edx, [esp + 0x20]
mov ebx, dword [edi + 8]
mov ebp, dword [edi]
call fcn.1006e7b0
cmp eax, 0xffffffff
je 0x10032d90
mov eax, dword [esp + 0x20]
mov dword [eax + 0x38], ebp
mov dword [eax + 0x3c], ebx
mov eax, dword [edi + 0x20]
mov ecx, esi
cmp eax, dword [edi + 0x38]
push dword [edi]
mov ebx, dword [esp + 0x14]
setne al
movzx eax, al
mov edx, ebx
push eax
push dword [esp + 0x2c]
call fcn.10032950
mov ecx, esi
call fcn.100368e0
test ebx, ebx
js 0x10032dfe
test dword [edi + 0x14], 0x100
je 0x10032dfe
mov ecx, dword [edi]
xor edx, edx
push esi
mov ecx, dword [ecx + 0x78]
call fcn.1006ed50
mov eax, dword [edi]
lea edx, [esp + 0x20]
mov ecx, dword [eax + 0x78]
call fcn.1006e7b0
cmp eax, 0xffffffff
je 0x10032def
mov eax, dword [esp + 0x20]
mov dword [eax + 0x30], 2
mov ecx, dword [edi]
mov edx, 0xd
mov ecx, dword [ecx + 0x78]
call fcn.1006edb0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10

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

Disassembly:
push ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 4]
push eax
push 0x40
push 5
push 0x424c04
call esi
mov eax, 0x10033960
mov byte [0x424c04], 0xe9
sub eax, 0x424c09
mov dword [0x424c05], eax
lea eax, [esp + 4]
push eax
push dword [esp + 8]
push 5
push 0x424c04
call esi
lea eax, [esp + 4]
push eax
push 0x40
push 5
push 0x4108d0
call esi
mov eax, 0x10033970
mov byte [0x4108d0], 0xe9
sub eax, 0x4108d5
mov dword [0x4108d1], eax
lea eax, [esp + 4]
push eax
push dword [esp + 8]
push 5
push 0x4108d0
call esi
pop esi
pop ecx
ret
Function at 0x10035cc0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 4]
push eax
push 0x40
push 5
push 0x421d50
call esi
mov eax, 0x10035c90
mov byte [0x421d50], 0xe9
sub eax, 0x421d55
mov dword [0x421d51], eax
lea eax, [esp + 4]
push eax
push dword [esp + 8]
push 5
push 0x421d50
call esi
lea eax, [esp + 4]
push eax
push 0x40
push 5
push 0x426aa8
call esi
mov eax, 0x10035ca0
mov byte [0x426aa8], 0xe9
sub eax, 0x426aad
mov dword [0x426aa9], eax
lea eax, [esp + 4]
push eax
push dword [esp + 8]
push 5
push 0x426aa8
call esi
lea eax, [esp + 4]
push eax
push 0x40
push 5
push 0x426c64
call esi
mov eax, 0x10035cb0
mov byte [0x426c64], 0xe9
sub eax, 0x426c69
mov dword [0x426c65], eax
lea eax, [esp + 4]
push eax
push dword [esp + 8]
push 5
push 0x426c64
call esi
pop esi
pop ecx
ret

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

Disassembly:
push ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 4]
push eax
push 0x40
push 5
push 0x423128
call esi
mov eax, 0x100366a0
mov byte [0x423128], 0xe9
sub eax, 0x42312d
mov dword [0x423129], eax
lea eax, [esp + 4]
push eax
push dword [esp + 8]
push 5
push 0x423128
call esi
lea eax, [esp + 4]
push eax
push 0x40
push 5
push 0x426cc4
call esi
mov eax, 0x100366b0
mov byte [0x426cc4], 0xe9
sub eax, 0x426cc9
mov dword [0x426cc5], eax
lea eax, [esp + 4]
push eax
push dword [esp + 8]
push 5
push 0x426cc4
call esi
pop esi
pop ecx
ret
Function at 0x10037260
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ecx
push esi
call fcn.10035cc0
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 4]
push eax
push 0x40
push 5
push 0x42b4a8
call esi
mov eax, 0x10037200
mov byte [0x42b4a8], 0xe9
sub eax, 0x42b4ad
mov dword [0x42b4a9], eax
lea eax, [esp + 4]
push eax
push dword [esp + 8]
push 5
push 0x42b4a8
call esi
lea eax, [esp + 4]
push eax
push 0x40
push 5
push 0x42bc60
call esi
mov eax, 0x10037210
mov byte [0x42bc60], 0xe9
sub eax, 0x42bc65
mov dword [0x42bc61], eax
lea eax, [esp + 4]
push eax
push dword [esp + 8]
push 5
push 0x42bc60
call esi
lea eax, [esp + 4]
push eax
push 0x40
push 5
push 0x425fbc
call esi
mov eax, 0x10037220
mov byte [0x425fbc], 0xe9
sub eax, 0x425fc1
mov dword [0x425fbd], eax
lea eax, [esp + 4]
push eax
push dword [esp + 8]
push 5
push 0x425fbc
call esi
lea eax, [esp + 4]
push eax
push 0x40
push 5
push 0x4227dc
call esi
mov eax, 0x10037230
mov byte [0x4227dc], 0xe9
sub eax, 0x4227e1
mov dword [0x4227dd], eax
lea eax, [esp + 4]
push eax
push dword [esp + 8]
push 5
push 0x4227dc
call esi
lea eax, [esp + 4]
push eax
push 0x40
push 5
push 0x422580
call esi
mov eax, 0x10037240
mov byte [0x422580], 0xe9
sub eax, 0x422585
mov dword [0x422581], eax
lea eax, [esp + 4]
push eax
push dword [esp + 8]
push 5
push 0x422580
call esi
lea eax, [esp + 4]
push eax
push 0x40
push 5
push 0x42299c
call esi
mov eax, 0x10037250
mov byte [0x42299c], 0xe9
sub eax, 0x4229a1
mov dword [0x42299d], eax
lea eax, [esp + 4]
push eax
push dword [esp + 8]
push 5
push 0x42299c
call esi
pop esi
pop ecx
ret

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

Disassembly:
push ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 4]
push eax
push 0x40
push 5
push 0x4213fc
call esi
mov eax, 0x10038fe0
mov byte [0x4213fc], 0xe9
sub eax, 0x421401
mov dword [0x4213fd], eax
lea eax, [esp + 4]
push eax
push dword [esp + 8]
push 5
push 0x4213fc
call esi
lea eax, [esp + 4]
push eax
push 0x40
push 5
push 0x4247b8
call esi
mov eax, 0x10038ff0
mov byte [0x4247b8], 0xe9
sub eax, 0x4247bd
mov dword [0x4247b9], eax
lea eax, [esp + 4]
push eax
push dword [esp + 8]
push 5
push 0x4247b8
call esi
lea eax, [esp + 4]
push eax
push 0x40
push 5
push 0x423c10
call esi
mov eax, 0x10038fd0
mov byte [0x423c10], 0xe9
sub eax, 0x423c15
mov dword [0x423c11], eax
lea eax, [esp + 4]
push eax
push dword [esp + 8]
push 5
push 0x423c10
call esi
pop esi
pop ecx
ret
Function at 0x10039320
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x1c
push ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 8], edx
push ebp
mov ebp, ecx
mov dword [esp + 8], ebp
push esi
push edi
test ebx, 0x10000
je 0x10039377
xor ebx, 0x10000
mov eax, ebx
sar eax, 8
movzx ecx, al
test al, al
jne 0x10039356
movzx ecx, byte [0x6a38d0]
mov eax, ebx
and eax, 0xffff0000
or eax, ecx
mov ecx, ebp
push eax
mov eax, dword [esp + 0x3c]
push eax
push dword [esp + 0x3c]
inc eax
push dword [esp + 0x3c]
add edx, eax
call fcn.10039320
xor edi, edi
mov dword [esp + 0x3c], edi
test ebx, 0x40000
je 0x100393b8
mov edi, dword [ebp + 4]
mov dword [esp + 0x3c], edi
cmp edi, 0xffffffff
jne 0x100393b8
mov esi, dword [ebp + 8]
xor ecx, ecx
xor edx, edx
test esi, esi
jle 0x100393ac
mov edi, dword [ebp + 0x14]
nop
cmp ecx, dword [edi + edx*8]
cmovl ecx, dword [edi + edx*8]
inc edx
cmp edx, esi
jl 0x100393a0
mov edi, dword [ebp + 0x10]
add edi, ecx
mov dword [esp + 0x3c], edi
mov dword [ebp + 4], edi
mov ecx, dword [esp + 0x30]
mov eax, ebx
shr eax, 0x11
and eax, 0xffffff01
movzx edx, bl
mov ebx, dword [esp + 0x14]
mov esi, ebx
mov dword [esp + 0x28], eax
mov al, byte [ecx]
mov dword [esp + 0x1c], edx
test al, al
je 0x100394b8
mov edx, ebp
inc ecx
mov ebx, esi
mov dword [esp + 0x30], ecx
movzx ecx, al
cmp ecx, dword [edx + 8]
jge 0x1003949a
mov eax, dword [edx + 0x14]
test edi, edi
mov edi, dword [eax + ecx*8]
lea ebp, [eax + ecx*8]
je 0x1003941d
mov eax, dword [esp + 0x3c]
sub eax, dword [edx + 0x10]
sub eax, edi
cdq
sub eax, edx
mov edx, dword [esp + 0x10]
sar eax, 1
add esi, eax
mov eax, dword [esp + 0x3c]
jmp 0x10039422
mov eax, dword [edx + 0x10]
add eax, edi
add eax, ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x24], eax
sub eax, ebx
cmp eax, dword [esp + 0x34]
jg 0x100394b0
mov ecx, dword [ebp + 4]
xor ebx, ebx
mov eax, dword [esp + 0x38]
add ecx, dword [edx + 0x18]
sub eax, edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], ebx
cmp dword [edx + 0xc], ebx
jle 0x10039496
xor edx, edx
mov eax, 0x80
test edi, edi
jle 0x10039483
nop
test eax, eax
jne 0x1003946a
mov eax, 0x80
inc ecx
test byte [ecx], al
je 0x10039474
mov ebx, dword [esp + 0x1c]
mov byte [esi], bl
mov edi, dword [ebp]
inc edx
sar eax, 1
inc esi
cmp edx, edi
jl 0x10039460
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
inc ebx
add esi, dword [esp + 0x20]
inc ecx
mov dword [esp + 0x18], ebx
cmp ebx, dword [edx + 0xc]
jl 0x10039453
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x3c]
mov al, byte [ecx]
test al, al
jne 0x100393e3
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x10]
cmp byte [esp + 0x28], 0
je 0x100394e9
mov edi, dword [ebp + 0xc]
sub esi, ebx
dec edi
imul edi, dword [esp + 0x38]
add edi, ebx
test esi, esi
jle 0x100394e9
mov al, dl
mov ecx, esi
movzx eax, al
imul eax, eax, 0x1010101
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0x10
Function at 0x1003a170
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 4]
push eax
push 0x40
push 5
push 0x4d555c
call esi
mov eax, 0x1003a0b0
mov byte [0x4d555c], 0xe9
sub eax, 0x4d5561
mov dword [0x4d555d], eax
lea eax, [esp + 4]
push eax
push dword [esp + 8]
push 5
push 0x4d555c
call esi
lea eax, [esp + 4]
push eax
push 0x40
push 5
push 0x4d55cc
call esi
mov eax, 0x1003a0c0
mov byte [0x4d55cc], 0xe9
sub eax, 0x4d55d1
mov dword [0x4d55cd], eax
lea eax, [esp + 4]
push eax
push dword [esp + 8]
push 5
push 0x4d55cc
call esi
lea eax, [esp + 4]
push eax
push 0x40
push 5
push 0x441c80
call esi
mov eax, 0x1003a0d0
mov byte [0x441c80], 0xe9
sub eax, 0x441c85
mov dword [0x441c81], eax
lea eax, [esp + 4]
push eax
push dword [esp + 8]
push 5
push 0x441c80
call esi
lea eax, [esp + 4]
push eax
push 0x40
push 5
push 0x441cec
call esi
mov eax, 0x1003a0e0
mov byte [0x441cec], 0xe9
sub eax, 0x441cf1
mov dword [0x441ced], eax
lea eax, [esp + 4]
push eax
push dword [esp + 8]
push 5
push 0x441cec
call esi
lea eax, [esp + 4]
push eax
push 0x40
push 5
push 0x4d58dc
call esi
mov eax, 0x1003a0f0
mov byte [0x4d58dc], 0xe9
sub eax, 0x4d58e1
mov dword [0x4d58dd], eax
lea eax, [esp + 4]
push eax
push dword [esp + 8]
push 5
push 0x4d58dc
call esi
mov dword [0x51e3b8], 0x1003a100
lea eax, [esp + 4]
mov dword [0x51e3bc], 0x1003a110
push eax
mov dword [0x51e3c0], 0x1003a120
push 0x40
mov dword [0x51e3c4], 0x1003a130
mov dword [0x51e3c8], 0x1003a140
push 4
mov dword [0x51e3cc], 0x1003a150
push 0x4426b5
mov dword [0x51e3d4], 0x1003a160
call esi
lea eax, [esp + 4]
mov dword [0x4426b5], 0x441f0f
push eax
push dword [esp + 8]
push 4
push 0x4426b5
call esi
pop esi
pop ecx
ret

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

Disassembly:
push ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 4]
push eax
push 0x40
push 5
push 0x484aa4
call esi
mov eax, 0x1003d560
mov byte [0x484aa4], 0xe9
sub eax, 0x484aa9
mov dword [0x484aa5], eax
lea eax, [esp + 4]
push eax
push dword [esp + 8]
push 5
push 0x484aa4
call esi
lea eax, [esp + 4]
push eax
push 0x40
push 5
push 0x442d44
call esi
mov eax, 0x1003af40
mov byte [0x442d44], 0xe9
sub eax, 0x442d49
mov dword [0x442d45], eax
lea eax, [esp + 4]
push eax
push dword [esp + 8]
push 5
push 0x442d44
call esi
pop esi
pop ecx
ret
Function at 0x1003b990
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [0x6ac7bc], 0
mov eax, edx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
je 0x1003bb18
cmp dword [0x6ac790], 0
jne 0x1003bb18
mov ebx, dword [ebp + 8]
test ecx, ecx
jne 0x1003b9e6
test eax, eax
jne 0x1003b9e6
mov eax, dword [0x51e2ac]
cmp ebx, eax
jne 0x1003b9e6
test eax, eax
jne 0x1003b9e6
mov dword [0x6ac7a0], eax
mov dword [0x6ac7b0], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [0x51e2ac], ebx
xor edi, edi
mov eax, dword [0x6ac7b0]
test al, 5
mov dword [ebp + 8], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x6ac7b0], 0
je 0x1003ba43
test bl, 1
je 0x1003ba3c
mov edi, 4
call eax
mov edx, dword [0x10182520]
mov esi, eax
mov ecx, eax
sub esi, edx
sub ecx, edx
cmp eax, edx
mov eax, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmovae ecx, esi
cmp ecx, 0xfa
jbe 0x1003ba59
mov edi, 5
jmp 0x1003ba4d
mov edi, 0x10
jmp 0x1003ba59
test bl, 1
je 0x1003ba59
mov edi, 1
call eax
mov dword [0x10182520], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetTickCount]
test byte [ebp + 8], 0xa
je 0x1003ba90
test bl, 2
je 0x1003ba8b
or edi, 8
call eax
mov edx, dword [0x10182524]
mov esi, eax
sub esi, edx
mov ecx, eax
sub ecx, edx
cmp eax, edx
cmovae ecx, esi
cmp ecx, 0xfa
jbe 0x1003ba9f
mov eax, dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x1003ba95
or edi, 0x20
jmp 0x1003ba9f
test bl, 2
je 0x1003ba9f
or edi, 2
call eax
mov dword [0x10182524], eax
mov esi, dword [ebp - 4]
mov dword [0x6ac7a0], edi
mov dword [0x6ac7b0], edi
mov edi, dword [ebp - 8]
test edi, edi
jne 0x1003bab9
test esi, esi
je 0x1003bb18
mov ecx, dword [0x6ac7a8]
mov dword [ebp - 0x18], ecx
dec ecx
mov edx, dword [0x6ac7a4]
mov dword [ebp - 0x14], edx
dec edx
mov eax, dword [0x6ac7c4]
add eax, ecx
mov dword [ebp - 0x10], eax
mov eax, dword [0x6ac798]
add eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [0x1013cb0c]
add dword [eax], edi
mov eax, dword [0x1013cb08]
add dword [eax], esi
call dword [0x10121444]
lea eax, [ebp - 0x18]
call dword [0x10121018]
call dword [0x10121424]
mov eax, dword [0x6ac7a8]
mov dword [0x6ac794], eax
mov eax, dword [0x6ac7a4]
mov dword [0x6ac79c], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 4]
push eax
push 0x40
push 5
push 0x4c8b78
call esi
mov eax, 0x1003bb30
mov byte [0x4c8b78], 0xe9
sub eax, 0x4c8b7d
mov dword [0x4c8b79], eax
lea eax, [esp + 4]
push eax
push dword [esp + 8]
push 5
push 0x4c8b78
call esi
lea eax, [esp + 4]
push eax
push 0x40
push 5
push 0x4ca698
call esi
mov eax, 0x1003bb40
mov byte [0x4ca698], 0xe9
sub eax, 0x4ca69d
mov dword [0x4ca699], eax
lea eax, [esp + 4]
push eax
push dword [esp + 8]
push 5
push 0x4ca698
call esi
pop esi
pop ecx
ret