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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x418794]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0040a8b7
mov dword [ebp - 0x14], eax
cmp dword [0x4d2220], esi
jne 0x40e685
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40e612
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40e765
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40e765
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40e765
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4d2220], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4d2224], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4d2228], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4d2230], eax
test eax, eax
je 0x40e682
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4d222c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40e6aa
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40e69d
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40e6bf
push 4
pop eax
jmp 0x40e767
cmp dword [ebp - 0x14], esi
je 0x40e6bf
push dword [0x4d2220]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40e6a4
mov eax, dword [0x4d222c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40e71d
cmp dword [0x4d2230], edi
je 0x40e71d
push eax
call ebx
push dword [0x4d2230]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40e71d
test eax, eax
je 0x40e71d
call ecx
test eax, eax
je 0x40e712
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 0x40e712
test byte [ebp - 8], 1
jne 0x40e71d
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40e74d
mov eax, dword [0x4d2224]
cmp eax, edi
je 0x40e74a
push eax
call ebx
test eax, eax
je 0x40e74a
call eax
mov esi, eax
test esi, esi
je 0x40e74a
mov eax, dword [0x4d2228]
cmp eax, edi
je 0x40e74a
push eax
call ebx
test eax, eax
je 0x40e74a
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4d2220]
call ebx
test eax, eax
je 0x40e765
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40e767
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403d20
mov esp, ebp
pop ebp
ret
Function at 0x405a03
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x405a12
pop dword [ebp - 0x10]
mov eax, 0x405a12
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x5a6d3cf
add dword [ebp - 0x20], 0x48ab717c
mov dword [ebp - 0x1c], 0x86c11e51
sub dword [ebp - 0x1c], 0x548dd20c
mov dword [ebp - 0x18], 0xeb91d81e
sub dword [ebp - 0x18], 0x9f4593f0
mov dword [ebp - 0x14], 0x86385e0b
add dword [ebp - 0x14], 0x79c7a1f5
lea eax, [ebp - 0x20]
push eax
mov eax, 0xdfb987e5
sub eax, 0xdf7906e1
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x9f885a3c
sub dword [ebp - 0x20], 0x2b15f0e6
mov dword [ebp - 0x1c], 0xc5eafc93
sub dword [ebp - 0x1c], 0x847e9b1e
mov dword [ebp - 0x18], 0x3b5e812c
sub dword [ebp - 0x18], 0xd7ef14c0
mov dword [ebp - 0x14], 0x4942d944
sub dword [ebp - 0x14], 0x4942d944
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0x190febf3
sub eax, 0x18cf6af3
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x36708
push 0
call eax
mov ecx, 0xe4545e7c
add ecx, 0x1babe75a
xor ebx, ebx
add ebx, eax
mov esi, 0x3b49519c
add esi, 0xc4fd9264
add esi, dword [ebp - 0x10]
mov edi, 0x95ad585f
xor dword [ebp - 0xc], 0xc8fcdecd
mov edx, dword [esi]
mov dword [ebp - 8], 0x42fceae9
add edx, edi
mov dword [ebx], edx
xor dword [ebp - 8], 0x1ed8f419
add ebx, 4
add esi, 0xd860f7d5
sub esi, 0xd860f7d1
loop 0x405b2b
add eax, 0x108cfb70
sub eax, 0x108bf145
mov ebx, eax
add eax, 0x8d56c96d
add eax, 0x72a93698
mov ecx, 0x3775abcd
add ecx, 0xc8ca5433
add ecx, dword [ebp - 0x10]
call ebx
leave
ret

Function at 0x405cce
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x425f30
push esi
call fcn.00406212
push esi
call fcn.00405c71
mov edi, eax
test edi, edi
jne 0x405cef
xor eax, eax
jmp 0x405d47
push edi
call fcn.004064a6
test byte [0x42a258], 0x80
je 0x405d0c
mov ax, word [edi]
test ax, ax
je 0x405ceb
cmp ax, 0x5c
je 0x405ceb
sub edi, esi
sar edi, 1
jmp 0x405d26
call fcn.00406555
test eax, eax
je 0x405d20
test byte [eax], 0x10
je 0x405ceb
push esi
call fcn.00405c12
push esi
call sub.kernel32.dll_lstrlenW
cmp eax, edi
push esi
jg 0x405d12
call fcn.00405bc6
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

