joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10025feb
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
mov edi, dword [esi + 0x24]
mov dword [ebp - 0xc], edi
jmp 0x10025ffe
mov edi, dword [ebp - 0xc]
mov ecx, dword [esi + 0x64]
mov eax, dword [esi + 0x34]
mov edx, dword [esi + 0x6c]
sub eax, ecx
sub eax, edx
mov dword [ebp - 8], eax
jne 0x1002601d
test ecx, ecx
jne 0x1002602b
test edx, edx
jne 0x1002602b
mov dword [ebp - 8], edi
jmp 0x10026097
cmp eax, 0xffffffff
jne 0x1002602b
mov dword [ebp - 8], 0xfffffffe
jmp 0x10026097
mov eax, dword [esi + 0x24]
lea eax, [edi + eax - 0x106]
cmp ecx, eax
jb 0x10026097
mov eax, dword [esi + 0x30]
push edi
lea ecx, [eax + edi]
push ecx
push eax
call fcn.1003a880
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x3c]
sub dword [esi + 0x68], edi
sub dword [esi + 0x64], edi
add esp, 0xc
sub dword [esi + 0x54], edi
lea eax, [eax + ecx*2]
sub eax, 2
movzx edx, word [eax]
mov ebx, edx
sub ebx, edi
cmp edx, edi
sbb edx, edx
not edx
and edx, ebx
dec ecx
mov word [eax], dx
jne 0x1002605c
mov eax, dword [esi + 0x38]
mov edx, edi
lea eax, [eax + edi*2]
sub eax, 2
movzx ecx, word [eax]
mov ebx, ecx
sub ebx, edi
cmp ecx, edi
sbb ecx, ecx
not ecx
and ecx, ebx
dec edx
mov word [eax], cx
jne 0x1002607c
add dword [ebp - 8], edi
mov edi, dword [esi]
cmp dword [edi + 4], 0
je 0x1002613a
mov ebx, dword [esi + 0x6c]
add ebx, dword [esi + 0x64]
mov eax, dword [edi + 4]
mov ecx, dword [ebp - 8]
add ebx, dword [esi + 0x30]
mov dword [ebp - 4], eax
cmp eax, ecx
jbe 0x100260bc
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jne 0x100260c6
xor eax, eax
jmp 0x100260fe
sub eax, dword [ebp - 4]
mov dword [edi + 4], eax
mov eax, dword [edi + 0x1c]
cmp dword [eax + 0x18], 0
jne 0x100260e8
push dword [ebp - 4]
push dword [edi]
push dword [edi + 0x30]
call fcn.10033daf
add esp, 0xc
mov dword [edi + 0x30], eax
push dword [ebp - 4]
push dword [edi]
push ebx
call fcn.1003a880
mov eax, dword [ebp - 4]
add dword [edi], eax
add esp, 0xc
add dword [edi + 8], eax
add dword [esi + 0x6c], eax
mov edi, dword [esi + 0x6c]
cmp edi, 3
jb 0x10026126
mov edx, dword [esi + 0x64]
add edx, dword [esi + 0x30]
mov ecx, dword [esi + 0x50]
movzx eax, byte [edx]
mov dword [esi + 0x40], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x4c]
mov dword [esi + 0x40], eax
cmp edi, 0x106
jae 0x1002613a
mov eax, dword [esi]
cmp dword [eax + 4], 0
jne 0x10025ffb
pop edi
pop ebx
leave
ret

Function at 0x10026fa8
Capabilities:
Read file on windows

