joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5bbb9f
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 0x3c
mov eax, 0x656f05
call fcn.006284bd
mov eax, dword [ebp + 8]
xor ebx, ebx
mov esi, dword [ebp + 0x1c]
inc ebx
mov edi, dword [ebp + 0x20]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x2c]
push eax
push 0x675bd4
push ebx
push 0
push 0x675c14
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x5bbbee
xor al, al
jmp 0x5bbd6b
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x3c]
call fcn.005b9975
mov eax, dword [ebp - 0x2c]
pop ecx
pop ecx
push dword [ebp - 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
test eax, eax
js 0x5bbd58
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x40]
call fcn.005b9975
mov eax, dword [ebp - 0x2c]
pop ecx
pop ecx
push dword [ebp - 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
test eax, eax
js 0x5bbd58
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x44]
call fcn.005b9975
mov eax, dword [ebp - 0x2c]
pop ecx
pop ecx
push dword [ebp - 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
test eax, eax
js 0x5bbd58
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x48]
call fcn.005b9975
mov eax, dword [ebp - 0x2c]
pop ecx
pop ecx
push dword [ebp - 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
test eax, eax
js 0x5bbd58
mov eax, dword [ebp - 0x2c]
push dword [ebp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
test eax, eax
js 0x5bbd58
cmp dword [edi + 0x10], 0
je 0x5bbcbe
lea eax, [ebp - 0x34]
push eax
push edi
call fcn.005b9975
mov eax, dword [ebp - 0x2c]
pop ecx
pop ecx
push dword [ebp + 0x24]
mov ecx, dword [eax]
push dword [ebp - 0x34]
push eax
call dword [ecx + 0x44]
test eax, eax
js 0x5bbd58
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x38]
push edx
push 0x675c04
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x5bbd58
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x5bbce1
mov ecx, dword [esi]
mov eax, dword [esi + 0x10]
mov edi, str..lnk
add eax, 0xfffffffc
add eax, ecx
push edi
push eax
call fcn.0063ea9c
pop ecx
pop ecx
test eax, eax
jne 0x5bbd09
lea eax, [ebp - 0x34]
push eax
push esi
call fcn.005b9975
pop ecx
pop ecx
jmp 0x5bbd33
push edi
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.005a615f
lea eax, [ebp - 0x34]
mov byte [ebp - 4], bl
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.005b9975
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00449330
mov eax, dword [ebp - 0x38]
push ebx
push dword [ebp - 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
test eax, eax
js 0x5bbd58
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x5bbd5a
xor bl, bl
cmp dword [ebp - 0x34], 0
je 0x5bbd69
push dword [ebp - 0x34]
call fcn.0062f047
pop ecx
mov al, bl
call fcn.0062846c
ret
Function at 0x5bbe5e
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xbc
mov eax, 0x656fcc
call fcn.006284bd
mov edi, dword [ebp + 8]
call fcn.005c2145
cmp dword [eax + 0x978], 6
jae 0x5bbec2
push str.SYSTEMCurrentControlSetServicesSharedAccessParametersFirewallPolicyStandardProfileAuthorizedApplicationsList
lea ecx, [ebp - 0x28]
call fcn.00449380
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push edi
push eax
lea eax, [ebp - 0x40]
push reloc.WS2_32.dll_bind
push eax
call fcn.005b8a5a
add esp, 0x10
lea ecx, [ebp - 0x40]
mov esi, dword [eax + 0x10]
call fcn.00449330
lea ecx, [ebp - 0x28]
call fcn.00449330
test esi, esi
setne al
jmp 0x5bc0a2
and dword [ebp - 0xa8], 0
mov esi, 0x7d0
push esi
push 0
xor bh, bh
mov dword [ebp - 0xa4], 0x3e8
call fcn.0062f062
pop ecx
pop ecx
mov dword [ebp - 0xa8], eax
push str.SYSTEMCurrentControlSet_servicesSharedAccessParametersFirewallPolicyFirewallRules
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 1
call fcn.00449380
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.005b9975
pop ecx
pop ecx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00449330
lea eax, [ebp - 0xb4]
push eax
push 0x20019
push 0
push dword [ebp - 0xa8]
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x5bc08b
push esi
push eax
mov dword [ebp - 0xc4], 0x3e8
call fcn.0062f062
mov esi, eax
mov dword [ebp - 0xc8], esi
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push edi
push eax
call fcn.005b479d
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 4
push 0x666340
push eax
call fcn.005a0e81
add esp, 0x1c
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 6
call fcn.00449330
xor edi, edi
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0xac]
push eax
push esi
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xac], 0x3e8
push eax
push 0
lea eax, [ebp - 0xb0]
push eax
push dword [ebp - 0xa8]
push edi
push dword [ebp - 0xb4]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x5bc068
cmp dword [ebp - 0xb8], 1
jne 0x5bc06f
lea eax, [ebp - 0x70]
push esi
push eax
call fcn.005ba695
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
mov ecx, eax
mov byte [ebp - 4], 7
jb 0x5bc002
mov ecx, dword [eax]
mov dword [ebp - 0xc0], ecx
lea ecx, [ebp - 0xa0]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x58]
push eax
call fcn.005b0578
mov ecx, 0x70e30c
mov byte [ebp - 4], 8
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
lea ecx, [ebp - 0xc0]
push ecx
mov ecx, eax
call fcn.00448200
lea ecx, [ebp - 0xa0]
mov bl, al
call fcn.00447c20
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 6
call fcn.00449330
test bl, bl
je 0x5bc06f
mov bh, 1
jmp 0x5bc06f
cmp eax, 0x103
je 0x5bc078
inc edi
test bh, bh
je 0x5bbf92
lea ecx, [ebp - 0x58]
call fcn.00449330
test esi, esi
je 0x5bc08b
push esi
call fcn.0062f047
pop ecx
cmp dword [ebp - 0xa8], 0
je 0x5bc0a0
push dword [ebp - 0xa8]
call fcn.0062f047
pop ecx
mov al, bh
call fcn.0062846c
ret
Function at 0x5bc0a8
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x70d514]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x228
xor esi, esi
lea eax, [ebp - 0x22c]
push esi
push eax
call fcn.0062b6a0
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
lea eax, [ebp - 0x230]
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x5bc127
push edi
mov edi, dword [ebp + 8]
cmp dword [ebp - 0x228], edi
jne 0x5bc10d
cmp dword [ebp - 0x218], edi
jne 0x5bc120
lea eax, [ebp - 0x230]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x5bc0fd
jmp 0x5bc126
mov esi, dword [ebp - 0x218]
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0062844a
leave
ret

