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

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x7626d0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x774fa4]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x410]
mov edi, dword [ebp + 0x414]
mov ebx, dword [ebp + 0x418]
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], edx
mov dword [ebp], edx
push 2
push edx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x18], esi
test esi, esi
jne 0x454c72
call fcn.0044b3f0
mov edi, eax
jmp 0x454d39
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x454c8b
call fcn.0044b3f0
jmp 0x454d30
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x1c], ebx
test ebx, ebx
jne 0x454ca6
call fcn.0044b3f0
jmp 0x454d30
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x14], edi
cmp eax, edi
jae 0x454cc1
mov edi, 0x8007000e
jmp 0x454d32
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.0044ea50
mov dword [ebp - 4], 1
jmp 0x454ced
mov eax, dword [ebp]
test eax, eax
jne 0x454cfb
mov edi, 0x8007000e
jmp 0x454d32
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x454d14
call fcn.0044b3f0
jmp 0x454d30
mov edx, dword [ebp]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x41c]
mov ecx, dword [ebp]
push eax
push ecx
lea ecx, [ebp - 0x24]
call fcn.0044f8b0
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [ebp + 4]
cmp dword [ebp], edx
je 0x454d50
lea ecx, [ebp]
call fcn.0044e0a0
lea esp, [esp]
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 + 0x404]
xor ecx, ebp
call fcn.0075399d
lea esp, [ebp + 0x408]
pop ebp
ret 0x10

