joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002c490
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b476b
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x100e01f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
push 0x2c
call fcn.1007ab42
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0
je 0x1002c4e8
push 0
push 3
push 0x100c6040
mov ecx, dword [ebp - 0x20]
call fcn.10001070
mov dword [ebp - 0x24], eax
jmp 0x1002c4ef
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x40], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x40]
mov dword [ecx + 0x20], edx
push 0x18
push 0x8e
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x1002c524
jmp 0x1002c63f
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x1002c540
jmp 0x1002c63f
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x1002c55c
jmp 0x1002c63f
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0xd], 0
mov ecx, dword [ebp - 0x2c]
add ecx, dword [ebp - 0x30]
cmp dword [ebp - 0x18], ecx
jae 0x1002c63f
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x18]
add ecx, 4
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov ax, word [edx]
mov word [ebp - 0x14], ax
mov ecx, dword [ebp - 0x18]
add ecx, 2
mov dword [ebp - 0x18], ecx
movsx edx, word [ebp - 0x14]
push edx
call fcn.1007b221
add esp, 4
mov dword [ebp - 0x34], eax
movsx eax, word [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x34]
push edx
call fcn.10080ac0
add esp, 0xc
movsx eax, word [ebp - 0x14]
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
jne 0x1002c614
movsx edx, word [ebp - 0x14]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x4c], eax
push 0
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x58], eax
lea ecx, [ebp - 0x60]
push ecx
lea edx, [ebp - 0x54]
push edx
mov ecx, dword [ebp - 0x38]
call fcn.1002ead0
movzx eax, byte [ebp - 0xd]
test eax, eax
jne 0x1002c625
mov dword [ebp - 0x3c], 1
jmp 0x1002c62c
mov dword [ebp - 0x3c], 0
mov cl, byte [ebp - 0x3c]
mov byte [ebp - 0xd], cl
push 0
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x1002c573
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x10032b90
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b4de8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x100e01f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
push ecx
mov eax, esp
mov dword [ebp - 0x50], esp
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 8]
sub ecx, 0x10
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
push edx
call fcn.10008200
add esp, 4
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
add eax, 0x10
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x54], edx
call fcn.100328d0
add esp, 4
mov byte [ebp - 0xd], al
movzx eax, byte [ebp - 0xd]
test eax, eax
jne 0x10032c28
mov dword [ebp - 0x30], 1
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
sub ecx, 0x10
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x2c]
call fcn.10003fd0
mov eax, dword [ebp - 0x30]
jmp 0x10032cfa
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
jmp 0x10032c41
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp + 0xc]
jge 0x10032c6e
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x10032c64
jmp 0x10032c6e
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10032c38
cmp dword [ebp - 0x14], 0
jne 0x10032cd9
push 0x9be3
mov ecx, dword [0x100e28bc]
call fcn.1002c720
push eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.1000a440
add esp, 0xc
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
push 1
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x40], eax
push 4
push 0
mov ecx, dword [ebp - 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x1c]
sub edx, 0x10
mov dword [ebp - 0x44], edx
mov ecx, dword [ebp - 0x44]
call fcn.10003fd0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
sub ecx, 0x10
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp - 0x48]
call fcn.10003fd0
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x10032e20
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b4f56
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x100e01f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
mov dword [ebp - 0x270], 0
push 0x100c6074
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x294]
push ecx
call fcn.1000a440
add esp, 0xc
mov dword [ebp - 0x2a4], eax
mov edx, dword [ebp - 0x2a4]
mov eax, dword [edx]
mov dword [ebp - 0x2a8], eax
lea ecx, [ebp - 0x260]
push ecx
mov edx, dword [ebp - 0x2a8]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x268], eax
mov eax, dword [ebp - 0x294]
sub eax, 0x10
mov dword [ebp - 0x284], eax
mov ecx, dword [ebp - 0x284]
call fcn.10003fd0
cmp dword [ebp - 0x268], 0xffffffff
je 0x10032fd8
lea ecx, [ebp - 0x234]
push ecx
lea ecx, [ebp - 0x26c]
call fcn.10006710
mov byte [ebp - 4], 2
push 0xa
lea edx, [ebp - 0x27c]
push edx
lea ecx, [ebp - 0x26c]
call fcn.1000a3a0
mov dword [ebp - 0x278], eax
mov eax, dword [ebp - 0x278]
mov dword [ebp - 0x29c], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x28c], ecx
mov edx, dword [ebp - 0x28c]
push edx
mov ecx, dword [ebp - 0x29c]
call fcn.1000a2d0
test eax, eax
jne 0x10032f34
mov dword [ebp - 0x274], 1
jmp 0x10032f3e
mov dword [ebp - 0x274], 0
mov al, byte [ebp - 0x274]
mov byte [ebp - 0x261], al
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x27c]
sub ecx, 0x10
mov dword [ebp - 0x280], ecx
mov ecx, dword [ebp - 0x280]
call fcn.10003fd0
movzx edx, byte [ebp - 0x261]
test edx, edx
je 0x10032f91
lea eax, [ebp - 0x26c]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.1003aa90
mov ecx, dword [ebp - 0x270]
add ecx, 1
mov dword [ebp - 0x270], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x26c]
sub edx, 0x10
mov dword [ebp - 0x288], edx
mov ecx, dword [ebp - 0x288]
call fcn.10003fd0
lea eax, [ebp - 0x260]
push eax
mov ecx, dword [ebp - 0x268]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10032ec9
mov edx, dword [ebp - 0x268]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x2a0], eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp + 8]
sub ecx, 0x10
mov dword [ebp - 0x290], ecx
mov ecx, dword [ebp - 0x290]
call fcn.10003fd0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0xc]
sub edx, 0x10
mov dword [ebp - 0x298], edx
mov ecx, dword [ebp - 0x298]
call fcn.10003fd0
mov eax, dword [ebp - 0x2a0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007ab33
mov esp, ebp
pop ebp
ret
Function at 0x10035fd0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x100e01f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x230], 0x22c
push 0
call dword [sym.imp.USER32.dll_IsWindowVisible]
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0xffffffff
jne 0x10036015
xor eax, eax
jmp 0x100360a2
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
lea edx, [ebp - 0x20c]
push edx
mov ecx, dword [ebp + 8]
call fcn.1000a2d0
test eax, eax
jne 0x10036051
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x228]
jmp 0x100360a2
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x10036093
lea eax, [ebp - 0x20c]
push eax
mov ecx, dword [ebp + 8]
call fcn.1000a2d0
test eax, eax
jne 0x10036091
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x228]
jmp 0x100360a2
jmp 0x10036051
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007ab33
mov esp, ebp
pop ebp
ret
Function at 0x10036580
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b5238
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x100e01f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov byte [ebp - 0x261], 1
push 0x100c6194
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x2a0]
push ecx
call fcn.1000a440
add esp, 0xc
mov dword [ebp - 0x2a4], eax
mov edx, dword [ebp - 0x2a4]
mov eax, dword [edx]
mov dword [ebp - 0x28c], eax
lea ecx, [ebp - 0x260]
push ecx
mov edx, dword [ebp - 0x28c]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x278], eax
mov eax, dword [ebp - 0x2a0]
sub eax, 0x10
mov dword [ebp - 0x298], eax
mov ecx, dword [ebp - 0x298]
call fcn.10003fd0
cmp dword [ebp - 0x278], 0xffffffff
je 0x10036792
mov dword [ebp - 0x268], 0x100c619c
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x274], ecx
mov edx, dword [ebp - 0x274]
mov ax, word [edx]
mov word [ebp - 0x27a], ax
mov ecx, dword [ebp - 0x268]
cmp ax, word [ecx]
jne 0x100366a2
cmp word [ebp - 0x27a], 0
je 0x10036696
mov edx, dword [ebp - 0x274]
mov ax, word [edx + 2]
mov word [ebp - 0x27c], ax
mov ecx, dword [ebp - 0x268]
cmp ax, word [ecx + 2]
jne 0x100366a2
add dword [ebp - 0x274], 4
add dword [ebp - 0x268], 4
cmp word [ebp - 0x27c], 0
jne 0x1003663c
mov dword [ebp - 0x284], 0
jmp 0x100366ad
sbb edx, edx
or edx, 1
mov dword [ebp - 0x284], edx
mov eax, dword [ebp - 0x284]
mov dword [ebp - 0x290], eax
cmp dword [ebp - 0x290], 0
je 0x10036769
mov dword [ebp - 0x26c], 0x100c61a0
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x270], ecx
mov edx, dword [ebp - 0x270]
mov ax, word [edx]
mov word [ebp - 0x27e], ax
mov ecx, dword [ebp - 0x26c]
cmp ax, word [ecx]
jne 0x10036742
cmp word [ebp - 0x27e], 0
je 0x10036736
mov edx, dword [ebp - 0x270]
mov ax, word [edx + 2]
mov word [ebp - 0x280], ax
mov ecx, dword [ebp - 0x26c]
cmp ax, word [ecx + 2]
jne 0x10036742
add dword [ebp - 0x270], 4
add dword [ebp - 0x26c], 4
cmp word [ebp - 0x280], 0
jne 0x100366dc
mov dword [ebp - 0x288], 0
jmp 0x1003674d
sbb edx, edx
or edx, 1
mov dword [ebp - 0x288], edx
mov eax, dword [ebp - 0x288]
mov dword [ebp - 0x294], eax
cmp dword [ebp - 0x294], 0
je 0x10036769
mov byte [ebp - 0x261], 0
lea ecx, [ebp - 0x260]
push ecx
mov edx, dword [ebp - 0x278]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10036626
mov eax, dword [ebp - 0x278]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov cl, byte [ebp - 0x261]
mov byte [ebp - 0x262], cl
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
sub edx, 0x10
mov dword [ebp - 0x29c], edx
mov ecx, dword [ebp - 0x29c]
call fcn.10003fd0
mov al, byte [ebp - 0x262]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007ab33
mov esp, ebp
pop ebp
ret
Function at 0x100368a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0x6e4
mov dword [ebp - 4], 0
jmp 0x100368bf
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jge 0x100368e2
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
add eax, dword [ebp - 8]
mov dword [ebp - 8], eax
push 0
push 0
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x100368b6
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x10037330
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x100e01f0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push eax
push 0x20019
push 0
push 0x9c89
mov ecx, dword [0x100e28bc]
call fcn.1002c720
push eax
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100373ef
push 0x9c95
mov ecx, dword [0x100e28bc]
call fcn.1002c720
push eax
lea ecx, [ebp - 0x1c]
call fcn.1003f440
cmp dword [ebp - 8], 8
jb 0x1003739c
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], edx
jmp 0x100373a2
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x24]
push ecx
push 0x2001f
push 0
mov edx, dword [ebp - 0x20]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100373d9
push 0x100e28c4
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.1003f030
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007ab33
mov esp, ebp
pop ebp
ret