Function at 0x5bc409
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 8]
xor esi, esi
push esi
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x5bc446
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
jne 0x5bc43d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x5bc44e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
pop edi
mov eax, esi
pop esi
pop ebp
ret
Function at 0x5bc46c
Capabilities:
Delete file
Write file on windows

Disassembly:
push 0x428
mov eax, 0x657056
call fcn.006284bd
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x42c], ebx
push str._tmp__d.tmp
mov dword [ebp - 4], ebx
call fcn.005b954b
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.005a615f
mov esi, eax
add esp, 0xc
cmp dword [esi + 0x14], 0x10
jb 0x5bc4b3
mov esi, dword [esi]
call fcn.00634b94
push eax
lea eax, [ebp - 0x3f8]
push esi
push eax
call fcn.0051cfa0
add esp, 0xc
lea ecx, [ebp - 0x410]
call fcn.00449330
lea eax, [ebp - 0x3f8]
push eax
lea ecx, [ebp - 0x428]
call fcn.00449380
push eax
lea eax, [ebp - 0x410]
mov byte [ebp - 4], 1
push edi
push eax
call fcn.005b3361
lea ecx, [ebp - 0x430]
mov byte [ebp - 4], 2
push ecx
push eax
call fcn.005b9975
add esp, 0x14
lea ecx, [ebp - 0x410]
call fcn.00449330
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], bl
call fcn.00449330
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp - 0x430]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x5bc586
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.005b9a5f
pop ecx
pop ecx
mov esi, 0x70d09c
mov ecx, esi
call fcn.00449330
lea eax, [ebp - 0x410]
mov ecx, esi
push eax
call fcn.00449550
lea ecx, [ebp - 0x410]
call fcn.00449330
jmp 0x5bc614
push str.test_data
call fcn.0062f100
pop ecx
push ebx
mov esi, eax
lea eax, [ebp - 0x434]
push eax
push esi
push str.test_data
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x5bc5b4
cmp dword [ebp - 0x434], esi
je 0x5bc5f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.005b9a5f
pop ecx
pop ecx
mov esi, 0x70d09c
mov ecx, esi
call fcn.00449330
lea eax, [ebp - 0x410]
mov ecx, esi
push eax
call fcn.00449550
lea ecx, [ebp - 0x410]
call fcn.00449330
jmp 0x5bc5f3
xor ebx, ebx
inc ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x430]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call esi
test eax, eax
jne 0x5bc614
push dword [ebp - 0x430]
call esi
cmp dword [ebp - 0x430], 0
je 0x5bc629
push dword [ebp - 0x430]
call fcn.0062f047
pop ecx
mov al, bl
call fcn.0062846c
ret
Function at 0x5be00f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
lea eax, [ebp - 4]
xor ecx, ecx
push eax
push ecx
push esi
push 0x5be146
push ecx
push ecx
mov dword [esi], vtable.Installer.0
mov dword [esi + 8], ecx
mov byte [esi + 0xc], cl
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
mov eax, esi
pop esi
leave
ret
Function at 0x5cbe01
Capabilities:
Identify system language via api

