joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402ee0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0x462742
push 2
call fcn.0041b230
add esp, 8
push 0
call fcn.0040aa90
add esp, 4
mov dword [0x462734], eax
push 1
call fcn.0040aa90
add esp, 4
mov dword [0x462730], eax
mov dword [0x46273c], 0
mov dword [0x462738], 1
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00402cd0
add esp, 0xc
mov edx, dword [section..data]
push edx
call fcn.00403e30
add esp, 4
push 1
call dword [0x461008]
add esp, 4
push 0x4617d8
call fcn.00404070
add esp, 4
mov eax, dword [section..data]
push eax
push 0x4617e0
call fcn.00418bc0
add esp, 8
test eax, eax
je 0x402f86
mov ecx, dword [section..data]
push ecx
call fcn.00404070
add esp, 4
push 1
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00402cd0
add esp, 0xc
mov dword [ebp - 4], eax
mov ecx, 4
imul edx, ecx, 0x6b
cmp dword [edx + 0x463960], 0
jne 0x402fb5
mov dword [ebp - 8], 1
jmp 0x402fbc
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov dword [0x463d60], eax
cmp dword [0x463d60], 0
je 0x40300d
mov ecx, dword [0x463d64]
push ecx
push 0x4617e8
call fcn.00418bc0
add esp, 8
test eax, eax
je 0x40300d
mov edx, dword [0x463d64]
push edx
mov eax, dword [section..data]
push eax
call fcn.00418bc0
add esp, 8
test eax, eax
je 0x40300d
mov ecx, dword [0x463d64]
push ecx
call fcn.00404070
add esp, 4
mov edx, dword [0x463d64]
push edx
call fcn.00403830
add esp, 4
push 0
call dword [0x461008]
add esp, 4
mov eax, 4
imul ecx, eax, 0x71
cmp dword [ecx + 0x463960], 0
jne 0x403049
mov edx, 4
imul eax, edx, 0x51
cmp dword [eax + 0x463960], 0
je 0x4030aa
mov dword [ebp - 0xc], 0x4617f0
push 0x4617f4
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0040bb40
add esp, 8
mov dword [0x462734], eax
cmp dword [0x462734], 0
je 0x40308d
mov edx, dword [0x462734]
push edx
call dword [0x46100c]
add esp, 4
mov eax, dword [0x462734]
push eax
call fcn.0040adb0
add esp, 4
mov ecx, 4
imul edx, ecx, 0x51
cmp dword [edx + 0x463960], 0
je 0x4030a8
push 0
call fcn.00403b30
add esp, 4
jmp 0x403120
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 8]
jge 0x403111
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jge 0x40310f
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + edx*4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
push 0x4617f8
mov eax, dword [ebp - 0x10]
push eax
call fcn.0040bb40
add esp, 8
mov dword [0x462734], eax
cmp dword [0x462734], 0
je 0x40310d
mov ecx, dword [0x462734]
push ecx
call dword [0x46100c]
add esp, 4
mov edx, dword [0x462734]
push edx
call fcn.0040adb0
add esp, 4
jmp 0x4030b2
jmp 0x403120
mov eax, dword [0x462734]
push eax
call dword [0x46100c]
add esp, 4
mov ecx, dword [0x462730]
push ecx
call fcn.00419350
add esp, 4
mov edx, dword [0x462730]
push edx
call fcn.0040adb0
add esp, 4
push 0
call fcn.00418ba0
mov esp, ebp
pop ebp
ret
Function at 0x408000
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.00407c20
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x408032
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
call dword [0x44a164]
call dword [ebp - 8]
jmp 0x40803c
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esp, ebp
pop ebp
ret

