joyce8/EMBER2024-capa huggingface dataset:
Function at 0x52e348
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x52e4f3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c], 0
jne 0x52e4d4
mov dl, 1
mov eax, dword [0x43fb98]
call fcn.0044e070
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
add eax, 0x40
call fcn.0040900c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x52e4c3
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0049a108
test al, al
je 0x52e4b6
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x52e504
lea eax, [ebp - 0x394]
call fcn.00423d2c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x52e4b6
xor eax, eax
push ebp
push 0x52e4af
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x52e574
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x52e498
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00409f38
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x44]
jne 0x52e498
mov eax, dword [ebp - 4]
add eax, 0x40
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00409f38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52e4b6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x52e3b9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov byte [eax + 0x39], 0
mov dl, 1
call fcn.0044dfac
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x3c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52e4fa
lea eax, [ebp - 0x3a0]
call fcn.0040900c
ret

Function at 0x52f0ac
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x689388]
cmp byte [eax + 0xb1], 0
jne 0x52f11e
cmp dword [0x6893a8], 0
jne 0x52f0de
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x67b7a4]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x6893a8], eax
cmp dword [0x6893a4], 0
jne 0x52f0f9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x6893a4], eax
cmp dword [0x6893ac], 0
jne 0x52f11e
push esp
push 0
push 0
mov eax, dword [0x67b7a0]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x6893ac], eax
pop edx
ret
Function at 0x52f434
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x52f44b
add esp, 0xfffffff0
call fcn.0040799c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004569e4
mov eax, dword [0x6819b4]
cmp byte [eax], 0
jne 0x52f478
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x184], al
mov eax, dword [0x682508]
cmp word [eax + 2], 0
jne 0x52f492
mov eax, dword [0x682508]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005315c0
mov eax, dword [0x682918]
cmp word [eax + 2], 0
jne 0x52f4ac
mov eax, dword [0x682918]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005317c4
mov byte [ebx + 0x39], 0
mov dl, 1
mov eax, dword [0x4653b0]
call fcn.0046b628
mov esi, eax
mov dword [ebx + 0x40], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x531d3c
mov dl, 1
mov eax, dword [0x43c424]
call fcn.00407360
mov dword [ebx + 0x94], eax
mov dl, 1
mov eax, dword [0x43c424]
call fcn.00407360
mov dword [ebx + 0xb4], eax
xor eax, eax
mov dword [ebx + 0x64], eax
xor eax, eax
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x60], 0xff000018
mov dword [ebx + 0x7c], 0x1f4
mov byte [ebx + 0x80], 1
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x78], 0x9c4
mov byte [ebx + 0x8c], 0
mov byte [ebx + 0xa9], 1
mov byte [ebx + 0xc0], 1
mov dl, 1
mov eax, dword [0x469f08]
call fcn.00474ecc
mov esi, eax
mov dword [ebx + 0xa4], esi
push 0x52f690
mov eax, dword [0x6820c0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0047535c
mov eax, dword [ebx + 0xa4]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x532024
mov dl, 1
mov eax, dword [0x43c424]
call fcn.00407360
mov dword [ebx + 0x9c], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x6820c0]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00423b14
test eax, eax
je 0x52f5c0
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00423848
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00423af8
test eax, eax
je 0x52f5d8
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x90]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00409f38
push ebx
push 0x530fa4
call fcn.005250ac
mov dword [ebx + 0x180], eax
mov byte [ebx + 0xd4], 0
mov eax, dword [0x6819b4]
cmp byte [eax], 0
jne 0x52f629
mov eax, ebx
call fcn.0052f850
mov byte [ebx + 0x5d], 1
mov byte [ebx + 0x5e], 1
mov byte [ebx + 0x5f], 1
mov byte [ebx + 0xaa], 1
mov byte [ebx + 0xd5], 0
mov byte [ebx + 0xe0], 0
xor eax, eax
mov dword [ebx + 0xd8], eax
mov byte [ebx + 0xd7], 0
xor eax, eax
mov dword [ebx + 0xac], eax
mov eax, ebx
call fcn.00532258
mov eax, ebx
call fcn.00532e84
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x52f686
call fcn.004079f4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x52fb78
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x178]
test eax, eax
je 0x52fc1a
cmp dword [ebx + 0x98], 0
jne 0x52fc14
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x52fab4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x94]
cmp dword [eax + 8], 0
je 0x52fc14
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_GetWindowLongW
test al, 8
je 0x52fbda
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x94]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x52fc14
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x94]
call fcn.00449a00
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x52fbe9
inc dword [ebx + 0x98]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x689388]
cmp dword [eax + 0x178], 0
je 0x52ff9d
test bl, bl
jne 0x52feeb
cmp dword [esi + 0xa0], 0
jne 0x52fee0
mov eax, esi
call fcn.00532cd4
push eax
push 0x52fd44
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x48], 0
je 0x52feb1
mov eax, dword [0x689388]
cmp byte [eax + 0xd7], 0
je 0x52feb1
mov eax, dword [esi + 0xdc]
call fcn.0040b23c
mov edi, eax
cmp edi, 0
jl 0x52feb1
push 0
mov eax, dword [esi + 0xdc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x52fe9a
mov eax, dword [esi + 0x9c]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x52fee0
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x9c]
call fcn.00449a00
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x52fec0
inc dword [esi + 0xa0]
jmp 0x52ff9d
cmp dword [esi + 0xa0], 0
jle 0x52ff9d
dec dword [esi + 0xa0]
cmp dword [esi + 0xa0], 0
jne 0x52ff9d
cmp dword [esi + 0x48], 0
je 0x52ff48
mov eax, dword [0x689388]
cmp byte [eax + 0xd7], 0
je 0x52ff48
mov eax, dword [esi + 0xdc]
call fcn.0040b23c
mov edi, eax
cmp edi, 0
jl 0x52ff48
push 5
mov eax, dword [esi + 0xdc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x52ff31
mov eax, dword [esi + 0x9c]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x52ff77
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x9c]
call fcn.00449a00
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x52ff57
mov eax, dword [esi + 0x9c]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xdc]
mov ecx, 1
mov edx, dword [0x521a70]
call fcn.0040b3e8
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x530bf0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xb0], 0
je 0x530c5b
cmp byte [ebx + 0xd7], 0
jne 0x530c5b
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x178]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00409194
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x530c48
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x530c68
mov eax, esi
mov edx, dword [ebx + 0x90]
call fcn.004093ec
jmp 0x530c68
mov eax, esi
mov edx, dword [ebx + 0x90]
call fcn.004093ec
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x532440
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x88]
test esi, esi
je 0x5324ae
mov eax, esi
call fcn.00494138
test al, al
je 0x5324ae
mov eax, dword [ebx + 0x88]
call fcn.00493d8c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5324ae
mov eax, dword [ebx + 0x88]
mov edx, dword [eax]
call dword [edx + 0x108]
test al, al
je 0x5324a2
push 0
mov eax, dword [ebx + 0x88]
call fcn.00493d8c
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x88]
call fcn.0048abb8
jmp 0x5324ae
mov cl, 1
mov edx, dword [ebx + 0x78]
mov eax, ebx
call fcn.00532278
pop esi
pop ebx
ret
Function at 0x53e9a8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x21c], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x53eb1c
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x53eaf7
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebp - 0x216], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x216]
push eax
lea eax, [ebp - 0x21c]
mov edx, esi
call fcn.00409ea4
lea eax, [ebp - 0x21c]
mov edx, 0x53eb38
call fcn.0040a090
mov eax, dword [ebp - 0x21c]
call fcn.00409e7c
push eax
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x53ea68
lea eax, [ebp - 0x216]
call fcn.00409528
mov ecx, eax
lea edx, [ebp - 0x216]
mov eax, ebx
call fcn.00409194
jmp 0x53ea6f
mov eax, ebx
call fcn.0040900c
cmp si, 0x61
jae 0x53ea91
lea edx, [ebp - 0x220]
mov eax, dword [ebx]
call fcn.00429fcc
mov edx, dword [ebp - 0x220]
mov eax, ebx
call fcn.004093ec
jmp 0x53eaab
lea edx, [ebp - 0x224]
mov eax, dword [ebx]
call fcn.00429fb8
mov edx, dword [ebp - 0x224]
mov eax, ebx
call fcn.004093ec
lea eax, [ebp - 0x228]
push eax
mov eax, dword [ebx]
mov dword [ebp - 0x230], eax
mov byte [ebp - 0x22c], 0x11
lea edx, [ebp - 0x230]
xor ecx, ecx
mov eax, 0x53eb4c
call fcn.00423df0
mov edx, dword [ebp - 0x228]
mov eax, ebx
call fcn.004093ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53eafe
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x545f38
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, ebx
call fcn.00545274
cmp word [ebx + 0xfa], 0
je 0x545f6f
push esi
movzx eax, byte [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, ebx
mov eax, dword [ebx + 0xfc]
call dword [ebx + 0xf8]
mov eax, ebx
call fcn.00545c98
mov eax, esi
mov dword [ebx + 0x8c], eax
test eax, eax
jbe 0x545fdd
lea eax, [ebx + 0x5c]
xor ecx, ecx
mov edx, 0x14
call fcn.00405278
mov eax, dword [ebx + 0x40]
mov dword [ebx + 0x6c], eax
mov eax, dword [ebx + 0x40]
push eax
call sub.kernel32.dll_ResetEvent
cmp eax, 1
sbb edx, edx
inc edx
mov eax, ebx
call fcn.00544acc
lea eax, [ebx + 0x5c]
push eax
lea eax, [ebp - 8]
push eax
push esi
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebx + 0x3c]
push eax
call sub.kernel32.dll_ReadFile_1
cmp eax, 1
sbb edx, edx
inc edx
mov eax, ebx
call fcn.00544acc
cmp byte [ebp + 8], 0
je 0x545fdd
mov eax, ebx
call fcn.00545c98
cmp word [ebx + 0xda], 0
je 0x545ffe
push esi
movzx eax, byte [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, ebx
mov eax, dword [ebx + 0xdc]
call dword [ebx + 0xd8]
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x546008
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, ebx
call fcn.00545274
cmp word [ebx + 0x102], 0
je 0x54603f
push esi
movzx eax, byte [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, ebx
mov eax, dword [ebx + 0x104]
call dword [ebx + pe_nt_image_headers32]
mov eax, ebx
call fcn.00545d08
mov eax, esi
mov dword [ebx + 0x90], eax
test eax, eax
jbe 0x5460b0
lea eax, [ebx + 0x70]
xor ecx, ecx
mov edx, 0x14
call fcn.00405278
mov eax, dword [ebx + 0x44]
mov dword [ebx + 0x80], eax
mov eax, dword [ebx + 0x44]
push eax
call sub.kernel32.dll_ResetEvent
cmp eax, 1
sbb edx, edx
inc edx
mov eax, ebx
call fcn.00544acc
lea eax, [ebx + 0x70]
push eax
lea eax, [ebp - 8]
push eax
push esi
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebx + 0x3c]
push eax
call sub.kernel32.dll_WriteFile_1
cmp eax, 1
sbb edx, edx
inc edx
mov eax, ebx
call fcn.00544acc
cmp byte [ebp + 8], 0
je 0x5460b0
mov eax, ebx
call fcn.00545d08
cmp word [ebx + 0xe2], 0
je 0x5460d1
push esi
movzx eax, byte [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, ebx
mov eax, dword [ebx + 0xe4]
call dword [ebx + 0xe0]
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4

Function at 0x558b60
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov edi, edx
mov ecx, eax
xor eax, eax
push ebp
push 0x558bce
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ecx
mov ebx, 0x64
cdq
idiv ebx
mov ebx, eax
imul eax, ebx, 0x64
mov esi, ecx
sub esi, eax
lea edx, [ebp - 4]
mov eax, esi
call fcn.00558ae0
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
lea edx, [ebx + 0x30]
call fcn.00409ea4
mov edx, dword [ebp - 8]
mov eax, edi
pop ecx
call fcn.0040a0e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x558bd5
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040906c
ret
Function at 0x57645c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x118], edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 0x10c], edx
mov dword [ebp - 0x108], edx
mov edi, eax
xor eax, eax
push ebp
push 0x5766da
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
cmp dword [edi + 0xc0], 0
jne 0x5766b1
mov eax, dword [edi + 0x38]
test eax, eax
je 0x5764b5
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x5764d5
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x5764c5
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x5764d5
mov eax, edi
call fcn.00576790
jmp 0x5766b1
cmp dword [edi + 0xc4], 0
jne 0x576524
lea eax, [ebp - 0x108]
mov edx, dword [edi + 0x38]
mov ecx, 0
call fcn.00409c2c
mov edx, dword [ebp - 0x108]
lea eax, [ebp - 0x101]
call fcn.004238f0
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x741220]
call fcn.00575efc
push eax
call sub.user32.dll_DdeCreateStringHandleA
mov dword [edi + 0xc4], eax
cmp dword [edi + 0xc8], 0
jne 0x576573
lea eax, [ebp - 0x10c]
mov edx, dword [edi + 0x3c]
mov ecx, 0
call fcn.00409c2c
mov edx, dword [ebp - 0x10c]
lea eax, [ebp - 0x101]
call fcn.004238f0
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x741220]
call fcn.00575efc
push eax
call sub.user32.dll_DdeCreateStringHandleA
mov dword [edi + 0xc8], eax
mov ecx, dword [edi + 0xc8]
mov edx, dword [edi + 0xc4]
mov eax, edi
call fcn.005767d0
mov ebx, eax
test bl, bl
jne 0x576666
mov eax, dword [edi + 0x38]
test eax, eax
je 0x57659c
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x5765b6
mov eax, dword [edi + 0xb8]
test eax, eax
je 0x5765af
sub eax, 4
mov eax, dword [eax]
test eax, eax
sete al
jmp 0x5765b8
xor eax, eax
test al, al
jne 0x576666
mov eax, dword [edi + 0xb8]
test eax, eax
je 0x5765cf
sub eax, 4
mov eax, dword [eax]
test eax, eax
je 0x5765fc
lea eax, [ebp - 0x110]
mov edx, dword [edi + 0xb8]
mov ecx, 0
call fcn.00409c2c
mov edx, dword [ebp - 0x110]
lea eax, [ebp - 0x101]
call fcn.004238f0
jmp 0x57663e
push dword [edi + 0x38]
push 0x5766f8
push dword [edi + 0x3c]
lea eax, [ebp - 0x118]
mov edx, 3
call fcn.0040a170
mov edx, dword [ebp - 0x118]
lea eax, [ebp - 0x114]
mov ecx, 0
call fcn.00409c2c
mov edx, dword [ebp - 0x114]
lea eax, [ebp - 0x101]
call fcn.004238f0
push 7
lea eax, [ebp - 0x101]
push eax
call sub.kernel32.dll_WinExec
cmp eax, 0x20
jb 0x576666
mov ecx, dword [edi + 0xc8]
mov edx, dword [edi + 0xc4]
mov eax, edi
call fcn.005767d0
mov ebx, eax
test bl, bl
jne 0x576673
mov eax, edi
call fcn.00576790
jmp 0x5766b1
mov eax, dword [edi + 0x5c]
test eax, eax
je 0x576682
mov dword [edi + 0xa4], eax
jmp 0x57668c
mov dword [edi + 0xa4], 1
mov eax, edi
call fcn.00576854
test al, al
je 0x5766b1
mov eax, edi
mov si, 0xffef
call fcn.004076ec
xor ecx, ecx
xor edx, edx
mov eax, edi
call fcn.00576d38
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5766e1
lea eax, [ebp - 0x118]
call fcn.0040900c
lea eax, [ebp - 0x114]
mov edx, 4
call fcn.0040909c
ret
Function at 0x596be4
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
xor edx, edx
mov dword [ebp - 0x24], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x596c6a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1e]
xor ecx, ecx
mov edx, 0x1e
call fcn.00405278
mov eax, dword [0x682818]
mov eax, dword [eax]
mov eax, dword [eax + 0x178]
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], 3
lea eax, [ebp - 0x24]
mov ecx, 0x596c84
mov edx, ebx
call fcn.0040a0e8
mov eax, dword [ebp - 0x24]
call fcn.00409e7c
mov dword [ebp - 0x16], eax
mov word [ebp - 0xe], 0x14
lea eax, [ebp - 0x1e]
push eax
call sub.shell32.dll_SHFileOperationW
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x596c71
lea eax, [ebp - 0x24]
call fcn.0040900c
ret