Disassembly:
mov eax, dword [0x70d2c0]
cmp eax, 8
jne 0x5cbea2
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
and eax, 0x1ff
cmp eax, 0x2b
ja 0x5cbe67
je 0x5cbe9a
cmp eax, 0x1f
ja 0x5cbe4a
je 0x5cbe46
dec eax
sub eax, 1
je 0x5cbe9a
sub eax, 8
je 0x5cbe42
sub eax, 0xc
je 0x5cbe3d
sub eax, 3
jmp 0x5cbe94
push 6
pop eax
jmp 0x5cbe9d
push 4
jmp 0x5cbe3f
push 2
jmp 0x5cbe3f
sub eax, 0x22
je 0x5cbe63
sub eax, 1
je 0x5cbe9a
sub eax, 5
je 0x5cbe9a
dec eax
sub eax, 1
jne 0x5cbe96
push 7
jmp 0x5cbe3f
push 5
jmp 0x5cbe3f
cmp eax, 0x42
ja 0x5cbe87
je 0x5cbe9a
sub eax, 0x2c
je 0x5cbe9a
sub eax, 0xb
je 0x5cbe9a
dec eax
sub eax, 1
je 0x5cbe83
sub eax, 6
jmp 0x5cbe94
push 3
jmp 0x5cbe3f
sub eax, 0x43
je 0x5cbe9a
sub eax, 0x2a
je 0x5cbe9a
sub eax, 0x18
je 0x5cbe9a
xor eax, eax
jmp 0x5cbe9d
xor eax, eax
inc eax
mov dword [0x70d2c0], eax
ret
Function at 0x5d13ed
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 0x898]
push eax
push 0
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [esi + 0xc50], 1
xor eax, eax
pop esi
ret 0x10
Function at 0x5d201c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
push esi
mov esi, ecx
jne 0x5d203e
push 5
push dword [esi + 0x74]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x5d2045
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebp + 0x10], 0x201
push ebx
mov ebx, ecx
jne 0x5d2079
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebx + 0x898]
push eax
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov byte [ebx + 0xc50], 0
jmp 0x5d20bd
mov eax, 0x205
cmp word [ebp + 0x10], ax
jne 0x5d20bd
and dword [ebp - 8], 0
lea eax, [ebp - 8]
and dword [ebp - 4], 0
push esi
push edi
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edi, dword [ebp - 4]
mov esi, dword [ebx + 4]
push edi
push dword [ebp - 8]
call fcn.005d39f4
pop ecx
pop ecx
push 0
push esi
push 0
push edi
push eax
push 4
push dword [ebx + 0x68]
call dword [sym.imp.USER32.dll_TrackPopupMenu]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10
Function at 0x5d6612
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x65a557
call fcn.00628529
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x418], ebx
push 0x60
push ebx
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x5d668f
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x5d668f
call fcn.005ce10c
mov esi, eax
jmp 0x5d6766
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x5d66b2
call fcn.005ce10c
jmp 0x5d6759
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x5d66a8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x420], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x5d66e2
mov esi, 0x8007000e
jmp 0x5d675b
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.005d589e
jmp 0x5d6708
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
je 0x5d66db
push esi
push dword [ebp - 0x418]
push esi
push dword [ebp - 0x41c]
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x5d66a8
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.005d64cb
mov esi, eax
test edi, edi
je 0x5d6766
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x5d677f
lea ecx, [ebp - 0x418]
call fcn.005d5c9b
mov eax, esi
call fcn.0062847b
ret 0x10
Function at 0x5d8aad
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub eax, 0
je 0x5d8b00
sub eax, 1
je 0x5d8af9
sub eax, 1
je 0x5d8af2
sub eax, 1
je 0x5d8aeb
sub eax, 1
je 0x5d8ae4
push str._installer
call fcn.005b9167
push eax
push dword [ebp + 8]
call fcn.005a615f
add esp, 0xc
jmp 0x5d8b0d
push str.Mozilla_5.0__Macintosh__U__Intel_Mac_OS_X_10_6_6__en_US__AppleWebKit_534.13__KHTML__like_Gecko__Chrome_9.0.597.102_Safari_534.13
jmp 0x5d8b05
push str.Mozilla_5.0__Windows__U__Windows_NT_5.1__en_US__AppleWebKit_534.13__KHTML__like_Gecko__Chrome_9.0.597.107_Safari_534.13
jmp 0x5d8b05
push str.Opera_9.80__X11__Linux_i686__U__ru__Presto_2.7.62_Version_11.01
jmp 0x5d8b05
push str.Mozilla_5.0__X11__U__Linux_i686__ru__rv:1.9.2.14__Gecko_20110221_Ubuntu_10.10__maverick__Firefox_3.6.14
jmp 0x5d8b05
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.1_
mov ecx, dword [ebp + 8]
call fcn.00449380
mov eax, dword [ebp + 8]
pop ebp
ret

Function at 0x5d9b05
Capabilities:
Get common file path

Disassembly:
push 0x240
mov eax, 0x65a9dd
call fcn.006284bd
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
xor ebx, ebx
mov dword [ebp - 0x24c], esi
push ebx
push 0x1a
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.005ba695
push str.MozillaFirefox_
push eax
lea eax, [ebp - 0x230]
mov dword [ebp - 4], ebx
push eax
call fcn.005a0e4e
add esp, 0x14
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 2
call fcn.00449330
lea eax, [ebp - 0x230]
push eax
call fcn.005b6ed9
mov dword [esi], ebx
mov dword [esi + 0x10], ebx
pop ecx
test al, al
je 0x5d9b93
lea eax, [ebp - 0x230]
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
call fcn.00449550
jmp 0x5d9b9c
mov dword [esi + 0x14], 0xf
mov byte [esi], bl
lea ecx, [ebp - 0x230]
call fcn.00449330
mov eax, esi
call fcn.0062846c
ret
Function at 0x5da08b
Capabilities:
Create process on windows

Disassembly:
push 8
mov eax, 0x653599
call fcn.0062848a
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
mov esi, dword [eax]
cmp esi, eax
je 0x5da0fb
mov edi, dword [esi + 0x58]
and dword [ebp - 0x14], 0
and dword [ebp - 0x10], 0
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
lea eax, [esi + 8]
push ecx
push eax
call fcn.005b9975
pop ecx
pop ecx
xor edx, edx
xor ecx, ecx
push 5
push edx
cmp edi, 3
mov eax, str.__restore_last_session
cmovne eax, ecx
push eax
push dword [ebp - 0x14]
push edx
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 0
je 0x5da0f5
push dword [ebp - 0x14]
call fcn.0062f047
and dword [ebp - 0x10], 0
pop ecx
mov esi, dword [esi]
cmp esi, dword [ebx]
jne 0x5da0a2
call fcn.00628458
ret

Function at 0x5da76c
Capabilities:
Terminate process

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 8]
mov esi, dword [eax]
cmp esi, eax
je 0x5da78f
push 0
push 0
push 0x10
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [esi]
cmp esi, dword [edi + 8]
jne 0x5da779
cmp dword [edi + 0xc], 0
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
je 0x5da7a8
push 0x1388
push dword [edi]
call esi
test eax, eax
je 0x5da7bb
push 1
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x7d0
push dword [edi]
call esi
pop edi
pop esi
ret
Function at 0x5db36b
Capabilities:
Get file size