Function at 0x100380c0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b50c8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x100e01f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0x100c6260
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
push section..data
lea ecx, [ebp - 0x14]
call fcn.10002420
mov dword [ebp - 4], 0
cmp dword [ebp - 0x10], 0
je 0x10038147
mov ecx, dword [ebp - 0x10]
push ecx
push 0x100c6268
lea edx, [ebp - 0x14]
push edx
call fcn.10007970
add esp, 0xc
mov eax, dword [ebp - 0x14]
sub eax, 0x10
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.10008200
add esp, 4
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
add edx, 0x10
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov ecx, dword [ebp - 0x18]
or ecx, 1
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
sub edx, 0x10
mov dword [ebp - 0x24], edx
mov ecx, dword [ebp - 0x24]
call fcn.10003fd0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x100381a0
Capabilities:
Send icmp echo request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x100e01f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x60], 0x20
mov dword [ebp - 0x58], 5
mov dword [ebp - 0x5c], 0xbb8
call dword [sym.imp.IPHLPAPI.DLL_IcmpCreateFile]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x100381de
mov eax, 1
jmp 0x1003828f
mov byte [ebp - 0x34], 0
xor eax, eax
mov dword [ebp - 0x33], eax
mov word [ebp - 0x2f], ax
mov byte [ebp - 0x2d], al
mov byte [ebp - 0x24], 0
xor ecx, ecx
mov dword [ebp - 0x23], ecx
mov dword [ebp - 0x1f], ecx
mov dword [ebp - 0x1b], ecx
mov dword [ebp - 0x17], ecx
mov dword [ebp - 0x13], ecx
mov dword [ebp - 0xf], ecx
mov dword [ebp - 0xb], ecx
mov word [ebp - 7], cx
mov byte [ebp - 5], cl
mov dword [ebp - 0x28], 1
jmp 0x10038222
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 5
jg 0x10038283
mov al, byte [ebp - 0x28]
mov byte [ebp - 0x34], al
mov dword [ebp - 0x54], 0
xor ecx, ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ecx
push 0xbb8
push 0x1c
lea edx, [ebp - 0x54]
push edx
lea eax, [ebp - 0x34]
push eax
push 0x20
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.IPHLPAPI.DLL_IcmpSendEcho]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x38], ecx
lea edx, [ebp - 0x38]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.1003b0d0
jmp 0x10038219
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.IPHLPAPI.DLL_IcmpCloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007ab33
mov esp, ebp
pop ebp
ret

