joyce8/EMBER2024-capa huggingface dataset:
Function at 0x833bd7d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x833bd93
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x833bda4
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.0833bde5
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx

Function at 0x833e151
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x833e09a
add ebx, 0
push ecx
call 0x833e0af
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x7157a303
sub ebx, dword [0x71599b42]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x71599b32
call fcn.08339b79
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.08339087
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x833e20d
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x833e20d
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x833e1c4
mov eax, 1
lock xchg dword [0x71599b3e], eax
push 0x3dd1fc71
call 0x833e151
push esi
add esp, 8
cmp eax, 0
jne 0x833e13a
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x833e160
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x833e175
cmp ecx, edx
cmp eax, 0
je 0x833e19a
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x833e184
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.0833e1b3
dec eax
loope 0x833e1b6
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x71599b3e], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x833e1ea
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x833e1ff
jmp 0x833e20a
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x833e0f8
Function at 0x8345272
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x8345548
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x715867b6
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x7157d77c
push 0xffffffffffffffff
call fcn.0833c472
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x83452dc
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.083452f4
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x834553c
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x8345510
Function at 0x8354d42
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x8354d64
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x8354d64
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x8354d64
ret
cmp word [ebx + 4], 0x14c
jne 0x8354d64
test word [ebx + 0x16], 2
je 0x8354d64
test word [ebx + 0x16], 0x100
je 0x8354d64
cmp word [ebx + 0x18], 0x10b
jne 0x8354d64
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x8354d64
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x8354df0
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x8354d84
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.0833bccf
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x8354d64
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x8354df0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x8354d64
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x8354d64
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x8354d64
ret
cmp word [ebx + 4], 0x14c
jne 0x8354d64
test word [ebx + 0x16], 2
je 0x8354d64
test word [ebx + 0x16], 0x100
je 0x8354d64
cmp word [ebx + 0x18], 0x10b
jne 0x8354d64
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x8354d64
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x8354df0
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x8354d84
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.0833bccf
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x8354d64
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x8354ea7
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x8354f00
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x8354ea7
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x8354eb6
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x875ab59
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x8354f07
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.0833bd7d
cmp eax, dword [ebp + 0xc]
pop eax
je 0x8354fa6
add edi, 4
add eax, 2
dec ecx
jne 0x8354eec
call 0x8354f53
loope 0x8354f49
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x8354fa3
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x8354fb4
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x8354f67
cmp eax, ecx
ja 0x8354f67
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x8354ff1
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x8354fe7
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.0833c25c
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x8354eb6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x8354f00
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x8354ea7
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x8354eb6
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x875ab59
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x8354f07
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.0833bd7d
cmp eax, dword [ebp + 0xc]
pop eax
je 0x8354fa6
add edi, 4
add eax, 2
dec ecx
jne 0x8354eec
call 0x8354f53
loope 0x8354f49
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x8354fa3
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x8354fb4
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x8354f67
cmp eax, ecx
ja 0x8354f67
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x8354ff1
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x8354fe7
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.0833c25c
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x4078cd
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push ebp
push esi
xor esi, esi
push edi
mov edi, ecx
mov eax, esi
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmmword [0xb1d290]
movups xmmword [edi + eax*4], xmm0
add eax, 4
cmp eax, 0x100
jl 0x4078d7
mov ebp, dword [esp + 0x14]
mov ebx, esi
xor edx, edx
mov eax, ebx
div dword [esp + 0x18]
movzx eax, byte [edx + ebp]
add eax, dword [edi + ebx*4]
add esi, eax
and esi, 0x800000ff
jns 0x40791d
dec esi
or esi, 0xffffff00
inc esi
mov cl, byte [edi + ebx*4]
mov eax, dword [edi + esi*4]
mov dword [edi + ebx*4], eax
inc ebx
movzx eax, cl
mov dword [edi + esi*4], eax
cmp ebx, 0x100
jl 0x4078fc
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x40793c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x400
lea eax, [esp]
push ebx
push esi
push edi
push 0x400
push ecx
xor esi, esi
push eax
mov edi, esi
call fcn.00437510
mov edx, dword [esp + 0x420]
add esp, 0xc
mov ebx, esi
add edx, 1
je 0x4079cc
push ebp
mov ebp, dword [esp + 0x414]
inc esi
and esi, 0x800000ff
jns 0x407982
dec esi
or esi, 0xffffff00
inc esi
mov eax, dword [esp + esi*4 + 0x10]
add edi, eax
and edi, 0x800000ff
jns 0x407998
dec edi
or edi, 0xffffff00
inc edi
mov cl, al
mov eax, dword [esp + edi*4 + 0x10]
mov dword [esp + esi*4 + 0x10], eax
movzx eax, cl
mov dword [esp + edi*4 + 0x10], eax
mov ecx, dword [esp + esi*4 + 0x10]
add ecx, eax
and ecx, 0x800000ff
jns 0x4079bf
dec ecx
or ecx, 0xffffff00
inc ecx
mov al, byte [esp + ecx*4 + 0x10]
xor byte [ebx + ebp], al
inc ebx
cmp ebx, edx
jb 0x407971
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x400
ret 8
Function at 0x1006fc03
Capabilities:
Encode data using xor

Disassembly:
jmp 0x100701f4
inc ebp
inc ecx
push ebp
push esp
xor esi, dword [edx]
insb byte es:[edi], dx
insb byte es:[edi], dx
add dl, dh
repne scasb al, byte es:[edi]
push eax
lea esp, [esp + 0xc]
call int.10074d7e
pushal
pushfd
call fcn.100754d3
add byte [eax], al
inc ecx
inc esp
push esi
inc ecx
push eax
dec ecx
xor esi, dword [edx]
insb byte es:[edi], dx
insb byte es:[edi], dx
add byte [ebx], cl
bound ebx, qword [edx - 0x2077e73f]
mov dh, 0xd5
push ds
salc
bound ebx, qword [ecx - 9]
cli
fucomp st(0)
pop esp
jns 0x10070203
adc ecx, dword [ecx]
out dx, eax
dec esp
wait
pop esp
adc dl, ah
into
jbe 0x100701bc
mov cl, 0xb6
dec edi
mov ebx, 0x7de6bbf2
je 0x10070274
ljmp 0xf947:0x84c19fcf
dec esi
das
and edx, dword [ebx - 0x104f57a4]
aad 0x10
add dword [ebx], ebx
jl 0x1007024c
ret 0x7b5a

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

Disassembly:
pushfd
ror ax, 9
inc ah
sal al, 7
xchg dword [esp], ebp
seta ah
cmc
mov ebp, esp
stc
Function at 0x402b70
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4079d0
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov ecx, 0x40ec50
push edi
push 0xffffffffffffffff
call sub.MFC42.DLL_CSyncObject::Lock
mov ecx, 0xa00
xor eax, eax
mov edi, 0x40c438
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x34]
stosb byte es:[edi], al
lea eax, [esp + 0x38]
push eax
push ecx
push 0x2800
push 0x40c438
call dword [sym.imp.MSVCRT.dll__vsnprintf]
mov edi, 0x40c438
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ecx + 0x40c437], 0xa
je 0x402c08
mov edi, 0x40b0f4
or ecx, 0xffffffff
xor eax, eax
push esi
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x40c438
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea ecx, [esp + 4]
call fcn.0040747c
push 0
mov dword [esp + 0x30], 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
lea ecx, [esp + 0xc]
mov dword [esp + 8], eax
push str._Y__m__d__H:_M:_S
push ecx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CTime::Format
mov edx, dword [esp + 0x1e]
mov eax, dword [eax]
and edx, 0xffff
mov byte [esp + 0x2c], 1
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
lea ecx, [esp + 0x10]
push str._Thread__d__s._03d_t_t
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x14
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 0
call fcn.0040746a
push 0x40c438
lea ecx, [esp + 8]
call fcn.00407464
mov edx, dword [0x40ec58]
push 2
push 0
push edx
call dword [sym.imp.MSVCRT.dll__lseek]
mov eax, dword [esp + 0x10]
add esp, 0xc
lea ecx, [esp + 4]
mov eax, dword [eax - 8]
push eax
push 0
call sub.MFC42.DLL_CString::GetBuffer
mov ecx, dword [0x40ec58]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__write]
add esp, 0xc
mov ecx, 0x40ec50
call sub.MFC42.DLL_CMutex::Unlock
lea ecx, [esp + 4]
mov dword [esp + 0x2c], 0xffffffff
call fcn.0040746a
mov ecx, dword [esp + 0x24]
pop edi
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x403040
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x407a68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push esi
push edi
mov eax, dword [esp + 0x6c]
xor esi, esi
push eax
push str.Do:_t_t_CreateProcess_____s
mov dword [esp + 0x6c], esi
call fcn.00402b70
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x24]
mov dword [esp + 0x20], 0x44
rep stosd dword es:[edi], eax
add esp, 8
lea ecx, [esp + 8]
lea edx, [esp + 0x18]
mov dword [esp + 0x44], 1
push ecx
push edx
push esi
push esi
push 0x10
push esi
push esi
push esi
push esi
lea ecx, [esp + 0x90]
mov word [esp + 0x6c], si
call sub.MFC42.DLL_CString::GetBuffer
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp eax, esi
je 0x40310a
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 8]
push eax
call esi
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x6c]
mov dword [esp + 0x64], 0xffffffff
call fcn.0040746a
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret
lea ecx, [esp + 0x6c]
mov dword [esp + 0x64], 0xffffffff
call fcn.0040746a
mov ecx, dword [esp + 0x5c]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x60
ret

Function at 0x403130
Capabilities:
Create process on windows
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x407a90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push edi
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
push eax
push ecx
push str.Do:_t_t_ExecCommandEx_____s__s
mov dword [esp + 0x58], 1
call fcn.00402b70
mov edx, dword [esp + 0x60]
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
add esp, 0xc
mov dword [esp + 0x18], edx
lea edx, [esp + 8]
xor ebx, ebx
push edx
mov dword [esp + 0xc], 0x3c
mov dword [esp + 0x10], 0x40
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jg 0x4031f0
lea ecx, [esp + 0x54]
mov byte [esp + 0x4c], bl
call fcn.0040746a
lea ecx, [esp + 0x58]
mov dword [esp + 0x4c], 0xffffffff
call fcn.0040746a
pop edi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x40]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x40]
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x54]
mov byte [esp + 0x4c], bl
call fcn.0040746a
lea ecx, [esp + 0x58]
mov dword [esp + 0x4c], 0xffffffff
call fcn.0040746a
mov ecx, dword [esp + 0x44]
pop edi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret
Function at 0x403250
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x407afe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
push esi
mov dword [esp + 0x14], 0
lea eax, [esp + 0x18]
push 0x104
push eax
push 0
mov dword [esp + 0x130], 3
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_1
push 0x5c
lea ecx, [esp + 8]
mov byte [esp + 0x128], 4
call sub.MFC42.DLL_CString::ReverseFind
inc eax
lea edx, [esp + 0x10]
push eax
push edx
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x128], 5
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x124], 4
call fcn.0040746a
lea eax, [esp + 4]
push str.WPhone.ini
lea ecx, [esp + 0xc]
push eax
push ecx
call sub.MFC42.DLL_operator_1
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x138]
push edx
mov edx, dword [esp + 0x138]
lea eax, [esp + 0x1c]
push 0x104
push eax
mov eax, dword [esp + 0x13c]
push ecx
push edx
push eax
mov byte [esp + 0x13c], 6
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
mov esi, dword [esp + 0x12c]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
mov byte [esp + 0x128], 7
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x14], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x124], 6
call fcn.0040746a
lea ecx, [esp + 8]
mov byte [esp + 0x124], 4
call fcn.0040746a
lea ecx, [esp + 4]
mov byte [esp + 0x124], 3
call fcn.0040746a
lea ecx, [esp + 0x130]
mov byte [esp + 0x124], 2
call fcn.0040746a
mov byte [esp + 0x124], 1
lea ecx, [esp + 0x134]
call fcn.0040746a
lea ecx, [esp + 0x138]
mov byte [esp + 0x124], 0
call fcn.0040746a
mov ecx, dword [esp + 0x11c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x124
ret
Function at 0x4033f0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x407b36
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
push esi
lea eax, [esp + 0x10]
push 0x104
push eax
push 0
mov dword [esp + 0x128], 1
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_1
push 0x5c
lea ecx, [esp + 8]
mov byte [esp + 0x120], 2
call sub.MFC42.DLL_CString::ReverseFind
inc eax
lea edx, [esp + 0xc]
push eax
push edx
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x120], 3
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0xc]
mov byte [esp + 0x11c], 2
call fcn.0040746a
lea eax, [esp + 4]
push str.WPhone.ini
lea ecx, [esp + 0xc]
push eax
push ecx
call sub.MFC42.DLL_operator_1
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x12c]
mov ecx, dword [esp + 0x128]
push edx
mov edx, dword [esp + 0x128]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea ecx, [esp + 8]
mov esi, eax
call fcn.0040746a
lea ecx, [esp + 4]
mov byte [esp + 0x11c], 1
call fcn.0040746a
lea ecx, [esp + 0x124]
mov byte [esp + 0x11c], 0
call fcn.0040746a
lea ecx, [esp + 0x128]
mov dword [esp + 0x11c], 0xffffffff
call fcn.0040746a
mov ecx, dword [esp + 0x114]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x11c
ret

Function at 0x403860
Capabilities:
Enumerate processes
Terminate process

Disassembly:
sub esp, 0x128
push esi
push edi
push 0
push 2
mov dword [esp + 0x10], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4038a8
mov edi, dword [esp + 0x134]
mov eax, dword [esp + 0x10]
cmp edi, eax
je 0x4038ba
lea ecx, [esp + 8]
push ecx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x403891
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
add esp, 0x128
ret
push eax
push 0
push 0x401
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
add esp, 0x128
ret
Function at 0x4038f0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
sub esp, 0x12c
push ebx
push esi
push edi
push 0
push 2
mov dword [esp + 0x18], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
lea eax, [esp + 0x10]
push eax
push ebx
mov dword [esp + 0x14], ebx
xor esi, esi
call sub.KERNEL32.dll_Process32First
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x403983
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [esp + 0x140]
lea ecx, [esp + 0x38]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x40396b
mov eax, dword [esp + 0x1c]
push eax
push 0
push 0x401
call ebx
mov esi, eax
push 0
push esi
call ebp
push esi
call edi
mov esi, 1
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push edx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x403934
mov ebx, dword [esp + 0x10]
pop ebp
push ebx
call edi
lea ecx, [esp + 0x13c]
call fcn.0040746a
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x12c
ret