joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46ae00
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x46ae17
add esp, 0xfffffff0
call fcn.004046ec
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0042130c
mov eax, dword [0x5362dc]
cmp word [eax + 2], 0
jne 0x46ae3f
mov eax, dword [0x5362dc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046ca18
mov eax, dword [0x53641c]
cmp word [eax + 2], 0
jne 0x46ae59
mov eax, dword [0x53641c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046cc24
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x417a60]
call fcn.00404398
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x417a60]
call fcn.00404398
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x417a60]
call fcn.00404398
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x425ec4]
call fcn.0042dc50
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x46b010
mov eax, dword [0x536154]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042e024
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x46d2f8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x536154]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040f0e4
test eax, eax
je 0x46af60
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040a8d0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040f118
test eax, eax
je 0x46af74
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00405518
mov byte [ebx + 0xd4], 0
push ebx
push 0x46c528
call fcn.0042249c
mov dword [ebx + 0xc8], eax
mov eax, dword [0x535f04]
cmp byte [eax], 0
jne 0x46afc5
mov eax, ebx
call fcn.0046b154
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0046d4d0
mov eax, ebx
call fcn.0046e034
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46b005
call fcn.00404744
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46b3d4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x46b473
cmp dword [ebx + 0x94], 0
jne 0x46b46d
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46b35c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46b46d
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x46b433
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46b46d
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041a130
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46b442
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46b68c
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x53bcdc]
cmp dword [eax + 0x30], 0
je 0x46b7e9
test bl, bl
jne 0x46b73a
cmp dword [esi + 0x9c], 0
jne 0x46b72f
mov eax, esi
call fcn.0046deb0
push eax
push 0x46b5b8
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x46b700
mov eax, dword [0x53bcdc]
call fcn.0046e590
test al, al
je 0x46b700
mov eax, dword [0x53bd00]
call fcn.0040659c
mov edi, eax
cmp edi, 0
jl 0x46b700
push 0
mov eax, dword [0x53bd00]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x46b6ea
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x46b72f
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041a130
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x46b70f
inc dword [esi + 0x9c]
jmp 0x46b7e9
cmp dword [esi + 0x9c], 0
jle 0x46b7e9
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x46b7e9
cmp dword [esi + 0x44], 0
je 0x46b795
mov eax, dword [0x53bcdc]
call fcn.0046e590
test al, al
je 0x46b795
mov eax, dword [0x53bd00]
call fcn.0040659c
mov edi, eax
cmp edi, 0
jl 0x46b795
push 5
mov eax, dword [0x53bd00]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x46b77f
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x46b7c4
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041a130
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x46b7a4
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x53bd00
mov ecx, 1
mov edx, dword [0x46b598]
call fcn.00406750
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x46c27c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x46c2e6
mov eax, ebx
call fcn.0046e590
test al, al
jne 0x46c2e6
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00405398
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x46c2d3
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x46c2f3
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004052fc
jmp 0x46c2f3
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004052fc
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x46d6b4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46d722
mov eax, esi
call fcn.00457214
test al, al
je 0x46d722
mov eax, dword [ebx + 0x84]
call fcn.00456e64
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46d722
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x46d716
push 0
mov eax, dword [ebx + 0x84]
call fcn.00456e64
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0044edb4
jmp 0x46d722
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0046d4f0
pop esi
pop ebx
ret
Function at 0x46eb90
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x4082f0]
call fcn.00405d60
xor eax, eax
push ebp
push 0x46ed31
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4af964], 0
jne 0x46ebeb
mov ecx, dword [0x535f30]
mov dl, 1
mov eax, dword [0x408938]
call fcn.0040e250
call fcn.00404c3c
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.004039bc
mov eax, ebx
call fcn.00405c10
mov dword [ebp - 0x24], eax
mov esi, 0x46ed40
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.00406e40
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.00405c20
test eax, eax
jle 0x46ecd4
mov dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x46ecc0
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00405518
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x46ec66
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.00405530
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x46ec7c
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.00405530
mov eax, dword [ebp - 0x54]
call fcn.00405738
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00405518
mov eax, dword [ebp - 0x58]
call fcn.00405738
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x46ecc2
xor eax, eax
test al, al
je 0x46eccd
mov ebx, 0x15
jmp 0x46ecd9
mov ebx, 0x10
jmp 0x46ecd9
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [0x4af964]
call fcn.0046ea10
mov eax, dword [ebp - 4]
call fcn.0046ea10
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00406e58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46ed38
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.004052cc
lea eax, [ebp - 0xc]
mov edx, dword [0x4082f0]
call fcn.00405e30
ret
Function at 0x4793d8
Capabilities:
Check if file exists

