joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404090
Capabilities:
Hide graphical window

Disassembly:
push ebp
lea ebp, [esp - 0x424]
sub esp, 0x424
push 0xffffffffffffffff
push 0x4e3b29
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x55b090]
xor eax, ebp
mov dword [ebp + 0x420], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0x400
lea eax, [ebp + 0x20]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x14]
mov edx, 0x51ae00
call fcn.004d3680
push 0x200
lea ecx, [ebp + 0x20]
mov dword [ebp - 4], 0
push ecx
push dword [eax]
mov ecx, 0x56d704
call fcn.005099e0
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov eax, dword [edi + 0x340]
lea ebx, [edi + 0x340]
mov edx, dword [eax + 0x17c]
cmp eax, vtable.CLabel.0
jne 0x4042b6
test ebx, ebx
jne 0x40413f
xor ecx, ecx
jmp 0x404142
mov ecx, dword [ebx + 0x20]
call fcn.00431ce0
test eax, eax
je 0x40415d
mov ecx, dword [ebx + 0x20]
lea edx, [ebp + 0x20]
call fcn.00421320
mov ecx, ebx
call fcn.00416fd0
mov ebx, dword [ebp - 0x10]
mov edi, dword [sym.imp.mfc140u.dll_CWnd::ShowWindow]
push 0
lea ecx, [ebx + 0xcf8]
call edi
push 0
lea ecx, [ebx + 0x958]
call edi
push 0
lea ecx, [ebx + 0xb20]
call edi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebx + 0x16c]
call esi
push 0
push dword [ebx + 0x208]
call esi
push 0
push dword [ebx + 0x2a4]
call esi
push 0
lea ecx, [ebx + 0x478]
call edi
push 0
lea ecx, [ebx + 0x5b0]
call edi
push 0
lea ecx, [ebx + 0x820]
call edi
push 0
lea ecx, [ebx + 0x6e8]
call edi
lea eax, [ebp + 0x10]
push eax
push dword [ebx + 0x360]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp + 0x10]
mov ecx, ebx
mov ebx, dword [sym.imp.mfc140u.dll_CWnd::ScreenToClient]
push eax
call ebx
mov edx, dword [ebp + 0x1c]
mov edi, dword [ebp + 0x14]
add edx, 0x96
mov eax, dword [ebp + 0x18]
add edi, 0x96
mov esi, dword [ebp + 0x10]
add eax, 0x96
push 1
mov dword [ebp + 0x1c], edx
add esi, 0x96
sub edx, edi
mov dword [ebp + 0x18], eax
push edx
sub eax, esi
mov dword [ebp + 0x14], edi
push eax
push edi
mov edi, dword [ebp - 0x10]
push esi
mov dword [ebp + 0x10], esi
lea ecx, [edi + 0x340]
call dword [sym.imp.mfc140u.dll_CWnd::MoveWindow]
lea eax, [ebp]
push eax
push dword [edi + 0xd0]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp]
mov ecx, edi
push eax
call ebx
mov esi, dword [ebp + 4]
mov ecx, dword [ebp + 0xc]
add esi, 0x96
mov edx, dword [ebp]
add ecx, 0x96
add edx, 0x96
mov dword [ebp + 4], esi
mov dword [ebp + 0xc], ecx
mov dword [ebp], edx
mov eax, dword [ebp + 8]
sub ecx, esi
push 1
add eax, 0x96
push ecx
mov dword [ebp + 8], eax
sub eax, edx
push eax
push esi
push edx
push dword [edi + 0xd0]
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x420]
xor ecx, ebp
call fcn.0048cc46
lea esp, [ebp + 0x424]
pop ebp
ret
lea eax, [ebp + 0x20]
mov ecx, ebx
push eax
call edx
jmp 0x40415d
Function at 0x405d60
Capabilities:
Get common file path