Function at 0x42c850
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x42c877
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00423b90
add esp, 4
or eax, 0xffffffff
jmp 0x42c879
xor eax, eax
pop ebp
ret
Function at 0x436e93
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp 0x4497f0
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x40
cmp dword [0x462bf0], 1
jge 0x44985f
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
test ecx, ecx
je 0x449835
mov edx, dword [ebx + 8]
movzx eax, word [edx]
movzx ecx, word [ebx + 0xc]
cmp eax, ecx
je 0x449835
mov edx, dword [ebx + 8]
add edx, 2
mov dword [ebx + 8], edx
jmp 0x449812
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
movzx edx, word [ebx + 0xc]
cmp ecx, edx
jne 0x44984b
mov eax, dword [ebx + 8]
mov dword [ebp - 4], eax
jmp 0x449852
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
jmp 0x44994f
movzx ecx, word [ebx + 0xc]
movd xmm0, ecx
movaps xmmword [ebp - 0x30], xmm0
pshuflw xmm0, xmmword [ebp - 0x30], 0
movaps xmmword [ebp - 0x30], xmm0
pshufd xmm0, xmmword [ebp - 0x30], 0
movaps xmmword [ebp - 0x30], xmm0
mov edx, dword [ebx + 8]
and edx, 0xfff
cmp edx, 0xff0
ja 0x449920
mov eax, dword [ebx + 8]
movups xmm0, xmmword [eax]
movaps xmmword [ebp - 0x40], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pxor xmm0, xmmword [ebp - 0x20]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pcmpeqw xmm0, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x40]
pcmpeqw xmm0, xmmword [ebp - 0x30]
movaps xmmword [ebp - 0x40], xmm0
movaps xmm0, xmmword [ebp - 0x20]
por xmm0, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pmovmskb ecx, xmm0
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x449915
bsf edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
add eax, dword [ebx + 8]
mov dword [ebx + 8], eax
mov ecx, dword [ebx + 8]
movzx edx, word [ecx]
movzx eax, word [ebx + 0xc]
cmp edx, eax
jne 0x449909
mov ecx, dword [ebx + 8]
mov dword [ebp - 0xc], ecx
jmp 0x449910
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
jmp 0x44994f
mov edx, dword [ebx + 8]
add edx, 0x10
mov dword [ebx + 8], edx
jmp 0x44994a
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
movzx edx, word [ebx + 0xc]
cmp ecx, edx
jne 0x449933
mov eax, dword [ebx + 8]
jmp 0x44994f
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x449941
xor eax, eax
jmp 0x44994f
mov edx, dword [ebx + 8]
add edx, 2
mov dword [ebx + 8], edx
jmp 0x44987f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x401b66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410004]
jne 0x401b70
repz ret
jmp fcn.0040324d