Disassembly:
push ebx
push esi
push edi
mov esi, eax
xor ebx, ebx
mov eax, dword [esi + 0x44]
push eax
call sub.kernel32.dll_CloseHandle_1
push 0
push 0
push 0
mov eax, dword [esi + 0x70]
push eax
call sub.kernel32.dll_PostQueuedCompletionStatus
mov eax, dword [esi + 0x70]
push eax
call sub.kernel32.dll_CloseHandle_1
push 0
push 0x42000000
push 3
push 0
push 7
push 0xc0000000
mov eax, dword [esi + 0x68]
call fcn.00405738
push eax
call sub.kernel32.dll_CreateFileA_1
mov edi, eax
mov eax, esi
call fcn.004793cc
mov dword [esi + 0x44], edi
mov eax, esi
call fcn.00479560
call sub.kernel32.dll_GetLastError_1
cmp eax, 2
je 0x479447
call sub.kernel32.dll_GetLastError_1
cmp eax, 3
jne 0x479461
mov eax, esi
call fcn.004793cc
xor eax, eax
mov dword [esi + 0x44], eax
xor eax, eax
mov dword [esi + 0x70], eax
mov eax, esi
call fcn.00479560
jmp 0x4794d6
push 0
mov eax, dword [esi + 4]
push eax
push 0
mov eax, dword [esi + 0x44]
push eax
call sub.kernel32.dll_CreateIoCompletionPort
mov ebx, eax
mov eax, esi
call fcn.004793cc
mov dword [esi + 0x70], ebx
mov eax, esi
call fcn.00479560
xor eax, eax
mov dword [esi + 0x8c], eax
lea eax, [esi + 0x90]
xor ecx, ecx
mov edx, 0x1000
call fcn.004039bc
push 0
lea eax, [esi + 0x74]
push eax
lea eax, [esi + 0x8c]
push eax
mov eax, dword [esi + 0x88]
push eax
cmp byte [esi + 0x6c], 1
cmc
sbb eax, eax
push eax
push 0x1000
lea eax, [esi + 0x90]
push eax
mov eax, dword [esi + 0x44]
push eax
call sub.kernel32.dll_ReadDirectoryChangesW
cmp eax, 1
sbb ebx, ebx
inc ebx
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x497040
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x49709a
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.00497030
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.00494c88
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.004947a0
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4970a1
lea eax, [ebp - 4]
call fcn.004052a8
ret
Function at 0x49fa50
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
xor ecx, ecx
mov edx, 0x40
call fcn.004039bc
ret