Disassembly:
push ecx
push ebp
mov ebp, ecx
cmp dword [ebp], 0
jne 0x405f07
cmp dword [ebp + 4], 0xffffffff
jne 0x405f07
push esi
lea esi, [ebp + 0x244]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405d90
sub ecx, edx
sar ecx, 1
movzx eax, word [ebp + ecx*2 + 0x242]
cmp eax, 0x5c
je 0x405dc5
cmp eax, 0x2f
je 0x405dc5
push 0x51b4bc
push 0x104
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
add esp, 0xc
push ebx
push edi
mov edi, dword [esp + 0x20]
cmp edi, 1
jne 0x405df2
mov esi, dword [esp + 0x18]
push edi
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x405e0d
pop edi
pop ebx
pop esi
mov eax, 0x2000000
pop ebp
pop ecx
ret 0xc
cmp edi, 2
je 0x405e09
cmp edi, 3
je 0x405e09
pop edi
pop ebx
pop esi
mov eax, 0x10000
pop ebp
pop ecx
ret 0xc
mov esi, dword [esp + 0x18]
xor ebx, ebx
xor al, al
mov byte [esp + 0x13], al
mov byte [esp + 0x20], bl
cmp edi, 1
je 0x405e58
cmp edi, 2
jne 0x405e76
push ecx
push 0x80
push 3
push ecx
push 1
mov edx, GetEffectiveClientRect
mov ecx, esi
call fcn.00401230
mov ebx, eax
add esp, 0x14
cmp ebx, 0xffffffff
jne 0x405e51
pop edi
pop ebx
pop esi
mov eax, 0x200
pop ebp
pop ecx
ret 0xc
mov byte [esp + 0x20], 1
jmp 0x405e5f
mov ebx, esi
mov byte [esp + 0x20], 0
push 1
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
setne al
mov byte [esp + 0x13], al
push 0x20
call dword [sym.imp.mfc140u.dll_operator_2]
add esp, 4
mov esi, eax
cmp edi, 1
je 0x405eb4
cmp edi, 2
je 0x405eb4
mov eax, dword [esp + 0x18]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x1c]
mov word [esi], 0x100
mov byte [esi + 0x10], 0
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], 0
mov dword [esi + 0xc], 0
jmp 0x405ee7
mov al, byte [esp + 0x20]
mov byte [esi + 0x10], al
mov al, byte [esp + 0x13]
mov byte [esi], 1
mov byte [esi + 1], al
mov dword [esi + 4], ebx
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
test al, al
je 0x405ee7
push 1
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [esi + 0xc], eax
mov ecx, esi
call fcn.00433df0
pop edi
xor ecx, ecx
mov dword [ebp], eax
test eax, eax
mov edx, 0x200
pop ebx
cmove ecx, edx
pop esi
mov eax, ecx
pop ebp
pop ecx
ret 0xc
mov eax, 0x1000000
pop ebp
pop ecx
ret 0xc
Function at 0x40eb60
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push esi
push edi
mov edi, ecx
movsx eax, dl
mov esi, dword [edi]
xor eax, esi
mov ecx, dword [edi + 8]
movzx eax, al
shr esi, 8
mov eax, dword [eax*4 + 0x521200]
xor eax, esi
mov dword [edi], eax
movzx eax, al
add eax, dword [edi + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [edi + 4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x521200]
mov dword [edi + 8], ecx
pop edi
pop esi
ret
Function at 0x4110b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test edx, edx
jne 0x4110b7
xor eax, eax
ret
push esi
mov esi, dword [esp + 8]
not ecx
cmp esi, 8
jb 0x411177
push edi
mov edi, esi
shr edi, 3
nop dword [eax]
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x521200]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x521200]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x521200]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x521200]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x521200]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x521200]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x521200]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x521200]
sub edi, 1
jne 0x4110d0
pop edi
test esi, esi
je 0x41119a
nop dword [eax + eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x521200]
sub esi, 1
jne 0x411180
not ecx
mov eax, ecx
pop esi
ret
Function at 0x411f30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc
push ebx
push edi
mov edi, ecx
mov ebx, edx
test edi, edi
je 0x4120b5
cmp dword [edi + 0x18], 0
je 0x4120b5
cmp dword [edi + 0x7c], 0
je 0x411f56
call fcn.0045ac50
lea eax, [esp + 0xc]
mov ecx, edi
push eax
lea eax, [esp + 0xc]
push eax
lea edx, [esp + 0x18]
call fcn.0041ec50
add esp, 8
test eax, eax
je 0x411f7d
pop edi
mov eax, 0xffffff99
pop ebx
add esp, 0xc
ret
push ebp
mov ebp, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
push esi
push 0x84
call ebp
mov esi, eax
add esp, 4
test esi, esi
je 0x411fc4
push 0x4000
call ebp
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [esi + 0x44], ecx
mov ecx, dword [esp + 0x14]
mov dword [esi], eax
mov dword [esi + 0x48], ecx
mov dword [esi + 0x4c], 0
test eax, eax
jne 0x411fd1
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
pop esi
pop ebp
pop edi
mov eax, 0xffffff98
pop ebx
add esp, 0xc
ret
mov dword [esi + 0x40], 0
mov ecx, dword [edi + 0x34]
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x54], eax
mov dword [esi + 0x50], 0
mov eax, dword [edi + 0x34]
mov dword [esi + 0x64], eax
mov eax, dword [edi]
mov dword [esi + 0x60], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0x68], eax
mov dword [esi + 0x18], 0
test ecx, ecx
je 0x41202c
lea ecx, [esi + 4]
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
call fcn.0045d0e0
test eax, eax
jne 0x41202c
mov dword [esi + 0x40], 1
mov eax, dword [edi + 0x40]
mov dword [esi + 0x58], eax
mov eax, dword [edi + 0x44]
mov dword [esi + 0x5c], eax
mov al, byte [edi + 0x30]
and al, 1
mov byte [esi + 0x6c], al
mov eax, dword [edi + 0x30]
shr eax, 3
test al, 1
je 0x41204f
mov al, byte [edi + 0x39]
jmp 0x412052
mov al, byte [edi + 0x3f]
mov byte [esi + 0x80], al
mov ecx, 0xc
xor eax, eax
cmp byte [esi + 0x6c], al
cmovne eax, ecx
mov dword [esi + 0x7c], eax
mov dword [esi + 0x70], 0x12345678
mov dword [esi + 0x74], 0x23456789
mov dword [esi + 0x78], 0x34567890
test ebx, ebx
je 0x412094
mov dl, byte [ebx]
test dl, dl
je 0x412094
lea ecx, [esi + 0x70]
call fcn.0040eb60
add ebx, 1
jne 0x412081
mov eax, dword [esp + 0x18]
add eax, 0x1e
add eax, dword [edi + 0x78]
mov dword [esi + 0x3c], eax
xor eax, eax
mov dword [esi + 8], 0
mov dword [edi + 0x7c], esi
pop esi
pop ebp
pop edi
pop ebx
add esp, 0xc
ret
pop edi
mov eax, 0xffffff9a
pop ebx
add esp, 0xc
ret
Function at 0x415020
Capabilities:
Hash data with md5