Function at 0x405c62
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x405c71
pop dword [ebp - 0x30]
mov eax, 0x405c71
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0x4b3522ad
add dword [ebp - 0x40], 0x31d229e
mov dword [ebp - 0x3c], 0x8af0a370
add dword [ebp - 0x3c], 0xa742a8d5
mov dword [ebp - 0x38], 0xf1962105
add dword [ebp - 0x38], 0x5ab62329
mov dword [ebp - 0x34], 0xb43f16da
sub dword [ebp - 0x34], 0xb43f16da
lea eax, [ebp - 0x40]
push eax
mov eax, 0x5b0a9e1a
add eax, 0xa5363232
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0xbba40efe
add dword [ebp - 0x40], 0xb8ce5a58
mov dword [ebp - 0x3c], 0xbefab4f5
add dword [ebp - 0x3c], 0x8271ac80
mov dword [ebp - 0x38], 0xe9e2b21c
sub dword [ebp - 0x38], 0x867345b0
mov dword [ebp - 0x34], 0x45c99aa8
add dword [ebp - 0x34], 0xba366558
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, 0xfd3af72b
add eax, 0x305d91d
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x3aa1a
push 0
call eax
mov ecx, 0x4ba5
mov esi, eax
mov edi, 0x41b000
add edi, dword [ebp - 0x30]
mov ebx, 0x47181eb
xor dword [ebp - 4], eax
mov edx, dword [edi]
sub dword [ebp - 0x20], 0x8a3b017d
add edx, ebx
mov dword [esi], edx
xor dword [ebp - 0x2c], eax
add esi, 4
add edi, 4
loop 0x405d7c
add eax, 0xb70296a5
add eax, 0x48fe8ac2
xor ebx, ebx
add ebx, eax
add eax, 0x7797d10d
sub eax, 0x7797d108
mov ecx, 0x4b21a87
sub ecx, 0x4721a87
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x10008c10
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x14]
mov ebx, edx
mov edx, dword [ecx + 0x14]
push edi
mov edi, eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x10], eax
mov eax, edi
sub eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x1c]
jb 0x10008c3e
pop edi
pop ebp
mov eax, 6
pop ebx
add esp, 8
ret
push esi
lea esi, [eax + 2]
mov eax, dword [edx + 0x10]
shl esi, 4
add esi, ecx
lea ecx, [esp + 0x10]
push ecx
push ebx
push edi
mov dword [esi + 0xc], 0
push edx
mov edx, dword [eax + 0x18]
call edx
add esp, 0x10
test eax, eax
jne 0x10008d4b
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x54]
cmp dword [eax + 0x48], 0x62697473
lea edi, [eax + 0x4c]
jne 0x10008d4b
mov ecx, dword [eax + 0x40]
mov edx, dword [eax + 0x44]
movzx ebx, byte [edi]
add ecx, 0x20
add edx, 0x20
sar ecx, 6
sar edx, 6
cmp ebx, dword [edi]
jne 0x10008d4b
mov bl, byte [edi + 4]
movzx ebp, bl
cmp ebp, dword [edi + 4]
jne 0x10008d47
movsx ebp, byte [edi + 8]
cmp ebp, dword [edi + 8]
jne 0x10008d47
movsx ebp, byte [eax + 0x64]
cmp ebp, dword [eax + 0x64]
jne 0x10008d47
movsx ebp, byte [eax + 0x68]
cmp ebp, dword [eax + 0x68]
jne 0x10008d47
movsx ebp, cl
cmp ebp, ecx
jne 0x10008d47
movsx ebp, dl
cmp ebp, edx
jne 0x10008d47
mov byte [esi], bl
movzx ebx, byte [edi]
mov byte [esi + 1], bl
movsx bx, byte [edi + 8]
mov word [esi + 6], bx
movzx ebx, byte [eax + 0x64]
mov byte [esi + 2], bl
mov al, byte [eax + 0x68]
mov byte [esi + 8], cl
mov byte [esi + 9], dl
mov byte [esi + 3], al
mov cl, byte [edi + 0x12]
mov byte [esi + 4], cl
mov dl, byte [edi + 0x10]
mov ecx, dword [esp + 0x14]
dec dl
push esi
mov byte [esi + 5], dl
call fcn.10008b50
mov ebp, dword [esp + 0x20]
add esp, 4
test ebp, ebp
je 0x10008d3c
movzx ecx, word [esi + 6]
test cx, cx
movsx ecx, cx
jge 0x10008d32
neg ecx
movzx edx, byte [esi + 1]
imul edx, ecx
mov dword [ebp], edx
test eax, eax
je 0x10008d5e
cmp eax, 0x40
je 0x10008d5e
jmp 0x10008d4b
mov ebp, dword [esp + 0x1c]
xor eax, eax
mov byte [esi], 0xff
mov byte [esi + 1], 0
mov dword [esi + 0xc], eax
cmp ebp, eax
je 0x10008d5e
mov dword [ebp], eax
pop esi
pop edi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x10010b50
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x24]
push ebp
mov ebp, dword [eax]
push esi
mov esi, dword [esp + 0x28]
mov ecx, dword [esi + 0x10]
movzx ax, byte [ecx + 6]
add ecx, 6
movzx ecx, byte [ecx + 1]
shl ax, 8
movzx eax, ax
or eax, ecx
and eax, 0xfffffffe
push edi
xor edx, edx
mov edi, eax
shr edi, 1
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], edi
jne 0x10010b9c
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x1c
ret
mov cl, byte [esp + 0x34]
test cl, cl
je 0x10010ba9
inc ebp
mov dword [esp + 0xc], ebp
push ebx
cmp ebp, 0xffff
ja 0x10010ce0
mov ecx, dword [esi + 0x10]
lea esi, [ecx + 0xe]
lea ecx, [ecx + eax + 0x10]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ecx
jmp 0x10010bd4
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x1c], 0
test edi, edi
jbe 0x10010cbf
lea esp, [esp]
movzx edi, byte [ecx]
movzx ebp, byte [esi + 1]
add ecx, 2
shl di, 8
movzx ebx, di
movzx edi, byte [ecx - 1]
or ebx, edi
movzx edi, byte [esi]
add esi, 2
shl di, 8
movzx edi, di
or edi, ebp
mov ebp, dword [esp + 0x10]
cmp ebp, edi
jb 0x10010c91
cmp ebp, ebx
ja 0x10010c91
movsx dx, byte [esi + eax - 2]
lea ecx, [esi + eax - 2]
shl dx, 8
movsx ebp, dx
movzx edx, byte [ecx + 1]
add ecx, eax
movzx ax, byte [ecx]
shl ax, 8
or ebp, edx
movzx edx, ax
movzx eax, byte [ecx + 1]
or edx, eax
mov eax, dword [esp + 0x20]
dec eax
cmp dword [esp + 0x1c], eax
jb 0x10010c81
cmp edi, 0xffff
jne 0x10010c81
cmp ebx, edi
jne 0x10010c81
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
test edx, edx
je 0x10010c81
mov ebx, dword [eax + 0x1f8]
add ebx, dword [eax + 0x1f4]
lea eax, [edx + ecx + 2]
cmp eax, ebx
ja 0x10010ca6
cmp edx, 0xffff
jne 0x10010cf8
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
inc edi
mov dword [esp + 0x1c], edi
cmp edi, dword [esp + 0x20]
jb 0x10010bf0
jmp 0x10010cbf
mov ebp, 1
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
add edx, ebp
and edx, 0xffff
mov dword [esp + 0x14], edx
mov cl, byte [esp + 0x38]
test cl, cl
je 0x10010cee
mov ebp, dword [esp + 0x10]
test edx, edx
jne 0x10010ce0
inc ebp
mov dword [esp + 0x10], ebp
cmp ebp, 0xffff
jbe 0x10010bd0
test cl, cl
je 0x10010cee
test edx, edx
je 0x10010cee
mov eax, dword [esp + 0x34]
mov dword [eax], ebp
pop ebx
pop edi
pop esi
mov eax, edx
pop ebp
add esp, 0x1c
ret
test edx, edx
je 0x10010cab
mov eax, dword [esp + 0x10]
sub eax, edi
lea edx, [edx + eax*2]
movzx ax, byte [ecx + edx]
add ecx, edx
movzx ecx, byte [ecx + 1]
shl ax, 8
movzx edx, ax
mov eax, dword [esp + 0x18]
or edx, ecx
mov dword [esp + 0x14], edx
je 0x10010cbf
jmp 0x10010cb3
Function at 0x1001d380
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
push ebx
mov ebx, dword [ecx]
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, eax
mov eax, dword [esp + 0x1c]
movzx edx, word [eax]
mov eax, dword [esp + 0x14]
sub eax, ebx
mov dword [esp + 0x18], ebx
cmp ebp, eax
jbe 0x1001d3a6
mov ebp, eax
xor eax, eax
test ebp, ebp
jbe 0x1001d3e6
sub ebx, esi
mov eax, ebp
mov dword [esp + 0x14], ebp
push edi
movzx edi, byte [ebx + esi]
mov ecx, edx
shr ecx, 8
xor ecx, edi
add edi, edx
imul edi, edi, 0x3193
mov edx, 0x58bf
sub edx, edi
mov byte [esi], cl
and edx, 0xffff
inc esi
sub eax, 1
jne 0x1001d3b5
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
pop edi
mov ecx, dword [esp + 0x10]
add ebx, ebp
mov dword [ecx], ebx
mov ecx, dword [esp + 0x1c]
pop esi
pop ebp
mov word [ecx], dx
pop ebx
ret
Function at 0x100434e0
Capabilities:
Enumerate threads
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10188068]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x10043533
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
xorps xmm0, xmm0
push eax
push edi
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0x14], xmm0
movlpd qword [ebp - 0xc], xmm0
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
jne 0x10043548
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e278d
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ebp + 8]
nop dword [eax + eax]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x10043596
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [ebp - 0x18]
cmp ecx, eax
je 0x10043596
push ecx
push 0
push 0x1f03ff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x10043533
push esi
test ebx, ebx
je 0x10043589
call dword [sym.imp.KERNEL32.dll_SuspendThread]
jmp 0x1004358f
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x10043550
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100e278d
mov esp, ebp
pop ebp
ret 4
Function at 0x100470b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012c0b0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x10188068]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 4]
push eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], vtable.CIMCLocker.0
mov dword [ebp - 0x18], eax
call dword [sym.imp.IMM32.dll_ImmLockIMC]
mov edi, eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
test edi, edi
je 0x10047298
cmp dword [ebp + 8], 0
je 0x10047248
test byte [edi + 0x130], 0x10
jne 0x1004713c
lea esi, [edi + 0x80]
mov dword [edi + 0x7c], 0
push esi
call dword [sym.imp.USER32.dll_GetCursorPos]
push esi
push dword [edi]
call dword [sym.imp.USER32.dll_ScreenToClient]
or dword [edi + 0x130], 0x10
mov ecx, dword [ebx + 0x10]
push dword [ecx]
push 0
push 0x8006
call fcn.10069a00
mov ecx, dword [ebx + 0x10]
push dword [ecx]
push 0
push 0x8010
call fcn.10069a00
mov esi, dword [ebx + 0x14]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
call fcn.1006e7f0
mov dword [ebp - 0x40], eax
lea eax, [ebx + 0x18]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x30], eax
lea eax, [esi + 0xb0]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.100788d0
sub esp, 0x28
mov byte [ebp - 4], 3
mov eax, esp
lea ecx, [ebp - 0x40]
mov dword [eax + 4], ecx
lea ecx, [ebx + 0xc]
mov dword [eax], vtable.std::_Func_impl_no_alloc_class_std::reference_wrapper_struct_weasel::ResponseParser___bool__wchar_t___unsigned_int_.0
mov dword [eax + 0x24], eax
call fcn.1006a030
mov byte [ebp - 4], 0
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x100471f3
lea ecx, [esi + 0x10]
call fcn.10045310
push 0x30
push esi
call fcn.100e2b31
add esp, 8
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
push eax
push dword [eax]
lea eax, [ebp + 8]
push eax
call fcn.10045360
push 0x30
push dword [ebp - 0x40]
call fcn.100e2b31
mov eax, dword [ebx + 0x14]
add esp, 8
mov esi, dword [eax + 4]
test esi, esi
je 0x10047238
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10047238
mov ecx, esi
call fcn.1004f040
lea ecx, [esi + 0x10]
call fcn.10052ad0
cmp byte [ebx + 0x31], 0
je 0x1004728f
mov ecx, dword [ebx + 0x14]
call fcn.1004e290
jmp 0x1004728f
mov esi, dword [ebx + 0x14]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x1004725a
call fcn.1004e570
mov esi, dword [ebx + 0x14]
mov esi, dword [esi + 4]
test esi, esi
je 0x1004727e
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1004727e
mov eax, dword [esi + 0x14]
test eax, eax
je 0x1004727e
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebx + 0x10]
push dword [ecx]
push 0
push 0x8007
call fcn.10069a00
push dword [ebp - 0x10]
call dword [sym.imp.IMM32.dll_ImmUnlockIMC]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10048eb0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x10188068]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0
push 2
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10048eea
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e278d
mov esp, ebp
pop ebp
ret
push edi
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, 1
jne 0x10048f33
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
nop
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.10108488
add esp, 8
test eax, eax
je 0x10048f4d
lea eax, [ebp - 0x230]
push eax
push esi
call edi
cmp eax, 1
je 0x10048f10
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e278d
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x228]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.100e278d
mov esp, ebp
pop ebp
ret