Disassembly:
cmp dword [esi + 0x3c], 0
je 0x10026fb2
or eax, 0xffffffff
ret
cmp dword [esi + 4], 0
jne 0x10026ffb
call fcn.1003d019
and dword [eax], 0
push dword [esi + 0x40]
push 0x4000
push 1
push dword [esi + 0x44]
call fcn.10039708
add esp, 0x10
mov dword [esi + 4], eax
test eax, eax
jne 0x10026ff6
push dword [esi + 0x40]
mov dword [esi + 0x3c], 1
call fcn.1003ad93
pop ecx
test eax, eax
je 0x10026fae
or dword [esi + 0x38], 0xffffffff
jmp 0x10026fae
mov eax, dword [esi + 0x44]
mov dword [esi], eax
mov eax, dword [esi]
dec dword [esi + 4]
mov cl, byte [eax]
inc eax
mov dword [esi], eax
movzx eax, cl
ret
Function at 0x10027189
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, eax
xor ebx, ebx
push edi
cmp esi, ebx
je 0x10027227
cmp byte [esi + 0x5c], 0x77
jne 0x10027227
mov dword [esi + 4], ebx
mov edi, 0x4000
sub edi, dword [esi + 0x10]
je 0x100271d4
push dword [esi + 0x40]
push edi
push 1
push dword [esi + 0x48]
call fcn.10039aa5
add esp, 0x10
cmp eax, edi
jne 0x1002721f
mov eax, dword [esi + 0x48]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0x4000
test ebx, ebx
jne 0x10027211
push dword [ebp + 8]
push esi
call fcn.10025b5b
pop ecx
pop ecx
mov dword [esi + 0x38], eax
test edi, edi
jne 0x100271f2
cmp eax, 0xfffffffb
jne 0x100271f2
and dword [esi + 0x38], edi
cmp dword [esi + 0x10], 0
jne 0x10027202
cmp dword [esi + 0x38], 1
je 0x10027202
xor ebx, ebx
jmp 0x10027205
xor ebx, ebx
inc ebx
mov eax, dword [esi + 0x38]
test eax, eax
je 0x100271a8
cmp eax, 1
je 0x100271a8
mov esi, dword [esi + 0x38]
lea eax, [esi - 1]
neg eax
sbb eax, eax
and eax, esi
jmp 0x1002722a
or eax, 0xffffffff
mov dword [esi + 0x38], eax
jmp 0x1002722a
push 0xfffffffffffffffe
pop eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x100274f5
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 4], ecx
test esi, esi
je 0x100276c9
cmp byte [esi + 0x5c], 0x72
jne 0x100276c9
mov eax, dword [esi + 0x38]
cmp eax, 0xfffffffd
je 0x100276c4
cmp eax, 0xffffffff
je 0x100276c4
cmp eax, 1
jne 0x10027538
xor eax, eax
jmp 0x100276cc
mov ebx, dword [ebp + 0x10]
mov dword [ebp + 8], ecx
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], ebx
test ebx, ebx
je 0x100276a5
xor ecx, ecx
cmp dword [esi + 0x58], ecx
jne 0x1002763d
cmp dword [esi + 4], ecx
jne 0x100275a0
cmp dword [esi + 0x3c], ecx
jne 0x100275a0
call fcn.1003d019
and dword [eax], 0
push dword [esi + 0x40]
xor edi, edi
push 0x4000
inc edi
push edi
push dword [esi + 0x44]
call fcn.10039708
add esp, 0x10
mov dword [esi + 4], eax
test eax, eax
jne 0x1002759b
push dword [esi + 0x40]
mov dword [esi + 0x3c], edi
call fcn.1003ad93
pop ecx
test eax, eax
jne 0x100276a1
mov eax, dword [esi + 0x44]
mov dword [esi], eax
push 0
push esi
call fcn.10026c38
pop ecx
pop ecx
mov dword [esi + 0x38], eax
cmp eax, 1
jne 0x10027619
mov eax, dword [esi + 0xc]
sub eax, dword [ebp - 4]
push eax
push dword [ebp - 4]
push dword [esi + 0x4c]
call fcn.10035eb5
mov dword [esi + 0x4c], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 4], eax
add esp, 0xc
mov eax, esi
call fcn.10027253
cmp eax, dword [esi + 0x4c]
jne 0x10027634
mov eax, esi
call fcn.10027253
mov eax, esi
call fcn.10027009
cmp dword [esi + 0x38], 0
jne 0x100276a5
mov edi, dword [esi + 8]
mov ebx, dword [esi + 0x14]
push esi
call fcn.10026ad5
xor eax, eax
push eax
push eax
push eax
mov dword [esi + 8], edi
mov dword [esi + 0x14], ebx
call fcn.10035eb5
mov ebx, dword [ebp + 0x10]
add esp, 0x10
mov dword [esi + 0x4c], eax
xor eax, eax
cmp dword [esi + 0x38], eax
jne 0x100276a5
cmp dword [esi + 0x3c], eax
jne 0x100276a5
cmp dword [esi + 0x10], eax
jne 0x1002754c
jmp 0x100276a5
mov dword [esi + 0x38], 0xfffffffd
jmp 0x100276a5
mov edi, dword [esi + 4]
mov eax, dword [esi + 0x10]
cmp edi, eax
jbe 0x10027649
mov edi, eax
cmp edi, ecx
jbe 0x1002766e
push edi
push dword [esi]
push dword [esi + 0xc]
call fcn.1003a880
mov eax, dword [ebp + 0xc]
add dword [esi], edi
sub dword [esi + 0x10], edi
add eax, edi
add esp, 0xc
sub dword [esi + 4], edi
mov dword [ebp + 8], eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x10]
test eax, eax
je 0x10027689
push dword [esi + 0x40]
push eax
push 1
push dword [ebp + 8]
call fcn.10039708
add esp, 0x10
sub dword [esi + 0x10], eax
sub ebx, dword [esi + 0x10]
add dword [esi + 8], ebx
add dword [esi + 0x14], ebx
test ebx, ebx
jne 0x1002769d
mov dword [esi + 0x3c], 1
mov eax, ebx
jmp 0x100276cc
or dword [esi + 0x38], 0xffffffff
mov eax, dword [esi + 0xc]
sub eax, dword [ebp - 4]
push eax
push dword [ebp - 4]
push dword [esi + 0x4c]
call fcn.10035eb5
mov dword [esi + 0x4c], eax
mov eax, ebx
add esp, 0xc
sub eax, dword [esi + 0x10]
jmp 0x100276cc
or eax, 0xffffffff
jmp 0x100276cc
push 0xfffffffffffffffe
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10035eb5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x10035ec3
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
not eax
mov ecx, 0xff
cmp edi, 8
jb 0x10035f7e
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x1011c2e8]
movzx ebx, byte [edx + 1]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x1011c2e8]
movzx ebx, byte [edx + 2]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x1011c2e8]
movzx ebx, byte [edx + 3]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x1011c2e8]
movzx ebx, byte [edx + 4]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x1011c2e8]
movzx ebx, byte [edx + 5]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x1011c2e8]
movzx ebx, byte [edx + 6]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x1011c2e8]
movzx ebx, byte [edx + 7]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x1011c2e8]
add edx, 8
sub edi, 8
dec esi
jne 0x10035ee1
pop ebx
test edi, edi
je 0x10035f97
movzx esi, byte [edx]
xor esi, eax
and esi, ecx
shr eax, 8
xor eax, dword [esi*4 + 0x1011c2e8]
inc edx
dec edi
jne 0x10035f82
pop edi
not eax
pop esi
pop ebp
ret
Function at 0x4019c6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x4019d0
repz ret
jmp fcn.00401ca9