Disassembly:
push ebp
lea ebp, [esp - 0x460]
sub esp, 0x460
push 0xffffffffffffffff
push 0x4ea1d8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x55b090]
xor eax, ebp
mov dword [ebp + 0x45c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x18], edi
push 0x40
lea eax, [ebp + 4]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x18], edi
mov dword [ebp], vtable.CMD5Checksum.0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp + 0x48], 0
mov dword [ebp + 0x44], 0
mov dword [ebp + 0x4c], 0x67452301
mov dword [ebp + 0x50], 0xefcdab89
mov dword [ebp + 0x54], 0x98badcfe
mov dword [ebp + 0x58], 0x10325476
mov byte [ebp - 4], 1
mov eax, dword [esi]
lea ecx, [ebp + 0x5c]
push 0x400
push ecx
mov ecx, esi
call dword [eax + 0x40]
lea ecx, [ebp]
test eax, eax
jle 0x4150d5
push eax
lea eax, [ebp + 0x5c]
push eax
call fcn.00505000
jmp 0x4150b2
push edi
call fcn.004d7c70
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x45c]
xor ecx, ebp
call fcn.0048cc46
lea esp, [ebp + 0x460]
pop ebp
ret
Function at 0x4234d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, ecx
or eax, 0xffffffff
mov cl, byte [edx]
test cl, cl
je 0x423576
nop
movzx ecx, cl
lea edx, [edx + 1]
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov cl, byte [edx]
test cl, cl
jne 0x4234e0
not eax
ret
Function at 0x431470
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ea8a6
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x55b090]
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 + 8]
mov dword [esi], eax
xor eax, eax
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 7
mov word [esi + 4], ax
mov dword [ebp - 4], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], 7
mov word [esi + 0x1c], ax
mov byte [ebp - 4], 1
mov word [esi + 0x34], ax
mov eax, dword [ebp + 0xc]
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4314d2
sub eax, ebx
lea ecx, [esi + 0x1c]
sar eax, 1
push eax
push dword [ebp + 0xc]
call fcn.00465de0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x43a510
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f8798
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x55b090]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], esi
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
lea ecx, [eax + 0x49]
mov byte [esi + 0x18], al
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov eax, 0x69
mov word [ebp - 0x38], cx
lea ecx, [ebp - 0x3c]
mov word [ebp - 0x1e], ax
lea edx, [ecx + 2]
mov eax, 0x61
mov dword [ebp - 0x1c], 0x6c006c
mov dword [ebp - 0x3c], 0x53004e
mov dword [ebp - 0x36], 0x5f0053
mov dword [ebp - 0x26], 0x4d0028
mov dword [ebp - 0x32], 0x6e0049
mov dword [ebp - 0x16], 0x29
mov dword [ebp - 0x2a], 0x200063
mov dword [ebp - 0x2e], 0x740065
mov dword [ebp - 0x22], 0x7a006f
mov word [ebp - 0x18], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43a5c0
sub ecx, edx
lea eax, [ebp - 0x3c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00465de0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048cc46
mov esp, ebp
pop ebp
ret
Function at 0x440fb0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f876a
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x55b090]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 1
push 0x1bb
mov edx, 0x536480
lea ecx, [ebp - 0x24]
xor bl, bl
call fcn.004d3680
mov dword [ebp - 4], 0
sub esp, 0x18
mov edi, dword [eax]
mov edx, esp
mov ecx, edi
xor eax, eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
lea eax, [ecx + 2]
mov dword [ebp - 0x14], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x441020
sub ecx, dword [ebp - 0x14]
sar ecx, 1
push ecx
push edi
mov ecx, edx
call fcn.00465de0
mov ecx, esi
call fcn.004527c0
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov al, byte [esi + 0x18]
test al, al
je 0x44118d
mov edx, 0x5363dc
lea ecx, [ebp - 0x24]
call fcn.004d3680
mov dword [ebp - 4], 1
mov edx, dword [eax]
mov ecx, edx
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
lea edi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x441090
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x3c]
call fcn.00465de0
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov dword [ebp - 4], 3
lea edx, [ebp - 0x3c]
cmp dword [ebp - 0x28], 8
push ecx
cmovae edx, dword [ebp - 0x3c]
mov ecx, dword [esi + 0x20]
push 0x4883000
sub esp, 0xc
push 0x525684
call fcn.004d3580
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
mov edi, eax
call fcn.00465940
test edi, edi
je 0x44116b
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 4
push eax
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.00404c50
or dword [ebp - 0x18], 0x180
lea eax, [ebp - 0x18]
add esp, 4
mov edx, 0x1f
mov ecx, edi
push eax
call fcn.00509660
push 0
push 0
push 0
xor edx, edx
mov ecx, edi
call fcn.004b3200
add esp, 0x10
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 4
mov edx, 0x20000013
mov ecx, edi
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004bc8c0
add esp, 0xc
movzx ebx, bl
cmp dword [ebp - 0x14], 0xc8
mov eax, 1
cmove ebx, eax
mov ecx, edi
call fcn.004dda60
mov al, byte [esi + 0x18]
test al, al
je 0x44118d
mov ecx, dword [esi + 0x20]
call fcn.004dda60
mov ecx, dword [esi + 0x1c]
call fcn.004dda60
mov byte [esi + 0x18], 0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048cc46
mov esp, ebp
pop ebp
ret
Function at 0x442c80
Capabilities:
Hash data using sha256

Disassembly:
push ecx
push edi
push dword [esp + 0x14]
mov edi, ecx
push dword [esp + 0x14]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0x4c], 0x6a09e667
mov dword [edi + 0x50], 0xbb67ae85
mov dword [edi + 0x54], 0x3c6ef372
mov dword [edi + 0x58], 0xa54ff53a
mov dword [edi + 0x5c], 0x510e527f
mov dword [edi + 0x60], 0x9b05688c
mov dword [edi + 0x64], 0x1f83d9ab
mov dword [edi + 0x68], 0x5be0cd19
call fcn.004a1420
push dword [esp + 0xc]
mov ecx, edi
call fcn.00428f90
mov eax, dword [esp + 0xc]
pop edi
pop ecx
ret 0xc
Function at 0x446f30
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4efa51
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x55b090]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x50], esi
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], 1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [ebp - 0x24], eax
xor edi, edi
mov ecx, edi
shr eax, cl
test al, 1
je 0x4470de
mov eax, dword [0x528c08]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], eax
mov edx, 0x5335c0
mov eax, dword [0x528c0c]
mov dword [ebp - 0x14], eax
lea eax, [edi + 0x41]
mov word [ebp - 0x18], ax
mov dword [ebp - 0x20], 0
call fcn.004d3680
push dword [eax]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
cmp dword [ebp - 0x1c], 0
je 0x4470de
mov edx, 0x5335e0
lea ecx, [ebp - 0x30]
call fcn.0043a300
push dword [eax]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x34], eax
call dword [sym.imp.mfc140u.dll_Ordinal_1046]
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x44702d
lea ecx, [ebp - 0x18]
push ecx
call eax
mov dword [ebp - 0x20], eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x20], 0
je 0x4470de
lea ecx, [ebp - 0x18]
call fcn.004dbde0
cmp eax, 2
je 0x447056
cmp eax, 3
jne 0x4470de
xor eax, eax
mov dword [ebp - 0x3c], 0
mov word [ebp - 0x4c], ax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x38], 7
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x447070
sub eax, edx
lea ecx, [ebp - 0x4c]
sar eax, 1
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00465de0
mov dword [ebp - 4], 1
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
je 0x4470c6
movups xmm0, xmmword [ebp - 0x4c]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x3c]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [esi + 4], 0x18
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
jmp 0x4470d2
lea ecx, [ebp - 0x4c]
push ecx
push eax
mov ecx, esi
call fcn.004740b0
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0
call fcn.00465940
mov eax, dword [ebp - 0x24]
inc edi
cmp edi, 0x1a
jl 0x446fa4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048cc46
mov esp, ebp
pop ebp
ret
Function at 0x451d00
Capabilities:
Create directory

