joyce8/EMBER2024-capa huggingface dataset:
Function at 0x15d958
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 8]
lea ebx, [ebp - 0x14]
xor eax, eax
push ebp
push 0x15db11
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x3fffffff
call fcn.00142c54
mov edi, eax
add edi, 0x12e499d
mov eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
mov ecx, edi
mov edx, dword [ebp - 0xc]
call fcn.0015d3e0
mov eax, dword [ebp - 0x10]
call fcn.001451b4
add eax, 0x48
push eax
mov eax, esi
mov ecx, 1
mov edx, dword [0x145d70]
call fcn.00145390
add esp, 4
mov eax, dword [esi]
mov dword [ebx], eax
mov eax, dword [ebp - 0x10]
call fcn.001451b4
add eax, 0x48
mov edx, dword [ebx]
mov dword [edx], eax
mov eax, dword [ebp - 0x10]
call fcn.001451b4
add edi, 0x48
add eax, edi
mov edx, dword [ebx]
mov dword [edx + 8], eax
mov eax, dword [ebx]
mov eax, dword [eax]
mov edx, dword [ebx]
add eax, dword [edx + 8]
mov ecx, 7
cdq
idiv ecx
lea ecx, [eax + eax*2]
mov eax, dword [ebx]
mov dword [eax + 4], ecx
add ecx, dword [ebp - 4]
mov eax, dword [ebx]
mov dword [eax + 0x18], ecx
mov eax, dword [ebx]
mov eax, dword [eax + 4]
add eax, dword [ebp + 0xc]
mov edx, dword [ebx]
mov dword [edx + 0x14], eax
mov eax, dword [ebx]
mov eax, dword [eax + 4]
add eax, 0x989680
mov edx, dword [ebx]
mov dword [edx + 0x1c], eax
call fcn.0015cce8
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.0014ab7c
push edx
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 4]
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
mov ecx, dword [ebx]
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], edx
mov eax, 0x3fffffff
call fcn.00142c54
mov edx, dword [ebx]
add eax, dword [edx + 4]
cdq
mov ecx, dword [ebx]
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], edx
mov eax, dword [ebp - 0x10]
call fcn.001451b4
mov ecx, eax
mov edx, dword [ebp - 0x10]
mov eax, dword [esi]
add eax, 0x48
call fcn.0014b55c
mov eax, 0x3fffffff
call fcn.00142c54
mov edx, dword [ebx]
add eax, dword [edx + 4]
cdq
mov ecx, dword [ebx]
add dword [ecx + 0x40], eax
adc dword [ecx + 0x44], edx
mov eax, 0x3fffffff
call fcn.00142c54
mov edx, dword [ebx]
add eax, dword [edx + 4]
cdq
mov ecx, dword [ebx]
add dword [ecx + 0x38], eax
adc dword [ecx + 0x3c], edx
mov eax, 0x3fffffff
call fcn.00142c54
mov edx, dword [ebx]
add eax, dword [edx + 4]
cdq
mov ecx, dword [ebx]
add dword [ecx + 0x30], eax
adc dword [ecx + 0x34], edx
mov eax, 0x3fffffff
call fcn.00142c54
mov edx, dword [ebx]
add eax, dword [edx + 4]
cdq
mov ecx, dword [ebx]
add dword [ecx + 0x28], eax
adc dword [ecx + 0x2c], edx
mov eax, 0x3fffffff
call fcn.00142c54
mov edx, dword [ebx]
add dword [edx + 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x15db18
lea eax, [ebp - 0x10]
mov edx, dword [0x145d70]
call fcn.0014539c
ret
Function at 0x15f5c8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x15f6f8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
mov edx, ebx
call fcn.001440c8
mov eax, dword [esi]
call fcn.00144344
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x15f6e2
mov eax, edi
shr eax, 0x18
mov byte [ebp - 0x10], al
mov eax, edi
shr eax, 0x10
mov byte [ebp - 0xf], al
mov eax, edi
shr eax, 8
mov byte [ebp - 0xe], al
mov eax, edi
mov byte [ebp - 0xd], al
mov eax, dword [ebp - 4]
dec eax
cmp eax, 0
jl 0x15f6ce
mov dword [ebp - 8], eax
mov eax, esi
call fcn.0014459c
mov edx, dword [esi]
mov dl, byte [edx]
mov cl, byte [ebp - 0xf]
add dl, cl
mov byte [eax], dl
mov edi, dword [ebp - 0xc]
sub edi, 2
jl 0x15f67a
inc edi
mov ebx, 2
mov eax, esi
call fcn.0014459c
mov edx, dword [esi]
mov dl, byte [edx + ebx - 2]
mov ecx, dword [esi]
mov cl, byte [ecx + ebx - 1]
add dl, cl
mov cl, byte [ebp - 0xd]
xor dl, cl
mov byte [eax + ebx - 1], dl
inc ebx
dec edi
jne 0x15f658
mov eax, esi
call fcn.0014459c
mov edx, dword [ebp - 0xc]
mov ecx, dword [esi]
mov ebx, dword [ebp - 0xc]
mov cl, byte [ecx + ebx - 1]
mov bl, byte [ebp - 0x10]
add cl, bl
mov byte [eax + edx - 1], cl
mov ebx, dword [ebp - 0xc]
dec ebx
cmp ebx, 1
jl 0x15f6c1
mov eax, esi
call fcn.0014459c
mov edx, dword [esi]
mov dl, byte [edx + ebx]
mov ecx, dword [esi]
mov cl, byte [ecx + ebx - 1]
add dl, cl
mov cl, byte [ebp - 0xe]
xor dl, cl
mov byte [eax + ebx - 1], dl
dec ebx
test ebx, ebx
jne 0x15f69f
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffff
jne 0x15f638
lea edx, [ebp - 0x14]
mov eax, dword [esi]
call fcn.0015cc98
mov edx, dword [ebp - 0x14]
mov eax, esi
call fcn.001440c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x15f6ff
lea eax, [ebp - 0x14]
call fcn.00144074
ret
Function at 0x15f708
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
mov edi, eax
mov esi, dword [ebp + 8]
mov edx, esi
mov eax, edi
call fcn.0015cca0
mov eax, dword [esi]
call fcn.00144344
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x15f7f4
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 0x10], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xf], al
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xe], al
mov byte [ebp - 0xd], bl
mov eax, dword [ebp - 4]
dec eax
cmp eax, 0
jl 0x15f7f4
mov dword [ebp - 8], eax
mov edi, dword [ebp - 0xc]
dec edi
test edi, edi
jle 0x15f78f
mov ebx, 1
mov eax, esi
call fcn.0014459c
mov edx, dword [esi]
mov dl, byte [edx + ebx - 1]
xor dl, byte [ebp - 0xe]
mov ecx, dword [esi]
mov cl, byte [ecx + ebx]
sub dl, cl
mov byte [eax + ebx - 1], dl
inc ebx
dec edi
jne 0x15f770
mov eax, esi
call fcn.0014459c
mov edx, dword [ebp - 0xc]
mov ecx, dword [esi]
mov ebx, dword [ebp - 0xc]
mov cl, byte [ecx + ebx - 1]
mov bl, byte [ebp - 0x10]
sub cl, bl
mov byte [eax + edx - 1], cl
mov ebx, dword [ebp - 0xc]
cmp ebx, 2
jl 0x15f7d5
mov eax, esi
call fcn.0014459c
mov edx, dword [esi]
mov dl, byte [edx + ebx - 1]
xor dl, byte [ebp - 0xd]
mov ecx, dword [esi]
mov cl, byte [ecx + ebx - 2]
sub dl, cl
mov byte [eax + ebx - 1], dl
dec ebx
cmp ebx, 1
jne 0x15f7b3
mov eax, esi
call fcn.0014459c
mov edx, dword [esi]
mov dl, byte [edx]
mov cl, byte [ebp - 0xf]
sub dl, cl
mov byte [eax], dl
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffff
jne 0x15f763
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x415d00
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57164a
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x5eabd8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
push 0x588400
call fcn.004ae3e4
add esp, 4
fcomp qword [0x588810]
fnstsw ax
test ah, 5
jp 0x415d49
xor eax, eax
jmp 0x415e98
lea ecx, [ebp - 0x14]
call fcn.00414a30
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00414a70
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x24]
call fcn.00414a70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.004173b0
push eax
lea ecx, [ebp - 0x1c]
call fcn.00417a80
lea ecx, [ebp - 0x24]
call fcn.004173b0
push eax
lea ecx, [ebp - 0x24]
call fcn.00417a80
lea edx, [ebp - 0x24]
push edx
push 0x588408
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.004174b0
add esp, 0xc
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.00417400
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.0041c360
lea ecx, [ebp - 0x20]
call fcn.004368b0
push eax
lea edx, [ebp - 0x18]
push edx
call fcn.00519890
add esp, 8
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp + 0xc]
movsx edx, byte [ecx]
push edx
push str._c__s
lea eax, [ebp - 0x14]
push eax
call fcn.00415480
add esp, 0x10
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x34]
call fcn.004165d0
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
call fcn.004368b0
push eax
push 0
lea ecx, [ebp - 0x14]
call fcn.004368b0
push eax
push 0x588414
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x2c]
call fcn.0041c360
xor edx, edx
cmp dword [ebp - 0x10], 1
sete dl
mov dword [ebp - 0x30], edx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x18]
call fcn.0041c360
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.0041c360
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.0041c360
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0041c360
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0041c360
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x4164c0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x5eabd8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0xa0], 0x94
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x9c], 5
jb 0x416500
mov eax, 1
jmp 0x41651b
cmp dword [ebp - 0x9c], 4
jne 0x416519
cmp dword [ebp - 0x98], 0
jne 0x416519
mov eax, 1
jmp 0x41651b
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004adaab
mov esp, ebp
pop ebp
ret
Function at 0x416a50
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x571882
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x5eabd8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x138], ecx
cmp dword [ebp + 8], 0
je 0x416acb
cmp dword [ebp + 0xc], 0
je 0x416acb
lea eax, [ebp - 0x128]
push eax
mov ecx, dword [ebp - 0x138]
call fcn.004168d0
lea ecx, [ebp - 0x128]
call fcn.004368b0
push eax
push 0x5886b0
push 0x5886b4
push 0x5886d0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [ebp - 0x128]
call fcn.0041c360
mov dword [ebp - 0x120], 0x5886e0
lea ecx, [ebp - 0x124]
call fcn.00414a30
mov dword [ebp - 4], 0
push 0x104
lea ecx, [ebp - 0x11c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x5886f0
lea edx, [ebp - 0x11c]
push edx
lea eax, [ebp - 0x130]
push eax
call fcn.0051a3b0
add esp, 0xc
mov dword [ebp - 0x13c], eax
mov ecx, dword [ebp - 0x13c]
mov dword [ebp - 0x140], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x140]
push edx
lea ecx, [ebp - 0x124]
call fcn.00417a80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x130]
call fcn.0041c360
push 4
lea ecx, [ebp - 0x124]
call fcn.004368b0
push eax
call fcn.004ae503
add esp, 8
test eax, eax
je 0x416b75
push str.RegSvr32.exe
lea ecx, [ebp - 0x124]
call fcn.00414af0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x138]
call fcn.00416830
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.004368b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x416c20
lea ecx, [ebp - 0x12c]
call fcn.00414a30
mov byte [ebp - 4], 3
cmp dword [ebp + 8], 0
je 0x416bc0
mov dword [ebp - 0x144], 0x588372
jmp 0x416bca
mov dword [ebp - 0x144], 0x588710
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x144]
push edx
push str._s__s___s_
lea eax, [ebp - 0x12c]
push eax
call fcn.00415480
add esp, 0x10
push 1
push 0
push 0
lea ecx, [ebp - 0x12c]
call fcn.004368b0
push eax
lea ecx, [ebp - 0x124]
call fcn.004368b0
push eax
push 0
call fcn.0051a4a0
add esp, 0x18
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x12c]
call fcn.0041c360
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x134], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0041c360
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x124]
call fcn.0041c360
mov eax, dword [ebp - 0x134]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004adaab
mov esp, ebp
pop ebp
ret 8
Function at 0x417970
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x417979
xor ecx, ecx
jne 0x417979
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4179be
mov eax, dword [ebp - 0xc]
jmp 0x417a14
cmp dword [ebp - 4], 1
je 0x4179d1
cmp dword [ebp - 4], 2
je 0x4179d1
mov eax, 0xd
jmp 0x417a14
cmp dword [ebp + 0xc], 0
je 0x417a0a
cmp dword [ebp - 8], 0
je 0x417a04
mov eax, dword [ebp - 8]
xor edx, edx
mov ecx, 1
div ecx
test edx, edx
jne 0x4179fb
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 8]
movsx eax, byte [edx - 1]
test eax, eax
je 0x417a02
mov eax, 0xd
jmp 0x417a14
jmp 0x417a0a
mov ecx, dword [ebp + 0xc]
mov byte [ecx], 0
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 8]
mov dword [edx], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc

Function at 0x417a20
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
xor eax, eax
jne 0x417a29
xor ecx, ecx
jne 0x417a29
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
jne 0x417a4a
mov eax, 0xd
jmp 0x417a76
xor eax, eax
jne 0x417a31
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
push eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x419450
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x571c18
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x5eabd8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp + 8]
call fcn.0041bf50
movzx eax, al
test eax, eax
je 0x41948e
xor al, al
jmp 0x419654
mov ecx, dword [ebp - 0x50]
add ecx, 0x8c
call fcn.0041bec0
movzx ecx, al
test ecx, ecx
je 0x4194fc
lea edx, [ebp - 0x24]
push edx
call fcn.0043a640
add esp, 4
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x58]
push ecx
mov ecx, dword [ebp - 0x50]
add ecx, 0x8c
call fcn.00417a80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0041c360
mov ecx, dword [ebp - 0x50]
add ecx, 0x8c
call fcn.0041bec0
movzx edx, al
test edx, edx
je 0x4194fc
xor al, al
jmp 0x419654
mov ecx, dword [ebp + 8]
call fcn.00413900
push eax
lea ecx, [ebp - 0x20]
call fcn.00414a70
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.0041be80
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripPathA]
push 0x2e
lea ecx, [ebp - 0x20]
call fcn.0041bcb0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x419551
mov byte [ebp - 0x25], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0041c360
mov al, byte [ebp - 0x25]
jmp 0x419654
lea ecx, [ebp - 0x20]
call fcn.0041c3c0
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x20]
call fcn.0041c3c0
sub eax, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x20]
call fcn.0041bd50
mov byte [ebp - 4], 2
push 0x589400
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x10]
push edx
call fcn.004174b0
add esp, 0xc
mov byte [ebp - 4], 3
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x50]
add ecx, 0x8c
call fcn.004368b0
push eax
lea ecx, [ebp - 0x44]
call fcn.00413860
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x60], ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x60]
call fcn.00413900
push eax
lea edx, [ebp - 0x48]
push edx
call fcn.0041bdd0
add esp, 0xc
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x68]
call fcn.004368b0
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0041bf30
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x48]
call fcn.0041c360
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
call fcn.004138e0
push 0
mov ecx, dword [ebp + 0xc]
call fcn.00413900
push eax
mov ecx, dword [ebp + 8]
call fcn.00413900
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x49], al
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.0041c360
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.0041c360
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0041c360
mov al, byte [ebp - 0x49]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x4357c0
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 1
mov ecx, dword [ebp + 8]
call fcn.004368b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4357f6
push 4
push 0
mov ecx, dword [ebp + 8]
call fcn.004368b0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov dword [ebp - 4], eax
jmp 0x4357fd
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x43aed0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0x590e9c
mov eax, dword [ebp + 8]
push eax
call fcn.0043b130
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x43aeef
xor eax, eax
jmp 0x43af17
mov edx, dword [ebp + 8]
push edx
call fcn.0043af20
add esp, 4
mov ecx, dword [ebp + 8]
call fcn.004368b0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x43af12
xor eax, eax
jmp 0x43af17
mov eax, 1
pop ebp
ret