Function at 0x405dc2
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x405de1
and al, 0xfe
push eax
push dword [esp + 0xc]
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
mov eax, esi
pop esi
ret 4

Function at 0x405de7
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.kernel32.dll_CreateFileW]
ret 0xc
Function at 0x402ed5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x402ee4
pop dword [ebp - 8]
mov eax, 0x402ee4
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x472d5d99
sub dword [ebp - 0x18], 0xf8db184e
mov dword [ebp - 0x14], 0x8e4c2df3
add dword [ebp - 0x14], 0xa3e71e52
mov dword [ebp - 0x10], 0xda535f8c
sub dword [ebp - 0x10], 0x8e071b5e
mov dword [ebp - 0xc], 0xa43ac744
add dword [ebp - 0xc], 0x5bc538bc
lea eax, [ebp - 0x18]
push eax
mov eax, 0x939e433b
sub eax, 0x935dc237
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0xf59acd71
sub dword [ebp - 0x18], 0x8128641b
mov dword [ebp - 0x14], 0x53b77335
add dword [ebp - 0x14], 0xedb4ee40
mov dword [ebp - 0x10], 0xc04f08dc
sub dword [ebp - 0x10], 0x5cdf9c70
mov dword [ebp - 0xc], 0xa686677f
add dword [ebp - 0xc], 0x59799881
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x38857
push 0
call eax
mov ecx, 0x4df1
xor ebx, ebx
add ebx, eax
mov esi, 0x46e400
add esi, dword [ebp - 8]
mov edx, 0x8938a04e
mov edi, dword [esi]
add dword [ebp - 4], 0x24bb51f1
add edi, edx
xor dword [ebp - 4], 0x917fd6cf
mov dword [ebx], edi
xor dword [ebp - 4], 0x908e719a
add ebx, 0xf6943a7f
sub ebx, 0xf6943a7b
add esi, 4
loop 0x402fec
add eax, 0x4537c215
sub eax, 0x4536977e
xor ebx, ebx
add ebx, eax
add eax, 0xb3428823
add eax, 0x4cbd77e2
mov ecx, 0x66107512
add ecx, 0x9a2f8aee
add ecx, dword [ebp - 8]
call ebx
leave
ret

Function at 0x40317b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
cmp eax, esi
jl 0x4031a6
mov ecx, dword [0x42a298]
push esi
add eax, ecx
push esi
push eax
mov dword [0x418ed4], eax
push dword [0x40a01c]
call dword [sym.imp.kernel32.dll_SetFilePointer]
push 4
call fcn.00403283
cmp eax, esi
jl 0x40327d
lea eax, [ebp + 8]
push 4
push eax
push dword [0x40a01c]
call fcn.00402ed5
test eax, eax
je 0x40326d
push dword [ebp + 8]
add dword [0x418ed4], 4
call fcn.00403283
mov ebx, eax
cmp ebx, esi
jl 0x40327b
cmp dword [ebp + 0x10], esi
jne 0x403249
cmp dword [ebp + 8], esi
jle 0x40327b
mov esi, 0x414ed0
cmp dword [ebp + 8], 0x4000
mov eax, dword [ebp + 8]
jl 0x40320b
mov eax, 0x4000
push eax
push esi
push dword [0x40a01c]
mov dword [ebp - 4], eax
call fcn.00402ed5
test eax, eax
je 0x40326d
push dword [ebp - 4]
push esi
push dword [ebp + 0xc]
call fcn.00402ed5
test eax, eax
je 0x403245
mov eax, dword [ebp - 4]
sub dword [ebp + 8], eax
add dword [0x418ed4], eax
add ebx, eax
cmp dword [ebp + 8], 0
jg 0x4031fa
jmp 0x40327b
push 0xfffffffffffffffe
jmp 0x40326f
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x14]
jl 0x403254
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 4]
push esi
push ecx
push eax
push dword [ebp + 0x10]
push dword [0x40a01c]
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
jne 0x403272
push 0xfffffffffffffffd
pop eax
jmp 0x40327d
mov ebx, dword [ebp - 4]
add dword [0x418ed4], ebx
mov eax, ebx
pop esi
pop ebx
leave
ret 0x10
Function at 0x100017c1
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push edi
push 0x14
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
pop ecx
test edi, edi
je 0x1000185c
push str.jvm.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov ebx, eax
test ebx, ebx
jne 0x100017f3
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
xor eax, eax
jmp 0x1000185e
push esi
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.JVM_DTraceGetVersion
push ebx
call esi
push str.JVM_DTraceIsSupported
push ebx
mov dword [edi], eax
call esi
push str.JVM_DTraceActivate
push ebx
mov dword [edi + 4], eax
call esi
push str.JVM_DTraceDispose
push ebx
mov dword [edi + 8], eax
call esi
push str.JVM_DTraceIsProbeEnabled
push ebx
mov dword [edi + 0xc], eax
call esi
push ebx
mov dword [edi + 0x10], eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
xor esi, esi
cmp dword [edi], esi
je 0x10001851
cmp dword [edi + 4], esi
je 0x10001851
cmp dword [edi + 8], esi
je 0x10001851
cmp dword [edi + 0xc], esi
je 0x10001851
cmp dword [edi + 0x10], esi
jne 0x1000185b
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
mov edi, esi
pop esi
mov eax, edi
pop edi
pop ebx
ret