Function at 0x403e41
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00402ca1
xor ebx, ebx
cmp dword [0x40b8c4], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x403f16
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x403e81
xor eax, eax
jmp 0x403fda
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x403e7a
push eax
call fcn.00402c3e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40b8c4], eax
call esi
push eax
call fcn.00402c3e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40b8c8], eax
call esi
push eax
call fcn.00402c3e
mov dword [0x40b8cc], eax
lea eax, [ebp - 8]
push eax
call fcn.00401f50
test eax, eax
pop ecx
pop ecx
je 0x403ee4
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403730
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x403f16
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00402c3e
cmp eax, ebx
pop ecx
mov dword [0x40b8d4], eax
je 0x403f16
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402c3e
pop ecx
mov dword [0x40b8d0], eax
mov eax, dword [0x40b8d0]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x403f8f
cmp dword [0x40b8d4], esi
je 0x403f8f
push eax
call fcn.00402caa
pop ecx
call eax
cmp eax, ebx
je 0x403f5c
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x40b8d4]
call fcn.00402caa
pop ecx
call eax
test eax, eax
je 0x403f5c
test byte [ebp - 0x18], 1
jne 0x403f8f
lea eax, [ebp - 0xc]
push eax
call fcn.00401f87
test eax, eax
pop ecx
je 0x403f77
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403730
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x403f86
or dword [ebp + 0x10], 0x200000
jmp 0x403fc0
or dword [ebp + 0x10], 0x40000
jmp 0x403fc0
mov eax, dword [0x40b8c8]
cmp eax, esi
je 0x403fc0
push eax
call fcn.00402caa
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x403fc0
mov eax, dword [0x40b8cc]
cmp eax, esi
je 0x403fc0
push dword [ebp - 4]
push eax
call fcn.00402caa
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x40b8c4]
call fcn.00402caa
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x448fd6
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebx + 8]
mov esi, dword [ebx + 0xc]
push 0x100
mov dword [ebp + 8], edi
push dword [ebx + 0x2c]
call fcn.00447c00
push eax
push edi
call fcn.00448ae9
add esp, 0x10
test eax, eax
jne 0x44900b
xor al, al
jmp 0x4490ac
movzx ecx, word [esi + 0x14]
mov edi, eax
sub edi, dword [ebp + 8]
and dword [ebp + 8], 0
lea edx, [ecx + esi + 0x18]
movzx ecx, word [esi + 6]
test ecx, ecx
mov dword [ebp - 4], ecx
jle 0x449045
mov ecx, dword [edx + 0x14]
cmp edi, ecx
jb 0x449037
mov esi, dword [edx + 0x10]
add esi, ecx
cmp edi, esi
jb 0x449045
add edx, 0x28
inc dword [ebp + 8]
mov ecx, dword [ebp + 8]
cmp ecx, dword [ebp - 4]
jl 0x449027
mov ecx, dword [edx + 0xc]
sub ecx, dword [edx + 0x14]
mov edx, dword [ebx + 0xc]
add ecx, dword [edx + 0x34]
add ecx, edi
mov dword [0x4352a4], ecx
cmp dword [eax + 0x100], 0x100
jne 0x449086
cmp byte [eax + 0x105], 0
jne 0x449086
add ecx, 0x100
mov dword [0x4352ac], 0xc
mov dword [0x4352a8], ecx
jmp 0x4490aa
add ecx, 0x104
push 0x18
mov dword [0x4352a8], ecx
mov eax, dword [eax + 0x100]
pop ecx
mov dword [0x4352ac], eax
cmp eax, ecx
jb 0x4490aa
mov dword [0x4352ac], ecx
mov al, 1
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4495fd
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [eax + 0xc]
and dword [esi + 4], 0
or dword [esi], 0xffffffff
or dword [esi + 0x10], 0xffffffff
or dword [esi + 8], 0xffffffff
and dword [esi + 0x14], 0
mov dword [ebp - 4], ecx
call fcn.00449590
test al, al
jne 0x4497b1
mov ecx, dword [ebp - 4]
call fcn.00449526
test al, al
je 0x449710
lea eax, [edi + 0x78]
test eax, eax
je 0x4496cd
mov ecx, dword [eax + 0x70]
test ecx, ecx
je 0x4496cd
cmp dword [eax + 0x74], 0
je 0x4496cd
mov eax, dword [ebp + 8]
push 0
push ecx
push dword [eax + 8]
push edi
call dword [0x428080]
mov ebx, eax
test ebx, ebx
je 0x4496cd
cmp dword [ebx], 0x48
push 0x42c80c
sete al
push eax
call fcn.004582b7
mov eax, dword [ebx]
and dword [ebp + 8], 0
add eax, dword [edi + 0xe8]
pop ecx
pop ecx
mov dword [esi + 0xc], eax
movzx ecx, word [edi + 0x14]
movzx edx, word [edi + 6]
test edx, edx
lea ecx, [ecx + edi + 0x18]
mov dword [ebp + 0xc], edx
jbe 0x4496cd
mov edx, dword [ecx + 0x10]
mov edi, dword [ecx + 8]
cmp edi, edx
jae 0x4496af
mov edx, edi
mov edi, dword [ecx + 0xc]
mov dword [ebp - 4], edx
cmp eax, edi
jb 0x4496bf
add edx, edi
cmp eax, edx
jb 0x4496d7
inc dword [ebp + 8]
add ecx, 0x28
mov edx, dword [ebp + 8]
cmp edx, dword [ebp + 0xc]
jb 0x4496a3
push 0x42c7c8
jmp 0x44975a
mov edx, dword [ebp + 8]
mov dword [esi + 4], ecx
mov dword [esi], edx
mov edx, eax
sub edx, edi
push 0x42c80c
mov dword [esi + 8], edx
mov ecx, dword [ecx + 0x14]
add ecx, edx
mov dword [esi + 0x10], ecx
mov ecx, dword [ebx + 8]
sub ecx, eax
mov dword [esi + 0x14], ecx
add ecx, edx
cmp ecx, dword [ebp - 4]
setb al
push eax
call fcn.004582b7
pop ecx
pop ecx
jmp 0x4497b1
mov edx, dword [edi + 0x28]
and dword [ebp + 8], 0
mov dword [esi + 0xc], edx
movzx eax, word [edi + 0x14]
movzx ecx, word [edi + 6]
test ecx, ecx
lea eax, [eax + edi + 0x18]
mov dword [ebp + 0xc], ecx
jbe 0x449755
mov ecx, dword [eax + 0x10]
mov edi, dword [eax + 8]
cmp edi, ecx
jae 0x449739
mov ecx, edi
mov edi, dword [eax + 0xc]
cmp edx, edi
jb 0x449747
lea ebx, [edi + ecx]
cmp edx, ebx
jb 0x44976c
inc dword [ebp + 8]
add eax, 0x28
mov ecx, dword [ebp + 8]
cmp ecx, dword [ebp + 0xc]
jb 0x44972d
push 0x42c788
push 0
call fcn.004582b7
pop ecx
xor al, al
pop ecx
pop edi
pop esi
pop ebx
leave
ret 8
mov ebx, dword [ebp + 8]
sub edx, edi
mov dword [esi], ebx
mov dword [esi + 4], eax
mov dword [esi + 8], edx
mov eax, dword [eax + 0x14]
sub ecx, edx
add eax, edx
mov ebx, ecx
mov ecx, dword [ebp - 4]
mov dword [esi + 0x10], eax
call fcn.004494bc
test al, al
je 0x4497ae
mov edi, 0x80
push 0x42c758
cmp ebx, edi
sbb al, al
inc al
push eax
call fcn.004582b7
pop ecx
mov dword [esi + 0x14], edi
pop ecx
jmp 0x4497b1
mov dword [esi + 0x14], ebx
mov al, 1
jmp 0x449765
Function at 0x44e678
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x44e6a6
push esi
call fcn.00451560
cmp dword [esi + 0x40], 0
pop ecx
je 0x44e69f
xor eax, eax
mov dword [esi + 0x10], 0xcf
inc eax
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x44e718
mov eax, dword [esi + 0x1b0]
cmp dword [eax + 0x10], 0
je 0x44e70a
mov eax, dword [esi + 8]
test eax, eax
je 0x44e6c7
push esi
call dword [eax]
pop ecx
mov eax, dword [esi + 0x1b0]
push esi
call dword [eax]
test eax, eax
pop ecx
je 0x44e706
cmp eax, 2
je 0x44e70a
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44e6bc
cmp eax, 3
je 0x44e6eb
cmp eax, 1
jne 0x44e6bc
inc dword [ecx + 4]
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
cmp dword [eax + 4], ecx
jl 0x44e6bc
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44e6bc
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
mov dword [esi + 0x98], eax
jmp 0x44e736
cmp eax, 0xcc
je 0x44e736
mov eax, dword [esi]
mov dword [eax + 0x14], 0x12
mov eax, dword [esi]
mov ecx, dword [esi + 0x10]
mov dword [eax + 0x18], ecx
mov eax, dword [esi]
push esi
call dword [eax]
pop ecx
push esi
call fcn.0044e73f
pop ecx
pop esi
ret
Function at 0x458b53
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
cmp byte [esi], 0
jne 0x458bbc
push dword [esi + 8]
lea ecx, [ebp - 8]
call fcn.0045a5f0
mov ecx, esi
call fcn.004584f7
test al, al
jne 0x458bb4
lea ecx, [ebp - 4]
call fcn.0045a5d1
lea ecx, [ebp - 8]
call fcn.0045aa03
push eax
lea eax, [ebp - 4]
push 0x42f8b0
push eax
call fcn.0045a96e
add esp, 0xc
lea ecx, [ebp - 4]
call fcn.0045aa03
push eax
push 0x42f89c
call fcn.0045a3fc
pop ecx
pop ecx
push 0xffffffffffffffff
call fcn.004640a3
lea ecx, [ebp - 8]
call fcn.0045a6ab
pop esi
leave
ret