Function at 0x43af20
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
call fcn.004368b0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
and eax, 0xfffffffe
push eax
mov ecx, dword [ebp + 8]
call fcn.004368b0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov esp, ebp
pop ebp
ret

Function at 0x43af50
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
call fcn.004368b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x43af7b
push 4
push 0
mov ecx, dword [ebp + 8]
call fcn.004368b0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
jmp 0x43af7d
xor eax, eax
pop ebp
ret
Function at 0x457300
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0
mov ecx, dword [ebp + 8]
mov dword [ecx], 0
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0xefcdab89
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0x98badcfe
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0x10325476
pop ebp
ret

Function at 0x458da0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5783f0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x5eabd8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
mov dword [eax], vtable.CCDDB.0
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.00414a30
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0xc], 0x400
push str.MfcCDDB
mov ecx, dword [ebp - 0x18]
add ecx, 0x10
call fcn.00414a70
mov byte [ebp - 4], 1
push str.1.31
mov ecx, dword [ebp - 0x18]
add ecx, 0x14
call fcn.00414a70
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x18], 5
mov ecx, dword [ebp - 0x18]
add ecx, 0x1c
call fcn.00414a30
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x20], 0x50
mov ecx, dword [ebp - 0x18]
add ecx, 0x24
call fcn.00414a30
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x18]
add ecx, 0x28
call fcn.00414a30
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x18]
add ecx, 0x2c
call fcn.00414a30
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x18]
add ecx, 0x30
call fcn.00414a30
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 8], 0xea60
push 0x598c44
lea ecx, [ebp - 0x10]
call fcn.00414a70
mov byte [ebp - 4], 8
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.00459e60
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x10]
call fcn.0041c360
push 0x598c4c
lea ecx, [ebp - 0x14]
call fcn.00414a70
mov byte [ebp - 4], 9
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.00459da0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x14]
call fcn.0041c360
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x459da0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x5eabd8]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x114], ecx
push 0x598c68
mov eax, dword [ebp + 8]
push eax
call fcn.0045fc40
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x459e20
mov byte [ebp - 0x110], 0
mov dword [ebp - 4], 0x101
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x459e0b
lea ecx, [ebp - 0x110]
push ecx
mov ecx, dword [ebp - 0x114]
add ecx, 0x30
call fcn.00414af0
jmp 0x459e1e
push 0x598c70
mov ecx, dword [ebp - 0x114]
add ecx, 0x30
call fcn.00414af0
jmp 0x459e32
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x114]
add ecx, 0x30
call fcn.00417a80
mov eax, dword [ebp - 0x114]
add eax, 0x30
push eax
mov ecx, dword [ebp - 0x114]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x114]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004adaab
mov esp, ebp
pop ebp
ret 4

Function at 0x459e60
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x5eabd8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x10c], ecx
push str.auto
mov eax, dword [ebp + 8]
push eax
call fcn.0045fc40
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x459ec1
mov byte [ebp - 0x108], 0
push pe_nt_image_headers32
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.WSOCK32.dll_gethostname]
lea eax, [ebp - 0x108]
push eax
mov ecx, dword [ebp - 0x10c]
add ecx, 0x2c
call fcn.00414af0
jmp 0x459ed3
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x10c]
add ecx, 0x2c
call fcn.00417a80
mov edx, dword [ebp - 0x10c]
add edx, 0x2c
push edx
mov eax, dword [ebp - 0x10c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x10c]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004adaab
mov esp, ebp
pop ebp
ret 4