Function at 0x100022cf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x100022de
pop dword [ebp - 0x30]
mov eax, 0x866fcb8e
add eax, 0x89905750
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0x7bb7f139
sub dword [ebp - 0x40], 0x2d65abee
mov dword [ebp - 0x3c], 0x3c1a1ae1
add dword [ebp - 0x3c], 0xf6193164
mov dword [ebp - 0x38], 0xd71f2e64
sub dword [ebp - 0x38], 0x8ad2ea36
mov dword [ebp - 0x34], 0xf75221b9
add dword [ebp - 0x34], 0x8adde47
lea eax, [ebp - 0x40]
push eax
mov eax, 0x6beed348
add eax, 0xa4115cbc
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0x3c0b95ec
add dword [ebp - 0x40], 0x3866d36a
mov dword [ebp - 0x3c], 0x3867b43c
sub dword [ebp - 0x3c], 0xf6fb52c7
mov dword [ebp - 0x38], 0x4ade8522
add dword [ebp - 0x38], 0x1890e74a
mov dword [ebp - 0x34], 0x49f78202
sub dword [ebp - 0x34], 0x49f78202
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x358ca
push 0
call eax
mov ecx, 0xb032df96
add ecx, 0x4fcd64aa
mov edx, eax
mov esi, 0x10006200
add esi, dword [ebp - 0x30]
mov ebx, 0x9a8004e1
add ebx, 0x32918868
sub dword [ebp - 0x24], esi
mov edi, dword [esi]
xor dword [ebp - 0x28], 0x3c9d4898
sub edi, ebx
add dword [ebp - 4], ecx
mov dword [edx], edi
xor dword [ebp - 0x14], 0x5c62a7dc
add edx, 4
add esi, 0x32bf825d
add esi, 0xcd407da7
loop 0x100023f5
add eax, 0x859a1343
add eax, 0x7a66f090
mov ebx, eax
add eax, 0xebf0248f
sub eax, 0xebf0248a
mov ecx, 0xbd9c115e
sub ecx, 0xad9c115e
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x40492d
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
mov eax, dword [0x42d070]
xor eax, esp
mov dword [esp + 0xa8], eax
and dword [esp + 0x88], 0
xor eax, eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
push 0x208
mov dword [esp + 0x9c], 7
mov word [esp + 0x88], ax
call fcn.00408bd9
mov esi, eax
mov dword [esp], 0x104
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
push esi
call fcn.0040ae24
pop ecx
pop ecx
test eax, eax
jne 0x4049a5
push esi
call fcn.00408be2
xor edi, edi
jmp 0x4049b7
add eax, 2
push eax
call fcn.0040ee38
pop ecx
push esi
mov edi, eax
call fcn.00408be2
pop ecx
push edi
call fcn.00407216
pop ecx
push eax
push edi
lea ecx, [esp + 0x8c]
call fcn.00407537
lea ecx, [esp + 0x6c]
call fcn.004044ff
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0xa0]
call fcn.00405eea
pop ecx
or esi, 0xffffffff
lea ecx, [esp + 0x6c]
push esi
xor edi, edi
push edi
push eax
call fcn.00405a1e
push edi
push 1
lea ecx, [esp + 0xa4]
call fcn.0040767a
push 0x40
lea eax, [esp + 0x28]
push edi
push eax
call fcn.0040b890
mov ax, word [ebp + 0x14]
lea ecx, [esp + 0x1c]
add esp, 0xc
mov word [esp + 0x50], ax
xor edx, edx
mov dword [esp + 0x20], 0x44
inc edx
lea eax, [esp + 0x6c]
cmp dword [esp + 0x80], 8
xorps xmm0, xmm0
push ecx
cmovae eax, dword [esp + 0x70]
lea ecx, [esp + 0x24]
push ecx
push edi
push edi
push edi
push edx
push edi
push edi
push ebx
push eax
movups xmmword [esp + 0x38], xmm0
mov dword [esp + 0x74], edx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x404a83
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
push 0x1388
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov esi, edi
push edi
push 1
lea ecx, [esp + 0x74]
call fcn.0040767a
push edi
push 1
lea ecx, [esp + 0x8c]
call fcn.0040767a
mov ecx, dword [esp + 0xb4]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040880d
mov esp, ebp
pop ebp
ret 0x10
Function at 0x414838
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44ec90]
jne 0x414842
repz ret
jmp fcn.0041a6eb