Disassembly:
push 0xf4
mov eax, 0x65add7
call fcn.006284bd
mov esi, dword [ebp + 8]
xor ebx, ebx
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
lea eax, [ebp - 0x60]
mov dword [ebp - 4], ebx
push eax
push edi
call fcn.005b9975
pop ecx
pop ecx
push ebx
push 0x80
push 3
push ebx
push 3
push accept
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x5db425
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.005b9a5f
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x58]
push str.CreateFile_error__
push eax
call fcn.005a0e81
mov edi, eax
mov ebx, 0x70d09c
add esp, 0x14
cmp edi, ebx
je 0x5db3fd
mov ecx, ebx
call fcn.00449330
push edi
mov ecx, ebx
call fcn.00449550
lea ecx, [ebp - 0x58]
call fcn.00449330
lea ecx, [ebp - 0x28]
call fcn.00449330
xor eax, eax
mov dword [esi + 0x14], 0xf
cmp dword [ebp - 0x60], eax
mov dword [esi], eax
mov dword [esi + 0x10], eax
mov byte [esi], al
jmp 0x5db556
push 1
lea ecx, [ebp - 0x100]
call fcn.005a1635
push str._information:_n
push edi
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 2
push str.File
push eax
call fcn.005a0c96
pop ecx
pop ecx
push eax
call fcn.005a0c75
pop ecx
pop ecx
push eax
call fcn.005a0c96
pop ecx
pop ecx
lea eax, [ebp - 0x68]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x5db4be
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.005b9a5f
pop ecx
pop ecx
push 0x6d6d98
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x100]
push str.Error_getting_file_size__
push eax
call fcn.005a0c96
pop ecx
pop ecx
push eax
call fcn.005a0c75
pop ecx
pop ecx
push eax
call fcn.005a0c96
pop ecx
pop ecx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00449330
jmp 0x5db4eb
push 0x6d6d98
push dword [ebp - 0x64]
lea eax, [ebp - 0x100]
push dword [ebp - 0x68]
push str.File_size:
push eax
call fcn.005a0c96
pop ecx
pop ecx
mov ecx, eax
call fcn.005a2141
push eax
call fcn.005a0c96
pop ecx
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x40]
push edi
push eax
call fcn.005db569
pop ecx
pop ecx
cmp dword [ebp - 0x30], 0
mov byte [ebp - 4], 4
jne 0x5db514
mov edi, 0x70d09c
mov eax, str.Error_while_calculating_sha1__
jmp 0x5db51c
lea edi, [ebp - 0x40]
mov eax, str.Files_sha1:
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.005a0c96
push edi
push eax
call fcn.005a0c75
add esp, 0x10
lea ecx, [ebp - 0xfc]
push esi
call fcn.005a54cf
lea ecx, [ebp - 0x40]
call fcn.00449330
lea ecx, [ebp - 0x100]
call fcn.005a24bf
cmp dword [ebp - 0x60], 0
je 0x5db561
push dword [ebp - 0x60]
call fcn.0062f047
pop ecx
mov eax, esi
call fcn.0062846c
ret
Function at 0x5dcc82
Capabilities:
Hash data using sha1

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

Function at 0x5dccb9
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
mov eax, dword [0x70d514]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x64]
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push 0x40
push ebx
push eax
mov dword [ebp - 0xb4], esi
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xac], ebx
call fcn.0062b6a0
add esp, 0xc
cmp dword [edi + 0x14], 0x10
jb 0x5dcd00
mov edi, dword [edi]
push edi
lea eax, [ebp - 0x64]
push 0x40
push eax
call fcn.00639be7
add esp, 0xc
lea eax, [ebp - 0xb0]
push 0xf0000000
push 0x18
push ebx
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x5dcd3a
push 0x680893
mov ecx, esi
call fcn.00449380
jmp 0x5dce49
lea eax, [ebp - 0xac]
push eax
push ebx
push ebx
push 0x800c
push dword [ebp - 0xb0]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
push ebx
test eax, eax
jne 0x5dcd67
push dword [ebp - 0xb0]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x5dcd29
lea eax, [ebp - 0x64]
push eax
call fcn.0062f100
pop ecx
push eax
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0xac]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x5dcd95
push dword [ebp - 0xac]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push ebx
jmp 0x5dcd59
push 8
pop ecx
xor eax, eax
mov dword [ebp - 0xb8], 0x20
push ebx
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x24]
push eax
push 2
push dword [ebp - 0xac]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push dword [ebp - 0xac]
test eax, eax
je 0x5dcd8c
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push ebx
push dword [ebp - 0xb0]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push 0x41
lea eax, [ebp - 0xa8]
push ebx
push eax
call fcn.0062b6a0
add esp, 0xc
mov edx, ebx
push 0xf
pop edi
movzx ecx, byte [ebp + edx - 0x24]
mov eax, ecx
and ecx, edi
shr eax, 4
mov al, byte [eax + str.0123456789abcdef]
mov byte [ebp + edx*2 - 0xa8], al
mov al, byte [ecx + str.0123456789abcdef]
mov byte [ebp + edx*2 - 0xa7], al
inc edx
cmp edx, 0x20
jl 0x5dcdf7
lea eax, [ebp - 0xa8]
mov byte [ebp - 0xb4], bl
push eax
push dword [ebp - 0xb4]
mov dword [esi], ebx
mov ecx, esi
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], edi
push 0x41
mov byte [esi], bl
call fcn.004495d0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0062844a
leave
ret