joyce8/EMBER2024-capa huggingface dataset:
Function at 0x105edc1
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x1009820
call fcn.0105ef8c
xor ebx, ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x105edfe
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x105edfe
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x105ee16
cmp eax, 0x20b
je 0x105ee03
mov dword [ebp - 0x1c], ebx
jmp 0x105ee2a
cmp dword [ecx + 0x84], 0xe
jbe 0x105edfe
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x105ee24
cmp dword [ecx + 0x74], 0xe
jbe 0x105edfe
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x11150c0], 0xffffffff
or dword [0x11150c4], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x111357c]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x1113578]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x11150bc], eax
call fcn.01066e3a
cmp dword [0x1111220], ebx
jne 0x105ee85
push fcn.01066e3a
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.0105f1f5
push 0x1111060
push 0x111105c
call sub.msvcrt.dll__initterm
mov eax, dword [0x1113574]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x1113570]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x38], eax
push 0x1111058
push section..data
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
cmp byte [esi], 0x22
jne 0x105ef1b
inc esi
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, bl
je 0x105eeef
cmp al, 0x22
jne 0x105eee1
cmp byte [esi], 0x22
jne 0x105eef8
inc esi
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, bl
je 0x105ef02
cmp al, 0x20
jbe 0x105eef4
mov dword [ebp - 0x54], ebx
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x54], 1
je 0x105ef26
movzx eax, word [ebp - 0x50]
jmp 0x105ef29
cmp byte [esi], 0x20
jbe 0x105eef8
inc esi
mov dword [ebp - 0x20], esi
jmp 0x105ef1b
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call main
mov esi, eax
mov dword [ebp - 0x3c], esi
cmp dword [ebp - 0x1c], ebx
jne 0x105ef46
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x105ef7b
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0105efc7
ret
Function at 0x1060b0c
Capabilities:
Set socket configuration

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov edi, dword [ebp + 0xc]
or dword [edi], 0xffffffff
lea eax, [ebp - 4]
xor esi, esi
push eax
push esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call sub.iphlpapi.dll_GetAdaptersInfo
cmp eax, 0x6f
jne 0x1060c31
push ebx
push dword [ebp - 4]
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
cmp ebx, esi
pop ecx
mov dword [ebp - 0xc], ebx
je 0x1060c30
lea eax, [ebp - 4]
push eax
push ebx
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
jne 0x1060c27
lea esi, [ebx + 0x1ac]
test esi, esi
je 0x1060b93
lea edi, [esi + 4]
cmp byte [edi], 0
je 0x1060b8a
push edi
call sub.WSOCK32.dll_inet_addr
test eax, eax
je 0x1060b8a
inc dword [ebp - 8]
push edi
call sub.WSOCK32.dll_inet_addr
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov esi, dword [esi]
test esi, esi
jne 0x1060b6a
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
jne 0x1060b60
cmp dword [ebp - 8], 1
jle 0x1060c27
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
push eax
call dword [ecx + 0x34]
test eax, eax
jl 0x1060c27
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov ebx, dword [ebp - 0xc]
lea edx, [ebp + 0xc]
push edx
push 0x1009d38
push eax
call dword [ecx]
test eax, eax
jl 0x1060c1e
mov eax, dword [ebp + 0xc]
and dword [edi], 0
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push eax
call dword [ecx + 0x80]
test eax, eax
jne 0x1060c15
lea esi, [ebx + 0x1ac]
jmp 0x1060c02
lea eax, [esi + 4]
cmp byte [eax], 0
je 0x1060c00
push eax
call sub.WSOCK32.dll_inet_addr
mov ecx, dword [ebp - 8]
cmp ecx, eax
je 0x1060c08
mov esi, dword [esi]
test esi, esi
jne 0x1060beb
jmp 0x1060c0a
mov dword [edi], ecx
cmp dword [edi], 0
jne 0x1060c15
mov ebx, dword [ebx]
test ebx, ebx
jne 0x1060be3
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0xc]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
pop ebx
cmp dword [edi], 0xffffffff
pop edi
pop esi
jne 0x1060c3f
mov eax, 0x80004005
jmp 0x1060c41
xor eax, eax
leave
ret 8
Function at 0x106442a
Capabilities:
Delete registry key

