joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d9fa
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x44da0e
xor eax, eax
jmp 0x44db4c
mov eax, ebx
shl eax, 3
push 6
pop ecx
cdq
idiv ecx
mov edx, ebx
imul ecx, eax, 6
shl edx, 3
push 3
sub edx, ecx
dec edx
pop ecx
sub edx, 1
je 0x44da37
dec edx
sub edx, 1
jne 0x44da39
add eax, 2
jmp 0x44da39
add eax, ecx
push esi
mov esi, dword [ebp + 0x14]
inc eax
cmp dword [esi], eax
jge 0x44da4c
push 0xfffffffffffffff0
mov dword [esi], eax
pop eax
jmp 0x44db4b
mov eax, ebx
cdq
idiv ecx
xor ecx, ecx
imul eax, eax, 3
push edi
mov edi, dword [ebp + 0x10]
test eax, eax
jle 0x44dae2
dec eax
mov ebx, dword [ebp + 8]
xor edx, edx
push 3
pop ecx
div ecx
inc eax
imul ecx, eax, 3
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
movzx ecx, byte [ebx]
movzx edx, byte [ebx + 1]
mov eax, ecx
movzx esi, byte [ebx + 2]
add ebx, 3
shr eax, 2
shl ecx, 4
mov al, byte [eax + 0x58ad80]
mov byte [edi], al
mov eax, edx
shr eax, 4
add eax, ecx
and eax, 0x3f
mov al, byte [eax + 0x58ad80]
mov byte [edi + 1], al
mov eax, esi
shr eax, 6
and esi, 0x3f
lea eax, [eax + edx*4]
and eax, 0x3f
mov al, byte [eax + 0x58ad80]
mov byte [edi + 2], al
mov al, byte [esi + 0x58ad80]
mov byte [edi + 3], al
add edi, 4
sub dword [ebp - 4], 1
jne 0x44da77
mov esi, dword [ebp + 0x14]
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
jmp 0x44dae5
mov eax, dword [ebp + 8]
cmp ecx, ebx
jge 0x44db3e
movzx edx, byte [eax]
inc ecx
mov dword [ebp + 0xc], ecx
cmp ecx, ebx
jge 0x44dafa
movzx ecx, byte [eax + 1]
jmp 0x44dafc
xor ecx, ecx
mov eax, edx
shl edx, 4
shr eax, 2
mov al, byte [eax + 0x58ad80]
mov byte [edi], al
mov eax, ecx
shr eax, 4
add eax, edx
and eax, 0x3f
mov al, byte [eax + 0x58ad80]
mov byte [edi + 1], al
cmp dword [ebp + 0xc], ebx
jge 0x44db33
and ecx, 0xf
mov al, byte [ecx*4 + 0x58ad80]
mov byte [edi + 2], al
jmp 0x44db37
mov byte [edi + 2], 0x3d
mov byte [edi + 3], 0x3d
add edi, 4
mov eax, edi
sub eax, dword [ebp + 0x10]
mov dword [esi], eax
xor eax, eax
mov byte [edi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x453f4b
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x587fac
call fcn.00480ec5
xor esi, esi
mov dword [ebp - 0x18], 0x104
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.00457da6
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], esi
call fcn.00457dda
test eax, eax
mov edi, 0xf013f
lea eax, [ebp - 0x10]
push eax
jne 0x453f8b
mov edi, 0xf003f
push edi
push esi
push str.SoftWare
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x453feb
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push esi
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x453fc6
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x453feb
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0x10]
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0x3c]
call fcn.00457db9
call fcn.00480e9f
ret 0xc
Function at 0x454473
Capabilities:
Get common file path

Disassembly:
push 0x240
mov eax, 0x588047
call fcn.00480ef9
mov ebx, ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
xor esi, esi
mov dword [ebp - 0x24c], edi
push esi
push eax
call fcn.0045eed0
add esp, 0xc
lea eax, [ebp - 0x218]
push esi
push 0x19
push eax
push esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call esi
test eax, eax
je 0x45456a
and dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
je 0x4544ef
lea eax, [ebp - 0x218]
push eax
call fcn.0046f177
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.0041fdf0
and dword [ebp - 4], 0
push 0x5e00e0
call fcn.0046f177
pop ecx
push eax
push 0x5e00e0
lea ecx, [ebp - 0x230]
call fcn.004231d0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push edi
cmovae eax, dword [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.004540d6
mov edi, eax
lea ecx, [ebp - 0x230]
push 0
push 1
test edi, edi
je 0x45455b
call fcn.0041fd30
mov eax, edi
jmp 0x45461c
or dword [ebp - 4], 0xffffffff
call fcn.0041fd30
mov edi, dword [ebp - 0x24c]
push 0
push 0x10
lea eax, [ebp - 0x218]
push eax
push 0
call esi
test eax, eax
je 0x45461a
and dword [ebp - 0x238], 0
xor eax, eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
cmp word [ebp - 0x218], ax
je 0x4545b1
lea eax, [ebp - 0x218]
push eax
call fcn.0046f177
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.0041fdf0
mov esi, 0x5e00e0
mov dword [ebp - 4], 1
push esi
call fcn.0046f177
pop ecx
push eax
push esi
lea ecx, [ebp - 0x248]
call fcn.004231d0
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push edi
cmovae eax, dword [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.004540d6
push 0
lea ecx, [ebp - 0x248]
mov esi, eax
push 1
call fcn.0041fd30
test esi, esi
je 0x45461a
mov eax, esi
jmp 0x45461c
xor eax, eax
call fcn.00480eb4
ret 4
Function at 0x454624
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x5ea00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, ebx
test edi, edi
jne 0x45464c
xor eax, eax
jmp 0x454782
lea eax, [ebp - 0x418]
mov dword [ebp - 0x418], ebx
push eax
push 9
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push reloc.WS2_32.dll_accept
mov dword [ebp - 0x41c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x454645
push 0x208
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.0045eed0
add esp, 0xc
mov dword [ebp - 0x420], ebx
lea eax, [ebp - 0x20c]
push 0x104
push eax
push ebx
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x454770
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x45474a
push 0x208
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x424], 0x104
push eax
call fcn.0045eed0
add esp, 0xc
xor eax, eax
inc eax
mov dword [ebp - 0x428], eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x428]
push eax
push 0
push str.DisplayName
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x45473e
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.0045e69d
pop ecx
pop ecx
test eax, eax
push 1
pop eax
cmovne esi, eax
push dword [ebp - 0x41c]
call ebx
test esi, esi
jne 0x454778
mov eax, dword [ebp - 0x420]
lea ecx, [ebp - 0x20c]
push 0x104
inc eax
push ecx
push eax
push dword [ebp - 0x418]
mov dword [ebp - 0x420], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x4546b5
push dword [ebp - 0x418]
call ebx
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00436912
mov esp, ebp
pop ebp
ret 4
Function at 0x455270
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5ea00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
test edi, edi
jne 0x455295
xor eax, eax
jmp 0x455328
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], esi
push esi
push eax
call fcn.0045eed0
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x109
push esi
push str.SYSTEMCurrentControlSetServices_
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x455326
push ebx
push 0x104
lea eax, [ebp - 0x20c]
mov ebx, esi
push eax
push esi
jmp 0x455304
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.0046f1b7
pop ecx
pop ecx
test eax, eax
je 0x455316
push 0x104
lea eax, [ebp - 0x20c]
inc ebx
push eax
push ebx
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x4552e3
jmp 0x455319
xor esi, esi
inc esi
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00436912
mov esp, ebp
pop ebp
ret 4
Function at 0x4557b2
Capabilities:
Check if file exists
Get common file path
Get startup folder

Disassembly:
push 0x83c
mov eax, 0x5881f9
call fcn.00480ef9
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
xor ebx, ebx
push ebx
push eax
call fcn.0045eed0
add esp, 0xc
lea eax, [ebp - 0x218]
push ebx
push 0x1a
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [ebp - 0x834], 7
mov dword [ebp - 0x838], ebx
mov word [ebp - 0x848], ax
cmp word [ebp - 0x218], ax
je 0x45581d
lea eax, [ebp - 0x218]
push eax
call fcn.0046f177
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x848]
call fcn.0041fdf0
mov dword [ebp - 4], ebx
mov ebx, str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar_
push ebx
call fcn.0046f177
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x848]
call fcn.004231d0
xor ebx, ebx
cmp word [esi], bx
jne 0x455857
mov eax, ebx
jmp 0x45585e
push esi
call fcn.0046f177
pop ecx
push eax
push esi
lea ecx, [ebp - 0x848]
call fcn.004231d0
mov esi, str..lnk
push esi
call fcn.0046f177
pop ecx
push eax
push esi
lea ecx, [ebp - 0x848]
call fcn.004231d0
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x848]
push eax
call esi
test eax, eax
je 0x45596c
push 0x208
lea eax, [ebp - 0x830]
push ebx
push eax
call fcn.0045eed0
push 0x208
lea eax, [ebp - 0x628]
push ebx
push eax
call fcn.0045eed0
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
cmovae eax, dword [ebp - 0x848]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.0046f155
add esp, 0x20
lea eax, [ebp - 0x628]
mov ecx, edi
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.00453e31
push 0x208
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.0045eed0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea eax, [ebp - 0x420]
push eax
call fcn.0046f177
pop ecx
test eax, eax
jne 0x45595a
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.0046f155
pop ecx
pop ecx
lea eax, [ebp - 0x420]
push eax
call esi
test eax, eax
je 0x45596c
xor esi, esi
inc esi
jmp 0x45596e
mov esi, ebx
push ebx
push 1
lea ecx, [ebp - 0x848]
call fcn.0041fd30
mov eax, esi
call fcn.00480eb4
ret 4
Function at 0x455986
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5ea00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [0x5f5de8]
test al, al
jne 0x455a1f
push ebx
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0045eed0
add esp, 0xc
lea eax, [ebp - 0x20c]
xor ebx, ebx
inc ebx
push ebx
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x455a16
lea eax, [ebp - 0x20c]
push eax
call fcn.0046f4d5
lea eax, [ebp - 0x20c]
mov dword [esp], str.config_systemprofile
push eax
call fcn.0045e69d
pop ecx
pop ecx
test eax, eax
jne 0x455a0e
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.0045e69d
pop ecx
pop ecx
test eax, eax
je 0x455a16
mov byte [0x5f5de8], bl
jmp 0x455a1c
mov bl, byte [0x5f5de8]
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00436912
mov esp, ebp
pop ebp
ret
Function at 0x456572
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5ea00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push esi
push edi
push 0x208
xor esi, esi
mov edi, ecx
push esi
push eax
call fcn.0045eed0
add esp, 0xc
lea eax, [ebp - 0x20c]
push esi
push 0x17
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4565dd
lea eax, [ebp - 0x20c]
push 0x5e00e0
push eax
call fcn.0046f0e4
pop ecx
pop ecx
push ebx
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.00455a2d
mov esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00436912
mov esp, ebp
pop ebp
ret 4

Function at 0x4575c4
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov byte [ecx + 0x68], al
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret
Function at 0x457e99
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
push 0x5895b4
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi], eax
call fcn.00445d0d
test al, al
je 0x457ecd
push esp
pop esi
push esp
pop ecx
push ebp
push ecx
pop eax
pop edi
push ecx
push esi
push edx
push ecx
pop esp
push ebp
push eax
pop esp
push esp
pop esp
call fcn.004457a9
test al, al
je 0x457ef2
pop ebp
push eax
push esp
push ecx
push edi
push esp
push ebx
pop edi
push esp
push ecx
pop esp
push esp
pop ebx
pop ebx
pop edi
pop edx
push esi
pop ebp
push eax
push ecx
pop esp
push esp
pop esi
pop ecx
pop ebp
pop ebx
pop edx
push edx
call fcn.004457ee
test al, al
je 0x457f17
push eax
push esi
pop edx
push edx
pop edx
pop ebp
push edi
pop edi
pop esp
push ebx
push esp
pop eax
pop esi
pop eax
push ecx
push esp
push edi
push edi
push edx
push edi
push ebx
pop ebx
push edx
push ebp
push edx
push edi
push esi
push esi
call fcn.0044598c
test al, al
je 0x457f3a
pop edx
push esi
pop edi
pop esi
pop edi
push esp
pop esp
pop ebp
push ebp
pop eax
push ebx
push edx
push esi
pop ebx
push edx
push edi
push eax
push ecx
pop edi
push ebp
push ebp
pop ecx
push edx
pop edi
pop esi
push ebx
call fcn.00445833
test al, al
je 0x457f59
push edi
push edi
push ebx
push eax
pop ebp
pop esi
pop edi
pop esp
pop ebp
push edx
pop edx
push edx
pop edi
pop ebp
push ebx
push esi
push edi
push eax
pop ebx
pop esp
pop ecx
pop ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x457f68
xor eax, eax
jmp 0x458006
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x58a9a8
push dword [ebx]
call esi
push 0x58be78
push dword [ebx]
mov dword [ebx + 8], eax
call esi
push str.Wow64DisableWow64FsRedirection
push dword [ebx]
mov dword [ebx + 0xc], eax
call esi
mov edi, str.Wow64RevertWow64FsRedirection
mov dword [ebx + 0x18], eax
push edi
push dword [ebx]
call esi
push str.GetSystemWow64DirectoryW
push dword [ebx]
mov dword [ebx + 0x14], eax
call esi
push str.advapi32.dll
mov dword [ebx + 0x10], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebx + 4], eax
call fcn.00445947
test al, al
je 0x457fe7
pop eax
push edx
pop esp
pop ebx
push ecx
push eax
pop edx
pop edi
push ebx
pop esp
pop edx
pop edi
push edi
pop esi
push edi
pop ecx
push esp
push eax
push esi
push esi
push ebp
pop esp
push edx
mov ebx, dword [ebp - 4]
mov edi, str.Wow64RevertWow64FsRedirection
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [ebx + 4], 0
je 0x457f61
push edi
push dword [ebx + 4]
call esi
push edi
push dword [ebx + 4]
mov dword [ebx + 0x20], eax
call esi
mov dword [ebx + 0x1c], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45802a
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x24c
mov eax, 0x5885ee
call fcn.00480ef9
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
and dword [ebp - 0x24c], 0
push 0x208
mov dword [ebp - 0x258], eax
lea eax, [ebp - 0x218]
push 0
push eax
mov dword [ebp - 0x250], ebx
call fcn.0045eed0
add esp, 0xc
call fcn.004457a9
test al, al
je 0x458087
push ebp
push ebp
pop esi
push ecx
pop edi
push edi
push eax
push edi
pop ebx
pop ebx
push esi
push ebp
push esi
push edx
push ebx
push esp
mov ebx, dword [ebp - 0x250]
push 0x104
lea eax, [ebp - 0x218]
xor esi, esi
push eax
push esi
jmp 0x4581e5
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4581d7
call fcn.00445d52
test al, al
je 0x4580e1
pop eax
pop edi
pop edx
push eax
pop edi
pop esi
push edx
push esi
push ecx
push ecx
push ebp
pop edi
pop edx
push ebx
push esi
push edx
pop ebp
push esp
push eax
push ebx
push edx
push esp
push ecx
push edx
pop edx
pop ebx
push edx
pop edi
pop eax
push eax
push eax
pop edi
call fcn.00445a16
test al, al
je 0x4580fc
push edx
push edx
push ecx
push ebx
push eax
push eax
push ecx
pop edx
push ecx
pop ebp
pop edx
pop ebp
push ecx
push eax
pop esp
push esi
push esp
pop edx
call fcn.00445ddc
test al, al
je 0x45811b
pop eax
pop eax
pop ebp
push ecx
push ebx
push ecx
push edi
push eax
pop esp
pop ebx
pop esp
pop esi
push ebp
pop ebp
pop ebp
pop edx
pop edi
push edi
push edi
pop esp
push ebx
push esi
and dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
je 0x45814b
lea eax, [ebp - 0x218]
push eax
call fcn.0046f177
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.0041fdf0
and dword [ebp - 4], 0
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00442d95
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 2
call fcn.0041fd30
cmp dword [ebp - 0x234], 0x10
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
push dword [ebp - 0x258]
call fcn.0044c874
pop ecx
pop ecx
push dword [ebp - 0x24c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
push 0
push 1
call fcn.00423140
mov ebx, dword [ebp - 0x250]
mov esi, dword [ebp - 0x254]
push 0x104
lea eax, [ebp - 0x218]
inc esi
push eax
push esi
push ebx
mov dword [ebp - 0x254], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x45809b
call fcn.00480eb4
ret
Function at 0x459125
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, ecx
mov byte [ebp - 1], 0
push ebx
push esi
push edi
lea ecx, [eax + 0x210]
mov dword [ebp - 0x14], eax
mov esi, dword [ecx]
mov dword [ebp - 0x18], ecx
cmp esi, dword [eax + 0x214]
je 0x4591dc
mov eax, dword [ebp + 8]
lea edi, [esi + 0x28]
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 8], edi
lea ecx, [eax + 0xa8]
add eax, 0x28
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
push ecx
call ebx
push 0x589944
call ebx
sub edi, 0xffffff80
push edi
call ebx
push 0x589944
call ebx
push dword [ebp - 0xc]
call ebx
push 0x589944
call ebx
push dword [ebp - 8]
call ebx
push 0x589944
call ebx
push edi
push dword [ebp - 0x10]
call fcn.0046ffb0
mov edi, dword [ebp - 8]
pop ecx
pop ecx
test eax, eax
jne 0x4591bc
push edi
push dword [ebp - 0xc]
call fcn.0046ffb0
pop ecx
pop ecx
test eax, eax
je 0x4591d8
mov eax, 0x1b0
add edi, eax
add esi, eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], edi
cmp esi, dword [eax + 0x214]
je 0x4591dc
mov ecx, dword [ebp - 0x10]
jmp 0x45916c
mov byte [ebp - 1], 1
call fcn.0044598c
test al, al
je 0x4591ff
push ebx
pop edx
push ebp
push ecx
push esp
push esp
pop esi
pop ebx
pop edx
pop edx
pop ebx
push esi
push eax
push esp
push esp
pop eax
pop ebx
pop eax
pop esi
pop eax
pop ebp
pop edi
push ebx
push edi
pop ebx
pop edx
call fcn.00445b2a
test al, al
je 0x459224
push esi
pop esp
push eax
push esi
push ebx
push esi
pop esp
push edi
pop ebp
push edi
push edx
pop edi
pop esp
push ecx
push ecx
pop eax
push ecx
pop ebp
push ebp
push ebx
pop esi
pop edi
pop ebx
push eax
pop ebp
push esp
push esi
push ebx
cmp byte [ebp - 1], 0
jne 0x45924b
mov esi, dword [ebp + 8]
lea edx, [esi + 0xa8]
push edx
call fcn.0046f6d0
pop ecx
test eax, eax
je 0x45924b
mov ecx, dword [ebp - 0x18]
push esi
call fcn.00459f84
mov al, 1
jmp 0x45924d
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x459e71
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x5ea00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x11c], edi
mov eax, dword [edi + 0x210]
mov dword [edi + 0x214], eax
call fcn.00445a16
test al, al
je 0x459ec1
push ebp
push ecx
push edi
pop esi
pop ecx
pop eax
pop esp
push ebx
push edi
pop ecx
push ecx
pop esp
push ecx
push eax
push ebx
push edi
push ebp
push esp
push eax
push ebx
pop esp
push eax
pop ebx
pop esi
pop eax
push ebp
push esi
push ecx
push edx
call fcn.00445c83
test al, al
je 0x459eeb
push esp
pop edx
push ebx
pop ebp
pop eax
pop ebp
push ecx
pop eax
push eax
push ecx
pop ebx
push edx
pop esi
push edx
pop esp
pop esp
push ebp
pop edx
pop ecx
push ebp
push eax
push edi
push esp
pop edi
push esi
push ecx
pop edi
mov edi, dword [ebp - 0x11c]
mov esi, 0x114
lea eax, [ebp - 0x118]
push esi
xor ebx, ebx
push ebx
push eax
call fcn.0045eed0
add esp, 0xc
mov dword [ebp - 0x118], esi
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x108], 2
jne 0x459f28
mov ecx, edi
call fcn.004596f0
jmp 0x459f3d
mov esi, ebx
test ebx, ebx
jne 0x459f3d
mov ecx, edi
call fcn.0045956d
inc esi
mov ebx, eax
cmp esi, 0xa
jl 0x459f2a
mov eax, dword [edi + 0x214]
mov ecx, 0x1b0
sub eax, dword [edi + 0x210]
cdq
idiv ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00436912
mov esp, ebp
pop ebp
ret

Function at 0x47402e
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00473cee

Function at 0x478eb9
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00478d38
Function at 0x48b050
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
xor edx, edx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, 0x1505
add eax, esi
mov ecx, eax
sub ecx, esi
push edi
xor edi, edi
cmp esi, eax
cmova ecx, edx
mov dword [ebp + 8], ecx
test ecx, ecx
je 0x48b099
mov al, byte [esi]
push eax
call fcn.004971d0
movsx ecx, al
lea esi, [esi + 1]
mov eax, ebx
inc edi
shl eax, 5
add esp, 4
add eax, ebx
xor ecx, eax
mov ebx, ecx
cmp edi, dword [ebp + 8]
jb 0x48b077
pop edi
pop esi
movzx eax, bl
pop ebx
pop ebp
ret

Function at 0x48c480
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x48c4a1
cmp dword [esi + 0x8c], 0
je 0x48c4a1
push 2
push 3
push esi
call fcn.004977a0
add esp, 0xc
push dword [ebp + 0xc]
call fcn.00499360
add esp, 4
test esi, esi
je 0x48c4c4
cmp dword [esi + 0x8c], 0
je 0x48c4c4
push 3
push esi
call fcn.004977e0
add esp, 8
pop esi
pop ebp
ret

Function at 0x48d150
Capabilities:
Create udp socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x2b0], 2
jne 0x48d165
pop ebp
jmp fcn.0048d100
mov al, 1
pop ebp
ret