Function at 0x5aace0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x5aae08
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, word [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.005aabcc
mov eax, dword [esi]
call fcn.0040b234
add eax, 0x28
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x41c1b0]
call fcn.0040b3e8
add esp, 4
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1c]
mov ecx, 0x1c
call fcn.00404844
mov ebx, 0x1c
mov eax, dword [ebp - 4]
lea edx, [eax + ebx]
lea eax, [ebp - 0x2c]
mov ecx, 0x1c
call fcn.00404844
add ebx, 0x1c
mov eax, dword [esi]
call fcn.0040b234
mov dword [ebp - 0xc], eax
mov eax, dword [0x682d9c]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
lea edx, [ebp - 4]
mov ecx, ebx
call fcn.0059a270
add ebx, 4
mov eax, dword [ebp - 4]
add eax, ebx
xor ecx, ecx
mov edx, 3
call fcn.00405278
add ebx, 3
mov eax, dword [ebp - 4]
mov byte [eax + ebx], 0x3a
inc ebx
mov eax, dword [esi]
mov byte [eax + 2], 0
mov eax, dword [esi]
mov byte [eax + 3], 0
push ebx
mov eax, dword [esi]
call fcn.0040b234
push eax
lea ecx, [ebp - 4]
mov eax, dword [esi]
xor edx, edx
call fcn.0059a24c
mov edx, dword [ebp - 4]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x98]
mov ebx, eax
mov eax, ebx
call fcn.0059a004
mov edx, esi
mov ecx, dword [ebp + 0x10]
call fcn.0059a268
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5aae0f
lea eax, [ebp - 4]
mov edx, dword [0x41c1b0]
call fcn.0040b3f4
ret

Function at 0x5d6ba4
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
mov eax, ebx
mov edx, 0x10
call fcn.0040a010
mov eax, dword [ebx]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
test eax, eax
je 0x5d6bc9
sub eax, 4
mov eax, dword [eax]
mov dword [esp], eax
push esp
mov eax, dword [ebx]
call fcn.00409e7c
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x5d6be8
mov eax, ebx
mov edx, dword [esp]
call fcn.0040a010
pop ecx
pop edx
pop ebx
ret
Function at 0x62962c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf4
mov ebx, edx
push esp
push 0
push 0
push eax
push 0
call sub.SHFolder.dll_SHGetFolderPathW
test eax, 0x80000000
sete al
neg al
sbb eax, eax
test eax, eax
je 0x629662
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.00409f38
jmp 0x629669
mov eax, ebx
call fcn.0040900c
add esp, 0x20c
pop ebx
ret