Function at 0x45900a
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 0xc]
test edx, edx
mov eax, dword [esp + 4]
je 0x459036
mov ecx, dword [esp + 8]
push esi
push edi
movzx esi, byte [ecx]
movzx edi, al
xor esi, edi
mov esi, dword [esi*4 + 0x42f3c0]
shr eax, 8
xor eax, esi
inc ecx
dec edx
jne 0x45901c
pop edi
pop esi
ret
Function at 0x412070
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47de8b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004702a9
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4120f2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046dbfa
mov eax, dword [eax]
push 0x4ce200
push eax
call fcn.0045fdd4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00470534
test bl, bl
je 0x4120f2
push 0x4ce200
lea ecx, [esp + 0xc]
call fcn.00470910
push 0x4d1d7c
lea ecx, [esp + 0xc]
call fcn.00470910
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x41212e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00470534
jmp 0x4121f9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x4121b2
lea edx, [esp + 0x7c]
push 0x4d1d78
push edx
call fcn.0045fdd4
add esp, 8
test eax, eax
je 0x4121b2
lea eax, [esp + 0x7c]
push 0x4d1d74
push eax
call fcn.0045fdd4
add esp, 8
test eax, eax
je 0x4121b2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x412142
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00470534
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x4129f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x412a52
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x412a60
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x47df0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4d9220]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x412b98
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x412ac6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00470534
xor eax, eax
jmp 0x412c0f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004706bd
push esi
lea ecx, [esp + 0xc]
call fcn.0047094c
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x412bed
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocStringLen
call fcn.004129f0
test eax, eax
jne 0x412bed
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push SysReAllocStringLen
mov ecx, edi
call fcn.004129f0
test eax, eax
jne 0x412bed
lea eax, [esp + 0x14]
push 0x4d1d90
push eax
call fcn.00460eb0
mov esi, eax
add esp, 8
test esi, esi
jne 0x412bcc
lea ecx, [esp + 0x14]
push 0x4d1d8c
push ecx
call fcn.00460e30
mov esi, eax
add esp, 8
test esi, esi
jne 0x412bcc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x412bcf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0047066d
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x412ade
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00470534
xor eax, eax
jmp 0x412c0f
mov byte [esi], 0
push 0x4d1d88
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.00470534
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4