joyce8/EMBER2024-capa huggingface dataset:
Function at 0xb123dc
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
push edi
push esi
lea eax, [ebp - 4]
push eax
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 4], ebx
jbe 0xb1242c
cmp dword [ebp - 4], 2
ja 0xb1e965
mov ecx, dword [edi]
test cl, 1
jne 0xb1242c
cmp esi, ebx
je 0xb12425
shr ecx, 1
cmp word [esi + ecx*2 - 2], bx
jne 0xb1242c
pop edi
pop esi
pop ebx
leave
ret 0xc
push 0xd
pop eax
jmp 0xb12425

Function at 0xb124ed
Capabilities:
Delete file
Move file

Disassembly:
push 0x14
mov eax, 0xb26b05
call fcn.00b11350
mov esi, ecx
mov eax, dword [esi + 0x44]
xor edi, edi
mov ebx, 0x8007000e
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
cmp eax, edi
je 0xb12519
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x44], edi
cmp dword [ebp + 8], edi
je 0xb1265b
cmp dword [ebp + 0xc], edi
je 0xb1265b
push 1
call fcn.00b1227c
mov dword [ebp - 0x1c], eax
cmp eax, edi
je 0xb1264a
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov dword [ebp - 4], edi
call esi
push dword [ebp + 8]
mov edi, eax
call esi
lea eax, [eax + edi + 1]
xor ecx, ecx
push 2
pop edx
mov dword [ebp - 0x20], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00b113e0
pop ecx
mov dword [ebp - 0x18], eax
test eax, eax
je 0xb1259b
push dword [ebp - 0x1c]
inc edi
push edi
push eax
call fcn.00b121cb
mov ebx, eax
test ebx, ebx
jl 0xb1259b
push dword [ebp + 8]
push dword [ebp - 0x20]
push dword [ebp - 0x18]
call fcn.00b12436
mov ebx, eax
test ebx, ebx
jl 0xb1259b
xor ebx, ebx
inc ebx
or dword [ebp - 4], 0xffffffff
test ebx, ebx
jl 0xb12632
push 2
pop ebx
push dword [ebp - 0x1c]
mov dword [ebp - 4], ebx
call esi
push dword [ebp + 0xc]
mov edi, eax
call esi
lea esi, [eax + edi + 1]
xor ecx, ecx
mov eax, esi
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00b113e0
pop ecx
mov dword [ebp - 0x14], eax
test eax, eax
je 0xb12654
push dword [ebp - 0x1c]
inc edi
push edi
push eax
call fcn.00b121cb
mov ebx, eax
test ebx, ebx
jl 0xb12623
push dword [ebp + 0xc]
push esi
push dword [ebp - 0x14]
call fcn.00b12436
mov ebx, eax
test ebx, ebx
jl 0xb12623
xor ebx, ebx
inc ebx
test ebx, ebx
jl 0xb12623
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 1
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0xb1f3a2
xor ebx, ebx
cmp dword [ebp - 0x14], 0
je 0xb12632
push dword [ebp - 0x14]
call fcn.00b113c0
pop ecx
cmp dword [ebp - 0x18], 0
je 0xb12641
push dword [ebp - 0x18]
call fcn.00b113c0
pop ecx
push dword [ebp - 0x1c]
call fcn.00b113c0
pop ecx
mov eax, ebx
call fcn.00b11390
ret 8
mov ebx, 0x8007000e
jmp 0xb125fe
mov ebx, 0x80070057
jmp 0xb1264a
Function at 0xb13a67
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 8], 0
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0xb13ae4
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0xb13ac0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push 0xb13ad0
push dword [ebp - 4]
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 0xffffffff
pop esi
je 0xb1e30e
mov eax, dword [ebp - 8]
leave
ret
Function at 0xb14267
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
cmp dword [0xb2b00c], esi
jne 0xb142be
lea eax, [ebp - 4]
push eax
push esi
push esi
push 0xb12c6f
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0xb2b00c], eax
cmp eax, esi
je 0xb1e4ec
push 0xffffffffffffffff
push dword [0xb2b014]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [0xb2b014]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
cmp dword [0xb2b018], esi
jl 0xb1e50a
pop esi
leave
ret

Function at 0xb14441
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0xb14498
call fcn.00b12712
xor eax, eax
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0xb14490
cmp ecx, 0xffffffff
je 0xb14490
and dword [ebp - 4], eax
mov edx, 0x5a4d
cmp word [ecx], dx
jne 0xb14489
mov edx, dword [ecx + 0x3c]
test edx, edx
jl 0xb14489
cmp edx, 0x10000000
jae 0xb14489
lea eax, [edx + ecx]
mov dword [ebp - 0x1c], eax
cmp dword [eax], 0x4550
jne 0xb1e892
mov dword [ebp - 4], 0xfffffffe
call fcn.00b12757
ret 4

Function at 0xb1681f
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0xb2b004]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
mov esi, ecx
inc eax
cmp dword [esi + 0x2c], 0
jne 0xb16933
push edi
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x41c], ax
lea eax, [ebp - 0x41a]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov edi, 0x105
push edi
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [ebp - 0x420], eax
cmp eax, edi
ja 0xb1ed16
lea eax, [ebp - 0x41c]
push eax
push edi
lea eax, [ebp - 0x210]
push eax
call fcn.00b121cb
test eax, eax
jl 0xb16932
mov ecx, dword [ebp - 0x420]
cmp word [ebp + ecx*2 - 0x210], 0x5c
je 0xb168c3
push 0xb16994
push edi
lea eax, [ebp - 0x210]
push eax
call fcn.00b12436
test eax, eax
jl 0xb16932
push 0xb16980
push edi
lea eax, [ebp - 0x210]
push eax
call fcn.00b12436
test eax, eax
jl 0xb16932
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x2c], eax
test eax, eax
je 0xb1ed20
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0xb16970
push eax
call edi
push 0xb1695c
push dword [esi + 0x2c]
mov dword [esi + 0x30], eax
call edi
push 0xb16948
push dword [esi + 0x2c]
mov dword [esi + 0x34], eax
call edi
cmp dword [esi + 0x30], 0
mov dword [esi + 0x38], eax
je 0xb16940
cmp dword [esi + 0x34], 0
je 0xb16940
test eax, eax
je 0xb16940
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00b120d4
leave
ret
mov eax, 0x8007007f
jmp 0xb16932
Function at 0xb171f8
Capabilities:
Identify system language via api

Disassembly:
push 0x2c
mov eax, 0xb2608c
call fcn.00b139dd
lea ecx, [ebp - 0x34]
call fcn.00b16c55
and dword [ebp - 4], 0
lea eax, [ebp - 0x34]
push eax
push 0
call fcn.00b1758b
test eax, eax
jl 0xb1722c
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00b172a7
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx esi, ax
mov eax, 0x409
mov edi, 0xb17298
cmp ax, si
jne 0xb1e4b4
and esi, 0x3ff
push esi
push edi
lea eax, [ebp - 0x30]
push 8
push eax
call fcn.00b11451
add esp, 0x10
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00b1758b
mov esi, eax
test esi, esi
jl 0xb17280
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00b172a7
mov esi, eax
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x34]
lea ecx, [ebp - 0x34]
call fcn.00b1760b
mov eax, esi
call fcn.00b12b9f
ret

Function at 0xb1791d
Capabilities:
Identify system language via api

Disassembly:
lea eax, [ebp - 0x30]
push eax
call esi
push 8
pop eax
push dword [ebp + 0x10]
mov word [ebp - 0x30], ax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x28], eax
cmp eax, ebx
je 0xb1dc4f
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push 0x82
lea edx, [ebp - 0x30]
push edx
push 0xb17900
push eax
call dword [ecx + 0x10]
mov esi, eax
lea eax, [ebp - 0x30]
push eax
call edi
cmp esi, ebx
jl 0xb179a8
push 1
lea ecx, [ebp - 0x20]
call fcn.00b179e3
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x20]
push edx
push 0xb178ec
push eax
call dword [ecx + 0x10]
mov esi, eax
lea eax, [ebp - 0x20]
push eax
call edi
push eax
call fcn.00b171e0
cmp esi, ebx
jl 0xb179a8
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
push 3
movzx eax, ax
pop ecx
mov word [ebp - 0x20], cx
mov dword [ebp - 0x18], eax
jmp 0xb17992
push 0x24
mov eax, 0xb25c85
call fcn.00b126dd
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x20]
push eax
call esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push eax
mov dword [ebp - 0x10], ebx
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x10]
mov dword [ebp + 8], eax
mov byte [ebp - 4], 1
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp dword [ebp + 0xc], ebx
je 0xb17854
push 1
lea ecx, [ebp - 0x20]
call fcn.00b179e3
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x20]
push edx
push 0xb13984
push eax
call dword [ecx + 0x10]
cmp eax, ebx
jl 0xb179a6
push 3
pop eax
mov word [ebp - 0x20], ax
mov dword [ebp - 0x18], 0x409
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push 1
lea edx, [ebp - 0x20]
push edx
push 0xb179d0
push eax
call dword [ecx + 0x10]
mov esi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp + 8]
call fcn.00b17455
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x20]
push eax
call edi
push eax
call fcn.00b171e0
mov eax, esi
call fcn.00b11390
ret 0xc
Function at 0xb17b05
Capabilities:
Identify system language via api

Disassembly:
push 0x50
mov eax, 0xb25fc0
call fcn.00b139dd
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
xor esi, esi
push esi
mov dword [ebp - 0x5c], ecx
push eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x54], esi
call fcn.00b17c2b
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x58]
mov ebx, eax
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, si
jne 0xb17b34
sub eax, ecx
sar eax, 1
mov edi, eax
je 0xb17b63
movzx eax, word [ebx + esi*2]
push eax
call dword [sym.imp.msvcrt.dll_iswxdigit]
pop ecx
test eax, eax
je 0xb17b5b
inc esi
cmp esi, edi
jb 0xb17b46
cmp esi, edi
jb 0xb17c0e
xor eax, eax
mov edx, ebx
test edi, edi
jbe 0xb17c0e
cmp word [edx], 0x30
jne 0xb17b7c
inc eax
inc edx
inc edx
cmp eax, edi
jb 0xb17b6f
cmp eax, edi
jae 0xb17c0e
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0xb17b89
sub eax, esi
sar eax, 1
cmp eax, 3
ja 0xb17c0e
push 0x10
push 0
push edx
call dword [sym.imp.msvcrt.dll_wcstoul]
add esp, 0xc
movzx esi, ax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
cmp cx, si
jne 0xb17c03
movzx eax, ax
movzx eax, ax
push eax
push 0xb17c18
lea eax, [ebp - 0x50]
push 0x20
push eax
call fcn.00b11451
mov ecx, dword [ebp - 0x5c]
add esp, 0x10
lea eax, [ebp - 0x50]
push eax
call fcn.00b16c60
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x58]
lea ecx, [ebp - 0x58]
call fcn.00b1760b
mov eax, dword [ebp - 0x54]
call fcn.00b12b9f
ret 8
or esi, 0x400
movzx eax, si
jmp 0xb17bc6
mov dword [ebp - 0x54], 0x80041001
jmp 0xb17be9
Function at 0xb17f3e
Capabilities:
Create directory

Disassembly:
push 0x10
mov eax, 0xb26a7d
call fcn.00b11350
mov dword [ebp - 0x1c], ecx
xor esi, esi
mov ebx, 0x8007000e
mov dword [ebp - 0x14], esi
cmp dword [ebp + 8], esi
je 0xb18046
push 1
call fcn.00b1227c
mov dword [ebp - 0x18], eax
cmp eax, esi
je 0xb1803c
mov dword [ebp - 4], esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
call esi
push dword [ebp + 8]
mov edi, eax
call esi
lea esi, [eax + edi + 1]
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00b113e0
pop ecx
mov dword [ebp - 0x14], eax
test eax, eax
je 0xb17fcd
push dword [ebp - 0x18]
inc edi
push edi
push eax
call fcn.00b121cb
mov ebx, eax
test ebx, ebx
jl 0xb18024
push dword [ebp + 8]
push esi
push dword [ebp - 0x14]
call fcn.00b12436
mov ebx, eax
test ebx, ebx
jl 0xb18024
xor ebx, ebx
inc ebx
test ebx, ebx
jl 0xb18024
push 0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0xb17ff6
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0xb7
jne 0xb1f33c
xor ebx, ebx
inc ebx
test ebx, ebx
jl 0xb18024
xor ebx, ebx
push ebx
push 0x80
push 2
push ebx
push 1
push 0x40000000
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x44], eax
cmp eax, 0xffffffff
je 0xb1f353
cmp dword [ebp - 0x14], 0
je 0xb18033
push dword [ebp - 0x14]
call fcn.00b113c0
pop ecx
push dword [ebp - 0x18]
call fcn.00b113c0
pop ecx
mov eax, ebx
call fcn.00b11390
ret 4
mov ebx, 0x80070057
jmp 0xb1803c

Function at 0xb185f1
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0xb2b004]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 8], 0
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x44]
test eax, eax
je 0xb18684
cmp eax, 0xffffffff
je 0xb18684
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0xb18684
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
and dword [ebp - 0xc], 0
push ebx
call esi
push ebx
mov dword [ebp - 0x10], eax
call esi
lea esi, [eax + eax + 2]
mov eax, esi
call fcn.00b185b5
mov eax, esp
push esi
push ebx
push eax
call fcn.00b18692
mov esi, dword [ebp - 0x10]
mov edi, dword [edi + 0x44]
push 0
lea ecx, [ebp - 0xc]
push ecx
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0xb1f2da
cmp esi, dword [ebp - 0xc]
jne 0xb1f2f6
mov eax, dword [ebp - 8]
lea esp, [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00b120d4
leave
ret 4
mov dword [ebp - 8], 0x80070057
jmp 0xb1866d
Function at 0xb188ef
Capabilities:
Get geographical location

Disassembly:
push 0x210
mov eax, 0xb26be9
call fcn.00b120e6
xor eax, eax
push 0x1fe
mov word [ebp - 0x214], ax
xor ebx, ebx
lea eax, [ebp - 0x212]
push ebx
push eax
call sub.msvcrt.dll_memset
mov esi, dword [ebp + 8]
add esp, 0xc
push 0x100
lea eax, [ebp - 0x214]
push eax
push 0x1001
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea eax, [ebp - 0x214]
and esi, 0x3ff
push eax
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x218], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
add esi, 7
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00b113e0
mov edi, eax
pop ecx
cmp edi, ebx
je 0xb18999
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 0x21c]
push 0xb189a4
push esi
push edi
call fcn.00b11451
add esp, 0x14
mov eax, edi
call fcn.00b12126
ret 4
Function at 0xb20d7d
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
push edi
lea eax, [ecx + eax + 0x18]
test esi, esi
jbe 0xb20dba
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0xb20db2
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0xb20dbc
inc edx
add eax, 0x28
cmp edx, esi
jb 0xb20da2
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x401010
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
xor eax, eax
mov ecx, dword [esi - 8]
test ecx, ecx
jle 0x401052
push ebx
push edi
mov edi, dword [esp + 0x10]
mov cx, word [edi]
xor edx, edx
mov dl, byte [eax + esi]
mov ebx, ecx
and ebx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, ch
mov cx, word [edx*2 + 0x477820]
xor cx, bx
inc eax
mov word [edi], cx
mov ecx, dword [esi - 8]
cmp eax, ecx
jl 0x401024
pop edi
pop ebx
lea ecx, [esp + 0xc]
call fcn.00462898
pop esi
ret 8
Function at 0x403ee0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46f7e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov eax, dword [0x48fb24]
mov dword [esp + 0x48], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x1c]
mov byte [esp + 0x48], 2
push eax
call fcn.00461c3d
mov ecx, dword [eax]
push 0
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x14]
call fcn.00461c50
mov ebx, dword [eax + 0xc]
push 0
lea ecx, [esp + 0x14]
call fcn.00461c50
mov edi, dword [eax + 0x10]
push 0
lea ecx, [esp + 0x14]
inc edi
call fcn.00461c50
mov ebp, dword [eax + 0x14]
push 0
lea ecx, [esp + 0x14]
add ebp, 0x76c
call fcn.00461c50
mov edx, dword [eax]
push 0
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], edx
call fcn.00461c50
mov eax, dword [eax + 4]
push 0
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], eax
call fcn.00461c50
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x18]
mov eax, dword [eax + 8]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push ecx
push eax
push ebx
push edi
push ebp
lea edx, [esp + 0x30]
push str._4d____02d____02d__02d:_02d:_02d___s
push edx
call fcn.00461a66
add esp, 0x20
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.0046260d
mov ecx, esi
call fcn.00404240
push 0
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.0046260d
mov ecx, esi
call fcn.004089b0
lea eax, [esp + 0x14]
push 0x48b6a0
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.00462b2d
mov eax, dword [eax]
mov edx, dword [esi + 0x4b0]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 0
push 0x180
push edx
call edi
lea ecx, [esp + 0x1c]
call fcn.00462898
push 0
mov ecx, esi
call fcn.004668c5
mov eax, dword [esi + 0x4b0]
push 0
push 0
push 0x18b
push eax
call edi
mov ecx, dword [esi + 0x4b0]
dec eax
push 0
push eax
push 0x186
push ecx
call edi
mov edx, dword [esi + 0x4b0]
push 1
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0
mov ecx, esi
call fcn.004668c5
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
push 1
push 0
push 0
lea ecx, [esp + 0x30]
push 0
push ecx
call esi
test eax, eax
je 0x4040ad
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
lea edx, [esp + 0x24]
push edx
call edi
lea eax, [esp + 0x24]
push eax
call ebx
push 1
push 0
push 0
lea ecx, [esp + 0x30]
push 0
push ecx
call esi
test eax, eax
jne 0x40408c
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], 1
call fcn.00462898
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 0
call fcn.00462898
lea ecx, [esp + 0x50]
mov dword [esp + 0x48], 0xffffffff
call fcn.00462898
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x3c
ret 4
Function at 0x404dd0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x46f920
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x1c]
push ebx
push 0x80
push 3
push ebx
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 2
mov esi, eax
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x404e35
mov eax, dword [esp + 0x20]
lea edx, [esp + 8]
push ebx
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x404e69
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14], bl
call fcn.00462898
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], 0xffffffff
call fcn.00462898
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14], bl
call fcn.00462898
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], 0xffffffff
call fcn.00462898
mov ecx, dword [esp + 0xc]
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x404eb0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x46f940
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x1c]
push ebx
push 0x80
push 2
push ebx
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 2
mov esi, eax
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x404f15
mov eax, dword [esp + 0x20]
lea edx, [esp + 8]
push ebx
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x404f49
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14], bl
call fcn.00462898
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], 0xffffffff
call fcn.00462898
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14], bl
call fcn.00462898
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], 0xffffffff
call fcn.00462898
mov ecx, dword [esp + 0xc]
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x4093a0
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x46fd83
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
push esi
push edi
push 0
push 2
mov dword [esp + 0x144], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
or edi, 0xffffffff
cmp esi, edi
jne 0x4093ec
push str.create_snapshot_fail._n
call fcn.0044c416
add esp, 4
jmp 0x4094cf
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x128
push eax
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x40941c
push str.get_process_fail._n
call fcn.0044c416
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4094cf
mov ecx, dword [0x48fb24]
mov dword [esp + 8], ecx
lea edx, [esp + 0x30]
lea eax, [esp + 8]
push edx
push 0x48b480
push eax
mov byte [esp + 0x148], 1
call fcn.00461a66
mov ecx, dword [esp + 0x150]
add esp, 0xc
push ecx
lea ecx, [esp + 0xc]
call fcn.00461725
cmp eax, edi
jne 0x4094b7
lea ecx, [esp + 8]
mov byte [esp + 0x13c], 0
call fcn.00462898
lea edx, [esp + 0xc]
push edx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x4094e6
mov eax, dword [0x48fb24]
mov dword [esp + 8], eax
lea ecx, [esp + 0x30]
lea edx, [esp + 8]
push ecx
push 0x48b480
push edx
mov byte [esp + 0x148], 1
call fcn.00461a66
mov eax, dword [esp + 0x150]
add esp, 0xc
lea ecx, [esp + 8]
push eax
call fcn.00461725
cmp eax, edi
je 0x40945a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 8]
mov byte [esp + 0x13c], 0
call fcn.00462898
lea ecx, [esp + 0x144]
mov dword [esp + 0x13c], edi
call fcn.00462898
mov al, 1
jmp 0x409502
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x144]
mov dword [esp + 0x13c], edi
call fcn.00462898
xor al, al
mov ecx, dword [esp + 0x134]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x138
ret 4