joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4202d8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0x49d8f3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x420313
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x42032c
lea eax, [ebp - 0x10]
mov edx, dword [0x4ba54c]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x42033f
lea eax, [ebp - 0x10]
mov edx, dword [0x4ba54c]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x42034b
adc edx, 0
mov edx, dword [edx*4 + 0x4b9378]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x4204c5
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x4204b8
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x4204b8
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406ddc
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x4204b8
mov eax, edi
cmp dword [eax], 0x4550
jne 0x4204b8
add eax, 4
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x420456
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x8664
jne 0x420456
mov eax, edi
call fcn.00403288
mov eax, 0xf0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420456
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420456
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
cmp byte [ebp - 1], 0
jne 0x4204b8
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x14c
jb 0x4204b8
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x150
ja 0x4204b8
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x4204b8
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x4204b8
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x4204dd
inc ebx
cmp ebx, 0x19
jne 0x420305
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49d8fa
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
mov ecx, 0x30c24666
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x432024
nop
mov eax, section..text_1
nop
mov ebx, 0x42f314
mov ecx, 0x128e0763
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x100030b9
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10003548]
jne 0x10009f63
ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x1000c4d0], eax
mov dword [0x1000c4cc], ecx
mov dword [0x1000c4c8], edx
mov dword [0x1000c4c4], ebx
mov dword [0x1000c4c0], esi
mov dword [0x1000c4bc], edi
mov word [0x1000c4e8], ss
mov word [0x1000c4dc], cs
mov word [0x1000c4b8], ds
mov word [0x1000c4b4], es
mov word [0x1000c4b0], fs
mov word [0x1000c4ac], gs
pushfd
pop dword [0x1000c4e0]
mov eax, dword [ebp]
mov dword [0x1000c4d4], eax
mov eax, dword [ebp + 4]
mov dword [0x1000c4d8], eax
lea eax, [ebp + 8]
mov dword [0x1000c4e4], eax
mov eax, dword [ebp - 0x320]
mov dword [0x1000c420], 0x10001
mov eax, dword [0x1000c4d8]
mov dword [0x1000c3d4], eax
mov dword [0x1000c3c8], 0xc0000409
mov dword [0x1000c3cc], 1
mov eax, dword [0x10003548]
mov dword [ebp - 0x328], eax
mov eax, dword [0x1000c198]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x1000c418], eax
push 1
call sub.msvcr100.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x1000a064
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x1000c418], 0
jne 0x1000a04f
push 1
call sub.msvcr100.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret
Function at 0x433003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x15d1419
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
nop
nop
nop
mov eax, str.eK_a
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x4bf2261b
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x401c66
pop dword [ebp - 0x2c]
mov eax, 0x943aa65a
add eax, 0x6c05760c
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x6d39b24f
sub dword [ebp - 0x3c], 0x1ee76d04
mov dword [ebp - 0x38], 0xd9b3d32c
sub dword [ebp - 0x38], 0xa78086e7
mov dword [ebp - 0x34], 0x6ad356d7
add dword [ebp - 0x34], 0xe178ed57
mov dword [ebp - 0x30], 0x9d23d112
sub dword [ebp - 0x30], 0x9d23d112
lea eax, [ebp - 0x3c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0xcd800d94
add dword [ebp - 0x3c], 0xa6f25bc2
mov dword [ebp - 0x38], 0x82a22268
sub dword [ebp - 0x38], 0x4135c0f3
mov dword [ebp - 0x34], 0x4198e92
add dword [ebp - 0x34], 0x5f55ddda
mov dword [ebp - 0x30], 0x276cf8a0
sub dword [ebp - 0x30], 0x276cf8a0
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0x27616327
add eax, 0xd8decd05
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x37dda
push 0
call eax
mov ecx, 0x990ab048
add ecx, 0x66f59d42
mov edx, eax
mov ebx, 0x407000
add ebx, dword [ebp - 0x2c]
mov esi, 0xa24f2519
xor dword [ebp - 0x1c], 0x98efbde7
mov edi, dword [ebx]
mov dword [ebp - 0x24], 0xf6697c2c
xor edi, esi
add dword [ebp - 0x18], edi
mov dword [edx], edi
sub dword [ebp - 8], 0x14690ed1
add edx, 4
add ebx, 4
loop 0x401d77
add eax, 0xfb1cc5e8
add eax, 0x4e46313
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x401000
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x410040]
xor eax, esp
mov dword [esp + 0x20c], eax
push 0x104
lea eax, [esp + 8]
push eax
mov dword [0x411a30], 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [esp + 4]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401035
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 2], 0x5c
je 0x401063
push 0x40dbb4
lea ecx, [esp + 8]
push 0x104
push ecx
call fcn.00402d04
add esp, 0xc
push esi
push str.IsWow64Process
push str.kernel32
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x401097
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
cmp dword [esp + 4], 0
pop esi
je 0x4010b0
push 0x40dbb8
push 0x104
lea eax, [esp + 0xc]
push eax
jmp 0x4010bf
push str.system32_
push 0x104
lea ecx, [esp + 0xc]
push ecx
call fcn.00402d04
add esp, 0xc
push str.Mapi32.dll
lea edx, [esp + 8]
push 0x104
push edx
call fcn.00402d04
add esp, 0xc
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor ecx, ecx
test eax, eax
setne cl
mov dword [0x411a30], eax
mov eax, ecx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.00402c82
add esp, 0x210
ret

Function at 0x4012b0
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 8
push str.KM_QuickScan_Mutex
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4012d7
xor eax, eax
add esp, 8
ret 0x10
call fcn.004022d0
mov dword [0x411a34], eax
test eax, eax
jne 0x4012ee
mov eax, dword [esp + 0xc]
mov dword [0x411a34], eax
push esi
push str.g_hScanRunningEvent
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
lea ecx, [esp + 4]
push ecx
mov dword [0x411a38], eax
mov dword [esp + 8], 8
mov dword [esp + 0xc], 0x20
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov edx, dword [0x411a34]
push 0
push 0x401360
push 0
push 0x3ea
push edx
call dword [sym.imp.USER32.dll_DialogBoxParamW]
mov esi, eax
mov eax, dword [0x411a38]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
add esp, 8
ret 0x10

Function at 0x401bb0
Capabilities:
Create directory
Get common file path

Disassembly:
sub esp, 0x224
mov eax, dword [0x410040]
xor eax, esp
mov dword [esp + 0x21c], eax
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx ecx, word [esp + 0xc]
movzx edx, word [esp + 0xa]
movzx eax, word [esp + 8]
push ecx
movzx ecx, word [esp + 0xa]
push edx
movzx edx, word [esp + 0xa]
push eax
movzx eax, word [esp + 0xc]
push ecx
push edx
push eax
push str.KMSCAN_02d_02d_02d_02d_02d_02d
lea ecx, [esp + 0x2c]
push 0x104
push ecx
call fcn.00402e50
add esp, 0x24
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [esp + 0x10]
push edx
push 0x104
push esi
call fcn.00402d04
add esp, 0xc
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.00402c82
add esp, 0x224
ret
Function at 0x4021f0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
sub esp, 0x42c
mov eax, dword [0x410040]
xor eax, esp
mov dword [esp + 0x424], eax
push ebx
push esi
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx ecx, word [esp + 0xe]
movzx edx, word [esp + 0xa]
movzx eax, word [esp + 8]
push ecx
push edx
push eax
push str.Kyocera__04d_02d_02d
lea ecx, [esp + 0x230]
push 0x104
push ecx
call fcn.00402e50
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
add esp, 0x18
mov esi, 1
jmp 0x402250
push esi
lea edx, [esp + 0x224]
push edx
push edi
push str._s_s__03d
lea eax, [esp + 0x28]
push 0x104
push eax
call fcn.00402e50
add esp, 0x18
lea ecx, [esp + 0x18]
push ecx
inc esi
call ebx
cmp eax, 0xffffffff
je 0x402289
lea edx, [esp + 0x18]
push edx
call ebx
test al, 0x10
jne 0x402250
lea eax, [esp + 0x18]
push eax
push 0x104
push edi
call fcn.0040301f
add esp, 0xc
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [esp + 0x42c]
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.00402c82
add esp, 0x42c
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 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 0x4015a0
Capabilities:
Terminate process

Disassembly:
call fcn.00401940
jmp fcn.004012d0

Function at 0x4015b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x403008]
jne 0x4015ba
repz ret
jmp fcn.004019f0
Function at 0x401b30
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x407048
call sym._EnterCriticalSection_4
mov ebx, dword [0x407040]
sub esp, 4
test ebx, ebx
je 0x401b7b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x401b74
test esi, esi
je 0x401b74
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401b50
mov dword [esp], 0x407048
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x401d60
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 sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x401db0
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 sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x401e88
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x401dee
cmp eax, 4
jne 0x401e10
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._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 sym._VirtualProtect_16
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 sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x401dfe
cmp edx, 4
je 0x401dfe
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 sym._VirtualProtect_16
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.00401d60
Function at 0x10012edd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x10012eec
pop dword [ebp - 0x18]
mov eax, 0xab405d56
sub eax, 0x9b3f2e6a
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x3e06685e
sub dword [ebp - 0x28], 0xefb42313
mov dword [ebp - 0x24], 0xe721b89
add dword [ebp - 0x24], 0x23c130bc
mov dword [ebp - 0x20], 0x78201629
sub dword [ebp - 0x20], 0x2bd3d1fb
mov dword [ebp - 0x1c], 0x850949b2
sub dword [ebp - 0x1c], 0x850949b2
lea eax, [ebp - 0x28]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0x68e7b956
sub dword [ebp - 0x28], 0xf4755000
mov dword [ebp - 0x24], 0xe98624ac
add dword [ebp - 0x24], 0x57e63cc9
mov dword [ebp - 0x20], 0xe0a125f4
sub dword [ebp - 0x20], 0x7d31b988
mov dword [ebp - 0x1c], 0x4dacce54
sub dword [ebp - 0x1c], 0x4dacce54
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x38641
push 0
call eax
mov ecx, 0xc2ac300b
sub ecx, 0xc2abee90
mov edi, eax
mov ebx, 0x10053800
add ebx, dword [ebp - 0x18]
mov edx, 0xfaee05d8
sub edx, 0x73fc6d88
xor dword [ebp - 0x10], ebx
mov esi, dword [ebx]
xor dword [ebp - 8], 0x6a82fc69
add esi, edx
add dword [ebp - 0xc], edx
mov dword [edi], esi
xor dword [ebp - 0xc], eax
add edi, 4
add ebx, 4
loop 0x10012ffe
add eax, 0x65f260f1
add eax, 0x9a0e97ce
mov ebx, eax
add eax, 5
mov ecx, 0xa01ae77a
add ecx, 0x6fe51886
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x40d3c8
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41a428]
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.00408b07
mov dword [ebp - 0x14], eax
cmp dword [0x45a3e0], esi
jne 0x40d4bb
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d448
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d59b
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d59b
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d59b
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x45a3e0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x45a3e4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x45a3e8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x45a3f0], eax
test eax, eax
je 0x40d4b8
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x45a3ec], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d4e0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d4d3
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d4f5
push 4
pop eax
jmp 0x40d59d
cmp dword [ebp - 0x14], esi
je 0x40d4f5
push dword [0x45a3e0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d4da
mov eax, dword [0x45a3ec]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d553
cmp dword [0x45a3f0], edi
je 0x40d553
push eax
call ebx
push dword [0x45a3f0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d553
test eax, eax
je 0x40d553
call ecx
test eax, eax
je 0x40d548
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 0x40d548
test byte [ebp - 8], 1
jne 0x40d553
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d583
mov eax, dword [0x45a3e4]
cmp eax, edi
je 0x40d580
push eax
call ebx
test eax, eax
je 0x40d580
call eax
mov esi, eax
test esi, esi
je 0x40d580
mov eax, dword [0x45a3e8]
cmp eax, edi
je 0x40d580
push eax
call ebx
test eax, eax
je 0x40d580
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x45a3e0]
call ebx
test eax, eax
je 0x40d59b
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d59d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403f70
mov esp, ebp
pop ebp
ret
Function at 0x41f616
Capabilities:
Create process on windows
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x4a16f0]
push esi
push edi
mov dword [ebp - 0x80c], eax
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x808]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x80c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str.11.18
lea ecx, [ebp - 8]
call fcn.004070c2
push eax
push 0x45b1e8
lea ecx, [ebp - 4]
call fcn.0040182e
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004019f3
lea ecx, [ebp - 4]
call fcn.00401802
lea ecx, [ebp - 8]
call fcn.00401802
push 0x458758
lea ecx, [ebp - 4]
call fcn.0040182e
mov esi, dword [eax]
push 0x458370
lea ecx, [ebp - 8]
call fcn.0040182e
mov eax, dword [eax]
push esi
push eax
lea ecx, [ebp - 0xc]
call fcn.00401c3b
lea ecx, [ebp - 8]
call fcn.00401802
lea ecx, [ebp - 4]
call fcn.00401802
push dword [ebp + 8]
lea eax, [ebp - 0x80c]
push eax
call fcn.004430e9
push dword [ebp - 0xc]
lea eax, [ebp - 0x80c]
push eax
call fcn.004430e9
lea eax, [ebp - 0x80c]
push str..txt
push eax
call fcn.004430e9
add esp, 0x18
lea eax, [ebp - 0x80c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp + 0xc]
push eax
push ecx
lea eax, [ebp - 0x80c]
mov ecx, esp
push eax
call fcn.004070c2
call fcn.00436513
pop ecx
xor eax, eax
pop ecx
push 5
push eax
lea ecx, [ebp - 0x80c]
push eax
push ecx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0xc]
call fcn.00401802
lea ecx, [ebp + 8]
call fcn.00401802
lea ecx, [ebp + 0xc]
call fcn.00401802
pop edi
pop esi
leave
ret