Function at 0x456ab0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 8]
cmp dword [eax + 0x14], 8
jb 0x456abc
mov eax, dword [eax]
mov edx, dword [esp + 4]
push 0
lea ecx, [esp + 0xc]
push ecx
push 0
push 0xf003f
push 1
push 0
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x456b24
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x14], 8
jb 0x456aee
mov edx, dword [eax]
jmp 0x456af0
mov edx, eax
mov ecx, dword [eax + 0x10]
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x14], 8
lea ecx, [ecx + ecx + 2]
jb 0x456b03
mov eax, dword [eax]
push ecx
push edx
push 1
push 0
push eax
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x456b27
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
ret
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
ret
Function at 0x457720
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x762928
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x774fa4]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x774fa4]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x2b6]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4578b8
mov edx, dword [esi + 4]
lea ecx, [esp + 0x18]
xor ebp, ebp
push ecx
push edx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 4]
mov edi, dword [esp + 0x20]
push 2
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 4]
mov ebx, dword [esp + 0x20]
sub ebx, dword [esp + 0x18]
lea edx, [esp + 0x18]
push edx
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x4577d0
mov edx, dword [esi + 4]
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
sub edi, dword [esp + 0x20]
mov eax, dword [0x775f10]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x18], edi
add edi, ebx
mov ecx, 0x775f10
mov dword [esp + 0x20], edi
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
movzx eax, word [0x77481c]
push eax
push 0x3f8
mov dword [esp + 0x3c], ebp
call fcn.0045df30
push eax
lea ecx, [esp + 0x20]
call fcn.004457f0
test eax, eax
jne 0x457831
push 0x409
push 0x3f8
call fcn.0045df30
push eax
lea ecx, [esp + 0x20]
call fcn.004457f0
mov ecx, dword [0x776f0c]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x24]
push ebp
mov edi, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x20]
push 0x3f8
push eax
mov eax, dword [esp + 0x2c]
sub edx, eax
push edx
mov edx, dword [esp + 0x34]
sub edx, ecx
push edx
push eax
push ecx
push 0x50010000
push edi
push 0x765b90
push ebp
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push ebp
push ebp
mov dword [esi + 0x2b6], eax
mov eax, dword [esi + 4]
push 0x31
push eax
call ebx
mov ecx, dword [esi + 0x2b6]
push 1
push eax
push 0x30
push ecx
call ebx
lea eax, [edi - 0x10]
mov dword [esp + 0x34], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4578b8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x3c]
mov edx, dword [esi + 0x2b6]
push ecx
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0075399d
add esp, 0x24
ret 4
Function at 0x458e00
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x762b0b
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x774fa4]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
xor edi, edi
push edi
push edi
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
mov dword [eax], edi
call fcn.004579d0
lea ecx, [esi + 0x64]
mov dword [esp + 0x2c], edi
mov dword [esi], vtable.CMainDlg.0
call fcn.00447c10
mov ebx, 1
lea ecx, [esi + 0xf1]
mov byte [esp + 0x2c], bl
call fcn.0045bb70
lea ecx, [esi + 0x180]
mov byte [esp + 0x2c], 2
call fcn.0044c0e0
lea ecx, [esi + 0x201]
mov byte [esp + 0x2c], 3
call fcn.004466d0
mov dword [esi + 0x2b6], edi
mov dword [esi + 0x2ba], edi
mov eax, dword [0x775f10]
mov edx, dword [eax + 0xc]
mov ecx, 0x775f10
mov byte [esp + 0x2c], 4
call edx
add eax, 0x10
mov dword [esi + 0x2be], eax
mov dword [esi + 0x2c2], ebx
push 0x30
mov byte [esp + 0x30], 5
mov dword [esi + 0x2ce], edi
call fcn.00754af2
add esp, 4
cmp eax, edi
je 0x458f2b
mov dword [esi + 0x2ca], eax
mov dword [eax], eax
mov eax, dword [esi + 0x2ca]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x2ca]
mov dword [eax + 8], eax
mov eax, dword [esi + 0x2ca]
mov byte [eax + 0x28], bl
mov ecx, dword [esi + 0x2ca]
mov byte [ecx + 0x29], bl
mov dword [esi + 0x2d6], edi
mov edx, dword [0x776f10]
push 0x80
push edx
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [esi + 0x2d6], eax
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x20
ret
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], edi
call fcn.007553c9
push 0x76c6cc
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x20], vtable.std::bad_alloc.0
call fcn.00753a37
int3
Function at 0x45b660
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x18
mov eax, dword [0x774fa4]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetActiveWindow]
push ebp
push esi
push edi
push 0
push 2
mov esi, ecx
call ebx
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call ebp
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call edi
push 0x3023
call ebx
push eax
call ebp
push 0x3024
mov dword [esp + 0x14], eax
call ebx
push eax
call ebp
push 0x3025
mov ebp, eax
call ebx
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x14]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x45b6fc
mov ecx, dword [esi + 4]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push 1
sub edx, eax
push edx
mov edx, ecx
sub edx, dword [esp + 0x1c]
add eax, 0xb
push edx
push eax
add ecx, 0x14
push ecx
push 0
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esp + 0x10]
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [esp + 0x10]
push 5
push ecx
call edi
push 1
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
push 5
push ebp
call edi
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
push 5
push ebx
call edi
lea ecx, [esi + 0x58]
call fcn.0045b510
mov eax, dword [esi + 0x85]
cmp dword [eax - 4], 1
jle 0x45b77a
mov edx, dword [eax - 0xc]
push edx
lea ecx, [esi + 0x85]
call fcn.00444f90
mov edi, dword [esi + 0x85]
lea ebp, [esi + 0x59]
test ebp, ebp
je 0x45b78c
lea ebx, [ebp - 0x59]
jmp 0x45b78e
xor ebx, ebx
mov eax, dword [ebx + 4]
push edi
push 0x3eb
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
test eax, eax
jne 0x45b7d0
push 0xffffffffffffffff
lea esi, [ebx + 0x59]
call dword [sym.imp.USER32.dll_MessageBeep]
test esi, esi
je 0x45b7b6
lea eax, [esi - 0x59]
jmp 0x45b7b8
xor eax, eax
mov ecx, dword [eax + 4]
push 0x3eb
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x45b7f9
cmp dword [esi + 0x61], 0
jne 0x45b7f9
test ebp, ebp
je 0x45b7df
lea eax, [ebp - 0x59]
jmp 0x45b7e1
xor eax, eax
mov edx, dword [eax + 4]
push 0x3eb
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
lea ecx, [esi + 0x5d]
call fcn.00450610
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0075399d
add esp, 0x18
ret
Function at 0x45ca10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x763070
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x774fa4]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x774fa4]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [0x775f10]
mov edx, dword [eax + 0xc]
mov ebp, dword [esp + 0x44]
mov esi, ecx
mov ecx, 0x775f10
mov dword [esp + 0x14], esi
call edx
add eax, 0x10
mov dword [esi], eax
xor edx, edx
mov dword [esp + 0x38], edx
cmp ebp, edx
jle 0x45cbc3
mov ax, word [esp + 0x40]
xor ecx, ecx
mov word [esp + 0x18], ax
mov word [esp + 0x1a], cx
lea esi, [edx + 1]
cmp ax, dx
je 0x45ca9f
lea esi, [esp + 0x18]
lea ecx, [esi + 2]
mov edi, edi
mov ax, word [esi]
add esi, 2
cmp ax, dx
jne 0x45ca90
sub esi, ecx
sar esi, 1
mov dword [esp + 0x1c], edx
lea edi, [esi + 1]
mov eax, edi
xor ecx, ecx
shld ecx, eax, 1
add eax, eax
mov byte [esp + 0x38], 1
cmp ecx, edx
ja 0x45cabe
cmp eax, 0xffffffff
jbe 0x45cac8
push 0x80070216
call fcn.004445d0
cmp eax, 0xa
jbe 0x45cad9
push eax
lea ecx, [esp + 0x20]
call fcn.0044e0b0
jmp 0x45cae1
lea edx, [esp + 0x20]
mov dword [esp + 0x1c], edx
mov ecx, dword [esp + 0x1c]
push 1
lea eax, [esp + 0x1c]
push eax
push edi
push ecx
call fcn.00753ff4
add esp, 0x10
cmp eax, 0x50
ja case.0x45cb06.27
movzx edx, byte [eax + 0x45cc04]
jmp dword [edx*4 + 0x45cbf4]
push 0x8007000e
call fcn.004445d0
mov ebx, ebp
imul ebx, esi
test ebx, ebx
jns 0x45cb2a
push 0x80070057
call fcn.004445d0
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
mov edx, dword [eax - 8]
mov ecx, 1
sub ecx, dword [eax - 4]
sub edx, ebx
or ecx, edx
jge 0x45cb49
push ebx
mov ecx, edi
call fcn.00445010
mov edi, dword [edi]
cmp esi, 1
jne 0x45cb6f
mov eax, dword [esp + 0x1c]
movzx eax, word [eax]
test ebp, ebp
jle 0x45cb96
mov edx, eax
shl edx, 0x10
or eax, edx
mov ecx, ebp
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
jmp 0x45cb96
mov ecx, edi
test ebp, ebp
jle 0x45cb96
xor eax, eax
test esi, esi
jle 0x45cb93
jmp 0x45cb80
mov edx, dword [esp + 0x1c]
mov dx, word [edx + eax*2]
mov word [ecx], dx
inc eax
add ecx, 2
cmp eax, esi
jl 0x45cb80
dec ebp
jne 0x45cb75
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
cmp ebx, dword [eax - 8]
jg case.0x45cb06.6
mov dword [eax - 0xc], ebx
mov eax, dword [ecx]
xor ecx, ecx
lea edx, [esp + 0x20]
mov word [eax + ebx*2], cx
cmp dword [esp + 0x1c], edx
je 0x45cbc3
lea ecx, [esp + 0x1c]
call fcn.0044e0a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0075399d
add esp, 0x28
ret 8
push 0x80004005
call fcn.004445d0
mov edi, edi
pop ss
retf
Function at 0x45d380
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x763108
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x774fa4]
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 eax, dword [ebp + 0xc]
cmp dword [eax - 4], 1
mov dword [ebp - 4], 0
jle 0x45d3ca
mov eax, dword [eax - 0xc]
push eax
lea ecx, [ebp + 0xc]
call fcn.00444f90
mov eax, dword [ebp + 0xc]
mov ebx, eax
test eax, eax
jne 0x45d3d4
xor ecx, ecx
jmp 0x45d418
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x45d411
lea edi, [eax + eax]
mov eax, edi
call fcn.00754620
mov esi, esp
test esi, esi
je 0x45d411
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push ebx
push 0
push 3
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x45d413
xor eax, eax
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0xc]
push 0
lea edx, [ebp - 0x14]
push edx
push eax
mov eax, dword [ebp + 8]
push ecx
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x45d466
call fcn.0044b3f0
mov esi, eax
test esi, esi
jns 0x45d468
lea ecx, [ebp - 0x28]
call fcn.00444790
push 0x76488c
mov byte [ebp - 4], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x45d4af
push 0x8007000e
call fcn.004445d0
xor esi, esi
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45d48e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
lea esp, [ebp - 0x38]
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.0075399d
mov esp, ebp
pop ebp
ret
push 0
lea edx, [ebp - 0x14]
push edx
movzx eax, si
push 0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00444850
int3
Function at 0x45e020
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10c
mov eax, dword [0x774fa4]
xor eax, esp
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x114]
cmp dword [eax + 0x14], 8
mov ecx, dword [esp + 0x110]
push ebx
mov ebx, dword [esp + 0x120]
push esi
mov esi, dword [esp + 0x120]
jb 0x45e05a
mov eax, dword [eax]
lea edx, [esp + 8]
push edx
push 1
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45e0bf
push 0xff
push eax
mov byte [esp + 0x18], al
lea eax, [esp + 0x19]
push eax
call fcn.00753a90
add esp, 0xc
cmp dword [esi + 0x14], 8
mov dword [esp + 0xc], 0x100
jb 0x45e096
mov esi, dword [esi]
mov eax, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
push 0
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x45e0d8
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.0075399d
add esp, 0x10c
ret
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x10]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45e0f0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x14]
push eax
mov ecx, ebx
call fcn.00457ca0
mov ecx, dword [esp + 0x110]
pop esi
pop ebx
xor ecx, esp
mov al, 1
call fcn.0075399d
add esp, 0x10c
ret
Function at 0x45e130
Capabilities:
Identify system language via api

Disassembly:
push 0xffffffffffffffff
push 0x7631c1
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x774fa4]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
push edi
mov eax, dword [0x774fa4]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x14], ebx
xor edi, edi
xor eax, eax
mov esi, ecx
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
mov word [esp + 0x18], ax
mov dword [esp + 0x5c], edi
cmp byte [esp + 0x64], al
je 0x45e1dc
xor ecx, ecx
push 8
mov word [esp + 0x38], cx
push str.Language
lea ecx, [esp + 0x3c]
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], edi
call fcn.00457ca0
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x38]
push eax
add esi, 6
push esi
mov ebx, 1
push SysReAllocStringLen
mov byte [esp + 0x6c], 1
mov dword [esp + 0x24], ebx
call fcn.0045e020
add esp, 0x10
mov byte [esp + 0x13], bl
test al, al
jne 0x45e1e1
mov byte [esp + 0x13], 0
mov dword [esp + 0x5c], edi
mov esi, 8
test bl, 1
je 0x45e202
cmp dword [esp + 0x48], esi
jb 0x45e202
mov ecx, dword [esp + 0x34]
push ecx
call fcn.007539db
add esp, 4
cmp byte [esp + 0x13], 0
je 0x45e264
mov edx, dword [esp + 0x28]
push 7
push str.RUSSIAN
push edx
push edi
lea ecx, [esp + 0x28]
call fcn.0045df40
test eax, eax
jne 0x45e23d
cmp dword [esp + 0x2c], esi
jb 0x45e236
mov eax, dword [esp + 0x18]
push eax
call fcn.007539db
add esp, 4
mov eax, 0x419
jmp 0x45e2a6
mov ecx, dword [esp + 0x28]
push 7
push str.ENGLISH
push ecx
push edi
lea ecx, [esp + 0x28]
call fcn.0045df40
test eax, eax
jne 0x45e264
cmp dword [esp + 0x2c], esi
jb 0x45e2a1
mov edx, dword [esp + 0x18]
push edx
jmp 0x45e299
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov ecx, 0x419
cmp ax, cx
jne 0x45e28e
cmp dword [esp + 0x2c], esi
jb 0x45e236
mov edx, dword [esp + 0x18]
push edx
call fcn.007539db
add esp, 4
mov eax, 0x419
jmp 0x45e2a6
cmp dword [esp + 0x2c], esi
jb 0x45e2a1
mov eax, dword [esp + 0x18]
push eax
call fcn.007539db
add esp, 4
mov eax, 0x409
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0075399d
add esp, 0x50
ret 4
Function at 0x494700
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
mov byte [ebp - 1], 0
jmp 0x494712
mov al, byte [ebp - 1]
add al, 1
mov byte [ebp - 1], al
movzx ecx, byte [ebp - 1]
cmp ecx, 8
jge 0x494760
movzx edx, word [ebp + 0xc]
and edx, 0x80
je 0x494734
movzx eax, word [ebp + 0xc]
xor eax, 0x658e
mov word [ebp + 0xc], ax
movzx ecx, word [ebp + 0xc]
shl ecx, 1
mov word [ebp + 0xc], cx
movzx edx, byte [ebp + 8]
and edx, 0x80
je 0x494756
mov ax, word [ebp + 0xc]
add ax, 1
mov word [ebp + 0xc], ax
mov cl, byte [ebp + 8]
shl cl, 1
mov byte [ebp + 8], cl
jmp 0x49470a
mov ax, word [ebp + 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x4947c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
jmp 0x4947cf
mov eax, dword [ebp + 0xc]
sub eax, 1
mov dword [ebp + 0xc], eax
cmp dword [ebp + 0xc], 0
jbe 0x494845
mov ecx, dword [ebp + 8]
mov dl, byte [ecx]
mov byte [ebp - 2], dl
mov byte [ebp - 1], 0
jmp 0x4947eb
mov al, byte [ebp - 1]
add al, 1
mov byte [ebp - 1], al
movzx ecx, byte [ebp - 1]
cmp ecx, 8
jge 0x49483a
movzx edx, word [ebp + 0x10]
and edx, 0x8000
je 0x49480d
movzx eax, word [ebp + 0x10]
xor eax, 0x8411
mov word [ebp + 0x10], ax
mov cx, word [ebp + 0x10]
shl cx, 1
mov word [ebp + 0x10], cx
movzx edx, byte [ebp - 2]
and edx, 0x80
je 0x494830
mov ax, word [ebp + 0x10]
add ax, 1
mov word [ebp + 0x10], ax
mov cl, byte [ebp - 2]
shl cl, 1
mov byte [ebp - 2], cl
jmp 0x4947e3
mov edx, dword [ebp + 8]
add edx, 1
mov dword [ebp + 8], edx
jmp 0x4947c6
mov ax, word [ebp + 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x50c3b0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax + 0x104], ecx
mov dword [eax + 0x100], ecx
mov dword [eax + 0x108], 0x6a09e667
mov dword [eax + 0x10c], 0xbb67ae85
mov dword [eax + 0x110], 0x3c6ef372
mov dword [eax + 0x114], 0xa54ff53a
mov dword [eax + 0x118], 0x510e527f
mov dword [eax + 0x11c], 0x9b05688c
mov dword [eax + 0x120], 0x1f83d9ab
mov dword [eax + 0x124], 0x5be0cd19
mov dword [eax], 0x428a2f98
mov dword [eax + 4], 0x71374491
mov dword [eax + 8], 0xb5c0fbcf
mov dword [eax + 0xc], 0xe9b5dba5
mov dword [eax + 0x10], 0x3956c25b
mov dword [eax + 0x14], 0x59f111f1
mov dword [eax + 0x18], 0x923f82a4
mov dword [eax + 0x1c], 0xab1c5ed5
mov dword [eax + 0x20], 0xd807aa98
mov dword [eax + 0x24], 0x12835b01
mov dword [eax + 0x28], 0x243185be
mov dword [eax + 0x2c], 0x550c7dc3
mov dword [eax + 0x30], 0x72be5d74
mov dword [eax + 0x34], 0x80deb1fe
mov dword [eax + 0x38], 0x9bdc06a7
mov dword [eax + 0x3c], 0xc19bf174
mov dword [eax + 0x40], 0xe49b69c1
mov dword [eax + 0x44], 0xefbe4786
mov dword [eax + 0x48], 0xfc19dc6
mov dword [eax + 0x4c], 0x240ca1cc
mov dword [eax + 0x50], 0x2de92c6f
mov dword [eax + 0x54], 0x4a7484aa
mov dword [eax + 0x58], 0x5cb0a9dc
mov dword [eax + 0x5c], 0x76f988da
mov dword [eax + 0x60], 0x983e5152
mov dword [eax + 0x64], 0xa831c66d
mov dword [eax + 0x68], 0xb00327c8
mov dword [eax + 0x6c], 0xbf597fc7
mov dword [eax + 0x70], 0xc6e00bf3
mov dword [eax + 0x74], 0xd5a79147
mov dword [eax + 0x78], 0x6ca6351
mov dword [eax + 0x7c], 0x14292967
mov dword [eax + 0x80], 0x27b70a85
mov dword [eax + 0x84], 0x2e1b2138
mov dword [eax + 0x88], 0x4d2c6dfc
mov dword [eax + 0x8c], 0x53380d13
mov dword [eax + 0x90], 0x650a7354
mov dword [eax + 0x94], 0x766a0abb
mov dword [eax + 0x98], 0x81c2c92e
mov dword [eax + 0x9c], 0x92722c85
mov dword [eax + 0xa0], 0xa2bfe8a1
mov dword [eax + 0xa4], 0xa81a664b
mov dword [eax + 0xa8], 0xc24b8b70
mov dword [eax + 0xac], 0xc76c51a3
mov dword [eax + 0xb0], 0xd192e819
mov dword [eax + 0xb4], 0xd6990624
mov dword [eax + 0xb8], 0xf40e3585
mov dword [eax + 0xbc], 0x106aa070
mov dword [eax + 0xc0], 0x19a4c116
mov dword [eax + 0xc4], 0x1e376c08
mov dword [eax + 0xc8], 0x2748774c
mov dword [eax + 0xcc], 0x34b0bcb5
mov dword [eax + 0xd0], 0x391c0cb3
mov dword [eax + 0xd4], 0x4ed8aa4a
mov dword [eax + 0xd8], 0x5b9cca4f
mov dword [eax + 0xdc], 0x682e6ff3
mov dword [eax + 0xe0], 0x748f82ee
mov dword [eax + 0xe4], 0x78a5636f
mov dword [eax + 0xe8], 0x84c87814
mov dword [eax + 0xec], 0x8cc70208
mov dword [eax + 0xf0], 0x90befffa
mov dword [eax + 0xf4], 0xa4506ceb
mov dword [eax + 0xf8], 0xbef9a3f7
mov dword [eax + 0xfc], 0xc67178f2
pop ebp
ret

Function at 0x52cda0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.dll_CreateDirectoryA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x52cdc8
call sub.KERNEL32.dll_GetLastError
cmp eax, 0xb7
je 0x52cdc8
xor eax, eax
jmp 0x52cdcd
mov eax, 1
mov esp, ebp
pop ebp
ret