joyce8/EMBER2024-capa huggingface dataset:
Function at 0x715d26
Capabilities:
Resolve function by parsing pe exports

Disassembly:
adc eax, 0x3824f911
call fcn.006bc61a
mov ecx, dword [ebp + ecx - 0x6471f09a]
mov eax, 0xac03d811
cdq
adc ebp, 4
push edx
xor ecx, ebx
bswap ecx
rol ecx, 1
sub ecx, edx
div dl
dec word [esp]
xor ecx, 0xbfbb753c
lea ecx, [eax + ecx + 0x3f3b4865]
inc dl
xor ebx, ecx
sar edx, 0xc7
adc esi, ecx
call fcn.005ea20a
mov ecx, 0x4ea0bbbd
lea eax, [ecx*4 + 0x232faf0f]
mov ecx, dword [eax + edi - 0x5db29e03]
sar ax, 0xe1
adc al, ah
mov eax, dword [edi + eax - 0x5db2cfcd]
mul ecx
mov ecx, 0x8f0b201b
sub ecx, ecx
mov dword [edi + ecx], edx
ror cl, 0xc4
movzx edx, cl
mov dword [edi + ecx + 4], eax
lea ecx, [edx + 0x2a0fe59e]
je 0x6d501c
jmp 0x70df11
xadd dl, ch
lea ebp, [ebp + ecx*2 - 0x541e0140]
mov eax, edx
sar cx, 4
adc edx, ecx
mov edx, dword [ebp + edx*2 - 0x541e01de]
xor edx, ebx
jmp 0x63465b
mov edx, 0x189df225
lea eax, [edx + 0x36b6310c]
mov ecx, dword [esi + eax - 0x4f542331]
btr edx, eax
lea esi, [esi + edx*4 - 0x6277c890]
sbb edx, eax
jb 0x6affc4
mov dword [esp], 0x933f46a4
and dl, al
mov eax, 0x370eb80b
sal cx, 0x82
not dl
jbe 0x6aa481

Function at 0x717017
Capabilities:
Check for time delay via gettickcount

Disassembly:
push eax
call fcn.0064e139
call fcn.005d91a5
cwde
xor bl, dl
sub ax, 0x3c24
push ecx
lea ebp, [ebp + eax - 0x14d8]
sal eax, cl
mov word [ebp + ecx - 0x50fa], dx
pop eax
pop eax
pop edx
jb fcn.005df1ea
xor ebx, ecx
dec edx
add edi, ecx
mov ecx, dword [edx + esi - 0xac53215]
idiv eax
sar eax, 0x83
ja 0x750740
das
mov es, ebx
insd dword es:[edi], dx
pop esi
xchg byte [eax + 0x43], ah
dec eax
cmp al, 0xa2
adc byte [ecx + 0x7c25fa3c], 3
or ah, bh
and al, 0x12
jnp 0x7170ab
out dx, eax
adc dword [ebx + 0x63], esi
inc ebx
insb byte es:[edi], dx
xchg edi, eax
test dword [esi + eax*2 - 0x36], edi
mov esi, 0x1074fc8e
dec edi
daa
jbe 0x7170bf
retf 0x8ebe
scasd eax, dword es:[edi]
retf 0x7759
mov ebp, 0xcd14346f
mov eax, dword [0x67eeb824]
scasb al, byte es:[edi]
mov dword [esi - 0x7d361bb3], ebx
sbb al, 0x74
adc al, 0x7c
xor al, 0x68
jae 0x7170d4
cld
xchg edi, eax
jl 0x717072
dec eax
mov ecx, 0x198cf2c3
mov al, byte [0xdac7148a]
fisub dword [edi]
daa
xchg dword [ecx + ebp*2], esp
add dword [edi - 0x3f], esi
loop 0x7170d5
mov dx, word [edx + esi - 0x2fead34b]
jae 0x672cd1

Function at 0x71ad00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x78800622
mov dword [esp + eax - 0x78800622], eax
lea ebp, [ebp + eax - 0x7880061e]
and ax, word [esp + eax - 0x78800621]
sal al, 0xc6
xor ecx, ebx
and dword [esp + eax - 0x78800080], edx
btc edx, 8
not ecx
call fcn.0062fc51
Function at 0x739b76
Capabilities:
Read file on windows

Disassembly:
call fcn.00692e40
sal eax, 0x71
mov eax, dword [ebp]
mov edx, 0x20ad8c98
movzx ecx, dl
lea ebp, [ebp + edx - 0x20ad8c94]
sal ecx, cl
xor eax, ebx
sal dl, 0xa6
sbb dl, cl
and cl, ch
bswap eax
rol eax, 2
call fcn.00697106
xchg dl, dh
cmovne edx, edi

Function at 0x744c89
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea esi, [edx + esi + 4]
sar ecx, 0x5e
lea ecx, [ecx + edx*8 - 0x6545377f]
xor eax, ebx
jmp 0x734655
mov dword [edx], ecx
setb byte [esp]
sal al, 0xa7
pop ecx
pop eax
jmp edi
not eax
not edx
ror eax, cl
sub cx, dx
setg cl
sbb eax, 0xaa169f9f
call fcn.007379e0
mov dword [esp + eax - 0x1000000], 0x9e29f884
cbw
xor bl, dl
sub eax, 0x2004ab37
btr eax, eax
lea edx, [esp + edx + 8]
jae 0x6d89ce
mov edx, 0xb817e317
xor edx, edx
movsx ecx, dx
mov eax, dword [edx + esi]
adc cx, 0xf5a8
xor cl, cl
jle 0x68d765

Function at 0x7493d5
Capabilities:
Query or enumerate registry value
Set environment variable
Set registry value

Disassembly:
bts edx, 0xd
mov eax, dword [esi + ecx - 0x200]
jb 0x679041
xor eax, ebx
shr edx, 0x3e
setns dl
ror eax, 1
jmp 0x73ca3a
bt edx, edx
lea eax, [eax + ecx - 0x54283e1b]
and cx, cx
xor eax, 0xbcb646b2
call fcn.006e6705
mov ecx, eax
mov word [edi], dx
movsx edx, cl
lea esi, [esi + edx*8 - 0x18c]
idiv eax
call fcn.0069ae02
mov eax, 0x328cdcb6
movzx ecx, al
push eax
lea esi, [esi + eax*2 - 0x6519b96d]
cdq
movzx eax, byte [esi + eax - 0x328cdcb6]
xor al, bl
ror al, 1
add dl, 0x98
btc ecx, edx
xor al, 0x3b
pop edx
ror al, 1
jmp 0x7555b2
ror cl, 0xe2
inc al
xor bl, al
lea edi, [edi + ecx*2 - 0x200015c]
mov word [edi + ecx*2 - 0x200015a], ax
shr ecx, 0xef
movzx eax, dl
cdq
lea esi, [esi + ecx*4 - 0x804]
jae 0x5cb960

Function at 0x7576f4
Capabilities:
Execute anti-debugging instructions
Resolve function by parsing pe exports

Disassembly:
neg edx
lea eax, [ecx + eax - 0x244f74ce]
xor dword [esp + eax - 0x6e939e5f], 0x3996e5bd
jnp 0x5c02fb

Function at 0x75ad49
Capabilities:
Execute anti-debugging instructions
Resolve function by parsing pe exports

Disassembly:
mov dword [esp + eax*2], edi
ret 4
mov eax, 0xf32eba9f
adc esi, 1
add cl, dl
sar eax, 0x3b
sal eax, 0xb
mov word [esi], cx
mov dword [esp], eax
mov edx, dword [ebp]
sar dword [esp], 0x4a
adc ebp, 4
shl al, 0x41
movsx ecx, word [esp]
xor edx, ebx
sub al, cl
xor edx, 0xa63c3c37
dec ecx
push eax
ror edx, 1
cwde
lea edx, [edx + ecx - 0x2ce50268]
or dword [esp], 0xe726d012
ror edx, 2
not eax
sal ecx, cl
shr eax, 0x2f
lea edx, [edx + ecx - 0x33e98ecc]
xor ebx, edx
dec ecx
add edi, edx
xadd word [esp + eax + 2], cx
ror dword [esp + eax + 2], cl
jne 0x6bc2c1
Function at 0x75b9b1
Capabilities:
Set environment variable