Disassembly:
mov eax, 0x110c71f
call fcn.01105c98
sub esp, 0x34
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
mov esi, ecx
jne 0x1064457
cmp dword [esi + 8], ebx
je 0x10644c1
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [esi + 4], eax
jmp 0x10644c1
push 0xf003f
push ebx
push dword [esi]
lea ecx, [ebp - 0x40]
push dword [ebp + 8]
call fcn.01064103
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], ebx
call fcn.01064040
cmp dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 1
push ebx
jne 0x106449d
push dword [ebp + 8]
mov ecx, esi
call fcn.0106442a
jmp 0x10644a9
push 1
push dword [ebp - 0x18]
lea ecx, [ebp - 0x40]
call fcn.0106442a
push ebx
lea ecx, [ebp - 0x24]
call fcn.01064406
test eax, eax
je 0x106448f
push dword [ebp - 0x18]
mov byte [ebp - 4], bl
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x40]
call fcn.0106413d
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x10648cd
Capabilities:
Encode data using base64

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
shl eax, 2
push 3
xor edx, edx
pop ecx
div ecx
mov dword [ebp - 4], ebx
add eax, 5
cmp dword [ebp + 0x10], eax
jae 0x1064908
mov dword [ebp - 0xc], 0x80004005
jmp 0x10649d0
cmp ebx, esi
push edi
mov edi, dword [ebp + 0xc]
jbe 0x10649cb
lea eax, [ebx - 1]
push 3
xor edx, edx
pop ebx
div ebx
xor ecx, ecx
inc ecx
mov dword [ebp + 0xc], ecx
inc eax
mov dword [ebp - 8], eax
cmp ecx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dl, byte [eax + ecx - 1]
mov byte [ebp + 0x10], dl
jae 0x106493c
mov bl, byte [ecx + eax]
jmp 0x106493e
xor bl, bl
lea edx, [ecx + 1]
cmp edx, dword [ebp - 4]
jae 0x106494c
mov al, byte [ecx + eax + 1]
jmp 0x106494e
xor al, al
movzx ecx, byte [ebp + 0x10]
mov edx, ecx
shr edx, 2
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + edi], dl
movzx edx, bl
shl ecx, 4
mov ebx, edx
shr ebx, 4
or ebx, ecx
and ebx, 0x3f
mov cl, byte [ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc esi
mov byte [esi + edi], cl
mov ecx, dword [ebp + 0xc]
inc esi
cmp ecx, dword [ebp - 4]
jae 0x106499c
movzx ebx, al
shl edx, 2
shr ebx, 6
or ebx, edx
and ebx, 0x3f
mov dl, byte [ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + edi], dl
jmp 0x10649a0
mov byte [esi + edi], 0x3d
lea edx, [ecx + 1]
inc esi
cmp edx, dword [ebp - 4]
jae 0x10649b7
and eax, 0x3f
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + edi], al
jmp 0x10649bb
mov byte [esi + edi], 0x3d
add ecx, 3
inc esi
dec dword [ebp - 8]
mov dword [ebp + 0xc], ecx
jne 0x1064928
mov byte [esi + edi], 0
pop edi
mov eax, dword [ebp - 0xc]
pop esi
pop ebx
leave
ret 0xc
Function at 0x108349c
Capabilities:
Find taskbar

Disassembly:
push 0
push 0x1005994
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x10834be
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test al, 8
je 0x10834be
xor eax, eax
inc eax
ret
xor eax, eax
ret

Function at 0x10848ca
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ecx + 0xc], ebx
mov dword [ebp - 4], ecx
jne 0x10848df
xor eax, eax
jmp 0x108492c
push esi
lea esi, [ecx + 0x24]
cmp dword [esi], ebx
jne 0x1084929
push edi
push 0x34
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, ebx
pop ecx
je 0x10848ff
mov ecx, eax
call fcn.01084736
mov edi, eax
jmp 0x1084901
xor edi, edi
cmp edi, ebx
mov dword [esi], edi
je 0x1084928
push ebx
push ebx
push dword [ebp - 4]
push 0x108433a
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi], eax
mov eax, dword [esi]
cmp dword [eax], ebx
jne 0x1084928
mov ecx, esi
call fcn.010848ae
pop edi
mov eax, dword [esi]
pop esi
pop ebx
leave
ret