Function at 0x41ca4d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x41ca5c
pop dword [ebp - 0x38]
mov eax, 0x4011b430
sub eax, 0x3fcfe9d4
sub dword [ebp - 0x38], eax
push 0x40
push 0x1000
push 0x4e310
push 0
mov eax, 0x55b497c8
add eax, 0xaa8f2a90
add eax, dword [ebp - 0x38]
call dword [eax]
mov ecx, 0xe22a2594
add ecx, 0x1dd6253d
mov esi, eax
mov edx, 0x46b200
add edx, dword [ebp - 0x38]
mov ebx, 0x882ca939
add ebx, 0x9c73e952
mov edi, dword [edx]
xor dword [ebp - 0x24], edx
xor edi, ebx
sub dword [ebp - 0x34], ebx
mov dword [esi], edi
sub dword [ebp - 0x2c], ecx
add esi, 0xcfd29b8f
sub esi, 0xcfd29b8b
add edx, 0x32c03e4d
sub edx, 0x32c03e49
loop 0x41cab5
add eax, 0x11e17
mov ebx, eax
add eax, 0x64302286
sub eax, 0x64302281
mov ecx, 0x39a6dfc
sub ecx, 0x35a6dfc
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x43d490
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.sect_1
lea edi, [esi - 0x2e000]
push edi
or ebp, 0xffffffff
jmp 0x43d4b2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x43d4b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x43d4a8
mov eax, 1
add ebx, ebx
jne 0x43d4cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x43d4c0
jne 0x43d4dc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43d4c0
xor ecx, ecx
sub eax, 3
jb 0x43d4f0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x43d562
mov ebp, eax
add ebx, ebx
jne 0x43d4fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x43d508
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x43d52c
inc ecx
add ebx, ebx
jne 0x43d518
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x43d50d
jne 0x43d529
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43d50d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x43d54c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x43d53d
jmp 0x43d4ae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x43d54c
add edi, ecx
jmp 0x43d4ae
pop esi
mov edi, esi
mov ecx, 0x13f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x43d56a
cmp byte [edi], 5
jne 0x43d56a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x43d56f
lea edi, [esi + 0x3b000]
mov eax, dword [edi]
or eax, eax
je 0x43d5e7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3d7a4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3d7e0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x43d59c
mov ecx, edi
jns 0x43d5cb
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 + 0x3d7e4]
or eax, eax
je 0x43d5e1
mov dword [ebx], eax
add ebx, 4
jmp 0x43d5b9
call dword [esi + 0x3d7e8]
popal
jmp 0x401eac
Function at 0x401070
Capabilities:
Terminate process

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

Function at 0x409195
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.00404bf5
and dword [ebp - 4], 0
cmp dword [0x45b794], 0
mov ebx, eax
jne 0x409246
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4092f7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4092f7
push eax
call fcn.00404b83
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x45b794], eax
call esi
push eax
call fcn.00404b83
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x45b798], eax
call esi
push eax
call fcn.00404b83
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x45b79c], eax
call esi
push eax
call fcn.00404b83
pop ecx
mov dword [0x45b7a4], eax
test eax, eax
je 0x409246
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404b83
pop ecx
mov dword [0x45b7a0], eax
mov eax, dword [0x45b7a0]
cmp eax, ebx
je 0x40929e
cmp dword [0x45b7a4], ebx
je 0x40929e
push eax
call fcn.00404bfe
push dword [0x45b7a4]
mov esi, eax
call fcn.00404bfe
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40929e
test edi, edi
je 0x40929e
call esi
test eax, eax
je 0x409295
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409295
test byte [ebp - 0xc], 1
jne 0x40929e
or dword [ebp + 0x10], 0x200000
jmp 0x4092d7
mov eax, dword [0x45b798]
cmp eax, ebx
je 0x4092d7
push eax
call fcn.00404bfe
pop ecx
test eax, eax
je 0x4092d7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4092d7
mov eax, dword [0x45b79c]
cmp eax, ebx
je 0x4092d7
push eax
call fcn.00404bfe
pop ecx
test eax, eax
je 0x4092d7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45b794]
call fcn.00404bfe
pop ecx
test eax, eax
je 0x4092f7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4092f9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40b010
Capabilities:
Set console window title

Disassembly:
sub esp, 0x428
mov eax, dword [0x459030]
xor eax, esp
mov dword [esp + 0x424], eax
mov eax, dword [0x2c3901c]
push ebx
mov ebx, dword [0x2c38e68]
push esi
mov esi, dword [0x459f60]
push edi
mov edi, eax
cmp eax, 0x930
jne 0x40b051
push str.toxoporeh
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
mov eax, dword [0x2c3901c]
mov dword [0x45b8f4], esi
cmp eax, 0x114e
jne 0x40b07b
push 0
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
lea eax, [esp + 0x14]
push eax
push str.liyezejozonoduhu
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
mov eax, dword [0x2c3901c]
cmp eax, 0x2f
jne 0x40b0b3
push 0
push 0
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
push 0
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReadEventLogA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
call fcn.0040af50
mov ecx, dword [esp + 0x430]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401070
add esp, 0x428
ret
Function at 0x1000162b
Capabilities:
Check if file exists
Enumerate files on windows
Enumerate files recursively
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa94
mov eax, dword [0x1006c144]
xor eax, esp
mov dword [esp + 0xa90], eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x1c]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp + 0x18]
push edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], edx
test esi, esi
je 0x1000182c
test eax, eax
jne 0x1000167b
test ecx, ecx
je 0x1000182c
movzx eax, word [esi + 2]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp ax, 0x3a
je 0x100016d6
cmp ax, 0x5c
je 0x100016d6
xor eax, eax
push 0x40e
push eax
mov word [esp + 0x690], ax
lea eax, [esp + 0x692]
push eax
call fcn.1003af40
add esp, 0xc
lea eax, [esp + 0x688]
push eax
push 0x208
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push esi
lea eax, [esp + 0x68c]
push eax
call edi
lea esi, [esp + 0x688]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1000182c
test al, 0x10
je 0x1000182c
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
lea eax, [esp + 0x484]
push eax
call ebx
push 0x1005c040
lea eax, [esp + 0x484]
push eax
call edi
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x484]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x20], eax
cmp eax, 0xffffffff
je 0x1000182c
mov dword [esp + 0x10], 1
push 0x1005c044
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x100017fb
push 0x1005c048
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x100017fb
cmp dword [esp + 0x28], 0xffffffff
je 0x100017fb
push esi
lea eax, [esp + 0x27c]
push eax
call ebx
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x27c]
push eax
call edi
test byte [esp + 0x28], 0x10
je 0x100017e0
cmp dword [esp + 0x14], 0
je 0x100017ad
push dword [esp + 0x24]
lea eax, [esp + 0x27c]
push eax
call dword [esp + 0x1c]
test eax, eax
je 0x10001814
cmp dword [ebp + 0xc], 0
je 0x100017fb
push dword [esp + 0x24]
lea eax, [esp + 0x27c]
push dword [esp + 0x18]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [ebp + 0xc]
push eax
call fcn.1000162b
push 2
pop ecx
cmp eax, ecx
jne 0x100017fb
mov dword [esp + 0x10], ecx
jmp 0x1000181c
cmp dword [esp + 0x18], 0
je 0x100017fb
push dword [esp + 0x1c]
lea eax, [esp + 0x27c]
push eax
call dword [esp + 0x20]
test eax, eax
je 0x10001814
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10001736
jmp 0x1000181c
mov dword [esp + 0x10], 2
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x10]
jmp 0x1000182e
xor eax, eax
mov ecx, dword [esp + 0xa9c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1003a584
mov esp, ebp
pop ebp
ret 0x18