joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5446f0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [0x5995b0]
push ebx
xor eax, eax
push esi
test edx, edx
push edi
jbe 0x544718
mov ecx, 0x5965b0
mov esi, dword [ebp + 8]
mov edi, dword [ecx]
cmp esi, edi
je 0x544735
inc eax
add ecx, 8
cmp eax, edx
jb 0x544707
mov eax, dword [ebp + 0xc]
push 0x800
push 0x598a44
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x544741
pop edi
pop esi
pop ebx
pop ebp
ret
mov eax, dword [eax*8 + 0x5965b4]
pop edi
pop esi
pop ebx
pop ebp
ret
push 0
push 0x10000080
push 3
push 0
push 1
push 0x80000000
push 0x598a44
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x544772
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call ebx
test esi, esi
jne 0x54479f
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
push 0
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, eax
test ecx, ecx
jne 0x5447c9
call ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push esi
call edi
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
mov edx, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov eax, dword [edx + 0x18]
add eax, ecx
mov ecx, dword [0x5995b0]
mov dword [ecx*8 + 0x5965b0], edx
mov dword [ecx*8 + 0x5965b4], eax
inc ecx
mov dword [0x5995b0], ecx
pop ebp
ret
Function at 0x545580
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
xor ecx, ecx
mov eax, dword [esi + 0xc]
add eax, edx
cmp byte [eax], 0xcc
jne 0x5455a8
mov edx, dword [esi + 8]
cmp ecx, edx
jae 0x5455a8
mov bl, byte [eax + 1]
inc eax
inc ecx
cmp bl, 0xcc
je 0x54559a
mov edx, dword [esi + 8]
pop esi
cmp ecx, edx
pop ebx
jb 0x5455b5
xor eax, eax
pop ebp
ret
mov dl, byte [eax]
xor ecx, ecx
cmp dl, 0xe9
sete cl
mov eax, ecx
pop ebp
ret
Function at 0x54e1a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [eax + 0x12c]
push edi
mov ebx, dword [esi]
and ecx, 2
je 0x54e202
mov edx, dword [esi + 8]
cmp edx, 5
jl 0x54e202
cmp edx, 0x11
jg 0x54e202
mov ecx, dword [ebp + 0x10]
xor edi, edi
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
test eax, eax
jle 0x54e2df
lea esi, [ebx + ecx - 1]
mov cl, byte [edi + ebx]
mov dl, cl
xor dl, byte [esi]
xor cl, dl
mov byte [edi + ebx], cl
mov cl, byte [esi]
xor cl, dl
inc edi
mov byte [esi], cl
dec esi
cmp edi, eax
jl 0x54e1e1
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
movsx edx, byte [eax + 0x120]
mov eax, dword [esi + 8]
mov dword [ebp + 0xc], edx
cmp eax, 0x19
jl 0x54e219
cmp eax, 0x1f
jle 0x54e22b
cmp eax, 0x28
jl 0x54e2df
cmp eax, 0x30
jg 0x54e2df
test ecx, ecx
je 0x54e262
test edx, edx
jne 0x54e262
mov ecx, dword [ebp + 0x10]
xor edi, edi
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
test eax, eax
jle 0x54e262
lea esi, [ebx + ecx - 1]
mov cl, byte [edi + ebx]
mov dl, byte [esi]
xor dl, cl
xor cl, dl
mov byte [edi + ebx], cl
mov cl, byte [esi]
xor cl, dl
inc edi
mov byte [esi], cl
dec esi
cmp edi, eax
jl 0x54e247
mov esi, dword [ebp + 8]
mov eax, dword [esi + 8]
mov eax, dword [eax*4 + 0x5793e4]
cmp eax, 0xffffffff
jne 0x54e27d
pop edi
pop esi
mov eax, 0x4000005f
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0xc]
lea edx, [ecx + eax*4]
add eax, edx
mov eax, dword [eax*4 + 0x5794a8]
test eax, eax
je 0x54e2df
lea ecx, [ebp - 0x10]
push ecx
push 0
push ebx
call eax
add esp, 0xc
cmp eax, 1
je 0x54e2ad
pop edi
pop esi
mov eax, 0x4000005f
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
cmp eax, 4
jne 0x54e2c8
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
pop edi
pop esi
mov eax, dword [edx]
pop ebx
mov dword [eax], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret
cmp eax, 8
jne 0x54e2df
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax]
mov dword [edx], ecx
mov edx, dword [eax]
mov eax, dword [ebp - 0xc]
mov dword [edx + 4], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x550150
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
shl eax, 1
movsx edx, byte [eax + 0x5797f0]
cmp ecx, edx
jle 0x550177
movsx eax, byte [eax + 0x5797f1]
mov dword [esi + 0xc], eax
cmp ecx, 2
jne 0x550189
cmp dword [esi + 0x1c], 1
jne 0x550189
mov dword [esi + 0x10], 3
mov eax, dword [esi + 0xc]
test eax, eax
je 0x5502e4
movsx ecx, byte [eax*2 + 0x5797f0]
cmp ecx, dword [esi + 0x10]
jne 0x5502e4
cmp eax, 0x1c
jne 0x5501cc
mov ecx, dword [esi + 0x18]
mov eax, ecx
and eax, 0x80000003
jns 0x5501bb
dec eax
or eax, 0xfffffffc
inc eax
je 0x5501c6
mov edx, 4
sub edx, eax
mov eax, edx
lea ebx, [ecx + eax + 4]
jmp 0x5501d1
mov ebx, 0xc
mov ecx, dword [esi + 4]
mov eax, dword [esi + 8]
mov edi, ecx
mov dword [ebp - 4], ebx
lea edx, [eax + ebx]
shl edi, 9
cmp edx, edi
jle 0x550224
mov edx, dword [esi]
sub edx, eax
lea eax, [ecx + 1]
mov dword [esi + 4], eax
lea ecx, [ebp + 8]
shl eax, 9
push ecx
push eax
mov dword [ebp + 8], edx
call fcn.0053b7f0
add esp, 8
test eax, eax
jne 0x5502e9
mov eax, dword [esi + 8]
mov ecx, dword [ebp + 8]
add ecx, eax
mov dword [esi], ecx
mov ecx, dword [esi + 4]
mov edi, ecx
lea edx, [eax + ebx]
shl edi, 9
cmp edx, edi
jg 0x5501e6
mov eax, dword [esi + 0xc]
cmp eax, 0x1c
je 0x55028f
mov ecx, dword [esi]
and eax, 0xff
pop edi
mov edx, dword [ecx]
and edx, 0xffff0000
xor edx, eax
mov dword [ecx], edx
mov eax, dword [esi + 0x20]
and eax, 0xff
and edx, 0xff00ffff
shl eax, 0x10
or eax, edx
mov dword [ecx], eax
mov edx, dword [esi + 0x1c]
shl edx, 0x18
and eax, 0xffffff
or edx, eax
mov dword [ecx], edx
mov eax, dword [esi + 0x14]
mov dword [ecx + 4], eax
mov edx, dword [esi + 0x18]
mov dword [ecx + 8], edx
mov ecx, dword [esi]
mov eax, dword [esi + 8]
add ecx, 0xc
add eax, 0xc
mov dword [esi], ecx
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
mov cl, byte [esi + 0xc]
mov byte [eax], cl
mov dx, word [esi + 0x18]
mov word [eax + 2], dx
mov byte [eax + 1], 0
mov edi, dword [esi + 0x14]
lea edx, [eax + 4]
mov eax, dword [esi + 0x18]
xor ecx, ecx
test eax, eax
jle 0x5502c6
mov eax, edx
sub edi, edx
mov bl, byte [edi + eax]
inc ecx
mov byte [eax], bl
mov ebx, dword [esi + 0x18]
inc eax
cmp ecx, ebx
jl 0x5502b5
mov ebx, dword [ebp - 4]
lea eax, [edx + ebx - 4]
mov dword [esi + 0xc], 0
mov dword [esi], eax
mov eax, dword [esi + 8]
add eax, ebx
pop edi
mov dword [esi + 8], eax
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0xc000003e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x551070
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
call fcn.00550ae0
mov eax, dword [0x599834]
mov esi, dword [ebp + 8]
test eax, eax
je 0x551098
test esi, esi
je 0x55108d
mov eax, dword [esi]
jmp 0x55108f
xor eax, eax
push eax
call fcn.0056b4d0
add esp, 4
test esi, esi
je 0x5510a0
mov esi, dword [esi]
jmp 0x5510a2
xor esi, esi
push esi
call fcn.00560b4a
pop esi
nop
nop
nop
nop
nop
nop
nop

Function at 0x551e40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x599834]
push ebx
push esi
xor esi, esi
test eax, eax
push edi
je 0x551f08
mov eax, dword [ebp + 0x20]
cmp eax, 1
je 0x551e8a
cmp eax, 2
je 0x551e8a
mov edi, dword [ebp + 0x18]
test edi, edi
je 0x551e78
cmp eax, 0xfffffffa
jne 0x551e78
mov ebx, dword [ebp + 8]
mov esi, 1
jmp 0x551e95
test eax, eax
jne 0x551e92
mov esi, 1
call fcn.0056b4e0
mov ebx, eax
jmp 0x551e95
pop edi
pop esi
or eax, 0xffffffff
pop ebx
pop ebp
ret
mov ebx, dword [ebp + 0xc]
mov eax, dword [0x599834]
test eax, eax
je 0x551eb8
test edi, edi
je 0x551eb8
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x551eb8
push ebx
call fcn.0056b4d0
push ebx
call fcn.0056b4e0
add esp, 8
test esi, esi
je 0x551f08
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push ebx
push eax
push ecx
call fcn.0056b4d0
mov edi, dword [ebp + 0x14]
mov esi, eax
add esp, 0xc
cmp esi, 0xffffffff
mov dword [edi], esi
jne 0x551ee0
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
push 0
push ebx
push 2
push 0x585ba0
call fcn.0056b4d0
mov edx, dword [ebp + 0xc]
add esp, 0x10
mov byte [esi + edx], 0xa
mov eax, dword [edi]
inc eax
mov dword [edi], eax
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
lea eax, [ebp + 0x20]
push 0
push eax
mov eax, dword [ebp + 8]
push ecx
push edx
push eax
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp + 0x20]
pop edi
mov dword [esi], ecx
pop esi
pop ebx
pop ebp
ret
Function at 0x585140
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x12e000]
push edi
jmp 0x58515a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x585161
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x585150
mov eax, 1
add ebx, ebx
jne 0x585173
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x585184
jne 0x5851a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5851a3
dec eax
add ebx, ebx
jne 0x585190
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x585168
add ebx, ebx
jne 0x58519f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5851f5
xor ecx, ecx
sub eax, 3
jb 0x5851bb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x58522a
sar eax, 1
mov ebp, eax
jmp 0x5851c6
add ebx, ebx
jne 0x5851c6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x585194
inc ecx
add ebx, ebx
jne 0x5851d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x585194
add ebx, ebx
jne 0x5851e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5851d6
jne 0x5851f2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5851d6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x585214
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x585206
jmp 0x585156
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x585214
add edi, ecx
jmp 0x585156
pop esi
mov edi, esi
mov ecx, 0x3ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x585232
cmp byte [edi], 0x11
jne 0x585232
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x585237
lea edi, [esi + 0x17e000]
mov eax, dword [edi]
or eax, eax
je 0x5852af
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2311b4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x231330]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x585264
mov ecx, edi
jns 0x585293
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x231334]
or eax, eax
je 0x5852a9
mov dword [ebx], eax
add ebx, 4
jmp 0x585281
call dword [esi + 0x231344]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x5852e0
cmp al, 0xef
ja 0x5852d3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5852b5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x5852c2
mov ebp, dword [esi + 0x231338]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x585314
sub esp, 0xffffff80
jmp 0x42800a
Function at 0x4013f5
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8dc
mov eax, dword [0x412284]
xor eax, esp
mov dword [esp + 0x8d8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
push edi
push edi
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
mov ebx, eax
lea eax, [esp + 0x10]
push eax
push 0x70
lea eax, [esp + 0x78]
push eax
push 9
push ebx
call dword [sym.imp.KERNEL32.dll_QueryInformationJobObject]
test eax, eax
je 0x40144a
cmp dword [esp + 0x10], 0x70
jne 0x40144a
xor eax, eax
inc eax
jmp 0x40144c
xor eax, eax
push str.Job_information_querying_failed
push eax
call fcn.0040106a
or dword [esp + 0x88], 0x3000
pop ecx
pop ecx
push 0x70
lea eax, [esp + 0x74]
push eax
push 9
push ebx
call dword [sym.imp.KERNEL32.dll_SetInformationJobObject]
push str.Job_information_setting_failed
push eax
call fcn.0040106a
push 0x44
pop esi
push esi
lea eax, [esp + 0x34]
push edi
push eax
call fcn.004071c0
add esp, 0x14
mov dword [esp + 0x28], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 0xfffffffffffffff6
call esi
push eax
lea eax, [esp + 0x64]
call fcn.0040139d
mov dword [esp], str.stdin_duplication_failed
push eax
call fcn.0040106a
pop ecx
pop ecx
push 0xfffffffffffffff5
call esi
push eax
lea eax, [esp + 0x68]
call fcn.0040139d
mov dword [esp], str.stdout_duplication_failed
push eax
call fcn.0040106a
pop ecx
pop ecx
push 0xfffffffffffffff4
call esi
push eax
lea eax, [esp + 0x6c]
call fcn.0040139d
mov dword [esp], str.stderr_duplication_failed
push eax
call fcn.0040106a
pop ecx
pop ecx
push 1
push 0x4013d5
mov dword [esp + 0x5c], 0x100
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x2c]
push eax
push edi
push edi
push edi
push 1
push edi
push edi
push dword [esp + 0x34]
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, edi
jne 0x401564
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov ecx, 0x400
push ecx
lea edx, [esp + 0xe8]
push edx
push ecx
push eax
push edi
push 0x1000
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
lea eax, [esp + 0xe0]
push eax
push dword [esp + 0x18]
push str.Unable_to_create_process_using__ls:__ls
push edi
call fcn.00401000
add esp, 0x10
push dword [esp + 0x18]
mov eax, dword [esp + 0x24]
push ebx
mov dword [0x414568], eax
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push str.Failed_to_get_exit_code_of_process
push eax
call fcn.0040106a
pop ecx
pop ecx
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x401ad5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x412284]
jne 0x401adf
repz ret
jmp fcn.0040320d
Function at 0x40b7e7
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x412284]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004053f6
and dword [ebp - 0x14], 0
cmp dword [0x413b48], 0
mov dword [ebp - 0x18], eax
jne 0x40b89a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40b942
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40b942
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x413b48], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x413b4c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x413b50], eax
call edi
push eax
call esi
mov dword [0x413b58], eax
test eax, eax
je 0x40b89a
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x413b54], eax
mov eax, dword [0x413b54]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40b8f3
cmp dword [0x413b58], ecx
je 0x40b8f3
push eax
call esi
push dword [0x413b58]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40b8f3
test ebx, ebx
je 0x40b8f3
call edi
test eax, eax
je 0x40b8ea
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40b8ea
test byte [ebp - 8], 1
jne 0x40b8f3
or dword [ebp + 0x10], 0x200000
jmp 0x40b926
mov eax, dword [0x413b4c]
cmp eax, dword [ebp - 0x18]
je 0x40b926
push eax
call esi
test eax, eax
je 0x40b926
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40b926
mov eax, dword [0x413b50]
cmp eax, dword [ebp - 0x18]
je 0x40b926
push eax
call esi
test eax, eax
je 0x40b926
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x413b48]
call esi
test eax, eax
je 0x40b942
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40b944
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401ad5
leave
ret
Function at 0x422f50
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x42ada9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
push edi
mov edi, dword [esp + 0x28]
push edi
mov esi, ecx
call dword [0x42c9f8]
movzx eax, al
add esp, 4
push eax
mov ecx, esi
call dword [0x42c9f4]
push edi
mov ecx, esi
call dword [0x42cd00]
mov eax, dword [esi + 0x10]
add eax, 0x28
push eax
lea ecx, [esp + 0x2c]
call dword [0x42c9f0]
xor edi, edi
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], edi
call dword [0x42c9ec]
cmp eax, 2
jne 0x422fc9
lea ecx, [esp + 0x28]
call dword [0x42c9e8]
cmp eax, 0xb
jl 0x422fc9
mov edi, 1
mov edx, dword [esi]
mov edx, dword [edx + 0x30]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call edx
mov ecx, dword [eax + 4]
mov eax, dword [eax]
add ecx, edi
mov dword [esp + 0xc], ecx
lea ecx, [esp + 8]
inc eax
push ecx
mov ecx, esi
mov dword [esp + 0xc], eax
call dword [0x42cdbc]
mov edx, dword [esp + 0x2c]
push edx
mov ecx, esi
call fcn.00422ed0
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
call dword [0x42c9e4]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x128e4
Capabilities:
Encode data using xor

Disassembly:
xor ecx, ecx
xor dl, dl
xor eax, eax
xor dl, byte [eax - 0x4a780bf0]
inc eax
cmp eax, 4
jl 0x128ea
cmp dword [esp + 8], ecx
jle 0x1290b
mov eax, dword [esp + 4]
add eax, ecx
xor byte [eax], dl
inc ecx
cmp ecx, dword [esp + 8]
jl 0x128fc
ret 8
Function at 0x7b24e4
Capabilities:
Encode data using xor

Disassembly:
add byte [eax], al
jmp 0x7b24ee
pushal
call 0x7b24f4
pop ebp
sub ebp, 0x10
sub ebp, 0x3b24e4
jmp 0x7b250a
mov eax, 0x3b24e4
add eax, ebp
add eax, 0x4c
mov ecx, 0x614
mov edx, 0x9395df92
xor byte [eax], dl
inc eax
dec ecx
jne 0x7b2521
jmp 0x7b2534
sbb dword [edi + 0x19], ebx
sbb ebp, dword [esi + 0x13929292]
push ebx
push 0xffffffffffffff92
xchg edx, eax
xchg edx, eax
xchg ecx, eax
pop edi
sub dl, byte [esi + 0x28929292]
mov edx, 0x65929292
jo 0x7b24e2
pop edx
sbb dword [ebx], edx
sahf
xchg edx, eax
xchg edx, eax
xchg edx, eax
xchg ecx, eax
push edi
ret 0xf61f
Function at 0x401abb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x445090]
jne 0x401ac5
repz ret
jmp fcn.00402928

Function at 0x40b544
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00407895
and dword [ebp - 4], 0
cmp dword [0x44aef8], 0
mov ebx, eax
jne 0x40b5f5
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b6a6
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40b6a6
push eax
call fcn.00407823
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x44aef8], eax
call esi
push eax
call fcn.00407823
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x44aefc], eax
call esi
push eax
call fcn.00407823
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x44af00], eax
call esi
push eax
call fcn.00407823
pop ecx
mov dword [0x44af08], eax
test eax, eax
je 0x40b5f5
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00407823
pop ecx
mov dword [0x44af04], eax
mov eax, dword [0x44af04]
cmp eax, ebx
je 0x40b64d
cmp dword [0x44af08], ebx
je 0x40b64d
push eax
call fcn.0040789e
push dword [0x44af08]
mov esi, eax
call fcn.0040789e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b64d
test edi, edi
je 0x40b64d
call esi
test eax, eax
je 0x40b644
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b644
test byte [ebp - 0xc], 1
jne 0x40b64d
or dword [ebp + 0x10], 0x200000
jmp 0x40b686
mov eax, dword [0x44aefc]
cmp eax, ebx
je 0x40b686
push eax
call fcn.0040789e
pop ecx
test eax, eax
je 0x40b686
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b686
mov eax, dword [0x44af00]
cmp eax, ebx
je 0x40b686
push eax
call fcn.0040789e
pop ecx
test eax, eax
je 0x40b686
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44aef8]
call fcn.0040789e
pop ecx
test eax, eax
je 0x40b6a6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b6a8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40d84b
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
mov eax, dword [0x445090]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
cmp dword [0x17f0c2c], 0x930
jne 0x40d880
push str.wiwuberitiziwoh
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
cmp dword [0x17f0c2c], 0x114e
mov eax, dword [ebp + 8]
mov dword [0x17f0948], eax
jne 0x40d8bb
push esi
lea eax, [ebp - 0x804]
push eax
push esi
call sub.KERNEL32.dll_VerLanguageNameW
lea eax, [ebp - 0x820]
push eax
push str.dapowokayamabeloteyikexifal_disowilipuzivagazahunilikosoxuwi_memewijupexubilafibuc_haxogiyisecekocujoso_lewopanofofowivalawulemarina
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00401abb
leave
ret