Function at 0x10048f70
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2064
call fcn.100e39d0
mov eax, dword [0x10188068]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x2000
lea eax, [ebp - 0x2008]
mov esi, ecx
push 0
push eax
call fcn.100fc650
push 0xfff
push esi
lea eax, [ebp - 0x2008]
push 0x1000
push eax
call fcn.101080b4
add esp, 0x1c
mov dword [ebp - 0x2060], 0x44
lea eax, [ebp - 0x2018]
xorps xmm0, xmm0
movlpd qword [ebp - 0x205c], xmm0
movlpd qword [ebp - 0x2054], xmm0
push eax
lea eax, [ebp - 0x2060]
movlpd qword [ebp - 0x204c], xmm0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x2008]
movlpd qword [ebp - 0x2044], xmm0
push eax
push 0
movlpd qword [ebp - 0x203c], xmm0
movlpd qword [ebp - 0x2034], xmm0
movlpd qword [ebp - 0x202c], xmm0
movlpd qword [ebp - 0x2024], xmm0
movups xmmword [ebp - 0x2018], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1004904a
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e278d
mov esp, ebp
pop ebp
ret
push 0x1388
push dword [ebp - 0x2018]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 0x2018]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x2014]
call esi
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.100e278d
mov esp, ebp
pop ebp
ret
Function at 0x1004a420
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x10188068]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
push 0xa
mov dword [esp + 0x14], ecx
mov ebx, edx
push str.N1xU1mUxmp
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0xf
mov byte [esp + 0x1c], 0
call fcn.10048640
mov edi, dword [esp + 0x28]
xor edx, edx
mov ecx, dword [esp + 0x14]
xor esi, esi
test ebx, ebx
jle 0x1004a498
cmp edi, 0x10
lea eax, [esp + 0x14]
mov edi, dword [esp + 0x10]
cmovae eax, ecx
mov al, byte [eax + edx]
xor byte [edi + esi], al
lea eax, [edx + 1]
mov edi, dword [esp + 0x28]
xor edx, edx
div dword [esp + 0x24]
inc esi
cmp esi, ebx
jl 0x1004a472
cmp edi, 0x10
jb 0x1004a4c4
lea edx, [edi + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x1004a4ba
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004a4d6
push edx
push ecx
call fcn.100e2b31
add esp, 8
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100e278d
mov esp, ebp
pop ebp
ret
call fcn.10107f97
int3