joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4062b0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x413645
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x41c014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x41ce44
mov dword [ebp - 0x10], 0x41ce44
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp + 0xc]
mov dword [ebp - 4], 0
push eax
push ecx
push dword [ebp + 8]
xor edx, edx
xor ecx, ecx
call fcn.00405da0
add esp, 8
lea ecx, [ebp - 0x1c]
lea esi, [eax + 1]
push esi
call fcn.004064d0
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 1
push eax
push ecx
push dword [ebp + 8]
mov edx, esi
mov esi, dword [ebp - 0x1c]
mov ecx, esi
call fcn.00405da0
mov eax, dword fs:[0x2c]
add esp, 0xc
mov ebx, dword [eax]
mov edi, dword [ebx + 4]
test edi, edi
jne 0x40636a
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputws]
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 0xc
push eax
push 0xa
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputwc]
add esp, 8
jmp 0x406378
push esi
mov ecx, edi
call dword [0x4151f8]
call edi
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [0x41ce60], 0
je 0x4063c1
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov edi, dword [0x41ce5c]
add esp, 4
cmp edi, eax
jne 0x4063a6
cmp dword [ebx + 4], 0
je 0x4063c1
mov edx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push ecx
mov ecx, edi
call fcn.00405d70
push edi
push 0xa
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputwc]
add esp, 0x10
test esi, esi
je 0x4063f7
mov ecx, dword [ebp - 0x14]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x4063ed
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4063ed
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.0040fe50
add esp, 8
push 0x41ce44
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
Function at 0x406ed0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x41c014]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ecx + 0x14], 8
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 0x10c], ecx
mov ebx, ecx
jb 0x406efe
mov ebx, dword [ecx]
mov dword [ebp - 0x10c], ebx
mov esi, dword [ecx + 0x10]
cmp edi, esi
jae 0x406f6b
push 0x100
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.004116d0
add esp, 0xc
mov ecx, str.0123456789
mov edx, 0x100
movzx eax, word [ecx]
cmp ax, dx
jae 0x406f96
movzx eax, al
add ecx, 2
mov byte [ebp + eax - 0x108], 1
cmp ecx, 0x4177b4
jne 0x406f25
lea edx, [ebx + esi*2]
lea ecx, [ebx + edi*2]
cmp ecx, edx
jae 0x406f6b
mov esi, 0x100
movzx eax, word [ecx]
cmp ax, si
jae 0x406f7f
cmp byte [ebp + eax - 0x108], 0
je 0x406f7f
add ecx, 2
cmp ecx, edx
jb 0x406f52
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040fe42
mov esp, ebp
pop ebp
sub ecx, ebx
sar ecx, 1
mov eax, ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040fe42
mov esp, ebp
pop ebp
mov eax, dword [ebp - 0x10c]
lea ebx, [ebx + esi*2]
lea edx, [eax + edi*2]
cmp edx, ebx
jae 0x406fef
nop word [eax + eax]
movzx esi, word [edx]
mov ecx, 0xa
mov eax, str.0123456789
nop dword [eax]
cmp word [eax], si
je 0x406fe8
add eax, 2
sub ecx, 1
jne 0x406fc0
sub edx, dword [ebp - 0x10c]
sar edx, 1
mov eax, edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040fe42
mov esp, ebp
pop ebp
ret
add edx, 2
cmp edx, ebx
jb 0x406fb0
mov ecx, dword [ebp - 4]
or edx, 0xffffffff
pop edi
pop esi
xor ecx, ebp
mov eax, edx
pop ebx
call fcn.0040fe42
mov esp, ebp
pop ebp
Function at 0x40c830
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
push edi
mov edi, ecx
mov eax, esi
mov dword [esi + 0x10], 0
cmp dword [esi + 0x14], 8
jb 0x40c84c
mov eax, dword [esi]
xor ecx, ecx
push ecx
push ecx
push edi
mov word [eax], cx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ebx, eax
test ebx, ebx
jne 0x40c897
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xcb
je 0x40c88e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x40c87f
movzx eax, ax
or eax, 0x80070000
push eax
push edi
push str.Failed_to_read_environment_variable___s___HRESULT:_0x_X
call fcn.004062b0
add esp, 0xc
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00410108
add esp, 4
push ebx
mov ebx, eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x40c8e9
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x40c8d1
movzx eax, ax
or eax, 0x80070000
push eax
push edi
push str.Failed_to_read_environment_variable___s___HRESULT:_0x_X
call fcn.004062b0
add esp, 0xc
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
mov ecx, ebx
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40c8f0
sub ecx, edx
sar ecx, 1
push ecx
push ebx
mov ecx, esi
call fcn.00404c90
push ebx
call fcn.00410103
add esp, 4
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41dd20
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov dword [0x6e3668], 0
mov dword [0x6db7d0], 1
mov eax, dword [ebp + 8]
mov ecx, dword [0x6e366c]
mov dword [eax], ecx
mov dword [0x6e03e0], 0
mov dword [0x6e03d8], 1
call fcn.0041e370
mov dword [0x6e0338], 0
mov edx, dword [ebp - 4]
add edx, 0xc
push 0x1dc4
push edx
push 0x6e08d8
call fcn.00523090
add esp, 0xc
mov eax, dword [ebp - 4]
cmp dword [eax + 0x22e4], 0
je 0x41ddaa
push 5
mov ecx, dword [0x6e3660]
push ecx
call dword [0x59b758]
mov edx, dword [ebp - 4]
mov dword [edx + 0x22e4], 0
mov eax, 1
mov esp, ebp
pop ebp
ret 4

Function at 0x41ddc0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
call fcn.0042aa30
add esp, 4
cmp dword [ebp + 0xc], 0
je 0x41dde4
push 9
mov eax, dword [0x6e3660]
push eax
call dword [0x59b758]
jmp 0x41de09
push 0
mov ecx, dword [0x6e3660]
push ecx
call dword [0x59b758]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x41de09
mov edx, dword [ebp + 8]
mov dword [edx + 0x22e0], 1
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x449330
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x449371
push 0
call dword [0x59b754]
mov eax, dword [0x6e3660]
push eax
call dword [0x59b75c]
push 5
mov ecx, dword [0x6e3660]
push ecx
call dword [0x59b758]
mov edx, dword [0x6e3660]
push edx
call dword [0x59b720]
push 5
mov eax, dword [0x6e270c]
push eax
call dword [0x59b758]
cmp dword [0x6e2704], 0
je 0x449397
push 5
mov ecx, dword [0x6e2704]
push ecx
call dword [0x59b758]
cmp dword [ebp - 4], 0
je 0x4493ae
push 0
push 0
mov edx, dword [0x6e270c]
push edx
call dword [0x59b848]
mov eax, dword [0x6e270c]
push eax
call dword [0x59b7d0]
mov cl, byte [0x6e7562]
push ecx
call fcn.004430f0
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x45bd00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], 1
mov eax, dword [ebp + 8]
mov word [eax], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 4]
push ecx
call dword [0x59b6fc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x45bd3d
mov dword [ebp - 8], 0
cmp dword [ebp - 8], 0
je 0x45bda5
lea edx, [ebp - 0xc]
push edx
push 5
push 0
call dword [0x59b700]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x45bd61
mov dword [ebp - 8], 0
cmp dword [ebp - 8], 0
je 0x45bd78
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [0x6e0084]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ecx + 0x14]
call eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [edx + 8]
call ecx
cmp dword [ebp - 0x10], 0
jge 0x45bda5
mov dword [ebp - 8], 0
cmp dword [0x6e3bd8], 0
je 0x45bdb5
mov dword [ebp - 8], 0
cmp dword [ebp - 8], 0
jne 0x45bdca
mov edx, dword [ebp + 8]
push edx
push 0x104
call dword [0x6e0018]
mov eax, dword [ebp + 8]
push eax
call fcn.00522fd0
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x45bde8
mov ecx, dword [ebp - 0x14]
sub ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
movzx ecx, word [eax + edx*2]
cmp ecx, 0x5c
jne 0x45be03
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov word [eax + edx*2], 0
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [0x6dff9c]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4778d0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0
push 0x8000
push 0x6e273c
call fcn.0052e810
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4778f8
jmp 0x477a10
mov eax, dword [0x6e3660]
push eax
call dword [0x59b828]
test eax, eax
je 0x477a04
mov dword [ebp - 0xc], 0
call dword [0x59b824]
push 2
push 0
mov ecx, dword [ebp - 4]
push ecx
call fcn.00536360
add esp, 0xc
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
add edx, 0xa
push edx
push 0x2002
call dword [0x59b488]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
call dword [0x59b4ac]
mov dword [ebp - 0x10], eax
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
call fcn.00536360
add esp, 0xc
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.0052d5a0
add esp, 0xc
mov edx, dword [ebp - 0x10]
add edx, dword [ebp - 8]
mov byte [edx], 0
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 8]
mov byte [eax + 1], 0
cmp dword [ebp - 8], 2
jl 0x4779e8
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx]
cmp edx, 0xff
jne 0x4779e8
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 1]
cmp ecx, 0xfe
jne 0x4779e8
mov edx, dword [ebp - 8]
sub edx, 2
mov dword [ebp - 8], edx
push 0
push 2
mov eax, dword [ebp - 4]
push eax
call fcn.00536360
add esp, 0xc
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.0052d5a0
add esp, 0xc
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 8]
mov byte [ecx], 0
mov edx, dword [ebp - 0x10]
add edx, dword [ebp - 8]
mov byte [edx + 1], 0
mov eax, dword [ebp - 0xc]
push eax
call dword [0x59b494]
mov ecx, dword [ebp - 0xc]
push ecx
push 0xd
call dword [0x59b820]
call dword [0x59b81c]
mov edx, dword [ebp - 4]
push edx
call fcn.0052d2c0
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x47fce0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x6de5c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0xc], 0
jne 0x47fcfe
jmp 0x47fdd2
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov byte [ebp - 0xd], 0x8b
mov dword [ebp - 4], 0
jmp 0x47fd1a
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x100
jge 0x47fd3f
movsx edx, byte [ebp - 0xd]
mov eax, dword [ebp - 8]
movsx ecx, byte [eax]
xor ecx, edx
mov edx, dword [ebp - 8]
mov byte [edx], cl
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
jmp 0x47fd11
push 0x1000
push 0
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [ebp + 0xc]
shl edx, 3
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.00446db0
add esp, 0x18
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov byte [ebp - 0xd], al
mov ecx, dword [ebp + 0x10]
push ecx
movsx edx, byte [ebp - 0xd]
push edx
call fcn.00530360
add esp, 8
mov eax, dword [ebp - 0xc]
and eax, 0x800000ff
jns 0x47fda5
dec eax
or eax, 0xffffff00
inc eax
mov byte [ebp - 0xd], al
mov ecx, dword [ebp + 0x10]
push ecx
movsx edx, byte [ebp - 0xd]
push edx
call fcn.00530360
add esp, 8
mov eax, dword [ebp + 0x10]
push eax
push 1
mov ecx, dword [ebp - 0xc]
push ecx
lea edx, [ebp - 0x218]
push edx
call fcn.00530b60
add esp, 0x10
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00523400
mov esp, ebp
pop ebp
ret

Function at 0x4814a0
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x4814bc
xor eax, eax
jmp 0x48151c
cmp dword [ebp + 0xc], 0
jne 0x4814c6
xor eax, eax
jmp 0x48151c
mov ecx, dword [ebp - 0x10]
call fcn.004816f0
mov dword [ebp - 8], eax
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], ecx
push 0
mov edx, dword [ebp - 4]
push edx
push 0
push 1
mov eax, dword [ebp - 8]
push eax
push 0x20000001
push 0
mov cx, word [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
push eax
call dword [0x59b030]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 8], 0
je 0x481519
mov ecx, dword [ebp - 8]
push ecx
push 0
call dword [0x59b424]
push eax
call dword [0x59b428]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 8
Function at 0x4e0890
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
cmp dword [eax + 0x2c], 0
sete cl
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 0
jne 0x4e08c2
push 0x214
push 0x5ef298
call fcn.004c6b20
test eax, eax
je 0x4e08c2
int3
cmp dword [ebp - 0x20], 0
jne 0x4e08cd
call fcn.004a6d80
xor eax, eax
jne 0x4e0899
push 0x1c
push 0
lea ecx, [ebp - 0x1c]
push ecx
call fcn.005238a0
add esp, 0xc
call fcn.004e1b80
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], edx
push 0
push 0
push 1
push 0
call dword [0x6dffa0]
mov dword [ebp - 0xc], eax
push 0
push 0
push 1
push 0
call dword [0x6dffa0]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0xc], 0
je 0x4e0923
cmp dword [ebp - 8], 0
jne 0x4e0977
push str.Warning:_CreateEvent_failed_in_CWinThread::CreateThread._n
push 0
mov ecx, 0x6e5fdc
call fcn.0040dc30
push eax
push 0x21f
push 0x5ef2d0
lea ecx, [ebp - 0x28]
call fcn.0040db90
push eax
call fcn.004876a0
add esp, 0x10
cmp dword [ebp - 0xc], 0
je 0x4e0960
mov ecx, dword [ebp - 0xc]
push ecx
call dword [0x59b47c]
cmp dword [ebp - 8], 0
je 0x4e0970
mov edx, dword [ebp - 8]
push edx
call dword [0x59b47c]
xor eax, eax
jmp 0x4e0a92
mov eax, dword [ebp - 0x2c]
add eax, 0x30
push eax
mov ecx, dword [ebp + 8]
or ecx, 4
push ecx
lea edx, [ebp - 0x1c]
push edx
push 0x4df9f0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.0053adf0
add esp, 0x18
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x2c], 0
jne 0x4e09b4
xor eax, eax
jmp 0x4e0a92
mov ecx, dword [ebp - 0x2c]
call fcn.004a06d0
cmp eax, 0xffffffff
jne 0x4e09d5
push 0x22e
push 0x5ef344
call fcn.004c6b20
test eax, eax
je 0x4e09d5
int3
push 0xffffffffffffffff
mov edx, dword [ebp - 0xc]
push edx
call dword [0x59b450]
test eax, eax
je 0x4e09f9
push 0x22f
push 0x5ef37c
call fcn.004c6b20
test eax, eax
je 0x4e09f9
int3
mov ecx, dword [ebp - 0xc]
push ecx
call dword [0x59b47c]
mov edx, dword [ebp + 8]
and edx, 4
je 0x4e0a31
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [0x59b3f8]
cmp eax, 0xffffffff
jne 0x4e0a31
push 0x234
push 0x5ef3b4
call fcn.004c6b20
test eax, eax
je 0x4e0a31
int3
cmp dword [ebp - 4], 0
je 0x4e0a83
push 0xffffffffffffffff
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [0x59b450]
test eax, eax
je 0x4e0a5e
push 0x239
push 0x5ef3ec
call fcn.004c6b20
test eax, eax
je 0x4e0a5e
int3
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [0x59b47c]
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x2c], 0
mov eax, dword [ebp - 8]
push eax
call dword [0x59b47c]
xor eax, eax
jmp 0x4e0a92
mov ecx, dword [ebp - 8]
push ecx
call dword [0x59b458]
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x507400
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
push 5
call dword [0x59b798]
push eax
call dword [0x59b834]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x5074fb
mov eax, dword [ebp - 4]
push eax
call fcn.00488630
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x5074e7
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x20]
cmp edx, dword [ebp - 4]
je 0x5074e7
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x20]
push edx
call fcn.00507020
test eax, eax
je 0x5074e7
push 0xfffffffffffffff0
mov eax, dword [ebp - 4]
push eax
call dword [0x6e0120]
mov dword [ebp - 0xc], eax
cmp dword [ebp + 8], 0
jne 0x5074a5
mov ecx, dword [ebp - 0xc]
and ecx, 0x18000000
cmp ecx, 0x10000000
jne 0x5074a5
push 0
mov edx, dword [ebp - 4]
push edx
call dword [0x59b758]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x3c]
or ecx, 2
mov edx, dword [ebp - 8]
mov dword [edx + 0x3c], ecx
jmp 0x5074e7
cmp dword [ebp + 8], 0
je 0x5074e7
mov eax, dword [ebp - 0xc]
and eax, 0x18000000
jne 0x5074e7
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x3c]
and edx, 2
je 0x5074e7
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xb4], 0
jne 0x5074e7
push 4
mov ecx, dword [ebp - 4]
push ecx
call dword [0x59b758]
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x3c]
and eax, 0xfffffffd
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x3c], eax
push 2
mov edx, dword [ebp - 4]
push edx
call dword [0x59b834]
mov dword [ebp - 4], eax
jmp 0x50741b
mov esp, ebp
pop ebp
ret 4
Function at 0x44c6a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov esp, 0x44fffffc
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.0044be2b
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0044bde0
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.0044be2b
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0044bde0
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.0044be2b
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0044bde0
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.0044be1b
movsd dword es:[edi], dword [esi]
mov al, byte [0xa58031a8]
int3
Function at 0x401040
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov ebx, 0x43c1c4
mov dword [ebp - 8], 0
mov eax, dword [ebx]
inc eax
push eax
call fcn.0041f974
mov edi, eax
xor eax, eax
add esp, 4
mov dword [ebp - 4], edi
cmp dword [ebx], eax
jbe 0x401082
lea esp, [esp]
mov ecx, dword [ebx + 4]
mov dl, byte [ecx + eax]
xor dl, byte [ebx - 4]
inc eax
mov byte [eax + edi - 1], dl
cmp eax, dword [ebx]
jb 0x401070
mov byte [eax + edi], 0
mov ecx, dword [0x443b7c]
mov edx, dword [0x443b78]
lea eax, [ebp - 4]
cmp eax, ecx
jae 0x401109
cmp edx, eax
ja 0x401109
mov esi, dword [0x443b80]
mov edi, eax
sub edi, edx
sar edi, 2
cmp ecx, esi
jne 0x4010fe
mov eax, ecx
sub eax, edx
sar eax, 2
cmp eax, 0x3ffffffe
ja 0x40118c
sub esi, edx
inc eax
sar esi, 2
cmp eax, esi
jbe 0x4010fe
mov ecx, esi
mov edx, ecx
shr edx, 1
mov esi, 0x3fffffff
sub esi, edx
cmp esi, ecx
jae 0x4010df
xor ecx, ecx
jmp 0x4010e1
add ecx, edx
cmp ecx, eax
jae 0x4010e7
mov ecx, eax
push ecx
mov esi, 0x443b78
call fcn.00401200
mov ecx, dword [0x443b7c]
mov edx, dword [0x443b78]
test ecx, ecx
je 0x401165
mov edx, dword [edx + edi*4]
mov dword [ecx], edx
jmp 0x40115f
mov esi, dword [0x443b80]
cmp ecx, esi
jne 0x401159
mov eax, ecx
sub eax, edx
sar eax, 2
cmp eax, 0x3ffffffe
ja 0x40118c
sub esi, edx
mov edx, esi
inc eax
sar edx, 2
cmp eax, edx
jbe 0x401159
mov ecx, edx
shr edx, 1
mov esi, 0x3fffffff
sub esi, edx
cmp esi, ecx
jae 0x401140
xor ecx, ecx
jmp 0x401142
add ecx, edx
cmp ecx, eax
jae 0x401148
mov ecx, eax
push ecx
mov esi, 0x443b78
call fcn.00401200
mov ecx, dword [0x443b7c]
test ecx, ecx
je 0x401165
mov dword [ecx], edi
mov ecx, dword [0x443b7c]
mov eax, dword [ebp - 8]
add eax, 0xc
add ecx, 4
add ebx, 0xc
mov dword [0x443b7c], ecx
mov dword [ebp - 8], eax
cmp eax, 0x1e0
jb 0x401055
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.vector_T__too_long
call fcn.0041f8b9
int3

Function at 0x401840
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0
call fcn.00420d8a
push eax
call fcn.00420c56
mov edi, dword [0x43800c]
mov ebx, dword [0x438010]
add esp, 8
xor esi, esi
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000001
call edi
mov eax, dword [ebp - 4]
test eax, eax
je 0x4018a4
mov ecx, dword [esi*4 + 0x443b88]
push 0
push 0
push 0
push 0
push ecx
push eax
call ebx
test eax, eax
je 0x4018c9
mov edx, dword [ebp - 4]
push edx
call dword [0x438008]
inc esi
cmp esi, 8
jl 0x401865
call fcn.00420c68
and eax, 0x80000007
jns 0x4018bb
dec eax
or eax, 0xfffffff8
inc eax
mov eax, dword [eax*4 + 0x443b88]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
push eax
call dword [0x438008]
mov eax, dword [esi*4 + 0x443b88]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402050
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push 0x43c448
push eax
xor bl, bl
call fcn.004217a9
mov esi, eax
add esp, 8
test esi, esi
je 0x4020cf
mov ecx, dword [ebp + 8]
push edi
push 0x43c44c
push ecx
call fcn.004217a9
mov edi, eax
add esp, 8
test edi, edi
je 0x4020c5
push esi
call fcn.00420ed7
add esp, 4
test eax, eax
jne 0x4020ba
push esi
push 1
lea edx, [ebp - 1]
push 1
push edx
call fcn.00421b00
push edi
push 1
lea eax, [ebp - 1]
push 1
push eax
call fcn.00421ce9
push esi
call fcn.00420ed7
add esp, 0x24
test eax, eax
je 0x402091
push edi
mov bl, 1
call fcn.004220cf
add esp, 4
push esi
call fcn.004220cf
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret