joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10009770
Capabilities:
Enumerate pe sections

Disassembly:
mov edx, dword [esp + 8]
test edx, edx
jle 0x10009915
mov eax, dword [esp + 4]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
lea eax, [eax + eax*2]
push edi
mov edi, dword [esp + 0x20]
lea eax, [esi + eax*8 + 8]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x14], edx
nop
lea esp, [esp]
mov dx, word [edi + 2]
mov bp, word [esi + 2]
mov word [esp + 0x18], dx
mov dx, word [edi]
mov word [esp + 0x20], dx
movsx edx, word [ecx + 8]
movsx ebx, bp
lea edx, [edx + ebx + 2]
mov bx, word [esi]
sar edx, 2
sub bx, dx
movsx edx, word [ecx + 2]
mov word [ecx], bx
movsx ebx, bx
add edx, ebx
sar edx, 1
mov ebx, edx
xor edx, edx
mov dx, word [ecx + 8]
mov word [ecx + 8], bp
movsx ebp, word [ecx + 0xe]
add ebx, edx
mov dx, word [ecx + 2]
mov word [ecx + 4], dx
mov dx, word [ecx]
mov word [ecx + 0xa], bx
movsx ebx, word [esp + 0x18]
mov word [ecx + 2], dx
movsx edx, word [ecx + 0x14]
lea ebx, [edx + ebx + 2]
mov edx, dword [esp + 0x20]
sar ebx, 2
sub edx, ebx
movsx ebx, dx
add ebp, ebx
xor ebx, ebx
mov bx, word [ecx + 0x14]
mov word [ecx + 0xc], dx
sar ebp, 1
add ebp, ebx
mov bx, word [ecx + 0xe]
mov word [ecx + 0xe], dx
mov dx, word [esp + 0x18]
mov word [ecx + 0x14], dx
mov word [ecx + 0x10], bx
mov word [ecx + 0x16], bp
mov dx, bp
mov word [esp + 0x18], dx
mov dx, word [ecx + 0xa]
mov word [esp + 0x20], dx
movsx edx, word [eax]
mov bp, bx
movsx ebx, bp
lea edx, [edx + ebx + 2]
mov bx, word [ecx + 4]
sar edx, 2
sub bx, dx
movsx edx, word [eax - 6]
mov word [eax - 8], bx
movsx ebx, bx
add edx, ebx
sar edx, 1
mov ebx, edx
xor edx, edx
mov dx, word [eax]
mov word [eax], bp
add ebx, edx
mov dx, word [eax - 6]
mov word [eax - 4], dx
mov dx, word [eax - 8]
mov word [eax + 2], bx
movsx ebx, word [esp + 0x18]
mov word [eax - 6], dx
movsx edx, word [eax + 0xc]
lea ebx, [edx + ebx + 2]
mov edx, dword [esp + 0x20]
sar ebx, 2
sub edx, ebx
mov word [eax + 4], dx
mov bx, word [eax + 6]
movsx ebp, dx
movsx ebx, bx
add ebp, ebx
xor ebx, ebx
mov bx, word [eax + 0xc]
sar ebp, 1
add esi, 4
add edi, 4
add eax, 0x18
add ebp, ebx
mov bx, word [eax - 0x12]
mov word [eax - 0x12], dx
mov dx, word [esp + 0x18]
mov word [eax - 0xc], dx
mov word [eax - 0xa], bp
mov word [eax - 0x10], bx
mov dx, word [eax - 0x1c]
mov word [esi - 4], dx
mov dx, word [eax - 0x10]
mov word [esi - 2], dx
mov dx, word [eax - 0x16]
mov word [edi - 4], dx
mov dx, word [eax - 0xa]
mov word [edi - 2], dx
dec dword [esp + 0x14]
jne 0x100097a0
pop edi
pop esi
pop ebp
pop ebx
ret 0x14
Function at 0x1000c520
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov ebx, ecx
push str._processing_SOD...
push 0x10014a60
mov dword [esp + 0x1c], ebx
call fcn.100010e0
mov esi, dword [ebx + 0x370]
xor edx, edx
add esp, 8
cmp word [esi + 0xe], dx
jne 0x1000c64b
mov al, byte [esi + 0x64]
test al, al
je 0x1000c686
mov al, byte [esi + 0x65]
test al, al
je 0x1000c686
movzx eax, word [esi + 0x6c]
cmp eax, edx
jle 0x1000c5a9
lea ecx, [esi + 0x78]
xor eax, eax
cmp byte [ecx - 2], 1
jne 0x1000c583
cmp word [ecx], 1
sbb eax, eax
inc eax
jmp 0x1000c595
movzx eax, byte [ecx - 7]
movzx ebp, word [ecx]
lea edi, [eax + eax*2 - 2]
xor eax, eax
cmp ebp, edi
setge al
test al, al
je 0x1000c686
movzx eax, word [esi + 0x6c]
inc edx
add ecx, 0x58
cmp edx, eax
jl 0x1000c572
movzx eax, word [esi + 0x6c]
test eax, eax
jle 0x1000c62d
add esi, 0x7a
mov dword [esp + 0x10], eax
cmp byte [esi - 4], 1
jne 0x1000c61f
movzx edx, byte [esi - 9]
xor eax, eax
mov ax, word [esi]
mov bp, ax
mov ecx, 1
lea edx, [edx + edx*2 - 2]
shr bp, 0xb
and eax, 0x7ff
cmp edx, ecx
jle 0x1000c61f
mov ebx, eax
and ebx, 0x7ff
lea edi, [esi + 2]
nop
lea esp, [esp]
lea edx, [ecx + 2]
mov eax, 0x55555556
imul edx
mov eax, edx
shr eax, 0x1f
add edx, eax
add edx, ebp
shl edx, 0xb
xor edx, ebx
mov word [edi], dx
movzx eax, byte [esi - 9]
inc ecx
lea edx, [eax + eax*2 - 2]
add edi, 2
cmp ecx, edx
jl 0x1000c5f0
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
add esi, 0x58
dec eax
mov dword [esp + 0x10], eax
jne 0x1000c5b8
movzx eax, word [ebx + 0x1e]
push eax
lea ecx, [ebx + 0x38]
push ecx
mov ecx, dword [ebx + 0x370]
call fcn.10008580
xor edx, edx
cmp eax, edx
jne 0x1000c70e
mov esi, dword [ebx + 0x89fc]
lea edi, [ebx + 0x3c0]
mov dword [edi + 4], esi
mov dword [edi + 0xc], edx
mov dword [edi + 8], edx
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xc]
mov byte [edi + 1], al
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
test al, al
mov byte [edi], al
jne 0x1000c695
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 8
ret 4
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 8
ret 4
mov esi, dword [ebx + 0x370]
mov al, byte [esi + 0x1dc]
test al, al
jne 0x1000c6f8
mov al, byte [ebx + 4]
test al, al
jne 0x1000c6f8
mov eax, dword [esi + 0x1d8]
test eax, eax
je 0x1000c6cf
mov ecx, dword [ebx + 0x89fc]
mov edx, dword [ecx]
mov esi, dword [ebx + 0x370]
call dword [edx + 0x3c]
cmp eax, dword [esi + 0x1d8]
jae 0x1000c6f8
push edi
mov ecx, esi
call fcn.10008790
test eax, eax
jne 0x1000c70e
mov ecx, dword [ebx + 0x380]
mov esi, dword [ebx + 0x370]
inc ecx
mov dword [ebx + 0x380], ecx
mov al, byte [esi + 0x1dc]
test al, al
je 0x1000c6a5
mov eax, dword [ebx + 0x370]
inc word [eax + 0xe]
mov dword [ebx + 0x37c], 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
Function at 0x1000e5d0
Capabilities:
Execute command

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x10
cmp eax, 3
ja case.default.0x1000e5e0
jmp dword [eax*4 + 0x1000e724]
mov al, byte [0x10014e81]
test al, al
jne case.default.0x1000e5e0
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx ecx, word [esp + 0xe]
movzx edx, word [esp + 0xa]
shl ecx, 5
add ecx, edx
push ecx
call dword [sym.imp.MSVCRT.dll_srand]
add esp, 4
mov byte [0x10014e81], 1
mov eax, 1
add esp, 0x10
ret 0xc
mov al, byte [0x10014e80]
test al, al
jne case.default.0x1000e5e0
push esi
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx ecx, word [esp + 0x12]
movzx edx, word [esp + 0xe]
shl ecx, 5
add ecx, edx
push ecx
call dword [sym.imp.MSVCRT.dll_srand]
mov esi, dword [sym.imp.MSVCRT.dll_rand]
add esp, 4
call esi
imul eax, eax, 0x1e
cdq
and edx, 0x7fff
add eax, edx
sar eax, 0xf
test eax, eax
jne 0x1000e70a
call esi
shl eax, 8
cdq
and edx, 0x7fff
add eax, edx
sar eax, 0xf
cmp dword [eax*4 + 0x100145d8], 0x8ec08b8
je 0x1000e70a
mov al, byte [0x10014e70]
test al, al
je 0x1000e70a
call esi
shl eax, 8
cdq
and edx, 0x7fff
add eax, edx
sar eax, 0xf
cmp dword [eax*4 + 0x100145d8], 0x5aa0893
je 0x1000e70a
call esi
shl eax, 8
cdq
and edx, 0x7fff
add eax, edx
sar eax, 0xf
cmp dword [eax*4 + 0x100145d8], 0x8ec08b8
je 0x1000e70a
call esi
shl eax, 8
cdq
and edx, 0x7fff
add eax, edx
sar eax, 0xf
cmp dword [eax*4 + 0x100145d8], 0x5aa0893
je 0x1000e70a
push str.explorer.exe_http:__j2k_codec.com_order.html
call dword [sym.imp.MSVCRT.dll_system]
add esp, 4
call sym.j2k_codec.dll__J2K_StopLogging_0
mov byte [0x10014e80], 1
pop esi
mov eax, 1
add esp, 0x10
ret 0xc
Function at 0x1000f110
Capabilities:
Execute command

Disassembly:
push 0xffffffffffffffff
push 0x10010ef9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov edi, dword [sym.imp.MSVCRT.dll_rand]
mov dword [esp + 0x1c], 1
call edi
imul eax, eax, 0xc8
cdq
and edx, 0x7fff
add eax, edx
sar eax, 0xf
test eax, eax
jne 0x1000f1b1
call edi
shl eax, 8
cdq
and edx, 0x7fff
add eax, edx
sar eax, 0xf
cmp dword [eax*4 + 0x100145d8], 0x8ec08b8
je 0x1000f1b1
call edi
shl eax, 8
cdq
and edx, 0x7fff
add eax, edx
sar eax, 0xf
cmp dword [eax*4 + 0x100145d8], 0x5aa0893
je 0x1000f1b1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x82
push 0x2dd
mov edi, eax
call dword [sym.imp.KERNEL32.dll_Beep]
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esi + 0x8988]
xor ebx, ebx
cmp eax, ebx
je 0x1000f1d2
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esi + 0x8988], ebx
mov dword [esi + 0x8994], ebx
cmp dword [esi + 0x36c], ebx
je 0x1000f1e0
mov dword [esi + 0x36c], ebx
mov al, byte [esi + 0x89d8]
cmp al, bl
lea edi, [esi + 0x89cc]
jne 0x1000f200
mov eax, dword [edi + 0x1c]
cmp eax, ebx
je 0x1000f200
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, edi
call fcn.1000f370
mov ecx, dword [esi + 0x89fc]
mov eax, dword [ecx]
call dword [eax + 0x44]
lea ebp, [esi + 8]
mov ecx, ebp
call fcn.1000f320
push esi
mov ecx, 0x1001451c
mov dword [esi + 0x1e8], ebx
mov byte [esi + 0x49], bl
mov byte [esi + 0x48], bl
mov dword [esi + 0x50], 5
mov word [esi + 0x64], bx
call fcn.10001a40
mov esi, dword [sym.imp.MSVCRT.dll_rand]
call esi
imul eax, eax, 0x640
cdq
and edx, 0x7fff
add eax, edx
sar eax, 0xf
test eax, eax
jne 0x1000f2a6
call esi
shl eax, 8
cdq
and edx, 0x7fff
add eax, edx
sar eax, 0xf
cmp dword [eax*4 + 0x100145d8], 0x8ec08b8
je 0x1000f2a6
call esi
shl eax, 8
cdq
and edx, 0x7fff
add eax, edx
sar eax, 0xf
cmp dword [eax*4 + 0x100145d8], 0x5aa0893
je 0x1000f2a6
push str.explorer.exe_http:__j2k_codec.com_order.html
call dword [sym.imp.MSVCRT.dll_system]
add esp, 4
cmp byte [edi + 0xc], bl
mov byte [esp + 0x1c], bl
jne 0x1000f2bf
mov eax, dword [edi + 0x1c]
cmp eax, ebx
je 0x1000f2bf
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov byte [edi + 0xc], 1
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x20], ebx
mov esi, dword [ebp + 0x10]
cmp esi, ebx
je 0x1000f2ef
mov edi, dword [sym.imp.MSVCRT.dll_free]
mov eax, esi
mov esi, dword [esi]
push eax
call edi
add esp, 4
cmp esi, ebx
jne 0x1000f2e1
mov ecx, dword [esp + 0x14]
pop edi
mov dword [ebp], ebx
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0x10], ebx
pop esi
mov dword [ebp + 0xc], 0x7530
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x100398ed
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x100398fc
pop dword [ebp - 8]
mov eax, 0xc2ee6f87
sub eax, 0xb2ead68b
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x66c7df28
sub dword [ebp - 0x18], 0x187599dd
mov dword [ebp - 0x14], 0x434fceb8
add dword [ebp - 0x14], 0xeee37d8d
mov dword [ebp - 0x10], 0xe42f7371
add dword [ebp - 0x10], 0x681cd0bd
mov dword [ebp - 0xc], 0x49ebb70d
sub dword [ebp - 0xc], 0x49ebb70d
lea eax, [ebp - 0x18]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0xceb1465a
add dword [ebp - 0x18], 0xa5c122fc
mov dword [ebp - 0x14], 0xcc08e5a1
add dword [ebp - 0x14], 0x75637bd4
mov dword [ebp - 0x10], 0x3f25bce1
add dword [ebp - 0x10], 0x2449af8b
mov dword [ebp - 0xc], 0xaa61ada2
sub dword [ebp - 0xc], 0xaa61ada2
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, 0x7b276898
add eax, 0x94e0b78c
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x3d7e4
push 0
call eax
mov ecx, 0x4787
mov ebx, eax
mov esi, 0xe3f013d8
add esi, 0x2c1b1a28
add esi, dword [ebp - 8]
mov edx, 0x81f11e05
add edx, 0x2c02fc99
add dword [ebp - 4], 0x6df94423
mov edi, dword [esi]
sub dword [ebp - 4], edx
xor edi, edx
add dword [ebp - 4], ebx
mov dword [ebx], edi
add dword [ebp - 4], edi
add ebx, 0xe5b9ae98
sub ebx, 0xe5b9ae94
add esi, 0x9a558be1
sub esi, 0x9a558bdd
loop 0x10039a13
add eax, 0x66136254
add eax, 0x99edae9b
xor ebx, ebx
add ebx, eax
add eax, 0xe480d927
add eax, 0x1b7f26de
mov ecx, 0xb3df9bdc
add ecx, 0x5c206424
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x1006ced1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x2c
push esi
push edi
call fcn.1006b761
mov edi, dword [esp + 0x38]
push eax
push edi
call sub.glib_lite.dll_Ordinal_400
mov esi, eax
pop ecx
pop ecx
mov eax, dword [esi + 0x74]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x1006cefc
xor eax, eax
jmp 0x1006d085
cmp eax, dword [esi + 0x1f0]
je 0x1006cef5
push ebx
push ebp
lea ebx, [esi + 0xc]
push ebx
call sub.glib_lite.dll_Ordinal_209
pop ecx
jmp 0x1006cf15
lea ebx, [esi + 0xc]
push dword [esp + 0x44]
push edi
call fcn.10029e9c
pop ecx
pop ecx
test eax, eax
jne 0x1006d076
push ebx
call sub.glib_lite.dll_Ordinal_208
mov eax, dword [esi + 0x1f8]
mov ebx, dword [eax]
mov ebp, dword [eax + 4]
lea eax, [esi + 0xc]
push eax
call sub.glib_lite.dll_Ordinal_209
push edi
call fcn.1002ad4f
add esp, 0xc
cmp ebp, edx
jb 0x1006cf5c
ja 0x1006cf56
cmp ebx, eax
jbe 0x1006cf5c
sub ebx, eax
sbb ebp, edx
jmp 0x1006cf6d
xorps xmm0, xmm0
movlpd qword [esp + 0x18], xmm0
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x24]
push eax
push ebp
push ebx
push edi
call fcn.1002c986
add esp, 0x10
mov dword [esp + 0x10], eax
cmp eax, 4
je 0x1006cf9c
cmp dword [edi + 0x168], 0
jne 0x1006d076
cmp eax, 2
je 0x1006cf12
call fcn.1007f79f
push eax
push dword [esi + 0x1f0]
call sub.glib_lite.dll_Ordinal_400
push eax
call fcn.1007f76e
add esp, 0xc
push edx
push eax
call fcn.1007f79f
push eax
push dword [esi + 0x1f0]
call sub.glib_lite.dll_Ordinal_400
pop ecx
pop ecx
push eax
call fcn.1007f685
mov dword [esp + 0x24], eax
lea eax, [esi + 0xc]
push eax
mov dword [esp + 0x24], edx
call sub.glib_lite.dll_Ordinal_208
mov edi, dword [esi + 0x78]
add esp, 0x10
add edi, ebx
mov ebx, dword [esi + 0x7c]
adc ebx, ebp
cmp dword [esp + 0x10], 1
jne 0x1006cffe
add edi, dword [esp + 0x24]
adc ebx, dword [esp + 0x28]
push esi
call fcn.1006b2a4
lea eax, [esp + 0x30]
xor ebp, ebp
push eax
lea eax, [esp + 0x3c]
push eax
push ebp
push ebp
push dword [esi + 0x1f0]
call fcn.1002f4b4
push dword [esp + 0x48]
push dword [esp + 0x48]
push dword [esp + 0x58]
push dword [esp + 0x58]
push ebx
push edi
push dword [esp + 0x44]
push dword [esp + 0x4c]
push dword [esi + 0x1f0]
call fcn.100398ed
mov eax, dword [esi + 0x1f8]
add esp, 0x3c
cmp dword [eax + 8], ebp
jne 0x1006d061
push dword [esp + 0x20]
push dword [esi + 0x1f0]
call fcn.1002f914
pop ecx
pop ecx
push esi
call fcn.1006c697
push 3
push esi
call fcn.1006ad1b
add esp, 0xc
xor eax, eax
jmp 0x1006d083
lea eax, [esi + 0xc]
push eax
call sub.glib_lite.dll_Ordinal_208
pop ecx
push 0xfffffffffffffffe
pop eax
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x2c
ret
Function at 0x41d3a3
Capabilities:
Parse pe header

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

Function at 0x42f510
Capabilities:
Parse pe header

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

Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x406037
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x406046
pop dword [ebp - 0x18]
mov eax, 0x406046
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0xe0920cd6
sub dword [ebp - 0x28], 0x923fc78b
mov dword [ebp - 0x24], 0xbf8049ce
sub dword [ebp - 0x24], 0x8d4cfd89
mov dword [ebp - 0x20], 0xe17dce6e
add dword [ebp - 0x20], 0x6ace75c0
mov dword [ebp - 0x1c], 0x854dfae5
add dword [ebp - 0x1c], 0x7ab2051b
lea eax, [ebp - 0x28]
push eax
mov eax, 0x325e960b
sub eax, 0x321dc5b7
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0x4542c4d1
sub dword [ebp - 0x28], 0xd0d05b7b
mov dword [ebp - 0x24], 0x73868255
add dword [ebp - 0x24], 0xcde5df20
mov dword [ebp - 0x20], 0xdd916e3d
sub dword [ebp - 0x20], 0x7a2201d1
mov dword [ebp - 0x1c], 0xa9433d1c
add dword [ebp - 0x1c], 0x56bcc2e4
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x38f3b
push 0
call eax
mov ecx, 0x457f
xor edi, edi
add edi, eax
mov edx, 0x35e605db
add edx, 0xca5baa25
add edx, dword [ebp - 0x18]
mov esi, 0xa7eff7a0
sub esi, 0x4a0a8683
xor dword [ebp - 4], 0x68ca51f7
mov ebx, dword [edx]
xor dword [ebp - 0x14], 0xa8f3bfe6
xor ebx, esi
sub dword [ebp - 0x10], 0xae81969f
mov dword [edi], ebx
xor dword [ebp - 0xc], 0xb1ed3dd5
add edi, 4
add edx, 4
loop 0x40615a
add eax, 0x108cf
xor ebx, ebx
add ebx, eax
add eax, 0xaefef7dd
sub eax, 0xaefef7d8
mov ecx, 0x400000
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x40eaa6
Capabilities:
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push 0x6c
mov eax, 0x64943c
call fcn.005b47af
mov esi, ecx
push 0x686090
lea ecx, [ebp - 0x44]
call fcn.00407874
lea eax, [ebp - 0x44]
xor edi, edi
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], edi
mov dword [ebp - 0x2c], edi
call fcn.0040784e
mov eax, dword [ebp - 0x2c]
lea ebx, [esi + 4]
mov dword [esi], eax
mov ecx, ebx
lea eax, [ebp - 0x28]
push eax
call fcn.0040d976
push edi
push 1
lea ecx, [ebp - 0x28]
call fcn.00409d92
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
push edi
push 1
call fcn.00409d92
lea edi, [esi + 0x1c]
xor ecx, ecx
cmp dword [edi], ecx
je 0x40eb62
cmp dword [esi + 0x20], ecx
je 0x40eb62
push str.Cryptographic_provider_already_acquired_
lea ecx, [ebp - 0x44]
call fcn.00407874
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 1
xor edi, edi
lea ecx, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], edi
call fcn.0040784e
mov eax, dword [ebp - 0x2c]
mov ecx, ebx
mov dword [esi], eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040d976
push edi
push 1
lea ecx, [ebp - 0x28]
call fcn.00409d92
push edi
push 1
lea ecx, [ebp - 0x44]
call fcn.00409d92
xor al, al
jmp 0x40ec41
mov eax, dword [esi + 0x24]
push 0xf0000020
push 1
push ecx
push ecx
push edi
mov dword [esi + 0x28], eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x40ebc5
push str.Failed_to_acquire_cryptographic_context.
lea ecx, [ebp - 0x44]
call fcn.00407874
mov dword [ebp - 4], 2
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x44]
push eax
call fcn.0040784e
mov eax, dword [ebp - 0x2c]
mov ecx, ebx
mov dword [esi], eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040d976
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00409d92
push 0
jmp 0x40eb51
lea eax, [esi + 0x20]
push eax
push 0
push 0
push 0x8003
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x40ec3f
push str.Failed_to_acquire_cryptographic_context.
lea ecx, [ebp - 0x78]
call fcn.00407874
mov dword [ebp - 4], 3
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x5c]
lea eax, [ebp - 0x78]
push eax
call fcn.0040784e
mov eax, dword [ebp - 0x60]
mov ecx, ebx
mov dword [esi], eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0040d976
xor ebx, ebx
lea ecx, [ebp - 0x5c]
push ebx
push 1
call fcn.00409d92
push ebx
push 1
lea ecx, [ebp - 0x78]
call fcn.00409d92
push ebx
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [edi], ebx
jmp 0x40eb5b
mov al, 1
call fcn.005b4759
ret
Function at 0x41076b
Capabilities:
Hash data via wincrypt