Disassembly:
mov dword [esi + 0x44], ebx
jmp 0x64998a
push 0x457aa0
jmp 0x68f897
push str.DNGTrialState
jmp 0x72ffef
jle 0x72fff5
cmp ebp, ebx
jmp 0x732127
jne 0x64998a
mov dword [esi + 0x28], ebx
mov dword [esi + 0x40], ebx
jmp 0x5c6ad7
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
jmp 0x62a336
nop
jmp 0x6a512a
jb 0x6f89a6
xor ebp, ebp
jmp 0x6f89a6
xor eax, 0x752c323e
jmp 0x6b79a6
push str.DNGTrialState
jmp 0x642db8
jmp fcn.0043940d
call fcn.005c8c64
je 0x6f89a6
mov ebx, dword [esi + 0x30]
test ebp, esi
push 0
add edi, 1
call fcn.0043d75c
add esp, 4
cmp bl, 0x85
cmp eax, ebx
jmp 0x667d46
xor ebx, ebx
cmp edi, ebx
jmp 0x5efbfa
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
cmp ebp, ebx
jmp 0x62a330
je 0x5da7a8
push 0x45f3a0
jmp 0x5dbfab
lea eax, [eax + ecx*2 - 0x83fe422]
mov dword [esp + ecx*2], 0x2890ee80
imul ecx, edx
jae 0x6759d0
mov eax, 0x7d958e82
mov dx, word [eax + edi - 0x7d958e82]
lea ecx, [eax*4 - 0x26f756c9]
mov cl, byte [edi + eax - 0x7d958e80]
inc eax
lea edi, [eax + edi - 0x7d958e81]
not eax
shr dx, cl
mov word [edi], dx
mov ecx, eax
movzx edx, cx
mov eax, dword [ebp + edx*8 - 0x38be0]
lea ebp, [ebp + edx - 0x7178]
and cx, cx
xor eax, ebx
call fcn.007098ec
Function at 0x4ad03dde
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [edi + 0x3c]
add ecx, edi
movzx edx, word [ecx + 0x14]
push esi
lea esi, [edx + ecx + 0x18]
movzx edx, word [ecx + 6]
xor eax, eax
test edx, edx
jbe 0x4ad03e0c
lea ecx, [esi + 0x10]
mov esi, dword [ecx]
test esi, esi
je 0x4ad03e06
mov eax, dword [ecx + 4]
add eax, esi
add eax, edi
add ecx, 0x28
dec edx
jne 0x4ad03df9
sub eax, edi
pop esi
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x50250c27
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e024
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x6feb6a0b
nop
nop
nop
nop
test eax, eax
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x100010a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.10001240
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x10001164
cmp dword [ebp - 4], 0x50000000
jb 0x100010e1
cmp dword [ebp - 4], 0x80000000
ja 0x100010e1
mov dword [ebp - 4], 0x4fff0000
jmp 0x100010ba
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.100b99d0
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x10001107
jmp 0x10001164
cmp dword [ebp - 0x14], 0x10000
jne 0x1000114a
cmp dword [ebp - 0x18], 0x10000
jb 0x1000114a
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1000113d
mov eax, dword [ebp - 8]
jmp 0x10001166
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1000115f
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.10001240
add esp, 4
mov dword [ebp - 4], eax
jmp 0x100010ba
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10001170
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.10001270
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1000122c
cmp dword [ebp - 4], 0x50000000
jb 0x100011ac
cmp dword [ebp - 4], 0x80000000
ja 0x100011ac
mov dword [ebp - 4], 0x80010000
jmp 0x10001185
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.100b99d0
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x100011d2
jmp 0x1000122c
cmp dword [ebp - 0x14], 0x10000
jne 0x10001215
cmp dword [ebp - 0x18], 0x10000
jb 0x10001215
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10001208
mov eax, dword [ebp - 8]
jmp 0x1000122e
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10001227
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.10001270
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10001185
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100019a0
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
cmp dword [eax], 0x52727464
je 0x100019b5
xor eax, eax
jmp 0x10001a2a
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
add edx, 0x10000
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 8]
add eax, 0x48
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
jmp 0x100019e2
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x38d
jae 0x10001a25
mov edx, dword [ebp - 4]
imul edx, edx, 0x48
mov eax, dword [ebp - 8]
cmp dword [eax + edx + 0x40], 0
je 0x10001a23
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 0xc]
jb 0x10001a1f
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 0x10]
jb 0x10001a23
xor eax, eax
jmp 0x10001a2a
jmp 0x100019d9
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x10001bf0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10501060]
mov dword [ebp - 4], eax
jmp 0x10001c09
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x10001c26
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x10001c00
mov esp, ebp
pop ebp
ret
Function at 0x10002070
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x10501070], eax
je 0x1000208e
mov eax, 0x10dd
jmp 0x1000216f
mov eax, dword [0x10501080]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1000210c
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x100020ea
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x100020ea
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.10001710
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.100b8535
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x10002096
mov dword [0x10501080], 0
call fcn.10001a30
mov ecx, dword [0x1050107c]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x10002159
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.100b8535
add esp, 4
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x10002124
mov dword [0x1050107c], 0
mov dword [0x10501070], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10002660
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x10501074], 0
je 0x10002679
mov eax, dword [0x10501074]
jmp 0x10002719
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp dword [ebp + 8], eax
jne 0x1000268b
xor eax, eax
jmp 0x10002719
push 8
call fcn.100b7763
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100026e1
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x100026ca
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.100b8535
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x10501074], eax
mov dword [0x10501078], 0
mov eax, dword [ebp - 8]
jmp 0x10002719
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x100026fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
jmp 0x100026ab
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x1050107c]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x1050107c], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x100049f0
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor ecx, ecx
mov dword [ebp - 4], ecx
nop
xor eax, eax
test cl, 1
je 0x10004a0b
bts eax, 7
shr ecx, 1
test cl, 1
je 0x10004a16
bts eax, 6
shr ecx, 1
test cl, 1
je 0x10004a21
bts eax, 5
shr ecx, 1
test cl, 1
je 0x10004a2c
bts eax, 4
shr ecx, 1
test cl, 1
je 0x10004a37
bts eax, 3
shr ecx, 1
test cl, 1
je 0x10004a42
bts eax, 2
shr ecx, 1
test cl, 1
je 0x10004a4d
bts eax, 1
test cl, 2
je 0x10004a56
bts eax, 0
shl eax, 0x18
mov ecx, eax
add eax, eax
sar ecx, 0x1f
and ecx, 0x4c11db7
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov ebx, ecx
sar ebx, 0x1f
and ebx, 0x4c11db7
lea eax, [ecx + ecx]
xor ebx, eax
mov eax, dword [ebp - 4]
xor edx, edx
lea esi, [edi + eax*4]
lea ecx, [edx + 1]
test bl, 1
je 0x10004af2
mov eax, 0x20
sub eax, ecx
bts edx, eax
inc ecx
shr ebx, 1
cmp ecx, 0x21
jl 0x10004ae3
mov ecx, dword [ebp - 4]
inc ecx
mov dword [esi], edx
mov dword [ebp - 4], ecx
cmp ecx, 0xff
jle 0x10004a00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10004b20
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 0xc]
lea eax, [ebp + 0xc]
push 0x100e2a7c
push dword [ebp + 8]
mov dword [ebp - 4], ecx
push eax
mov dword [edi], 0xffffffff
mov dword [ebp + 0xc], 0
call fcn.100bb141
add esp, 0xc
test eax, eax
je 0x10004b59
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 0xc
push ebx
push 0x400
call fcn.100bb188
add esp, 4
mov ebx, eax
mov dword [ebp + 8], ebx
push dword [ebp + 0xc]
test ebx, ebx
jne 0x10004b85
call fcn.100bb20a
add esp, 4
xor al, al
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 0xc
push 0x400
push 1
push ebx
call fcn.100bb474
add esp, 0x10
test eax, eax
je 0x10004bdb
push esi
nop word [eax + eax]
mov esi, ebx
mov ebx, dword [edi]
lea esi, [esi + 1]
movzx ecx, byte [esi - 1]
movzx edx, bl
xor edx, ecx
shr ebx, 8
mov ecx, dword [ebp - 4]
xor ebx, dword [ecx + edx*4]
mov dword [edi], ebx
sub eax, 1
jne 0x10004ba2
push dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push 0x400
push 1
push ebx
call fcn.100bb474
add esp, 0x10
test eax, eax
jne 0x10004ba0
pop esi
push ebx
call fcn.100bb5af
push dword [ebp + 0xc]
call fcn.100bb20a
not dword [edi]
add esp, 8
mov al, 1
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10005f40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x100ef018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x100da6c0
push 0x64
mov edi, edx
mov esi, ecx
call fcn.100b7793
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x100060eb
push 0x63
lea ecx, [ebx + 1]
push 0
push ecx
call fcn.100b99d0
add esp, 0xc
mov byte [ebx], 1
lea eax, [ebx + 4]
push 2
push eax
call fcn.100b6a00
lea eax, [ebx + 0x34]
push eax
call fcn.100b6b8c
add esp, 0xc
mov dword [0x1087f6c4], ebx
lea eax, [ebp - 0x48]
xorps xmm0, xmm0
movq qword [ebx + 0x5c], xmm0
push 0x20
push eax
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor edx, edx
lea ecx, [ebp - 0x48]
call fcn.10004cb0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x1080be8c
mov dword [0x10882e3c], eax
call fcn.100b6a21
add esp, 4
test eax, eax
jne 0x10006106
test edi, edi
je 0x10005ffd
movups xmm0, xmmword [edi]
movups xmmword [0x10884540], xmm0
movq xmm0, qword [edi + 0x10]
jmp 0x10006007
xorps xmm0, xmm0
movups xmmword [0x10884540], xmm0
movq qword [0x10884550], xmm0
xorps xmm0, xmm0
push 0x1080be8c
movups xmmword [0x10884758], xmm0
movq qword [0x10884768], xmm0
call fcn.100b6a46
add esp, 4
cmp dword [0x10888774], 0
jne 0x100060f5
mov dword [0x10888978], 0x100efc08
test esi, esi
je 0x10006076
cmp byte [esi], 0
mov ecx, 0x10888988
je 0x10006073
mov edx, 1
sub edx, esi
nop word [eax + eax]
lea eax, [esi + edx]
cmp eax, 0x40
jae 0x10006073
mov al, byte [esi]
inc esi
mov byte [ecx], al
inc ecx
cmp byte [esi], 0
jne 0x10006060
mov byte [ecx], 0
mov esi, dword [0x1087f6c4]
mov al, 1
mov dword [0x10888774], 0x10888978
mov dword [0x10888980], 0x100064c0
mov dword [0x10888984], 0x100064d0
xchg byte [esi], al
push 4
call fcn.100b7763
add esp, 4
lea ecx, [ebp - 0x4c]
mov dword [eax], esi
push ecx
push 0
push eax
push 0x10006830
push 0
push 0
call fcn.100be93c
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x50], ecx
test ecx, ecx
je 0x10006111
cmp dword [esi + 0x60], 0
jne 0x1000610c
mov eax, dword [ebp - 0x4c]
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b7755
mov esp, ebp
pop ebp
ret
mov dword [0x1087f6c4], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100b7755
mov esp, ebp
pop ebp
ret
push eax
call fcn.100b6fa5
call fcn.100beb2d
push 6
mov dword [ebp - 0x4c], 0
call fcn.100b6fd2
int3
Function at 0x10007000
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [0x10888774]
push esi
push dword [ebp + 8]
mov dword [edi + 0x154], 1
lea eax, [edi + 0x15c]
lea ebx, [edi + 0x154]
push eax
call fcn.100b9450
add esp, 0xc
mov dword [edi + 0x158], esi
add esi, 8
je 0x100070b7
mov eax, dword [edi]
test eax, eax
je 0x10007070
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
je 0x10007070
test ebx, ebx
je 0x10007070
push 0
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], 0
push ecx
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x10007070
cmp dword [ebp + 0xc], esi
je 0x100070b7
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x10007090
mov eax, dword [edi + 4]
cmp eax, 3
je 0x10007084
cmp eax, 1
jne 0x10007090
lea eax, [edi + 0x54]
push eax
push dword [edi + 0x50]
call ecx
add esp, 8
mov esi, dword [edi]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0xffffffff
xor al, al
mov byte [esi], 0
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100130a0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
call fcn.100132d0
test al, al
je 0x100131fc
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x958d4f
call esi
lea eax, [ebp - 4]
mov dword [0x958d4f], 0x36a
push eax
push dword [ebp - 4]
push 4
push 0x958d4f
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x958d88
call esi
lea eax, [ebp - 4]
mov dword [0x958d88], 0x36a
push eax
push dword [ebp - 4]
push 4
push 0x958d88
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x958dbe
call esi
lea eax, [ebp - 4]
mov dword [0x958dbe], 0x36a
push eax
push dword [ebp - 4]
push 4
push 0x958dbe
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x958dda
call esi
lea eax, [ebp - 4]
mov dword [0x958dda], 0x36a
push eax
push dword [ebp - 4]
push 4
push 0x958dda
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x5be217
call esi
lea eax, [ebp - 4]
mov byte [0x5be217], 0x8d
push eax
push dword [ebp - 4]
push 1
push 0x5be217
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x5be237
call esi
lea eax, [ebp - 4]
mov byte [0x5be237], 0x8d
push eax
push dword [ebp - 4]
push 1
push 0x5be237
call esi
push 0x10013380
push 0x787070
push 0xe8
call fcn.100b54d0
push 0x7870be
push 0x787078
push 0xe9
call fcn.100b54d0
push 0x100134b0
push 0x786d60
push 0xe8
call fcn.100b54d0
push 0x7870be
push 0x786d68
push 0xe9
call fcn.100b54d0
add esp, 0x30
pop esi
cmp dword [0x102bc2d8], 0
jbe 0x100132c0
push 0x10013800
push 0x5b8619
push 0xe8
call fcn.100b54d0
push 0x10013800
push 0x786ca4
push 0xe8
call fcn.100b54d0
mov eax, dword [0x102bc2d8]
add esp, 0x18
cmp eax, 2
je 0x10013243
cmp eax, 4
jne 0x10013252
push 0x1c0f
call fcn.10047a00
mov eax, dword [0x102bc2d8]
cmp eax, 3
je 0x1001325c
cmp eax, 4
jne 0x100132c0
push 0x180f
call fcn.10047a00
push 0x1c0d
call fcn.10047a00
push 0x1c0e
call fcn.10047a00
push 0x1c10
call fcn.10047a00
push 0x1c16
call fcn.10047a00
push 0x1c1f
call fcn.10047a00
push 0x1c29
call fcn.10047a00
push 0x1c2a
call fcn.10047a00
push 0x1c2b
call fcn.10047a00
push 0x1c2c
call fcn.10047a00
mov esp, ebp
pop ebp
ret
Function at 0x10018a60
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1029a288]
cmp byte [0x1029a22d], 0
je 0x10018b1e
cmp dword [ebp + 0xc], 0
jne 0x10018ac8
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x1029a278]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10018b1e
comiss xmm1, dword [0x1029a280]
ja 0x10018b1e
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x1029a27c]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10018b1e
comiss xmm1, dword [0x1029a284]
ja 0x10018b1e
cmp dword [ebp + 8], 0x201
jne 0x10018ade
mov byte [0x1029a28c], 1
mov al, 1
pop ebp
ret 8
mov byte [0x1029a28c], 0
cmp eax, 0x1f4
jb 0x10018b1e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1029a288], eax
mov eax, dword [0x100febc4]
cmp eax, 6
je 0x10018b0d
push dword [0x100febd4]
push eax
call fcn.10018c30
mov byte [0x1029a22d], 0
mov dword [0xe8cb3c], 0
xor al, al
pop ebp
ret 8