joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43f460
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47da93
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00471457
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00476af0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0047800c
test eax, eax
je 0x43f57c
mov ecx, dword [esp + 0x3c]
call fcn.00476b1d
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43f540
push edi
mov ecx, esi
call fcn.00474187
mov ecx, esi
call fcn.0043f720
cmp dword [esp + 0x38], 1
jne 0x43f575
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004742c2
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x441760
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x441793
push esi
call fcn.0044fb20
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44178c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x441819
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x441802
mov eax, dword [esi + 8]
test eax, eax
je 0x4417b7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4417fe
cmp eax, 2
je 0x441802
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4417aa
cmp eax, 3
je 0x4417dd
cmp eax, 1
jne 0x4417aa
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4417aa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4417aa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00441840
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x441828
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00441840
add esp, 4
pop esi
ret

Function at 0x4420c0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x4420e1
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x4420e1
mov eax, dword [eax + 0x44]
test eax, eax
je 0x4420e1
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x47224d
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x472285
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00470304
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004702dc
jmp 0x472291
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x473944
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x473986
call fcn.004793f2
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x473986
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x47397d
xor eax, eax
jmp 0x47398e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00473994
pop edi
pop esi
pop ebx
ret 4
Function at 0x479922
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x479950
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47996e
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00479888
jmp 0x47996e
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47996e
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00479888
test edi, edi
mov eax, edi
jne 0x479958
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x414ac0
Capabilities:
Encode data using xor

