joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43d8f0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43d923
push esi
call fcn.00440a00
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43d91c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43d9a9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43d992
mov eax, dword [esi + 8]
test eax, eax
je 0x43d947
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43d98e
cmp eax, 2
je 0x43d992
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43d93a
cmp eax, 3
je 0x43d96d
cmp eax, 1
jne 0x43d93a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43d93a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43d93a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043d9d0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43d9b8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043d9d0
add esp, 4
pop esi
ret

Function at 0x449a80
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x449b23
test eax, eax
jbe 0x449b23
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x449b23
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x449ace
xor esi, esi
jmp 0x449ad4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x449aff
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00403aa0
add esi, eax
push esi
mov ebx, esi
call fcn.00403aa0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x449ae0
pop ebp
test edi, edi
pop edi
jne 0x449b23
test ebx, ebx
je 0x449b23
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00450cd0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x449c65
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x449d7d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x449d7d
mov eax, dword [esi + 0x3c]
push eax
call fcn.00461e62
mov esi, eax
test esi, esi
je 0x449d7d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x449d7d
mov ecx, esi
call fcn.00449bd0
cmp edi, eax
jge 0x449d7d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x449d03
mov dword [esp + 0x34], 1
jmp 0x449d5e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x449d7d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00449130
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x44e140
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x210
lea eax, [esp]
push eax
push 0x47c088
push 1
push 0
push 0x47c078
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x44e16e
xor eax, eax
add esp, 0x210
ret 8
mov eax, dword [esp]
mov edx, dword [esp + 0x214]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [esp]
lea edx, [esp + 4]
push edx
push 0x47c128
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jge 0x44e1a2
xor eax, eax
add esp, 0x210
ret 8
mov ecx, dword [esp + 0x218]
lea eax, [esp + 8]
push 0x104
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 4]
lea ecx, [esp + 8]
push 2
push ecx
mov edx, dword [eax]
push eax
call dword [edx + 0x18]
mov eax, dword [esp + 4]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, 1
add esp, 0x210
ret 8
Function at 0x462806
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x46283e
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004608bd
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00460895
jmp 0x46284a
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x463ef7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x463f39
call fcn.004699b0
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x463f39
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x463f30
xor eax, eax
jmp 0x463f41
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00463f47
pop edi
pop esi
pop ebx
ret 4

Function at 0x469ee0
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x469f0e
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x469f2c
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00469e46
jmp 0x469f2c
mov eax, dword [esi + 0x14]
test eax, eax
je 0x469f2c
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00469e46
test edi, edi
mov eax, edi
jne 0x469f16
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x413100
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xd000]
push edi
or ebp, 0xffffffff
jmp 0x413122
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x413129
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x413118
mov eax, 1
add ebx, ebx
jne 0x41313b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x413130
jne 0x41314c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x413130
xor ecx, ecx
sub eax, 3
jb 0x413160
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4131d2
mov ebp, eax
add ebx, ebx
jne 0x41316b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x413178
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41319c
inc ecx
add ebx, ebx
jne 0x413188
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41317d
jne 0x413199
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41317d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4131bc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4131ad
jmp 0x41311e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4131bc
add edi, ecx
jmp 0x41311e
pop esi
mov edi, esi
mov ecx, 0x5c7
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4131da
cmp byte [edi], 1
jne 0x4131da
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 0x4131df
lea edi, [esi + 0x11000]
mov eax, dword [edi]
or eax, eax
je 0x41324e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x13590]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x13630]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41320c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x13634]
or eax, eax
je 0x413248
mov dword [ebx], eax
add ebx, 4
jmp 0x413229
call dword [esi + 0x13638]
popal
jmp 0x40a27c
Function at 0x4011ee
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
cmp dword [0x414c9c], 0
je 0x40139c
mov dword [0x412398], str.ADDTL
mov eax, dword [0x412398]
push eax
call fcn.0040c190
add esp, 4
mov ecx, dword [0x412398]
lea edx, [ecx + eax + 1]
mov dword [0x412398], edx
mov eax, dword [0x412398]
mov ecx, dword [eax]
mov dword [ebp - 0x11c], ecx
mov edx, dword [0x412398]
add edx, 4
mov dword [0x412398], edx
mov dword [ebp - 0x10c], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x108]
push ecx
call fcn.0040c0a0
add esp, 8
push 0x5c
lea edx, [ebp - 0x108]
push edx
call fcn.0040c070
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40139c
mov dword [0x414c9c], 0
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov byte [ecx], 0
mov edx, dword [0x412398]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jle 0x40139c
mov ecx, dword [ebp - 0x114]
sub ecx, 1
mov dword [ebp - 0x114], ecx
mov edx, dword [ebp - 8]
mov dword [0x412398], edx
mov dword [ebp - 0x110], 0
jmp 0x4012f1
mov eax, dword [ebp - 0x110]
add eax, 1
mov dword [ebp - 0x110], eax
mov ecx, dword [ebp - 0x110]
cmp ecx, dword [ebp - 0x11c]
jge 0x401397
mov edx, dword [0x412398]
add edx, 1
push edx
mov eax, dword [0x412398]
movsx ecx, byte [eax]
mov edx, dword [ebp - 4]
add edx, ecx
push edx
call fcn.0040c0a0
add esp, 8
mov eax, dword [0x412398]
add eax, 1
push eax
call fcn.0040c190
add esp, 4
mov ecx, dword [0x412398]
lea edx, [ecx + eax + 2]
mov dword [0x412398], edx
mov eax, dword [0x412398]
mov cl, byte [eax]
mov byte [ebp - 0x118], cl
mov edx, dword [0x412398]
add edx, 1
mov dword [0x412398], edx
mov eax, dword [ebp - 0x110]
cmp eax, dword [ebp - 0x114]
jne 0x401392
mov cl, byte [ebp - 0x118]
mov byte [ebp - 0x120], cl
cmp byte [ebp - 0x120], 1
je 0x401385
jmp 0x401392
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x4012e2
jmp 0x4012b1
mov esp, ebp
pop ebp
ret
Function at 0x402af3
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x42d134], 0
je 0x402b2e
mov dword [0x42f980], 0x12345678
mov eax, dword [0x42f954]
sub eax, 8
mov ecx, dword [0x42f960]
sub ecx, 0x42d140
cmp eax, ecx
jge 0x402b2e
mov dword [0x42f954], 0
cmp dword [0x42f954], 0
jle 0x402b40
cmp dword [0x432190], 0
jg 0x402b5e
mov dword [0x42f95c], 1
mov edx, dword [0x42d12c]
add edx, 1
mov dword [0x42d138], edx
jmp 0x402d29
mov eax, dword [0x42f950]
mov dword [ebp - 4], eax
cmp dword [0x4112c4], 0
je 0x402b8c
push 0
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
push 0x42f980
mov eax, dword [0x41d034]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x402be6
cmp dword [0x42f96c], 0
je 0x402bb9
mov ecx, dword [ebp - 4]
cmp ecx, dword [0x432190]
jbe 0x402bab
mov edx, dword [0x432190]
mov dword [ebp - 0xc], edx
jmp 0x402bb1
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
jmp 0x402bbf
mov edx, dword [ebp - 4]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [0x41d034]
push ecx
push 0x42f980
call fcn.0040c6b0
add esp, 0xc
mov edx, dword [0x41d034]
add edx, dword [ebp - 8]
mov dword [0x41d034], edx
movsx eax, word [0x41d044]
test eax, eax
je 0x402c0a
movsx ecx, word [0x41d044]
push ecx
mov edx, dword [ebp - 8]
push edx
push 0x42f980
call fcn.0040c040
add esp, 0xc
mov dword [0x42d12c], 0x42f980
mov eax, dword [ebp - 8]
add eax, 0x42f980
mov dword [0x42d138], eax
cmp dword [0x42f96c], 0
je 0x402c54
mov ecx, dword [ebp - 8]
cmp ecx, dword [0x432190]
jle 0x402c47
mov edx, dword [0x432190]
add edx, 0x42f980
mov dword [0x42d138], edx
mov eax, dword [0x432190]
sub eax, dword [ebp - 8]
mov dword [0x432190], eax
cmp dword [0x41d03c], 0
je 0x402c7d
cmp dword [0x41d054], 0
je 0x402c7d
mov ecx, dword [ebp - 8]
push ecx
push 0x42f980
call dword [0x41d054]
add esp, 8
mov dword [0x41d03c], eax
cmp dword [0x41d04c], 0
je 0x402c93
mov edx, dword [ebp - 8]
push edx
call dword [0x41d04c]
add esp, 4
mov eax, dword [ebp - 8]
push eax
call fcn.00402d2d
add esp, 4
test eax, eax
jne 0x402cde
mov dword [0x42d128], 1
mov dword [0x432190], 0
mov ecx, dword [0x432190]
mov dword [0x42f954], ecx
mov edx, dword [0x42d12c]
add edx, 1
mov dword [0x42d138], edx
mov dword [0x41d028], 0
jmp 0x402d11
cmp dword [ebp - 8], 0
ja 0x402d11
mov dword [0x432190], 0
mov eax, dword [0x432190]
mov dword [0x42f954], eax
mov dword [0x42f95c], 1
mov ecx, dword [0x42d12c]
add ecx, 1
mov dword [0x42d138], ecx
cmp dword [0x42d134], 0
je 0x402d29
mov edx, dword [0x42d12c]
add edx, 6
mov dword [0x42d12c], edx
mov esp, ebp
pop ebp
ret
Function at 0x402ebb
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
call fcn.00402f79
cmp dword [0x41d040], 0
je 0x402ef4
cmp dword [0x41d054], 0
je 0x402ef4
mov eax, dword [0x42f960]
sub eax, 0x42d140
push eax
push 0x42d140
call dword [0x41d054]
add esp, 8
mov dword [0x41d040], eax
mov ecx, dword [0x42f960]
sub ecx, 0x42d140
mov dword [ebp - 4], ecx
cmp dword [0x41d048], 0
je 0x402f34
mov edx, dword [ebp - 4]
push edx
push 0x42d140
mov eax, dword [0x41d048]
push eax
call fcn.0040c6b0
add esp, 0xc
mov ecx, dword [0x41d048]
add ecx, dword [ebp - 4]
mov dword [0x41d048], ecx
jmp 0x402f50
push 0
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 4]
push eax
push 0x42d140
mov ecx, dword [0x41d038]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [0x42f968]
add edx, dword [ebp - 4]
mov dword [0x42f968], edx
cmp dword [0x41d050], 0
je 0x402f75
mov eax, dword [ebp - 4]
push eax
call dword [0x41d050]
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x403310
Capabilities:
Create process on windows
Get comspec environment variable
Query environment variable
Resume thread
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7e8
push 0
push 0x8000080
push 2
push 0
push 0
push 0x40000000
push 0x4112c8
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0xffffffff
je 0x403509
push 0x104
lea eax, [ebp - 0x654]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x654]
push ecx
lea edx, [ebp - 0x550]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x5c
lea eax, [ebp - 0x550]
push eax
call fcn.00403510
add esp, 8
mov byte [eax], 0
push 0x4112d4
lea ecx, [ebp - 0x550]
push ecx
lea edx, [ebp - 0x654]
push edx
lea eax, [ebp - 0x654]
push eax
push str.:Repeat_r_ndel___s__r_nif_exist___s__goto_Repeat_r_nrmdir___s__r_ndel___s__r_n
lea ecx, [ebp - 0x44c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
push 0
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x44c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea ecx, [ebp - 0x44c]
push ecx
mov edx, dword [ebp - 0x60]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x44
push 0
lea ecx, [ebp - 0x5c]
push ecx
call fcn.0040c210
add esp, 0xc
mov dword [ebp - 0x5c], 0x44
mov dword [ebp - 0x30], 1
mov word [ebp - 0x2c], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x6e8], 0x94
lea edx, [ebp - 0x6e8]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x40348b
cmp dword [ebp - 0x6d8], 1
jne 0x40348b
push 0x100
lea eax, [ebp - 0x7e8]
push eax
push str.COMSPEC
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x40348b
push str.__C_delus.bat
lea ecx, [ebp - 0x7e8]
push ecx
call fcn.0040c0b0
add esp, 8
mov dword [ebp - 0x14], 1
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x5c]
push eax
push 0x411340
push 0
push 0x44
push 0
push 0
push 0
lea ecx, [ebp - 0x7e8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x14], 0
jne 0x4034b8
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x5c]
push eax
push 0x411344
push 0
push 0x44
push 0
push 0
push 0
push str.DelUS.bat
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x403509
push 0xfffffffffffffff1
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push 0xf
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push 0x80
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret
Function at 0x4043b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push 5
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 4], eax
push 5
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 4], eax
mov dword [ebp - 0x88], 0
jmp 0x4043f8
mov eax, dword [ebp - 0x88]
add eax, 1
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0x40
jge 0x404493
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40447f
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x40447f
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40447f
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
je 0x40447f
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 0xc]
je 0x40447f
push 0x80
lea eax, [ebp - 0x84]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
movsx edx, byte [ebp - 0x84]
test edx, edx
je 0x40447f
push 0xffffffffffffffec
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 8
test eax, eax
jne 0x40447f
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x404493
push 2
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 4], eax
jmp 0x4043e9
mov esp, ebp
pop ebp
ret
Function at 0x4048e9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.004044a0
cmp dword [ebp + 8], 0xffffffff
je 0x40499d
mov eax, dword [ebp + 8]
cmp eax, dword [0x4281a0]
jne 0x40491f
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4281a0], 0xffffffff
jmp 0x40499d
mov edx, dword [ebp + 8]
cmp edx, dword [0x4286c0]
jne 0x40499d
cmp dword [0x4286c4], 0
je 0x404989
mov eax, 0x428bcc
mov ecx, dword [0x4286c4]
imul ecx, ecx, 0x28
sub eax, ecx
mov dword [ebp - 4], eax
mov edx, dword [0x4286c4]
imul edx, edx, 0x28
mov dword [ebp - 0xc], edx
push str.GLUE
call fcn.00401550
add esp, 4
push 1
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00401757
add esp, 0xc
push 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4286c0], 0xffffffff
mov esp, ebp
pop ebp
ret
Function at 0x405408
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
call fcn.004044a0
cmp dword [0x41d0b8], 0
jne 0x4055b9
cmp dword [0x4281a0], 0xffffffff
je 0x40559b
push 0x33
mov eax, dword [ebp + 8]
push eax
call fcn.00404a57
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x40559b
mov dword [ebp - 0xc], 0xffffffff
cmp dword [0x411450], 0xffffffff
je 0x40546a
mov ecx, dword [0x411450]
mov dword [ebp - 0xc], ecx
jmp 0x40547f
cmp dword [ebp + 0xc], 0
je 0x40547f
mov edx, dword [ebp + 0xc]
push edx
call fcn.0040451a
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x40559b
mov eax, dword [ebp - 8]
movsx ecx, byte [eax + 1]
cmp ecx, 0xffffffff
jne 0x4054dd
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040530a
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4054d8
push 0
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x28]
xor ecx, ecx
cmp eax, dword [ebp - 0x14]
sete cl
mov dword [ebp - 4], ecx
jmp 0x40556c
push 0
push 0
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x13]
push eax
mov ecx, dword [0x4281a0]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x17]
mov dword [ebp - 0x10], eax
cmp dword [0x42cfe8], 0
je 0x405518
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [0x42cfe8]
add esp, 8
mov eax, dword [ebp - 8]
movsx ecx, byte [eax + 1]
test ecx, ecx
je 0x40552c
mov dword [ebp - 0x30], 0x200
jmp 0x405537
mov edx, dword [ebp - 8]
xor eax, eax
mov al, byte [edx + 2]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
cmp dword [0x41d0b4], 0
je 0x40554f
mov edx, dword [ebp - 0x2c]
or dh, 0x10
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [0x4281a0]
push eax
call fcn.00404ef9
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [0x411450], 0xffffffff
jne 0x40559b
cmp dword [0x428180], 0
je 0x405591
cmp dword [ebp - 4], 0
je 0x405591
mov ecx, dword [ebp - 0xc]
push ecx
call dword [0x428180]
add esp, 4
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x41d0b4], 0
xor eax, eax
cmp dword [ebp - 4], 0
sete al
and eax, dword [0x41d0bc]
mov dword [0x41d0b8], eax
mov dword [0x42cfe8], 0
mov dword [0x428180], 0
mov dword [0x428184], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret