joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10003340
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov edx, 0x10
mov dword [esi + 0x10], ebx
cmp dword [esi + 0x14], edx
jb 0x1000335b
mov ecx, dword [esi]
mov byte [ecx], bl
cmp dword [eax + 0x14], edx
jb 0x10003364
mov eax, dword [eax]
push 0x10071090
push eax
lea eax, [ebp - 4]
push eax
call fcn.100508c8
mov ecx, dword [ebp - 4]
add esp, 0xc
cmp ecx, ebx
je 0x100034c2
cmp eax, ebx
jne 0x100034c2
push edi
push 2
push ebx
push ecx
call fcn.10052280
mov ecx, dword [ebp - 4]
push ecx
call fcn.100512a1
mov edx, dword [ebp - 4]
mov edi, eax
push edx
mov dword [ebp - 8], edi
call fcn.1004fd7c
mov dword [ebp - 0x10], ebx
lea ebx, [edi + 1]
add esp, 0x14
test ebx, ebx
jne 0x100033bc
mov dword [ebp - 0xc], ebx
jmp 0x100033dd
push ebx
call fcn.1004fce8
mov edi, eax
add esp, 4
test edi, edi
je 0x100033d7
push ebx
push 0
push edi
call fcn.10056300
add esp, 0xc
mov dword [ebp - 0xc], edi
mov edi, dword [ebp - 8]
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x14], eax
cmp eax, ebx
ja 0x10003410
cmp dword [esi + 0x14], ebx
je 0x10003410
push 1
push ebx
mov ecx, esi
call fcn.10002920
test al, al
je 0x10003410
cmp dword [esi + 0x14], 0x10
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0x10], ecx
jb 0x1000340a
mov eax, dword [esi]
jmp 0x1000340c
mov eax, esi
mov byte [eax + ecx], 0
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x100034ab
mov ecx, dword [ebp - 4]
push ecx
push edi
push 1
push eax
call fcn.10050e5d
add esp, 0x10
cmp eax, edi
jne 0x10003441
mov eax, dword [ebp - 0xc]
push edi
mov ecx, esi
call fcn.10008c50
mov dword [ebp - 0x10], 1
mov edx, dword [ebp - 4]
push edx
call fcn.10052369
add esp, 4
cmp dword [ebp - 0x10], 0
je 0x10003494
cmp dword [esi + 0x10], edi
jae 0x10003494
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x10003469
mov eax, dword [esi]
jmp 0x1000346b
mov eax, esi
xor edi, edi
mov byte [eax], 0
cmp dword [ebp - 8], edi
jbe 0x10003491
mov eax, dword [ebp - 0xc]
movzx eax, byte [edi + eax]
test al, al
je 0x1000348b
push eax
mov ebx, 1
call fcn.10008da0
inc edi
cmp edi, dword [ebp - 8]
jb 0x10003475
mov edi, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.1004faf9
add esp, 4
mov eax, edi
pop edi
pop esi
xor edx, edx
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
push edx
call fcn.10052369
add esp, 4
mov eax, edi
pop edi
pop esi
xor edx, edx
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
xor eax, eax
xor edx, edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10004a90
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x18], 0
jne 0x10004aaf
cmp dword [ebp + 0x1c], 0x10
jb 0x10004aab
mov eax, dword [ebp + 8]
push eax
call fcn.1004f1bb
add esp, 4
xor eax, eax
pop ebp
ret
cmp dword [ebp + 0x1c], 0x10
mov eax, dword [ebp + 8]
jae 0x10004abb
lea eax, [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x10004add
cmp dword [ebp + 0x1c], 0x10
jb 0x10004aab
mov ecx, dword [ebp + 8]
push ecx
call fcn.1004f1bb
add esp, 4
xor eax, eax
pop ebp
ret
lea ecx, [ebp + 8]
test al, 0x10
je 0x10004aed
call fcn.10002570
mov eax, esi
pop ebp
ret
call fcn.10002570
xor eax, eax
test esi, esi
sete al
pop ebp
ret

Function at 0x10009390
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10069137
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100814cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [edi], 0x100712d0
mov dword [edi + 0x10], 0x100712d8
mov dword [edi + 0x70], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
lea esi, [edi + 0x18]
push esi
mov dword [ebp - 4], ebx
push edi
mov dword [ebp - 0x10], 1
call fcn.1000a7c0
mov dword [ebp - 4], 1
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push esi
mov dword [edi + ecx], vtable.std::basic_fstream_char__struct_std::char_traits_char__.0
call fcn.1000afe0
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x50], bl
mov byte [esi + 0x49], bl
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ebx
mov eax, dword [esi + 0x24]
mov dword [eax], ebx
mov ecx, dword [esi + 0x34]
mov dword [ecx], ebx
mov edx, dword [esi + 0x10]
mov dword [edx], ebx
mov eax, dword [esi + 0x20]
mov edx, dword [0x10083a38]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov dword [ecx], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x4c], edx
mov dword [esi + 0x44], ebx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1000aa40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100674e8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x100814cc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
cmp dword [edi + 0x44], ebx
je 0x1000ab61
cmp byte [edi + 0x49], bl
je 0x1000ab61
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, edi
call edx
cmp eax, 0xffffffff
je 0x1000ab55
mov ecx, 0xf
xor eax, eax
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0x1000aab4
lea eax, [ebp - 0x2c]
mov byte [eax + 8], bl
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
mov edx, eax
cmp ebx, 0x10
jae 0x1000aacc
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
push edx
push eax
lea eax, [edi + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x1000aaf5
dec eax
je 0x1000aaf9
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x1000ab50
jmp 0x1000ab5c
mov byte [edi + 0x49], 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x1000ab09
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x1000ab32
cmp ebx, 0x10
jae 0x1000ab18
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.10051063
add esp, 0x10
cmp esi, eax
jne 0x1000ab4d
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x1000ab59
test esi, esi
jne 0x1000aac0
push esi
lea ebx, [esi + 8]
lea esi, [ebp - 0x2c]
call fcn.10008da0
jmp 0x1000aaba
lea ecx, [ebp - 0x2c]
call fcn.10002570
xor al, al
jmp 0x1000ab63
lea ecx, [ebp - 0x2c]
call fcn.10002570
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004f1ac
mov esp, ebp
pop ebp
ret
Function at 0x1000afe0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10066bab
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100814cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.1004ed76
push 4
mov dword [ebp - 4], 0
call fcn.1004f886
mov edi, eax
add esp, 4
test edi, edi
je 0x1000b05c
call fcn.1004ec4e
mov dword [edi], eax
call fcn.1004ea0d
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.1004ed37
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x1000b052
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.1004ed5f
jmp 0x1000b05e
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1004f1ac
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100814cc]
jne 0x1004f1b6
repz ret
jmp fcn.10054ec0

Function at 0x10061072
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100814cc]
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.1005a0af
and dword [ebp - 0x14], 0
cmp dword [0x10083a0c], 0
mov dword [ebp - 0x18], eax
jne 0x10061125
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x100611cd
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x100611cd
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x10083a0c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x10083a10], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x10083a14], eax
call edi
push eax
call esi
mov dword [0x10083a1c], eax
test eax, eax
je 0x10061125
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x10083a18], eax
mov eax, dword [0x10083a18]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x1006117e
cmp dword [0x10083a1c], ecx
je 0x1006117e
push eax
call esi
push dword [0x10083a1c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x1006117e
test ebx, ebx
je 0x1006117e
call edi
test eax, eax
je 0x10061175
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x10061175
test byte [ebp - 8], 1
jne 0x1006117e
or dword [ebp + 0x10], 0x200000
jmp 0x100611b1
mov eax, dword [0x10083a10]
cmp eax, dword [ebp - 0x18]
je 0x100611b1
push eax
call esi
test eax, eax
je 0x100611b1
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100611b1
mov eax, dword [0x10083a14]
cmp eax, dword [ebp - 0x18]
je 0x100611b1
push eax
call esi
test eax, eax
je 0x100611b1
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x10083a0c]
call esi
test eax, eax
je 0x100611cd
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x100611cf
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1004f1ac
leave
ret
Function at 0x4a7cb0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa2000]
push edi
jmp 0x4a7cca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4a7cd1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a7cc0
mov eax, 1
add ebx, ebx
jne 0x4a7ce3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4a7cd8
jne 0x4a7cf4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4a7cd8
xor ecx, ecx
sub eax, 3
jb 0x4a7d08
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4a7d7a
mov ebp, eax
add ebx, ebx
jne 0x4a7d13
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4a7d20
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4a7d44
inc ecx
add ebx, ebx
jne 0x4a7d30
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4a7d25
jne 0x4a7d41
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4a7d25
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4a7d64
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4a7d55
jmp 0x4a7cc6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4a7d64
add edi, ecx
jmp 0x4a7cc6
pop esi
mov edi, esi
mov ecx, 0x6600
jmp 0x4a7db5
mov al, byte [edi]
inc edi
cmp al, 0x80
jb 0x4a7d95
cmp al, 0x8f
ja 0x4a7d95
cmp byte [edi - 2], 0xf
je 0x4a7d9b
sub al, 0xe8
cmp al, 1
ja 0x4a7dbf
cmp ecx, 4
jb 0x4a7dc4
mov eax, dword [edi]
sub al, 1
jne 0x4a7dbf
xchg ah, al
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
sub ecx, 4
stosd dword es:[edi], eax
sub ecx, 1
jb 0x4a7dc4
mov al, byte [edi]
inc edi
jmp 0x4a7d95
sub ecx, 1
jae 0x4a7d84
lea edi, [esi + 0xa5000]
mov eax, dword [edi]
or eax, eax
je 0x4a7e15
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x102b70]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x102c28]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4a7dca
mov ecx, edi
jns 0x4a7df9
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 + 0x102c30]
or eax, eax
je 0x4a7e0f
mov dword [ebx], eax
add ebx, 4
jmp 0x4a7de7
call dword [esi + 0x102c2c]
mov ebp, dword [esi + 0x102c34]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
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 0x4a7e49
sub esp, 0xffffff80
jmp 0x4034a5
Function at 0x4061ec
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
mov dword [0x57bb50], edx
mov dword [ebp - 0x37], eax
mov dword [ebp - 0x7c], eax
movzx eax, word [ebp - 0x7b]
movzx ecx, dl
mov edx, 0x95f3
mov ecx, dword [ebp - 0xaa]
mov byte [ebp - 0xb9], ah
mov eax, ecx
mov dword [ebp - 0x7e], eax
mov eax, dword [ebp - 0x37]
movzx eax, cx
mov dword [ebp - 0x44], edx
push ecx
test ecx, 0xb0649ea6
jae 0x406241
add dword [ebp - 0x67], ecx
add ecx, 0x4cec
mov edx, dword [ebp - 0x46]
mov edx, dword [ebp - 0xd]
mov ecx, eax
mov dword [ebp - 0x63], edx
test ecx, 0x388c3dca
je 0x406260
mov edx, 0xbab6
mov ecx, dword [ebp - 0x99]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x82]
mov ah, byte [ebp - 0x4a]
mov eax, eax
sub edx, ecx
add dword [ebp - 0x97], edx
cmp ecx, eax
je 0x40627d
movzx edx, ah
add edx, 0xa2b8
mov edx, dword [ebp - 0x36]
mov eax, eax
mov dword [ebp - 0x85], eax
mov dword [ebp - 0x40], edx
cmp eax, dword [0x57b90b]
jo 0x406298
mov dword [ebp - 0x2c], eax
mov ecx, 0xc531
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x3b], eax
sub dword [ebp - 0x80], eax
mov ecx, edx
or dword [ebp - 0x7e], edx
movzx edx, al
mov edx, dword [ebp - 0x6d]
mov edx, 0x2bfa
mov dh, byte [ebp - 0x3e]
add ecx, 0x79ac
add eax, 0xf2ff
sub eax, eax
mov dword [str.BHRhxVRDpnAH9OTHBiDAFK84MI3hFCXZs7HZK], eax
or dword [0x57bcd4], ecx
mov dword [0x57be5d], edx
xor edx, edx
mov edx, ecx
and eax, 0x369c
mov eax, dword [ebp - 0x61]
or dword [0x57c240], edx
mov edx, dword [ebp - 0x82]
sub dx, word [ebp - 0x3c]
cmp edx, ecx
je 0x4062f2
mov dword [ebp - 0xb3], edx
mov edx, edx
mov dword [ebp - 0x9d], ecx
mov edx, dword [ebp - 0x66]
movzx ecx, cx
mov dword [ebp - 0x4f], edx
add dword [ebp - 7], eax
mov ecx, edx
mov ecx, dword [ebp - 0x8b]
mov byte [ebp - 0x34], dh
test edx, ecx
jmp 0x40632f
mov eax, dword [ebp - 0x91]
and ecx, dword [ebp - 0x8e]
mov dword [ebp - 0xb4], eax
mov ecx, edx
mov word [ebp - 0x8e], ax
or edx, ecx
mov ecx, eax
mov dword [ebp - 0x5f], edx
mov eax, eax
mov eax, eax
xor edx, ecx
sub eax, 0xdad2
add eax, 0x4d46
mov dword [ebp - 0x30], ecx
add edx, ecx
mov edx, dword [ebp]
mov dword [0x57b32b], edx
and ecx, dword [ebp - 0x3e]
mov edx, dword [ebp - 0x35]
and edx, 0xd667
or ecx, edx
lea edx, [ebp - 0x9a]
mov edx, 0xa32d
and edx, dword [0x57be8e]
mov eax, edx
mov dword [ebp - 0x4d], ecx
sub dword [ebp - 0xa1], ecx
add ecx, 0xa729
cmp eax, 0xd5f3d50a
jne 0x4063a9
movzx eax, ah
and cx, word [ebp - 0xb8]
mov dword [ebp - 0x9b], ecx
mov edx, dword [ebp - 0x32]
call sub.KERNEL32.dll_CopyFileTransactedW
mov dword [ebp - 0x72], edx
mov edx, dword [ebp - 1]
or ecx, 0xc58c
or edx, ecx
cmp cl, byte [0x57b024]
jb 0x4063d4
mov ecx, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x12]
mov eax, dword [ebp - 0x6f]
mov edx, dword [ebp - 0xb9]
mov ecx, eax
cmp eax, edx
je 0x406402
and eax, edx
add edx, edx
mov ecx, dword [ebp - 0x18]
add edx, 0x7edb
sub ecx, 0xdd3
mov dword [ebp - 0x51], ecx
pop ecx
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 0x408926
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x4085d8
sub ecx, ecx
call fcn.00408951
sub ebx, 0x4c395668
xor dword [esi], edx
add esi, 1
cmp esi, eax
jne fcn.00408926
and ebx, ecx
or ebx, ecx
ret
Function at 0x402519
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45e050]
jne 0x402523
repz ret
jmp fcn.00403ea0

Function at 0x40c530
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.00406bd4
and dword [ebp - 4], 0
cmp dword [0x463ec8], 0
mov ebx, eax
jne 0x40c5e1
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40c692
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40c692
push eax
call fcn.00406b62
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x463ec8], eax
call esi
push eax
call fcn.00406b62
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x463ecc], eax
call esi
push eax
call fcn.00406b62
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x463ed0], eax
call esi
push eax
call fcn.00406b62
pop ecx
mov dword [0x463ed8], eax
test eax, eax
je 0x40c5e1
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00406b62
pop ecx
mov dword [0x463ed4], eax
mov eax, dword [0x463ed4]
cmp eax, ebx
je 0x40c639
cmp dword [0x463ed8], ebx
je 0x40c639
push eax
call fcn.00406bdd
push dword [0x463ed8]
mov esi, eax
call fcn.00406bdd
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40c639
test edi, edi
je 0x40c639
call esi
test eax, eax
je 0x40c630
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40c630
test byte [ebp - 0xc], 1
jne 0x40c639
or dword [ebp + 0x10], 0x200000
jmp 0x40c672
mov eax, dword [0x463ecc]
cmp eax, ebx
je 0x40c672
push eax
call fcn.00406bdd
pop ecx
test eax, eax
je 0x40c672
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40c672
mov eax, dword [0x463ed0]
cmp eax, ebx
je 0x40c672
push eax
call fcn.00406bdd
pop ecx
test eax, eax
je 0x40c672
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x463ec8]
call fcn.00406bdd
pop ecx
test eax, eax
je 0x40c692
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40c694
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40e5d7
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [0x1bda404], 0x930
jne 0x40e5fe
push str.voregigavis_dakofopelutolipihanat
push 0
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
cmp dword [0x1bda404], 0x114e
mov eax, dword [ebp + 8]
mov dword [0x1bda248], eax
jne 0x40e636
push str.fobalukijiharilaz_zamafuxavusiralozufa_xuvakolafexurefihomacoguxusoj
push 0
call dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
lea eax, [ebp - 0x1c]
push eax
push str.dezizafaxuveke_xidimucipuzivapad_dexeniyukofiw_xiyelocokuyiketatugedohunako_lolabehehekewobudi
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
leave
ret
Function at 0x40e647
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
cmp dword [ebp + 0xc], esi
jle 0x40e671
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
call fcn.0040e638
mov eax, dword [ebp + 8]
add eax, esi
pop ecx
mov cl, byte [ebp - 4]
xor byte [eax], cl
inc esi
cmp esi, dword [ebp + 0xc]
jl 0x40e653
cmp dword [ebp + 0xc], 0x2d
pop esi
jne 0x40e689
or dword [0x1bda53c], 0xffffffff
mov dword [0x1bda538], 0xa62e7790
leave
ret
Function at 0x401ab5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45d090]
jne 0x401abf
repz ret
jmp fcn.00402998

Function at 0x4092ae
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.00407679
and dword [ebp - 4], 0
cmp dword [0x463174], 0
mov ebx, eax
jne 0x40935f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x409410
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x409410
push eax
call fcn.00407607
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x463174], eax
call esi
push eax
call fcn.00407607
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x463178], eax
call esi
push eax
call fcn.00407607
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x46317c], eax
call esi
push eax
call fcn.00407607
pop ecx
mov dword [0x463184], eax
test eax, eax
je 0x40935f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00407607
pop ecx
mov dword [0x463180], eax
mov eax, dword [0x463180]
cmp eax, ebx
je 0x4093b7
cmp dword [0x463184], ebx
je 0x4093b7
push eax
call fcn.00407682
push dword [0x463184]
mov esi, eax
call fcn.00407682
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4093b7
test edi, edi
je 0x4093b7
call esi
test eax, eax
je 0x4093ae
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4093ae
test byte [ebp - 0xc], 1
jne 0x4093b7
or dword [ebp + 0x10], 0x200000
jmp 0x4093f0
mov eax, dword [0x463178]
cmp eax, ebx
je 0x4093f0
push eax
call fcn.00407682
pop ecx
test eax, eax
je 0x4093f0
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4093f0
mov eax, dword [0x46317c]
cmp eax, ebx
je 0x4093f0
push eax
call fcn.00407682
pop ecx
test eax, eax
je 0x4093f0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x463174]
call fcn.00407682
pop ecx
test eax, eax
je 0x409410
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x409412
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40d7ab
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [0x1bd9824], 0x930
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
jne 0x40d7d5
push str.hixijagijunajidomirupejixaxudolimilacofodik
push 0
call esi
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
cmp dword [0x1bd9824], 0x114e
mov eax, dword [ebp + 8]
mov dword [0x1bd9540], eax
jne 0x40d809
push str.pasesibuhapijibitemamobumofaceco_bamenolunalazoxeduceh_zijetezudihedavacagobowavawe
push 0
call esi
lea eax, [ebp - 0x1c]
push eax
push str.gijuluzibuxomavifakulaxofaxutirerijasocazitixewecetanazisofosufexejacikicoyaxahowuburokujasulununucexikowuvulanavi
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop esi
leave
ret