Disassembly:
lahf
mov ebx, 0x8426e849
pop esi
or eax, 0xc62a6f89
sal dh, cl
movsd dword es:[edi], dword [esi]
test byte [ecx + 0x2e], dl
pop ebp
add ecx, dword [eax]
cpuid
or eax, 0x56888788
push edi
xor esp, dword [eax - 0x1b0f2f14]
inc esi
test byte es:[esi + 0xd], bl
mov dword [edi + 0x2a], ebp
invalid
push ecx
pop ebp
outsb dx, byte [esi]
arpl word [edi - 0x20cd86a2], ax
pushfd
jns 0x4149e1
and eax, 0x324ae4f6
aaa
mul ah
dec edx
xor dh, byte [edi]
inc ecx
js 0x4149e9
mul ah
push esi
xor bh, byte [edi]
inc ecx
js 0x4149f1
and eax, 0x327ae4f6
mul ah
jp 0x414a02
xor al, byte [edi + 0x41]
inc edi
inc ecx
js 0x4149f9
and esp, dword [esi + eax*2]
scasb al, byte es:[edi]
jle 0x414a23
xor al, 0xe4
test byte [esi - 0x27], bl
test byte [eax], ah
push 0xa17bda45
xchg dl, bl
jnp 0x41498b
mov eax, dword [0xa17bda86]
xchg dl, bl
jnp 0x41498f
xchg dl, bl
sub byte cs:[ebx + 0x59], ah
fisubr dword [esi]
sub byte [ebx + 0x59], ah
inc esi
mov eax, dword [0xa17b9be6]
iretd
mov eax, dword [0x9484cff2]
xchg byte [edx - 0x2c915ec6], bh
mov edx, 0xd36ea13a
outsb dx, byte [esi]
sar dword [edi + ebx*2 - 0x5e81e287], cl
out 0x9b, al
jnp 0x4149af
mov esp, 0x7e1d795f
mov eax, dword [0xa17b9be6]
xchg dl, bl
jnp 0x414a7a
inc ebp
fidivr dword [ebx - 0x5f]
xchg dl, bl
jnp 0x4149bb
xchg dl, bl
jnp 0x4149bf
xchg dl, bl
xchg ebx, eax
push 0x79
and eax, 0xda866284
jnp 0x4149cb
xchg dl, bl
jnp 0x4149cf
xchg dl, bl
mov eax, 0x7bda86a1
mov eax, dword [0xa17bda86]
xchg dl, bl
jnp 0x4149df
xchg dl, bl
mov eax, 0x7bda86a1
mov eax, dword [0xa17bda86]
xchg dl, bl
jnp 0x4149ef
xchg dl, bl
fcmovnbe st(0), st(1)
salc
wait
jnp 0x414a59
cmpsb byte [esi], byte es:[edi]
mov edx, 0xda45a13a
jnp 0x4149ff
mov eax, dword [0xa17bda45]
xchg dl, bl
sub byte cs:[ebx + 0x51], ah
test eax, 0x2a779f0d
ror edx, cl
sti
pushfd
inc esi
mov edi, dword [edx]
mov eax, dword [0x223caf86]
jle 0x414a53
or ebx, esp
add eax, 0x8ad57a32
pop ecx
xchg ebx, eax
mov al, byte [0x49f8c9f2]
xchg dword [esi + 0x32b74a64], ebp
invalid
xchg dl, bl
jp 0x414aeb
lodsb al, byte [esi]
test dword [esi + ebx*2 - 0x6b7b3193], eax
salc
cmp dword [edx], 0xffffffa1
outsb dx, byte [esi]
out 0xbc, eax
pop edi
jns 0x414b13
mov ebx, 0x8f3283d5
invalid
fisubr dword [esi]
sub byte [ebx + 0x1c], ah
sub byte cs:[ebx + 0x1c], ah
sbb al, 0x7e
jno 0x414a9e
jle 0x414b37
xlatb
wait
jnp 0x414a6a
out dx, al
or bh, byte [ecx - 0x724f791d]
dec ecx
cld
pop ds
test dword [esi - 0x2a], ebx
xor bl, bh
js 0x414b01
ret 0x66a1
xor ch, byte [ebx]
pop esi
jns 0x414b15
xchg ebx, eax
cli
jns 0x414b19
test byte [ecx], bl
xchg esi, eax
mov edx, 0xb6ea13a
std
pop esi
jns 0x414b13
mov eax, 0x7bda86a1
mov eax, dword [0xa17bda86]
mov eax, dword [0xa17bda86]
xchg dl, bl
jnp 0x414aab
xchg dl, bl
jnp 0x414aaf
xchg dl, bl
test byte [esi + 0x79], bl
and eax, 0xda86a17b
test byte [esi + 0x79], bl
and eax, 0xda86a17b
mov eax, dword [0x5e84da86]
pop esi
jns 0x414b41
jnp 0x414abf
xchg dl, bl
jnp 0x414ac3
xchg dl, bl
jnp 0x414ac7
xchg dl, bl
jnp 0x414acb
add eax, 0x82667f36
invalid
mov dl, 0x7b
rol edi, 1
fidiv dword [0xf9023ee6]
wait
add byte [ecx - 0x4c], ah
invalid
Function at 0x416113
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x416152
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x416152
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x416152
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x416152
cmp dword [ecx + 0x74], 0xe
jbe 0x416152
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x428520
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42854d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42854d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x431072
nop
nop
nop
mov ebx, 0x40915c
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x2fd8258a
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x431060
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
je 0x4310d2
nop
nop
nop
mov ebx, 0x42f3f8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x3c4212c0
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x10008dc0
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x104
lea edx, [esp]
mov dword [0x1002a358], eax
push esi
mov esi, ecx
mov ecx, dword [esp + 0x110]
push 0x104
push edx
push 0
mov dword [0x1002a354], ecx
mov dword [0x1002a350], esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 4]
push 0x5c
push eax
call fcn.10019e20
inc eax
push 0x10001660
push eax
call fcn.10019d40
add esp, 0x10
test eax, eax
je 0x10008e9e
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, esi
mov dword [0x1002a814], eax
call fcn.10009a50
test eax, eax
je 0x10008e9e
push edi
mov ecx, 8
xor eax, eax
mov edi, 0x1002a228
rep stosd dword es:[edi], eax
mov ecx, 8
mov edi, 0x1002a2c8
rep stosd dword es:[edi], eax
mov ecx, 8
mov edi, 0x1002a2a8
rep stosd dword es:[edi], eax
mov ecx, 8
mov edi, 0x1002a288
rep stosd dword es:[edi], eax
mov ecx, esi
call fcn.100098a0
push 0
push 0
push 0
push 0x10009a40
push 0x400
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
mov dword [0x1002a7b8], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
add esp, 0x104
ret 0xc
xor eax, eax
pop esi
add esp, 0x104
ret 0xc
Function at 0x1000a220
Capabilities:
Delete file

Disassembly:
sub esp, 0x184
push edi
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 5]
mov byte [esp + 4], 0
rep stosd dword es:[edi], eax
mov ecx, dword [0x10003e90]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 4]
push eax
push ecx
call fcn.1001a6f0
add esp, 8
test eax, eax
jne 0x1000a25c
pop edi
add esp, 0x184
ret
lea edi, [esp + 4]
or ecx, 0xffffffff
xor eax, eax
push esi
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x104
mov edx, ecx
mov esi, edi
mov edi, 0x1002bbe4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x2c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, 0x1002bc64
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x8c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x88]
push 0x5c
push edx
call fcn.10019e20
add esp, 8
test eax, eax
pop esi
je 0x1000a2e7
mov byte [eax + 1], 0
lea eax, [esp + 0x84]
push 0x10001830
push eax
call fcn.10019e50
jmp 0x1000a2f9
lea ecx, [esp + 0x84]
push 0x10001830
push ecx
call fcn.10019ea0
add esp, 8
lea edx, [esp + 0x84]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, 1
pop edi
add esp, 0x184
ret
Function at 0x1000a320
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
sub esp, 0x108
mov dword [0x1002b88c], eax
lea eax, [esp + 4]
mov dword [0x1002b888], edx
push esi
push 0x104
push eax
push 0
mov dword [0x1002a858], ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 8]
push 0x5c
push ecx
call fcn.10019e20
lea esi, [eax + 1]
push 0x10001854
push esi
call fcn.10019d40
add esp, 0x10
test eax, eax
je 0x1000a3c3
mov eax, dword [0x1002bf2c]
test eax, eax
jne 0x1000a3b4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [0x1002bf2c], eax
mov eax, dword [0x1002bf38]
test eax, eax
jne 0x1000a3b4
lea edx, [esp + 4]
push edx
push 0
push 0
push 0x1000a500
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
mov dword [0x1002bf38], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop esi
add esp, 0x108
ret 0xc
push 0x1000184c
push esi
call fcn.10019d40
add esp, 8
test eax, eax
je 0x1000a472
lea eax, [esp + 8]
mov byte [esi], 0
push eax
push 0x10001838
push 0x1002c040
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [0x1002bf2c]
add esp, 0xc
test eax, eax
jne 0x1000a463
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [0x1002bf2c], eax
mov ecx, 8
xor eax, eax
mov edi, 0x1002bd64
rep stosd dword es:[edi], eax
mov byte [0x1002bbc4], al
mov eax, dword [0x1002bf30]
test eax, eax
pop edi
jne 0x1000a463
lea ecx, [esp + 4]
push ecx
push 0
push 0
push 0x1000a480
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 2
push eax
mov dword [0x1002bf30], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov edx, dword [0x1002bf30]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1002bf28], 0
mov eax, 1
pop esi
add esp, 0x108
ret 0xc
xor eax, eax
pop esi
add esp, 0x108
ret 0xc
Function at 0x1000b520
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x2108
call fcn.10023260
push esi
push edi
mov ecx, 0x7ff
xor eax, eax
lea edi, [esp + 0x111]
mov byte [esp + 0x110], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0xc]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0xc]
push 0x5c
push ecx
call fcn.10019e20
add esp, 8
test eax, eax
je 0x1000b581
lea edx, [esp + 0xc]
push 0x10001830
push edx
mov byte [eax + 1], 0
call fcn.10019e50
jmp 0x1000b590
lea eax, [esp + 0xc]
push 0x10001830
push eax
call fcn.10019ea0
add esp, 8
lea ecx, [esp + 0xc]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000b67d
lea edx, [esp + 8]
push 0
push edx
lea eax, [esp + 0x118]
push 0x2000
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x110]
push 0x10001974
push ecx
call fcn.10022d30
add esp, 8
test eax, eax
je 0x1000b67d
lea edx, [esp + 0x110]
push 0x10001954
push edx
call fcn.10022d30
mov esi, eax
add esp, 8
test esi, esi
je 0x1000b67d
push 0xd
push esi
call fcn.10022dc0
add esp, 8
test eax, eax
je 0x1000b67d
push 0x10001954
mov byte [eax], 0
call fcn.10019d20
add eax, esi
push eax
call fcn.1002331a
add esp, 8
cmp eax, 0xffffffff
je 0x1000b67d
cmp eax, 0x11
jg 0x1000b67d
mov edi, dword [eax*4 + 0x10001790]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x2118]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, 1
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
add esp, 0x2108
ret
pop edi
xor eax, eax
pop esi
add esp, 0x2108
ret
Function at 0x1000b6a0
Capabilities:
Accept command line arguments
Create thread
Delete registry value

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 0xc]
sub esp, 0x10c
mov dword [0x1002c25c], eax
lea eax, [esp + 8]
mov dword [0x1002c98c], edx
push ebx
mov ebx, ecx
mov ecx, dword [esp + 0x118]
push 0x104
push eax
push 0
mov dword [0x1002c258], ecx
mov dword [0x1002c254], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0xc]
push 0x5c
push ecx
call fcn.10019e20
inc eax
push 0x10001a84
push eax
call fcn.10019d40
add esp, 0x10
test eax, eax
je 0x1000b84a
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0x10001a74
push eax
call fcn.10022d30
add esp, 8
neg eax
sbb eax, eax
neg eax
mov dword [0x1002c908], eax
mov eax, dword [0x1002c934]
test eax, eax
jne 0x1000b83a
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea edx, [esp + 0xc]
push edx
push 0x20019
push 0
push 0x10001a58
push getpeername
mov dword [0x1002c934], eax
call esi
test eax, eax
jne 0x1000b83a
mov eax, dword [esp + 0xc]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call edi
lea ecx, [esp + 0xc]
push ecx
push 0xf003f
push 0
push 0x10001a58
push getpeername
call esi
test eax, eax
jne 0x1000b7ae
mov edx, dword [esp + 0xc]
push 0x10001a50
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov ecx, dword [esp + 0xc]
push ecx
call edi
mov ecx, ebx
mov dword [0x1002c8d8], 0
call fcn.1000bf10
test eax, eax
pop edi
je 0x1000b83a
mov eax, dword [0x1002c918]
test eax, eax
jne 0x1000b83a
mov eax, dword [0x1002c904]
test eax, eax
jne 0x1000b83a
mov eax, dword [0x1002c95c]
mov edx, 0x1000bef0
push 5
push 0x1002c9a0
sub edx, eax
push eax
mov eax, dword [0x1002c934]
sub edx, 5
push eax
mov dword [0x1002c904], 1
mov dword [0x10001a05], edx
call fcn.1001a470
mov ecx, dword [0x1002c95c]
mov edx, dword [0x1002c934]
push 5
push 0x10001a04
push ecx
push edx
call fcn.1001a640
add esp, 0x20
push 0
push 0
push 0
push 0x1000b860
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
mov eax, 1
pop ebx
add esp, 0x10c
ret 0xc
xor eax, eax
pop ebx
add esp, 0x10c
ret 0xc
Function at 0x1000ca90
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
sub esp, 0x104
mov dword [0x1002c9a8], ecx
lea ecx, [esp]
mov dword [0x1002c9b0], eax
mov eax, dword [esp + 0x110]
push esi
push 0x104
push ecx
push 0
mov dword [0x1002c9ac], edx
mov dword [0x1002cbbc], eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 4]
push 0x5c
push edx
call fcn.10019e20
lea esi, [eax + 1]
push 0x10001b68
push esi
call fcn.10019d40
add esp, 0x10
test eax, eax
jne 0x1000cbaf
push 0x10001b5c
push esi
call fcn.10019d40
add esp, 8
test eax, eax
jne 0x1000cbaf
push 0x10001b54
push esi
call fcn.10019d40
add esp, 8
test eax, eax
je 0x1000cc63
mov eax, dword [0x1002cbd8]
test eax, eax
je 0x1000cb37
mov eax, 1
pop esi
add esp, 0x104
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [0x1002cbd8], eax
call fcn.1000d010
test eax, eax
je 0x1000cc63
mov eax, dword [0x1002cbd4]
mov edx, dword [0x1002cbd8]
mov ecx, 0x1000ceb0
push 5
sub ecx, eax
push 0x1002cdf0
sub ecx, 5
push eax
push edx
mov dword [0x10001b45], ecx
call fcn.1001a470
mov eax, dword [0x1002cbd4]
add esp, 0x10
test eax, eax
je 0x1000cc54
push 0
push 5
push 0x10001b44
push eax
mov eax, dword [0x1002cbd8]
push eax
call fcn.1001a340
add esp, 0x14
mov eax, 1
pop esi
add esp, 0x104
ret 0xc
lea ecx, [esp + 4]
push ecx
call fcn.1001b1f0
mov eax, dword [0x1002cbd8]
add esp, 4
test eax, eax
je 0x1000cbd4
mov eax, 1
pop esi
add esp, 0x104
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [0x1002cbd8], eax
call fcn.1000cee0
test eax, eax
je 0x1000cc63
push 0
push 0
push 0
push 0x1000d0d0
push 0x400
push 0
mov byte [0x1002cbf0], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, dword [0x1002cbe0]
mov edx, 0x1000cec0
push 5
push 0x1002cdf8
sub edx, eax
push eax
mov eax, dword [0x1002cbd8]
sub edx, 5
push eax
mov dword [0x10001b4d], edx
call fcn.1001a470
mov eax, dword [0x1002cbe0]
add esp, 0x10
test eax, eax
je 0x1000cc54
mov ecx, dword [0x1002cbd8]
push 0
push 5
push 0x10001b4c
push eax
push ecx
call fcn.1001a340
add esp, 0x14
mov eax, 1
pop esi
add esp, 0x104
ret 0xc
xor eax, eax
pop esi
add esp, 0x104
ret 0xc
Function at 0x1000d5e0
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x108
lea edx, [esp + 4]
mov dword [0x1002d500], eax
push esi
push edi
mov edi, ecx
push 0x104
mov ecx, dword [esp + 0x11c]
push edx
push 0
mov dword [0x1002d4fc], ecx
mov dword [0x1002d200], edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0xc]
push 0x5c
push eax
call fcn.10019e20
lea esi, [eax + 1]
push 0x10001cb0
push esi
call fcn.10019d40
add esp, 0x10
test eax, eax
je 0x1000d650
push 0x10001ca4
call fcn.1001a570
add esp, 4
test eax, eax
je 0x1000d650
push eax
call fcn.1001b040
push 0x10001ca4
push esi
call fcn.10019d40
add esp, 8
test eax, eax
je 0x1000d7cf
mov eax, dword [0x1002d994]
mov dword [esp + 8], 0
test eax, eax
je 0x1000d687
pop edi
mov eax, 1
pop esi
add esp, 0x108
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, edi
mov dword [0x1002d994], eax
call fcn.1000e0c0
test eax, eax
je 0x1000d7cf
mov eax, dword [0x1002d9a8]
mov esi, dword [0x1002d9a0]
mov edi, dword [0x1002d9bc]
mov ecx, 0x1000e0a0
sub ecx, eax
mov edx, 0x1000e080
sub ecx, 5
sub edx, esi
mov dword [0x10001c2d], ecx
sub edx, 5
mov ecx, 0x1000dbe0
mov dword [0x10001c35], edx
mov edx, dword [0x1002d994]
sub ecx, edi
push 5
push 0x1002d9fc
sub ecx, 5
push eax
push edx
mov dword [0x10001c3d], ecx
call fcn.1001a470
mov eax, dword [0x1002d9a0]
mov ecx, dword [0x1002d994]
push 5
push 0x1002da04
push eax
push ecx
call fcn.1001a470
mov edx, dword [0x1002d9bc]
mov eax, dword [0x1002d994]
push 5
push 0x1002da0c
push edx
push eax
call fcn.1001a470
mov eax, dword [0x1002d9a0]
add esp, 0x30
test eax, eax
je 0x1000d783
mov ecx, dword [0x1002d9a8]
mov edx, dword [0x1002d994]
push 5
push 0x10001c2c
push ecx
push edx
call fcn.1001a640
mov eax, dword [0x1002d9a0]
mov ecx, dword [0x1002d994]
push 5
push 0x10001c34
push eax
push ecx
call fcn.1001a640
mov edx, dword [0x1002d9bc]
mov eax, dword [0x1002d994]
push 5
push 0x10001c3c
push edx
push eax
call fcn.1001a640
add esp, 0x30
mov eax, dword [0x1002d9ec]
test eax, eax
jne 0x1000d7bf
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0x1000d7e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 2
push eax
mov dword [0x1002d9ec], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov edx, dword [0x1002d9ec]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
add esp, 0x108
ret 0xc
pop edi
xor eax, eax
pop esi
add esp, 0x108
ret 0xc