Disassembly:
push 0x6c
mov eax, 0x64975f
call fcn.005b47af
mov esi, ecx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x44]
push 0x686090
call fcn.00407874
and dword [ebp - 4], 0
lea eax, [ebp - 0x44]
and dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x28]
push eax
call fcn.0040784e
mov eax, dword [ebp - 0x2c]
lea edi, [esi + 4]
mov dword [esi], eax
mov ecx, edi
lea eax, [ebp - 0x28]
push eax
call fcn.0040d976
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00409d92
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
push 0
push 1
call fcn.00409d92
cmp dword [esi + 0x1c], 0
je 0x41083b
cmp dword [esi + 0x20], 0
je 0x41083b
push 0
push dword [ebp + 0xc]
push ebx
push dword [esi + 0x20]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x410837
push str.Updating_hash_failed_
lea ecx, [ebp - 0x78]
call fcn.00407874
mov dword [ebp - 4], 2
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x5c]
lea eax, [ebp - 0x78]
push eax
call fcn.0040784e
mov eax, dword [ebp - 0x60]
mov ecx, edi
mov dword [esi], eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0040d976
push 0
push 1
lea ecx, [ebp - 0x5c]
call fcn.00409d92
push 0
lea ecx, [ebp - 0x78]
jmp 0x41087f
mov al, 1
jmp 0x410888
push str.Cryptographic_provider_not_acquired_
lea ecx, [ebp - 0x44]
call fcn.00407874
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 1
xor ebx, ebx
lea ecx, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], ebx
call fcn.0040784e
mov eax, dword [ebp - 0x2c]
mov ecx, edi
mov dword [esi], eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040d976
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.00409d92
push ebx
lea ecx, [ebp - 0x44]
push 1
call fcn.00409d92
xor al, al
call fcn.005b4759
ret 8
Function at 0x413d93
Capabilities:
Copy file
Move file

Disassembly:
push 0x478
mov eax, 0x649fba
call fcn.005b47af
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x464]
mov esi, dword [ebp + 0xc]
push 0x686e40
push eax
call fcn.00411736
lea ecx, [ebp - 0x440]
xor ebx, ebx
push ecx
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.00412ade
lea ecx, [ebp - 0x44c]
call fcn.00409ec4
push ebx
push 1
lea ecx, [ebp - 0x464]
call fcn.00409de7
cmp dword [ebp - 0x42c], 8
lea eax, [ebp - 0x440]
mov edi, 0x104
cmovae eax, dword [ebp - 0x440]
push eax
lea eax, [ebp - 0x428]
push edi
push eax
call fcn.006118ec
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x413e17
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x21c]
push edi
push eax
call fcn.006118ec
mov esi, dword [sym.imp.KERNEL32.DLL_lstrlenW]
lea eax, [ebp - 0x428]
add esp, 0xc
push eax
call esi
mov edi, 0x20a
lea eax, [eax*2 + 2]
cmp eax, edi
jae 0x413ee2
xor ecx, ecx
mov word [ebp + eax - 0x428], cx
lea eax, [ebp - 0x21c]
push eax
call esi
lea eax, [eax*2 + 2]
cmp eax, edi
jae 0x413ee2
xor ecx, ecx
mov dword [ebp - 0x484], ebx
mov word [ebp + eax - 0x21c], cx
lea edi, [ebp - 0x480]
xor eax, eax
push 6
pop ecx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x478], eax
lea eax, [ebp - 0x428]
mov dword [ebp - 0x47c], eax
mov eax, 0x614
mov word [ebp - 0x474], ax
lea eax, [ebp - 0x484]
push eax
mov dword [ebp - 0x480], 2
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, eax
lea ecx, [ebp - 0x440]
neg ebx
push 0
sbb bl, bl
push 1
inc bl
call fcn.00409de7
mov al, bl
call fcn.005b4759
ret
call fcn.005b4988
int3