Function at 0x100403d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
lea ecx, [esi + 4]
call fcn.10026d70
mov eax, dword [ebp + 8]
push 0
push 0
mov dword [esi], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x10040550
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b5cf8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x100e01f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [edi]
add ecx, 0x4c
call fcn.100066b0
test al, al
jne 0x10040694
push 0
mov ecx, edi
call fcn.100406b0
push 1
mov ecx, edi
call fcn.100406b0
lea ecx, [ebp - 0x10]
call fcn.100066f0
mov dword [ebp - 4], 0
mov eax, dword [edi]
push dword [eax + 0x58]
lea eax, [ebp - 0x10]
push 0x100c6494
push eax
call fcn.10007970
mov ecx, dword [edi]
add esp, 0xc
lea eax, [ebp - 0x18]
push 5
push eax
call fcn.10014870
lea ecx, [ebp - 0x10]
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 1
call fcn.10006a90
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 2
mov ecx, dword [0x100e28bc]
push 0xb4df
call fcn.1002c720
push ecx
mov ecx, esp
push eax
push esi
push ecx
call fcn.1000a440
add esp, 0xc
call fcn.10032b90
add esp, 8
lea ecx, [ebp - 0x14]
call fcn.10004030
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.10004030
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov ecx, dword [edi]
push 5
lea eax, [ebp - 0x14]
push eax
call fcn.10014870
lea ecx, [ebp - 0x10]
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 3
call fcn.10006a90
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 4
mov ecx, dword [0x100e28bc]
push 0xb9aa
call fcn.1002c720
push ecx
mov ecx, esp
push eax
push esi
push ecx
call fcn.1000a440
add esp, 0xc
call fcn.10032b90
add esp, 8
lea ecx, [ebp - 0x18]
call fcn.10004030
lea ecx, [ebp - 0x14]
call fcn.10004030
lea ecx, [ebp - 0x10]
call fcn.10004030
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x100409e0
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push 0xf0000000
mov esi, ecx
lea eax, [ebp - 8]
push dword [esi + 8]
mov dword [ebp - 8], 0
push 0
push 0
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x10040a73
lea eax, [ebp - 4]
push eax
push 0
push 0
push dword [esi + 4]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x10040a73
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x10040a73
push 0
lea eax, [esi + 0xc]
push eax
push dword [ebp + 0x10]
push 2
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x10040a73
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 4]
test eax, eax
je 0x10040a81
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 8]
test eax, eax
je 0x10040a91
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0xc

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b5da9
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x100e01f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0x10]
mov dword [esi], vtable.HMAC.0
mov dword [esi + 4], eax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov ebx, dword [ebp + 0xc]
mov byte [ebp - 4], 2
push ebx
lea ecx, [ebp - 0x1c]
mov dword [esi + 0x2c], 0x40
mov dword [esi + 0x30], ebx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.100423e0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [esi + 8]
mov byte [ebp - 4], 3
call fcn.10042250
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1c], 0
je 0x10040bdb
lea ecx, [ebp - 0x1c]
call fcn.1000d0f0
push dword [ebp - 0x1c]
call fcn.1007ab2e
add esp, 4
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0xc]
sub eax, ecx
jne 0x10040bef
push str.invalid_vector_T__subscript
call fcn.1005f59f
push ebx
push dword [ebp + 8]
push ecx
call fcn.10080ac0
add esp, 0xc
mov ecx, esi
call fcn.10040cd0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10