joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ba464
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4ba586
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004b9890
xor eax, eax
push ebp
push 0x4ba569
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4ba4b4
call fcn.00403884
jmp 0x4ba570
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4ba553
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x4ba553
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xfffe
call fcn.00403268
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x4ba553
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040b6b8
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x4ba5a0
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x5a7b10]
mov dl, 1
mov eax, dword [0x4b8544]
call fcn.0040c108
call fcn.004037e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ba570
mov eax, dword [ebp - 4]
call fcn.004b989c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ba58d
lea eax, [ebp - 0x28]
call fcn.00403d98
ret
Function at 0x4ba5ec
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4ba736
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004b9890
xor eax, eax
push ebp
push 0x4ba719
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x4ba651
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x4ba651
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x4ba703
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4ba664
call fcn.00403884
jmp 0x4ba720
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4ba703
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x4ba703
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xfffe
call fcn.00403268
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x4ba703
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040b6b8
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x4ba750
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x5a7b10]
mov dl, 1
mov eax, dword [0x4b8544]
call fcn.0040c108
call fcn.004037e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ba720
mov eax, dword [ebp - 4]
call fcn.004b989c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ba73d
lea eax, [ebp - 0x28]
call fcn.00403d98
ret
Function at 0x4d0354
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffd4
mov edi, eax
xor esi, esi
xor ebx, ebx
push 0x11
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
je 0x4d0372
or esi, 1
push 0x10
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
je 0x4d0384
or esi, 2
push 1
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
je 0x4d0396
or ebx, 1
push 2
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
je 0x4d03a8
or ebx, 2
push 4
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
je 0x4d03ba
or ebx, 4
mov eax, ebx
call fcn.00541c40
push eax
call fcn.00406fc8
mov eax, dword [eax + 0x54]
pop edx
call fcn.00546970
mov eax, esi
call fcn.00541c40
push eax
call fcn.00406fc8
mov eax, dword [eax + 0x54]
pop edx
call fcn.00546970
lea eax, [esp + 0x1c]
push eax
call sub.user32.dll_GetCursorPos
mov eax, dword [edi + 0x3ac]
mov eax, dword [eax + 0x14]
call fcn.0052e168
mov ebx, eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x94]
lea ecx, [esp + 0x24]
lea edx, [esp + 0x1c]
call fcn.00447ff8
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], eax
push esp
lea eax, [esp + 0x14]
push eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x98]
mov ax, word [esp + 8]
push eax
push dword [esp + 8]
push dword [esp + 8]
mov ax, word [esp + 0x24]
push eax
push dword [esp + 0x24]
push dword [esp + 0x24]
call fcn.0053a6e0
push eax
call fcn.00406fc8
mov eax, dword [eax + 0x54]
pop edx
call fcn.00546970
push 3
call fcn.00406fc8
mov ecx, dword [eax + 0x54]
mov dl, 1
mov eax, dword [0x534dd4]
call fcn.00535038
add esp, 0x2c
pop edi
pop esi
pop ebx
ret
Function at 0x4e9128
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x4e9130
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x4e928f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
mov edx, 0x4e92a4
call fcn.00403dec
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.00402a5c
mov eax, dword [ebp - 0x14]
call fcn.00404208
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x4e9274
mov eax, ebx
call fcn.004027ac
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4e926d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00402a5c
mov eax, dword [ebp - 0x18]
call fcn.00404208
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
jne 0x4e91c2
call fcn.00403884
jmp 0x4e9274
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
push 0x4e92a8
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
jne 0x4e91e6
call fcn.00403884
jmp 0x4e9274
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.00407cf0
movzx eax, ax
lea edx, [ebp - 0x1c]
call fcn.0040958c
push dword [ebp - 0x1c]
push 0x4e92b4
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
movzx eax, word [eax + 8]
call fcn.0040958c
push dword [ebp - 0x20]
push 0x4e92b4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00407cf0
movzx eax, ax
lea edx, [ebp - 0x24]
call fcn.0040958c
push dword [ebp - 0x24]
push 0x4e92b4
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0xc]
call fcn.0040958c
push dword [ebp - 0x28]
mov eax, esi
mov edx, 7
call fcn.00404104
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e9274
mov eax, dword [ebp - 0xc]
call fcn.004027c4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e9296
lea eax, [ebp - 0x28]
mov edx, 6
call fcn.00403dbc
ret

Function at 0x514adc
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add eax, 0x10
push eax
call sub.kernel32.dll_EnterCriticalSection_1
xor eax, eax
push ebp
push 0x514b47
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 8]
dec ebx
cmp ebx, 0
jl 0x514b25
push 0
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.005141bc
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_TerminateThread
dec ebx
cmp ebx, 0xffffffff
jne 0x514b0a
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x514b4e
mov eax, dword [ebp - 4]
add eax, 0x10
push eax
call sub.kernel32.dll_LeaveCriticalSection_1
ret
Function at 0x53111c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef4
mov ebx, edx
push esp
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00403fd8
add esp, 0x10c
pop ebx
ret

Function at 0x59f098
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
test dl, dl
je 0x59f0b2
add esp, 0xfffffff0
call fcn.0040338c
mov edi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x59f238
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, ebx
call fcn.0040305c
test edi, edi
je 0x59f127
call fcn.0059f00c
xor esi, esi
jmp 0x59f0de
inc esi
mov eax, dword [0x5a7530]
call fcn.004056ac
cmp esi, eax
jg 0x59f103
lea eax, [esi + esi*2]
mov edx, dword [0x5a7530]
mov edx, dword [edx + eax*4]
mov eax, edi
call fcn.00409378
test eax, eax
jne 0x59f0dd
mov eax, dword [0x5a7530]
call fcn.004056ac
cmp esi, eax
jle 0x59f127
mov ecx, 0x59f26c
mov dl, 1
mov eax, dword [0x408580]
call fcn.0040bf04
call fcn.004037e4
xor eax, eax
mov dword [ebx + 0x10], eax
xor eax, eax
mov dword [ebx + 0x14], eax
xor eax, eax
mov dword [ebx + 0x18], eax
mov edx, 0x40
mov eax, dword [0x5b79d8]
call fcn.00409700
mov dword [ebx + 0x10], eax
cmp dword [ebx + 0x10], 0
jg 0x59f175
lea eax, [ebp - 0x10]
mov ecx, dword [0x5b79d8]
mov edx, 0x59f28c
call fcn.00404090
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x408580]
call fcn.0040bf04
call fcn.004037e4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebx + 0x10]
push eax
call sub.kernel32.dll_GetFileSize_1
mov dword [ebp - 8], eax
push 0
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0x8000002
push 0
mov eax, dword [ebx + 0x10]
push eax
call sub.kernel32.dll_CreateFileMappingA
mov dword [ebx + 0x14], eax
cmp dword [ebx + 0x14], 0
jne 0x59f1be
mov ecx, 0x59f2a8
mov dl, 1
mov eax, dword [0x408580]
call fcn.0040bf04
call fcn.004037e4
push 0
push 0
push 0
push 4
mov eax, dword [ebx + 0x14]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [ebx + 0x18], eax
cmp dword [ebx + 0x18], 0
jne 0x59f1ee
mov ecx, 0x59f2c4
mov dl, 1
mov eax, dword [0x408580]
call fcn.0040bf04
call fcn.004037e4
test edi, edi
jne 0x59f201
mov ecx, dword [ebp - 8]
mov edx, dword [ebx + 0x18]
mov eax, ebx
call fcn.004135d0
jmp 0x59f222
lea eax, [esi + esi*2]
mov edx, dword [0x5a7530]
mov ecx, dword [edx + eax*4 + 8]
mov edx, dword [0x5a7530]
mov edx, dword [edx + eax*4 + 4]
add edx, dword [ebx + 0x18]
mov eax, ebx
call fcn.004135d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59f23f
lea eax, [ebp - 0x10]
call fcn.00403d98
ret
Function at 0x401ec0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x42d070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x401f0a
lea eax, [ebp - 0x250]
mov dword [ebp - 0x250], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x401f1d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00406c8a
mov esp, ebp
pop ebp
ret
push str.AdobeIPCBroker.exe
lea ecx, [ebp - 0x1c]
xor ebx, ebx
call fcn.00402680
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004025b0
test eax, eax
je 0x401f55
lea eax, [ebp - 0x250]
push eax
push esi
call edi
test eax, eax
jne 0x401f32
jmp 0x401f5b
mov ebx, dword [ebp - 0x248]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
cmp ecx, 8
jb 0x401f77
inc ecx
push ecx
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x1c]
call fcn.004047b0
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406c8a
mov esp, ebp
pop ebp
ret

Function at 0x401f90
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push esi
push 0
push str.com.adobe.AdobeIPCBroker.window
push 0
push 0xfffffffffffffffd
call dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
je 0x401fc5
push 0
push 0
push 0x12
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00401ec0
test eax, eax
je 0x401ffa
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x401fef
push 1
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00401ec0
neg eax
pop esi
sbb eax, eax
and eax, 2
mov esp, ebp
pop ebp
ret
Function at 0x4020b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41e53b
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x42d070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x1c
xor eax, eax
mov dword [ebp - 0x21c], 7
push str.AdobeIPCBrokerCustomHook.log
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
call fcn.00403a10
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x402186
add eax, dword [ebp - 0x220]
cmp eax, 0x104
jae 0x402186
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x402186
lea edx, [ebp - 0x218]
lea ecx, [ebp - 0x248]
call fcn.00402010
push eax
mov ecx, esi
call fcn.00402750
lea ecx, [ebp - 0x248]
call fcn.004026e0
mov bl, 1
jmp 0x402188
xor bl, bl
mov ecx, dword [ebp - 0x21c]
cmp ecx, 8
jb 0x4021a6
inc ecx
push ecx
push dword [ebp - 0x230]
lea ecx, [ebp - 0x230]
call fcn.004047b0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00406c8a
mov esp, ebp
pop ebp
ret
Function at 0x4042d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41e6a8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x42d070]
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 ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x4044b4
cmp byte [ebx + 0x3d], 0
je 0x4044b4
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x404329
xor al, al
jmp 0x4044b6
push 0
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00403c40
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
cmp edx, 0x10
lea esi, [ebp - 0x28]
cmovae esi, eax
cmovae edi, eax
mov edx, dword [ecx]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x40439a
sub eax, 1
je 0x40439e
mov edx, dword [ebp - 0x14]
sub eax, 2
mov eax, dword [ebp - 0x28]
je 0x404466
xor bl, bl
jmp 0x404468
mov byte [ebx + 0x3d], 0
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x28]
cmp edx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae ecx, eax
sub esi, ecx
je 0x4043d6
push dword [ebx + 0x4c]
cmp edx, 0x10
lea ecx, [ebp - 0x28]
push esi
cmovae ecx, eax
push 1
push ecx
call fcn.0040c950
mov edx, dword [ebp - 0x14]
add esp, 0x10
cmp esi, eax
mov eax, dword [ebp - 0x28]
jne 0x404393
cmp byte [ebx + 0x3d], 0
je 0x404466
test esi, esi
jne 0x404354
mov edi, dword [ebp - 0x18]
or ecx, 0xffffffff
sub ecx, edi
cmp ecx, 8
jbe 0x40445c
lea esi, [edi + 8]
cmp esi, 0xfffffffe
ja 0x40445c
cmp edx, esi
jae 0x404444
push edi
push esi
lea ecx, [ebp - 0x28]
call fcn.00404d60
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
test esi, esi
je 0x404354
cmp edx, 0x10
lea ecx, [ebp - 0x28]
xorps xmm0, xmm0
cmovae ecx, eax
mov eax, dword [ebp - 0x18]
movq qword [ecx + eax], xmm0
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x18], esi
cmovae eax, dword [ebp - 0x28]
mov byte [eax + esi], 0
jmp 0x40434e
test esi, esi
jne 0x404419
cmp edx, 0x10
mov dword [ebp - 0x18], esi
lea ecx, [ebp - 0x28]
cmovae ecx, eax
mov byte [ecx], 0
jmp 0x40434e
push str.string_too_long
call fcn.00406027
mov bl, 1
cmp edx, 0x10
jb 0x4044b0
lea ecx, [edx + 1]
cmp ecx, 0x1000
jb 0x4044a7
test byte [ebp - 0x28], 0x1f
je 0x404483
call fcn.0040c4ba
mov ecx, dword [eax - 4]
cmp ecx, eax
jb 0x40448f
call fcn.0040c4ba
sub eax, ecx
cmp eax, 4
jae 0x40449b
call fcn.0040c4ba
cmp eax, 0x23
jbe 0x4044a5
call fcn.0040c4ba
mov eax, ecx
push eax
call fcn.00407177
add esp, 4
mov al, bl
jmp 0x4044b6
mov al, 1
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.00406c8a
mov esp, ebp
pop ebp
ret
Function at 0x404980
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41e4d6
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x42d070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00406edc
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.00405d0d
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x412591
Capabilities:
Read file on windows

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

Function at 0x417d8a
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00417a4a
Function at 0x4010f6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x58ee50]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov byte [ebp - 0x38], 0x48
mov byte [ebp - 0x37], 0x65
mov byte [ebp - 0x36], 0x61
mov byte [ebp - 0x35], 0x70
mov byte [ebp - 0x34], 0x46
mov byte [ebp - 0x33], 0x72
mov byte [ebp - 0x32], 0x65
mov byte [ebp - 0x31], 0x65
mov byte [ebp - 0x30], 0
mov byte [ebp - 0x2c], 0x4b
mov byte [ebp - 0x2b], 0x45
mov byte [ebp - 0x2a], 0x52
mov byte [ebp - 0x29], 0x4e
mov byte [ebp - 0x28], 0x45
mov byte [ebp - 0x27], 0x4c
mov byte [ebp - 0x26], 0x33
mov byte [ebp - 0x25], 0x32
mov byte [ebp - 0x24], 0x2e
mov byte [ebp - 0x23], 0x64
mov byte [ebp - 0x22], 0x6c
mov byte [ebp - 0x21], 0x6c
mov byte [ebp - 0x20], 0
push 0x56bdd8
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x18], eax
inc eax
dec ebx
dec eax
inc ebx
mov byte [ebp - 0x14], 0x47
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0x12], 0x74
mov byte [ebp - 0x11], 0x50
mov byte [ebp - 0x10], 0x72
mov byte [ebp - 0xf], 0x6f
mov byte [ebp - 0xe], 0x63
mov byte [ebp - 0xd], 0x65
mov byte [ebp - 0xc], 0x73
mov byte [ebp - 0xb], 0x73
mov byte [ebp - 0xa], 0x48
mov byte [ebp - 9], 0x65
mov byte [ebp - 8], 0x61
mov byte [ebp - 7], 0x70
mov byte [ebp - 6], 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1c], eax
nop
nop
nop
nop
inc eax
dec ebx
dec eax
inc ebx
push dword [ebp + 8]
push 0
call dword [ebp - 0x1c]
push eax
call dword [ebp - 0x18]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051b26c
leave
ret
Function at 0x4013e2
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x58ee50]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov byte [ebp - 0x48], 0x4b
mov byte [ebp - 0x47], 0x45
mov byte [ebp - 0x46], 0x52
mov byte [ebp - 0x45], 0x4e
mov byte [ebp - 0x44], 0x45
mov byte [ebp - 0x43], 0x4c
mov byte [ebp - 0x42], 0x33
mov byte [ebp - 0x41], 0x32
mov byte [ebp - 0x40], 0x2e
mov byte [ebp - 0x3f], 0x64
mov byte [ebp - 0x3e], 0x6c
mov byte [ebp - 0x3d], 0x6c
mov byte [ebp - 0x3c], 0
mov byte [ebp - 0x20], 0x48
mov byte [ebp - 0x1f], 0x65
mov byte [ebp - 0x1e], 0x61
mov byte [ebp - 0x1d], 0x70
mov byte [ebp - 0x1c], 0x52
mov byte [ebp - 0x1b], 0x65
mov byte [ebp - 0x1a], 0x41
mov byte [ebp - 0x19], 0x6c
mov byte [ebp - 0x18], 0x6c
mov byte [ebp - 0x17], 0x6f
mov byte [ebp - 0x16], 0x63
mov byte [ebp - 0x15], 0
push 0x56bdf4
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x28], eax
inc eax
dec ebx
dec eax
inc ebx
nop
nop
nop
nop
nop
mov byte [ebp - 0x34], 0x48
mov byte [ebp - 0x33], 0x65
mov byte [ebp - 0x32], 0x61
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x41
mov byte [ebp - 0x2f], 0x6c
mov byte [ebp - 0x2e], 0x6c
mov byte [ebp - 0x2d], 0x6f
mov byte [ebp - 0x2c], 0x63
mov byte [ebp - 0x2b], 0
push 0x56be00
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x38], eax
nop
nop
nop
inc eax
dec ebx
dec eax
inc ebx
nop
nop
nop
nop
nop
mov byte [ebp - 0x14], 0x47
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0x12], 0x74
mov byte [ebp - 0x11], 0x50
mov byte [ebp - 0x10], 0x72
mov byte [ebp - 0xf], 0x6f
mov byte [ebp - 0xe], 0x63
mov byte [ebp - 0xd], 0x65
mov byte [ebp - 0xc], 0x73
mov byte [ebp - 0xb], 0x73
mov byte [ebp - 0xa], 0x48
mov byte [ebp - 9], 0x65
mov byte [ebp - 8], 0x61
mov byte [ebp - 7], 0x70
mov byte [ebp - 6], 0
push str.GetProcessHeap
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x24], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + 8], 0
je 0x401549
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
call dword [ebp - 0x24]
push eax
call dword [ebp - 0x28]
jmp 0x401555
push dword [ebp + 0xc]
push 0
call dword [ebp - 0x24]
push eax
call dword [ebp - 0x38]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051b26c
leave
ret