Function at 0x49fe3c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe8
push ebx
xor edx, edx
mov dword [ebp - 0x418], edx
mov dword [ebp - 0x414], edx
mov dword [ebp - 0x410], edx
mov dword [ebp - 0x40c], edx
mov dword [ebp - 0x408], edx
mov dword [ebp - 0x3f0], edx
mov dword [ebp - 0x3f4], edx
mov dword [ebp - 0x3f8], eax
xor eax, eax
push ebp
push 0x4a00b3
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x3f4]
mov eax, 0x4a00c8
call fcn.0049fca4
lea eax, [ebp - 0x3f0]
call fcn.004052a8
lea eax, [ebp - 0x3fc]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 0x3f4]
call fcn.00405738
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4a0074
xor eax, eax
push ebp
push 0x4a006d
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0x3e9
mov dword [ebp - 0x404], ebx
mov dword [ebp - 0x400], 7
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x3e9]
push eax
lea eax, [ebp - 0x400]
push eax
push 0
lea edx, [ebp - 0x408]
mov eax, 0x4a0108
call fcn.0049fca4
mov eax, dword [ebp - 0x408]
call fcn.00405738
push eax
mov eax, dword [ebp - 0x3fc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x49ff3f
push ebp
mov eax, 0x4a0134
call fcn.0049fd94
pop ecx
mov dword [ebp - 0x404], ebx
mov dword [ebp - 0x400], 1
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x3e9]
push eax
lea eax, [ebp - 0x400]
push eax
push 0
lea edx, [ebp - 0x40c]
mov eax, 0x4a0140
call fcn.0049fca4
mov eax, dword [ebp - 0x40c]
call fcn.00405738
push eax
mov eax, dword [ebp - 0x3fc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x49ffc9
push dword [ebp - 0x3f0]
push 0x4a0168
lea eax, [ebp - 0x410]
lea edx, [ebp - 0x3e9]
mov ecx, 0x3e9
call fcn.00405518
push dword [ebp - 0x410]
lea eax, [ebp - 0x3f0]
mov edx, 3
call fcn.0040563c
mov dword [ebp - 0x404], ebx
mov dword [ebp - 0x400], 1
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x3e9]
push eax
lea eax, [ebp - 0x400]
push eax
push 0
lea edx, [ebp - 0x414]
mov eax, 0x4a0174
call fcn.0049fca4
mov eax, dword [ebp - 0x414]
call fcn.00405738
push eax
mov eax, dword [ebp - 0x3fc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4a0053
push dword [ebp - 0x3f0]
push 0x4a0168
lea eax, [ebp - 0x418]
lea edx, [ebp - 0x3e9]
mov ecx, 0x3e9
call fcn.00405518
push dword [ebp - 0x418]
lea eax, [ebp - 0x3f0]
mov edx, 3
call fcn.0040563c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a0074
mov eax, dword [ebp - 0x3fc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x3f8]
mov edx, dword [ebp - 0x3f0]
call fcn.004052fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a00ba
lea eax, [ebp - 0x418]
mov edx, 5
call fcn.004052cc
lea eax, [ebp - 0x3f4]
mov edx, 2
call fcn.004052cc
ret
Function at 0x4a5034
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe28
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x1d4], edx
mov dword [ebp - 0x1d8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405728
xor eax, eax
push ebp
push 0x4a516f
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x4a513f
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
call fcn.00405738
mov ebx, eax
push ebx
call sub.kernel32.dll_DeleteFileA
mov eax, dword [ebp - 4]
call fcn.0040a444
test al, al
jne 0x4a50af
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push ebx
call sub.kernel32.dll_CreateFileA_1
push eax
call sub.kernel32.dll_CloseHandle_1
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1d0]
call fcn.00403754
lea eax, [ebp - 0x1d0]
call fcn.004034f0
call fcn.004030e8
push dword [0x53cd3c]
push 0x4a5188
push dword [0x53cd40]
push 0x4a5188
push dword [0x53cd44]
lea eax, [ebp - 0x1d8]
mov edx, 5
call fcn.0040563c
mov eax, dword [ebp - 0x1d8]
lea edx, [ebp - 0x1d4]
call fcn.004aa4e0
mov edx, dword [ebp - 0x1d4]
lea eax, [ebp - 0x1d0]
call fcn.00405a58
call fcn.00403e10
call fcn.004030e8
lea eax, [ebp - 0x1d0]
call fcn.0040381c
call fcn.004030e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a5149
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a5176
lea eax, [ebp - 0x1d8]
mov edx, 2
call fcn.004052cc
lea eax, [ebp - 4]
call fcn.004052a8
ret
Function at 0x4a632c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405728
lea edi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x4a6494
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 2
call fcn.004a54d4
mov esi, eax
mov dword [edi], 0x128
mov edx, edi
mov eax, esi
call fcn.004a54f4
mov ebx, eax
jmp 0x4a6466
lea eax, [ebp - 0x138]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00405518
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.0040a660
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.00409748
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.00409748
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.004056d0
je 0x4a6446
lea eax, [ebp - 0x144]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00405518
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.00409748
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.00409748
mov edx, dword [ebp - 0x148]
pop eax
call fcn.004056d0
jne 0x4a645b
push 0
mov eax, dword [edi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov edx, edi
mov eax, esi
call fcn.004a5514
mov ebx, eax
test ebx, ebx
jne 0x4a63a7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a649b
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.004052cc
lea eax, [ebp - 4]
call fcn.004052a8
ret
Function at 0x4a6843
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 4], eax
test ebx, ebx
je 0x4a689d
mov eax, ebx
add eax, dword [eax + 0x3c]
mov edi, dword [eax + 0x78]
add edi, ebx
xor esi, esi
jmp 0x4a6898
mov eax, dword [edi + 0x20]
lea edx, [ebx + eax]
mov eax, dword [edx + esi*4]
add eax, ebx
push dword [ebp + 0xc]
push eax
call sub.kernel32.dll_lstrcmpA
test eax, eax
jne 0x4a6897
mov edx, dword [edi + 0x24]
lea ecx, [ebx + edx]
mov ax, word [ecx + esi*2]
movzx edx, ax
mov ecx, dword [edi + 0x1c]
lea eax, [ebx + ecx]
mov eax, dword [eax + edx*4]
add eax, ebx
mov dword [ebp - 4], eax
inc esi
cmp esi, dword [edi + 0x18]
jb 0x4a6864
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x4a75b0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405728
xor eax, eax
push ebp
push 0x4a768a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov ecx, 0x4a76a0
mov edx, dword [ebp - 4]
call fcn.004055c0
mov eax, dword [ebp - 8]
call fcn.00405738
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 6
ja case.0x4a75fa.0
jmp dword [eax*4 + 0x4a7601]
mov eax, ebx
mov edx, 0x4a76ac
call fcn.004052fc
jmp 0x4a766f
mov eax, ebx
mov edx, 0x4a76c0
call fcn.004052fc
jmp 0x4a766f
mov eax, ebx
mov edx, 0x4a76d0
call fcn.004052fc
jmp 0x4a766f
mov eax, ebx
mov edx, 0x4a76e4
call fcn.004052fc
jmp 0x4a766f
mov eax, ebx
mov edx, 0x4a76f4
call fcn.004052fc
jmp 0x4a766f
mov eax, ebx
mov edx, 0x4a7708
call fcn.004052fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a7691
lea eax, [ebp - 8]
mov edx, 2
call fcn.004052cc
ret
Function at 0x4ab4b8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor edx, edx
mov dword [ebp - 0x10c], edx
mov dword [ebp - 0x108], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4ab589
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x104]
push eax
push 0xff
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 4]
lea eax, [ebp - 0x104]
call fcn.0040aabc
lea ecx, [ebp - 0x108]
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004367cc
mov eax, dword [ebp - 0x108]
mov edx, 0x4ab5a0
call fcn.004056d0
je 0x4ab559
lea ecx, [ebp - 0x10c]
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004367cc
mov eax, dword [ebp - 0x10c]
mov edx, 0x4ab5ac
call fcn.004056d0
je 0x4ab559
lea eax, [ebp - 4]
mov edx, 0x4ab5ac
call fcn.00405574
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004052fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ab590
lea eax, [ebp - 0x10c]
mov edx, 2
call fcn.004052cc
lea eax, [ebp - 4]
call fcn.004052a8
ret
Function at 0x533d84
Capabilities:
Encode data using base64
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp + 4], ecx
mov dword [esp], edx
mov edi, 0x66933c
lea ecx, [esp + 8]
mov dword [ecx], eax
mov eax, dword [esp]
mov dword [esp + 0xc], eax
xor ebx, ebx
xor esi, esi
mov eax, dword [esp + 4]
mov ebp, 3
cdq
idiv ebp
test eax, eax
jle 0x533e48
mov edx, dword [ecx]
movzx edx, byte [edx + ebx]
shr edx, 2
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx]
and dl, 3
and edx, 0xff
shl edx, 4
mov ebp, dword [ecx]
movzx ebp, byte [ebp + ebx + 1]
shr ebp, 4
add edx, ebp
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 1], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx + 1]
and dl, 0xf
and edx, 0xff
shl edx, 2
mov ebp, dword [ecx]
movzx ebp, byte [ebp + ebx + 2]
shr ebp, 6
add edx, ebp
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 2], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx + 2]
and dl, 0x3f
and edx, 0xff
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 3], dl
add esi, 4
add ebx, 3
dec eax
jne 0x533dbc
mov eax, dword [esp + 4]
mov ebp, 3
cdq
idiv ebp
dec edx
je 0x533e5f
dec edx
je 0x533ea0
jmp 0x533efd
mov eax, dword [ecx]
movzx eax, byte [eax + ebx]
shr eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi], al
mov eax, dword [ecx]
mov al, byte [eax + ebx]
and al, 3
and eax, 0xff
shl eax, 4
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 1], al
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 2], 0x3d
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 3], 0x3d
jmp 0x533efd
mov eax, dword [ecx]
movzx eax, byte [eax + ebx]
shr eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi], al
mov eax, dword [ecx]
mov al, byte [eax + ebx]
and al, 3
and eax, 0xff
shl eax, 4
mov edx, dword [ecx]
movzx edx, byte [edx + ebx + 1]
shr edx, 4
add eax, edx
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 1], al
mov eax, dword [ecx]
mov al, byte [eax + ebx + 1]
and al, 0xf
and eax, 0xff
shl eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 2], al
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 3], 0x3d
mov eax, dword [esp + 4]
add eax, 2
mov ecx, 3
cdq
idiv ecx
shl eax, 2
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret