joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5505b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ecx + 4]
xor eax, eax
push esi
push edi
mov edi, dword [ecx]
xor esi, esi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edi
mov dword [edi + 0x16], eax
test ebx, ebx
jle 0x5505ed
nop
movzx edx, byte [edi + esi]
mov ecx, eax
shr ecx, 0x18
inc esi
xor edx, ecx
shl eax, 8
xor eax, dword [edx*4 + 0x5acd00]
cmp esi, ebx
jl 0x5505d0
mov ecx, dword [ebp - 4]
mov ebx, dword [ecx + 0xc]
xor esi, esi
test ebx, ebx
jle 0x55061d
mov edi, dword [ecx + 8]
nop dword [eax]
movzx edx, byte [edi + esi]
mov ecx, eax
shr ecx, 0x18
inc esi
xor edx, ecx
shl eax, 8
xor eax, dword [edx*4 + 0x5acd00]
cmp esi, ebx
jl 0x550600
mov edi, dword [ebp - 8]
mov byte [edi + 0x16], al
mov ecx, eax
shr ecx, 8
mov byte [edi + 0x17], cl
mov ecx, eax
shr ecx, 0x10
mov byte [edi + 0x18], cl
shr eax, 0x18
mov byte [edi + 0x19], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5625a9
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
and eax, 0x3f
mov edx, dword [ebp + 0xc]
push ebx
sar ecx, 6
push esi
push edi
imul edi, eax, 0x30
mov eax, dword [ecx*4 + 0x5cd5d0]
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x5625ea
cmp byte [edx], 0xa
jne 0x5625ea
or byte [eax + edi + 0x28], 4
jmp 0x5625ef
and byte [eax + edi + 0x28], 0xfb
lea eax, [edx + ecx]
mov ebx, edx
mov dword [ebp - 8], eax
mov esi, edx
cmp edx, eax
jae 0x5626e0
mov al, byte [ebx]
cmp al, 0x1a
je 0x5626c1
cmp al, 0xd
je 0x562618
mov byte [esi], al
inc esi
inc ebx
jmp 0x5626b6
lea eax, [ebx + 1]
cmp eax, dword [ebp - 8]
jae 0x562638
cmp byte [eax], 0xa
jne 0x56262d
push 2
mov byte [esi], 0xa
pop eax
jmp 0x562633
xor eax, eax
mov byte [esi], 0xd
inc eax
add ebx, eax
inc esi
jmp 0x5626b6
push 0
mov ebx, eax
lea eax, [ebp - 0x14]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x5626af
cmp dword [ebp - 0x14], 0
je 0x5626af
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x5cd5d0]
test byte [eax + edi + 0x28], 0x48
je 0x562686
mov dl, byte [ebp - 1]
cmp dl, 0xa
jne 0x562676
mov byte [esi], dl
jmp 0x5626b2
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x5cd5d0]
mov byte [eax + edi + 0x2a], dl
jmp 0x5626b2
cmp byte [ebp - 1], 0xa
jne 0x562698
mov edx, dword [ebp + 0xc]
cmp esi, edx
jne 0x562698
mov byte [esi], 0xa
jmp 0x562635
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0056258e
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x5626b3
mov byte [esi], 0xd
inc esi
mov edx, dword [ebp + 0xc]
cmp ebx, dword [ebp - 8]
jb 0x562601
jmp 0x5626e0
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x5cd5d0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x5626db
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x5626e0
mov cl, byte [ebx]
mov byte [esi], cl
inc esi
sub esi, edx
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5626eb
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
and eax, 0x3f
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
sar ecx, 6
imul edi, eax, 0x30
mov dword [ebp - 8], ecx
push 0xa
mov eax, dword [ecx*4 + 0x5cd5d0]
pop ebx
mov edx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], edx
mov edx, dword [ebp + 0xc]
test esi, esi
je 0x56272f
cmp word [edx], bx
jne 0x56272f
or byte [edi + eax + 0x28], 4
jmp 0x562734
and byte [edi + eax + 0x28], 0xfb
lea eax, [edx + esi*2]
mov ebx, edx
mov dword [ebp - 0xc], eax
mov esi, edx
cmp edx, eax
jae 0x562888
mov dword [ebp - 0x10], 0xd
movzx eax, word [ebx]
cmp eax, 0x1a
je 0x562868
cmp ax, word [ebp - 0x10]
je 0x56276d
mov word [esi], ax
add esi, 2
add ebx, 2
jmp 0x56285d
lea eax, [ebx + 2]
cmp eax, dword [ebp - 0xc]
jae 0x562793
push 0xa
pop ecx
cmp word [eax], cx
jne 0x562783
push ecx
pop eax
push 4
jmp 0x562788
push 0xd
pop eax
push 2
mov word [esi], ax
pop eax
add ebx, eax
jmp 0x562857
push 0
mov ebx, eax
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x56284e
cmp dword [ebp - 0x18], 0
je 0x56284e
mov ecx, dword [ebp - 8]
push 0xa
mov eax, dword [ecx*4 + 0x5cd5d0]
test byte [edi + eax + 0x28], 0x48
pop eax
je 0x56281a
mov dx, word [ebp - 4]
cmp dx, ax
jne 0x5627de
mov word [esi], ax
jmp 0x562812
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ecx*4 + 0x5cd5d0]
mov word [ebp - 0x20], dx
push 0xa
mov byte [edi + eax + 0x2a], dl
mov ecx, dword [ecx*4 + 0x5cd5d0]
mov al, byte [ebp - 0x1f]
pop edx
mov byte [edi + ecx + 0x2b], al
mov ecx, dword [ebp - 8]
mov eax, dword [ecx*4 + 0x5cd5d0]
mov byte [edi + eax + 0x2c], dl
mov edx, dword [ebp + 0xc]
add esi, 2
jmp 0x56285d
cmp word [ebp - 4], ax
jne 0x56282f
mov edx, dword [ebp + 0xc]
cmp esi, edx
jne 0x56282f
mov word [esi], ax
add esi, 2
jmp 0x56285d
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0056258e
mov edx, dword [ebp + 0xc]
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x56285a
jmp 0x562851
mov edx, dword [ebp + 0xc]
push 0xd
pop eax
mov word [esi], ax
add esi, 2
mov ecx, dword [ebp - 8]
cmp ebx, dword [ebp - 0xc]
jb 0x56274d
jmp 0x562888
mov ecx, dword [ecx*4 + 0x5cd5d0]
mov al, byte [edi + ecx + 0x28]
test al, 0x40
jne 0x56287f
or al, 2
mov byte [edi + ecx + 0x28], al
jmp 0x562888
mov cx, word [ebx]
mov word [esi], cx
add esi, 2
sub esi, edx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x563092
Capabilities:
Read file on windows

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

Function at 0x565565
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00565207
Function at 0x401a91
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40f070]
jne 0x401a9b
repz ret
jmp fcn.004026da

Function at 0x4065cb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40f070]
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.00403b44
and dword [ebp - 0x14], 0
cmp dword [0x410c4c], 0
mov dword [ebp - 0x18], eax
jne 0x40667e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x406726
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x406726
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x410c4c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x410c50], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x410c54], eax
call edi
push eax
call esi
mov dword [0x410c5c], eax
test eax, eax
je 0x40667e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x410c58], eax
mov eax, dword [0x410c58]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4066d7
cmp dword [0x410c5c], ecx
je 0x4066d7
push eax
call esi
push dword [0x410c5c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4066d7
test ebx, ebx
je 0x4066d7
call edi
test eax, eax
je 0x4066ce
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4066ce
test byte [ebp - 8], 1
jne 0x4066d7
or dword [ebp + 0x10], 0x200000
jmp 0x40670a
mov eax, dword [0x410c50]
cmp eax, dword [ebp - 0x18]
je 0x40670a
push eax
call esi
test eax, eax
je 0x40670a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40670a
mov eax, dword [0x410c54]
cmp eax, dword [ebp - 0x18]
je 0x40670a
push eax
call esi
test eax, eax
je 0x40670a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x410c4c]
call esi
test eax, eax
je 0x406726
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x406728
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401a91
leave
ret
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x1c
xor eax, eax
cmp word [0x400000], 0x5a4d
mov dword [0x414060], 1
mov dword [0x41405c], 1
mov dword [0x414058], 1
jne 0x401056
mov edx, dword [0x40003c]
cmp dword [edx + 0x400000], 0x4550
lea ecx, [edx + 0x400000]
je 0x4010b0
mov dword [0x414014], eax
mov eax, dword [0x41406c]
test eax, eax
je 0x4010a0
mov dword [esp], 2
call sym.___set_app_type
call sym.___p__fmode
mov edx, dword [0x414080]
mov dword [eax], edx
call sym.___p__commode
mov edx, dword [0x414068]
mov dword [eax], edx
call dbg._setargv
cmp dword [0x410470], 1
je 0x4010e0
xor eax, eax
add esp, 0x1c
ret
mov dword [esp], 1
call sym.___set_app_type
jmp 0x401070
movzx edx, word [ecx + 0x18]
cmp dx, 0x10b
je 0x4010f8
cmp dx, 0x20b
jne 0x401056
cmp dword [ecx + 0x84], 0xe
jbe 0x401056
mov edx, dword [ecx + 0xf8]
xor eax, eax
test edx, edx
setne al
jmp 0x401056
mov dword [esp], dbg._matherr
call dbg.__mingw_setusermatherr
xor eax, eax
add esp, 0x1c
ret
cmp dword [ecx + 0x74], 0xe
jbe 0x401056
mov ecx, dword [ecx + 0xe8]
xor eax, eax
test ecx, ecx
setne al
jmp 0x401056

Function at 0x4018d0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call dbg.__acrt_iob_func
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sym._fwrite
mov dword [esp], 2
call dbg.__acrt_iob_func
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._vfprintf
call sym._abort
lea esi, [esi]
Function at 0x401930
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x414074]
test esi, esi
jle 0x401a50
mov eax, dword [0x414078]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp edx, ebx
ja 0x401964
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x4019e7
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x401950
mov dword [esp], ebx
call dbg.__mingw_GetSectionForAddress
mov edi, eax
test eax, eax
je 0x401a77
mov eax, dword [0x414078]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call dbg._GetPEImageBase
mov edx, dword [0x414078]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x401a57
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x4019e0
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x4019f0
add dword [0x414074], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 0x40
mov eax, 4
mov ecx, dword [esp + 0x20]
cmovne eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0x414078]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x4019e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call dbg.__report_error
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x40196e
mov eax, dword [0x414078]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call dbg.__report_error
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call dbg.__report_error
lea esi, [esi]
nop

Function at 0x401fa0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x414090
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x414088]
sub esp, 4
test ebx, ebx
je 0x401ff5
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x401fee
test esi, esi
je 0x401fee
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401fd0
mov dword [esp], 0x414090
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x402320
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x400000], 0x5a4d
jne 0x402345
mov ecx, dword [0x40003c]
cmp dword [ecx + 0x400000], 0x4550
lea edx, [ecx + 0x400000]
je 0x402350
ret
cmp word [ecx + 0x400018], 0x10b
jne 0x402345
push esi
movzx eax, word [ecx + 0x400014]
push ebx
movzx esi, word [ecx + 0x400006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x400000
test esi, esi
je 0x402398
xor ecx, ecx
nop
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x40238e
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x40239a
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x402380
xor eax, eax
pop ebx
pop esi
ret
Function at 0x87fc40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x251000]
mov dword [edi + 0x3504d8], 0xdd7071eb
push edi
or ebp, 0xffffffff
jmp 0x87fc6a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x87fc71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x87fc60
mov eax, 1
add ebx, ebx
jne 0x87fc83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x87fc94
jne 0x87fcb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x87fcb3
dec eax
add ebx, ebx
jne 0x87fca0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x87fc78
add ebx, ebx
jne 0x87fcaf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x87fd05
xor ecx, ecx
sub eax, 3
jb 0x87fccb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x87fd3a
sar eax, 1
mov ebp, eax
jmp 0x87fcd6
add ebx, ebx
jne 0x87fcd6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x87fca4
inc ecx
add ebx, ebx
jne 0x87fce4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x87fca4
add ebx, ebx
jne 0x87fcf1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x87fce6
jne 0x87fd02
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x87fce6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x87fd24
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x87fd16
jmp 0x87fc66
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x87fd24
add edi, ecx
jmp 0x87fc66
pop esi
mov edi, esi
mov ecx, 0x1c6d0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x87fd42
cmp byte [edi], 0x90
jne 0x87fd42
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 0x87fd47
lea edi, [esi + 0x469000]
mov eax, dword [edi]
or eax, eax
je 0x87fdbf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x49c08c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x49c258]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x87fd74
mov ecx, edi
jns 0x87fda3
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 + 0x49c25c]
or eax, eax
je 0x87fdb9
mov dword [ebx], eax
add ebx, 4
jmp 0x87fd91
call dword [esi + 0x49c26c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x87fdf0
cmp al, 0xef
ja 0x87fde3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x87fdc5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x87fdd2
mov ebp, dword [esi + 0x49c260]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x257]
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 0x87fe24
sub esp, 0xffffff80
jmp 0x5c3821
Function at 0x42e000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x42e030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp fcn.00401219
Function at 0x401260
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x8bded8]
mov ecx, dword [0x8bce28]
shr eax, 3
sub esp, 8
test eax, eax
jbe 0x4012db
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetThreadPriority]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetConsoleMode]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesA]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
cmp dword [0x8bded8], 0x959
jne 0x4012c5
push 0
push 0
call esi
push 0
push 0
push str.dajisinigawoxabazo
push str.gebamuli
push 0
call edi
push 0
call ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [ebp - 4]
push eax
call fcn.00401050
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x401293
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401650
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
cmp dword [0x8bded8], 0x400
push esi
push edi
jne 0x4016a2
xor ecx, ecx
xor eax, eax
lea edx, [ebp - 4]
push edx
mov word [ebp - 4], ax
mov word [ebp - 2], cx
mov eax, dword [ebp - 4]
push eax
push ecx
push 0x49c508
push ecx
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
lea eax, [ebp - 0x24]
call fcn.00401790
lea esi, [ebp - 0x24]
call fcn.004017b0
mov edi, dword [ebp - 4]
push ebx
mov ebx, dword [sym.imp.USER32.dll_CharLowerBuffW]
xor esi, esi
mov edi, edi
cmp esi, 0xa50
jge 0x4016c3
push 0
lea ecx, [ebp - 0x824]
push ecx
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x2af68b
jle 0x4016d9
cmp edi, 0x78d9a205
jne 0x4016e2
inc esi
cmp esi, 0x1c5d
jl 0x4016b0
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor esi, esi
push 0
call edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp esi, 0x206d47
jg 0x40170d
inc esi
cmp esi, 0x4f6a4
jl 0x4016f0
mov ebx, dword [ebp - 4]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
xor esi, esi
push 0
call edi
cmp esi, 0x2b259d
jle 0x40172c
cmp ebx, 0x785074d5
jne 0x401735
inc esi
cmp esi, 0x11915
jl 0x401718
mov edx, dword [0x49ee9c]
mov dword [0x8bded8], edx
call fcn.004013d0
mov esi, dword [sym.imp.KERNEL32.dll_GetVolumePathNameA]
mov edi, 0x3078f
pop ebx
cmp dword [0x8bded8], 0x51f
jne 0x40176e
push 0
lea eax, [ebp - 0x424]
push eax
push str.beduyov_nozis
call esi
sub edi, 1
jne 0x401752
mov eax, dword [0x8bce28]
mov dword [0x8bd46c], eax
call eax
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x402790
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x49e0c8]
jne 0x40279a
repz ret
jmp fcn.00405f5e
Function at 0x405b8a
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.004034fa
and dword [ebp - 4], 0
cmp dword [0x49f8a4], 0
mov ebx, eax
jne 0x405c3b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x405cec
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x405cec
push eax
call fcn.00403488
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x49f8a4], eax
call esi
push eax
call fcn.00403488
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x49f8a8], eax
call esi
push eax
call fcn.00403488
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x49f8ac], eax
call esi
push eax
call fcn.00403488
pop ecx
mov dword [0x49f8b4], eax
test eax, eax
je 0x405c3b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403488
pop ecx
mov dword [0x49f8b0], eax
mov eax, dword [0x49f8b0]
cmp eax, ebx
je 0x405c93
cmp dword [0x49f8b4], ebx
je 0x405c93
push eax
call fcn.00403503
push dword [0x49f8b4]
mov esi, eax
call fcn.00403503
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x405c93
test edi, edi
je 0x405c93
call esi
test eax, eax
je 0x405c8a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x405c8a
test byte [ebp - 0xc], 1
jne 0x405c93
or dword [ebp + 0x10], 0x200000
jmp 0x405ccc
mov eax, dword [0x49f8a8]
cmp eax, ebx
je 0x405ccc
push eax
call fcn.00403503
pop ecx
test eax, eax
je 0x405ccc
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x405ccc
mov eax, dword [0x49f8ac]
cmp eax, ebx
je 0x405ccc
push eax
call fcn.00403503
pop ecx
test eax, eax
je 0x405ccc
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x49f8a4]
call fcn.00403503
pop ecx
test eax, eax
je 0x405cec
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x405cee
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x433001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219