Disassembly:
sub esp, 0x414
mov eax, dword [0x55b090]
xor eax, esp
mov dword [esp + 0x410], eax
push ebx
push edi
mov edi, ecx
mov ebx, edx
test edi, edi
je 0x451d31
call fcn.0041d540
cmp eax, 0xffffffff
jne 0x451d31
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
movzx eax, word [ebx]
test ax, ax
je 0x451dea
push esi
mov esi, ebx
mov ecx, ebx
mov edx, eax
cmp dx, 0x2f
je 0x451d50
cmp dx, 0x5c
jne 0x451d52
mov esi, ecx
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x451d44
cmp esi, ebx
je 0x451d9b
sub esi, ebx
lea eax, [esp + 0x214]
and esi, 0xfffffffe
push esi
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp esi, 0x208
jae 0x451e01
xor eax, eax
lea edx, [esp + 0x214]
mov ecx, edi
mov word [esp + esi + 0x214], ax
call fcn.00451d00
xor eax, eax
mov word [esp + 0xc], ax
test edi, edi
je 0x451dba
push edi
lea eax, [esp + 0x10]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
push ebx
lea eax, [esp + 0x10]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
add esp, 0xc
lea ecx, [esp + 0xc]
call fcn.0041d540
cmp eax, 0xffffffff
jne 0x451de9
push 0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop esi
mov ecx, dword [esp + 0x418]
pop edi
pop ebx
xor ecx, esp
call fcn.0048cc46
add esp, 0x414
ret
call fcn.0048d1b2
int3
Function at 0x453410
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x109c
call fcn.0048fb00
mov eax, dword [0x55b090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x1094], eax
mov eax, dword [ebp + 0x18]
push 0x1000
mov dword [ebp - 0x1098], eax
lea eax, [ebp - 0x1008]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x1008]
push esi
push 0x800
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea eax, [ebp - 0x1008]
add esp, 0xc
push edi
push 0x800
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x1008]
push ebx
push 0x800
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x1008]
push dword [ebp - 0x1094]
push 0x800
push eax
call esi
add esp, 0xc
mov dword [ebp - 0x1088], 0
lea eax, [ebp - 0x1008]
mov dword [ebp - 0x1044], 0x6a09e667
xorps xmm0, xmm0
mov dword [ebp - 0x1040], 0xbb67ae85
movlpd qword [ebp - 0x1090], xmm0
push 0x800
push eax
mov dword [ebp - 0x103c], 0x3c6ef372
mov dword [ebp - 0x1038], 0xa54ff53a
mov dword [ebp - 0x1034], 0x510e527f
mov dword [ebp - 0x1030], 0x9b05688c
mov dword [ebp - 0x102c], 0x1f83d9ab
mov dword [ebp - 0x1028], 0x5be0cd19
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
add esp, 8
lea ecx, [ebp - 0x1090]
add eax, eax
push eax
lea eax, [ebp - 0x1008]
push eax
lea eax, [ebp - 0x1020]
push eax
call fcn.00442c80
cmp dword [ebp - 0x100c], 0x10
lea edi, [ebp - 0x1020]
jb 0x453561
mov edi, dword [ebp - 0x1020]
test edi, edi
je 0x4535a3
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x453566
sub ecx, edx
lea ebx, [ecx + 1]
cmp ebx, 0x3fffffff
jg 0x4535a3
lea eax, [ebx + ebx]
call fcn.0048fad0
mov esi, esp
test esi, esi
je 0x4535a3
push ebx
push esi
push 0xffffffffffffffff
xor eax, eax
push edi
push eax
push 3
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, esi
jmp 0x4535a5
xor eax, eax
push eax
push 0x100
push dword [ebp - 0x1098]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov edx, dword [ebp - 0x100c]
add esp, 0xc
cmp edx, 0x10
jb 0x4535f6
mov ecx, dword [ebp - 0x1020]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4535ec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4535ec
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0048cc81
add esp, 8
lea esp, [ebp - 0x10a8]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048cc46
mov esp, ebp
pop ebp
ret 0x18