Function at 0x10853fa
Capabilities:
Log keystrokes via application hook

Disassembly:
mov edi, edi
push esi
mov esi, dword [sym.imp.USER32.dll_SetWindowsHookExW]
push edi
mov edi, dword [0x1112f44]
push 0
push edi
push 0x1085360
push 0xe
call esi
push 0
push edi
push 0x108532f
push 0xd
mov dword [0x11140ac], eax
call esi
push 0x11140b4
mov dword [0x11140b0], eax
call dword [sym.imp.USER32.dll_GetCursorPos]
pop edi
pop esi
ret
Function at 0x10919d2
Capabilities:
Check mutex on windows
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp byte [esi + 0xc], bl
je 0x10919ec
xor eax, eax
jmp 0x1091b4c
push edi
push 0x10157a0
push ebx
push ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
cmp eax, ebx
mov dword [esi], eax
je 0x1091ad3
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x1091ad3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edi, dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 2
push ebx
push ebx
lea ecx, [ebp - 4]
push ecx
push eax
push dword [esi]
mov dword [ebp - 0x18], eax
push eax
call edi
test eax, eax
je 0x1091ac6
push 2
push ebx
push ebx
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call edi
test eax, eax
je 0x1091ac6
push 0xc
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, ebx
pop ecx
je 0x1091a7d
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [eax], esi
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [ebp - 0xc], eax
jmp 0x1091a80
mov dword [ebp - 0xc], ebx
cmp dword [ebp - 0xc], ebx
jne 0x1091a8e
mov dword [ebp - 0x10], 0x8007000e
jmp 0x1091ac6
lea eax, [esi + 8]
push eax
push ebx
push dword [ebp - 0xc]
mov dword [ebp - 4], ebx
push 0x1091978
push ebx
push ebx
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
mov dword [esi + 4], eax
je 0x1091ac6
push 0x7d0
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1091ac6
mov byte [esi + 0xc], 1
push dword [ebp - 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
jmp 0x1091ad9
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esi + 0xc], bl
jne 0x1091b48
cmp dword [ebp - 0x10], ebx
jl 0x1091b08
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jg 0x1091af5
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1091b05
call dword [sym.imp.KERNEL32.dll_GetLastError]
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x10], eax
mov eax, dword [esi]
cmp eax, ebx
je 0x1091b13
push eax
call edi
mov dword [esi], ebx
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x1091b20
push eax
call edi
mov dword [esi + 4], ebx
cmp dword [ebp - 4], ebx
je 0x1091b2d
push dword [ebp - 4]
call edi
mov dword [ebp - 4], ebx
cmp dword [ebp - 8], ebx
je 0x1091b3a
push dword [ebp - 8]
call edi
mov dword [ebp - 8], ebx
mov ecx, dword [ebp - 0xc]
cmp ecx, ebx
je 0x1091b48
push 1
call fcn.010915ca
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10a0413
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [0x111121c]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
and word [edi], 0
push 0x20019
push 0
push 0x80000001
push 0x1017c80
lea ecx, [ebp - 0x430]
mov dword [ebp - 4], eax
call fcn.01064103
push 0x1017f78
lea ecx, [ebp - 0x430]
call fcn.01064159
mov esi, dword [sym.imp.SHLWAPI.dll_StrCpyNW]
mov ebx, 0x104
push ebx
push eax
lea eax, [ebp - 0x20c]
push eax
call esi
xor eax, eax
cmp word [ebp - 0x20c], ax
jne 0x10a0493
lea ecx, [ebp - 0x20c]
push ecx
push eax
push eax
push 5
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x10a049b
lea eax, [ebp - 0x20c]
jmp 0x10a04b2
push ebx
lea eax, [ebp - 0x414]
push eax
call fcn.0103f0fb
test eax, eax
jl 0x10a04b9
lea eax, [ebp - 0x414]
push dword [ebp + 0xc]
push eax
push edi
call esi
lea ecx, [ebp - 0x430]
call fcn.0106413d
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0105eca9
leave
ret 8

Function at 0x10a28f0
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x111121c]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], eax
add esi, 0x104
push edi
lea eax, [esi + esi]
push eax
mov edi, ecx
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
and dword [ebp - 0x214], 0
test eax, eax
pop ecx
mov dword [ebp - 0x210], eax
je 0x10a2a20
test ebx, ebx
je 0x10a2972
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x9c5f
push dword [0x1112f58]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x10a2972
push ebx
lea eax, [ebp - 0x20c]
push eax
push esi
push dword [ebp - 0x210]
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
jmp 0x10a297c
mov eax, dword [ebp - 0x210]
and word [eax], 0
lea eax, [esi + esi]
push eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
test ebx, ebx
pop ecx
je 0x10a2a14
push esi
push ebx
push dword [edi + 0x2614]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push ebx
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x10a2a03
push dword [ebp - 0x210]
mov eax, dword [edi + 0x2614]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push dword [ebp - 0x210]
mov ecx, edi
mov dword [ebp - 0x214], eax
call fcn.010a203d
cmp dword [ebp - 0x214], 0
je 0x10a2a0d
cmp dword [edi + 0x2608], 2
jne 0x10a2a0d
mov esi, dword [sym.imp.USER32.dll_FlashWindow]
push 0
push dword [edi + 0x2614]
call esi
push 1
push dword [edi + 0x2614]
call esi
jmp 0x10a2a0d
mov dword [ebp - 0x214], 1
push ebx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
push dword [ebp - 0x210]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x214]
pop edi
pop esi
pop ebx
call fcn.0105eca9
leave
ret 8
Function at 0x10b24cc
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [ebp + 8]
push dword [ebp + 0xc]
push 0xd
push dword [ecx]
call dword [sym.imp.USER32.dll_SendMessageW]
pop ebp
ret 8

Function at 0x10b24ea
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
xor edi, edi
cmp dword [ebp + 8], edi
mov esi, ecx
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
jne 0x10b251e
push 0x1001bc8
push edi
push 0xc
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x24]
mov dword [esi + 0x24], edi
jmp 0x10b262e
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0xb0
push dword [esi]
call edi
mov eax, dword [esi + 0x24]
lea eax, [eax + eax + 2]
push eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
test ebx, ebx
pop ecx
mov dword [ebp - 0xc], ebx
jne 0x10b255d
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
or eax, 0xffffffff
jmp 0x10b262d
push ebx
push dword [esi + 0x24]
push 0xd
push dword [esi]
call edi
mov eax, dword [esi + 0x2c]
imul eax, dword [esi + 0x28]
push 0x64
xor edx, edx
pop ecx
div ecx
cmp dword [ebp + 8], eax
jae 0x10b257d
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 8]
mov eax, ebx
xor ebx, ebx
test ecx, ecx
jbe 0x10b25a9
mov dword [ebp + 8], ecx
mov ebx, ecx
push eax
call dword [sym.imp.USER32.dll_CharNextW]
dec dword [ebp + 8]
jne 0x10b258d
jmp 0x10b25a9
inc ebx
cmp cx, 0xa
je 0x10b25d1
push eax
call dword [sym.imp.USER32.dll_CharNextW]
mov cx, word [eax]
test cx, cx
jne 0x10b259b
push 0x1001bc8
push 0
push 0xc
push dword [esi]
call edi
mov edi, dword [esi + 0x24]
push dword [ebp - 0xc]
and dword [esi + 0x24], 0
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
mov eax, edi
jmp 0x10b262c
push ebx
push 0
push 0xb1
push dword [esi]
call edi
push 0x1001bc8
push 0
push 0xc2
push dword [esi]
call edi
mov eax, dword [ebp - 8]
sub dword [esi + 0x24], ebx
cmp eax, dword [ebp - 4]
je 0x10b2622
mov edx, eax
sub edx, ebx
lea ecx, [ebx + 1]
cmp ecx, eax
sbb eax, eax
and eax, edx
mov edx, dword [ebp - 4]
sub edx, ebx
cmp ecx, dword [ebp - 4]
mov dword [ebp - 8], eax
sbb ecx, ecx
and ecx, edx
push ecx
push eax
push 0xb1
push dword [esi]
mov dword [ebp - 4], ecx
call edi
push dword [ebp - 0xc]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
mov eax, ebx
pop ecx
pop ebx
pop edi
pop esi
leave
ret 4
Function at 0x10cc0bf
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x111121c]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], eax
lea eax, [edi*4 + 2]
push eax
mov word [ebp - 0x24], 0x30
mov word [ebp - 0x22], 0x31
mov word [ebp - 0x20], 0x32
mov word [ebp - 0x1e], 0x33
mov word [ebp - 0x1c], 0x34
mov word [ebp - 0x1a], 0x35
mov word [ebp - 0x18], 0x36
mov word [ebp - 0x16], 0x37
mov word [ebp - 0x14], 0x38
mov word [ebp - 0x12], 0x39
mov word [ebp - 0x10], 0x61
mov word [ebp - 0xe], 0x62
mov word [ebp - 0xc], 0x63
mov word [ebp - 0xa], 0x64
mov word [ebp - 8], 0x65
mov word [ebp - 6], 0x66
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov ecx, eax
test ecx, ecx
mov dword [ebp - 0x28], ecx
je 0x10cc185
push esi
xor esi, esi
test edi, edi
jle 0x10cc180
push ebx
mov eax, dword [ebp + 8]
add eax, esi
movzx edx, byte [eax]
shr edx, 4
mov dx, word [ebp + edx*2 - 0x24]
mov word [ecx], dx
movzx eax, byte [eax]
cdq
push 0x10
pop ebx
idiv ebx
inc ecx
inc ecx
mov ax, word [ebp + edx*2 - 0x24]
mov word [ecx], ax
inc ecx
inc ecx
inc esi
cmp esi, edi
jl 0x10cc152
pop ebx
and word [ecx], 0
pop esi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x28]
pop edi
call fcn.0105eca9
leave
ret 8
Function at 0x10cc206
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_IsBadStringPtrA]
push edi
xor ebx, ebx
mov edi, 0x3e8
push edi
push dword [ebp + 8]
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call esi
test eax, eax
je 0x10cc244
mov ebx, 0x80004005
jmp 0x10cc33a
push edi
push dword [ebp + 0xc]
call esi
test eax, eax
jne 0x10cc23a
push 4
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_IsBadWritePtr]
test eax, eax
jne 0x10cc23a
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.010cc19a
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x10cc23a
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
push 0x10
push 1
mov ebx, 0x101ec68
push ebx
mov dword [ebp + 0xc], eax
mov edi, 0x101ec34
push edi
lea eax, [ebp - 8]
push eax
call esi
push 0x48
push 1
push ebx
push edi
lea eax, [ebp - 8]
push eax
call esi
test eax, eax
je 0x10cc319
lea eax, [ebp - 4]
push eax
xor ebx, ebx
push ebx
push ebx
push 0x8003
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x10cc319
push ebx
push dword [ebp + 0xc]
push dword [ebp - 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x10cc319
mov esi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push 4
pop eax
push ebx
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push eax
push dword [ebp - 4]
mov dword [ebp - 0x18], eax
call esi
test eax, eax
je 0x10cc319
push dword [ebp - 0xc]
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
cmp edi, ebx
pop ecx
mov dword [ebp - 0x14], edi
je 0x10cc23a
push ebx
lea eax, [ebp - 0xc]
push eax
push edi
push 2
push dword [ebp - 4]
call esi
test eax, eax
jne 0x10cc324
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x10cc23a
push dword [ebp - 0xc]
push edi
call fcn.010cc0bf
cmp eax, ebx
je 0x10cc23a
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor esi, esi
cmp dword [ebp - 4], esi
je 0x10cc34a
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp dword [ebp - 8], esi
je 0x10cc359
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
cmp dword [ebp - 0x14], esi
je 0x10cc367
push dword [ebp - 0x14]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
cmp dword [ebp - 0x10], esi
je 0x10cc375
push dword [ebp - 0x10]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0xc
Function at 0x10cc469
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
xor eax, eax
cmp dword [ebp + 8], eax
push edi
setne al
mov edi, ecx
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 8], 0
je 0x10cc4a0
push esi
lea esi, [edi + 0x6d0]
cmp dword [esi], 0
je 0x10cc49f
mov ecx, edi
call fcn.010cf7c9
and dword [esi], 0
pop esi
pop edi
pop ebp
ret 4