joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004eb19
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]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.1004e927
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x1004ec88
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x1004ec88
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x1004ec3d
jg 0x1004eb75
test eax, eax
je 0x1004ec33
push 1
push 0x1000
call fcn.100513b9
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x1004eb98
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1004ec2a
push 0x8000
push ebx
call fcn.1004c3fe
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x1004ebc1
jg 0x1004ebbc
cmp ecx, 0x1000
jb 0x1004ebc1
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.100495e6
add esp, 0x10
cmp eax, 0xffffffff
je 0x1004ec06
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 0x1004ebbc
jl 0x1004ebed
test ecx, ecx
jne 0x1004ebae
push dword [ebp - 0xc]
push ebx
call fcn.1004c3fe
push esi
call fcn.1004c1dc
add esp, 0xc
xor ebx, ebx
jmp 0x1004ec96
cmp byte [edi + 0x24], 0
je 0x1004ec1d
cmp dword [edi + 0x20], 5
jne 0x1004ec1d
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x1004ec28
mov ebx, dword [edi + 0x18]
jmp 0x1004ec2a
xor ebx, ebx
push esi
call fcn.1004c1dc
pop ecx
jmp 0x1004ec96
test ecx, ecx
jg 0x1004ebff
jl 0x1004ec3d
test eax, eax
jae 0x1004ebff
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10048c31
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x1004ec5d
cmp byte [edi + 0x1c], 0
je 0x1004ebff
jmp 0x1004ec8e
push ebx
call fcn.1004e691
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1004ebff
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1004ec96
cmp byte [edi + 0x1c], 0
je 0x1004ec93
mov ebx, dword [edi + 0x18]
jmp 0x1004ec96
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.10048c31
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10056352
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10056226
Function at 0x1005a0ba
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x1007c008]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x1005a105
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.1005a417
test al, al
jne 0x1005a0ff
sub edx, 2
cmp edx, edi
jne 0x1005a0e5
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x1005a127
lea eax, [edi + 2]
cmp edx, eax
je 0x1005a127
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.10059d81
add esp, 0x10
jmp 0x1005a221
push esi
lea ecx, [ebp - 0x255]
call fcn.1005a417
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1005a16a
push dword [ebp - 0x25c]
jmp 0x1005a117
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x1005a1a7
cmp word [ebp - 0x226], 0
je 0x1005a1c8
cmp word [ebp - 0x226], ax
jne 0x1005a1a7
cmp word [ebp - 0x224], 0
je 0x1005a1c8
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.10059d81
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x1005a214
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x1005a181
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x1005a1fc
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x1005a221
push 0x10059983
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.10023550
add esp, 0x10
jmp 0x1005a1f1
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100172bf
leave
ret
Function at 0x1005b45f
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 0x1005b4fc
push ebx
push esi
call fcn.1005b41b
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.10050fb0
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1005b4a9
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1005b4fb
push edi
push eax
call fcn.1004c216
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1005b4c9
call fcn.1004c1dc
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1005b4fa
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10050fb0
add esp, 0x20
test eax, eax
jne 0x1005b4e8
push edi
call fcn.1004c1dc
jmp 0x1005b4f0
push ebx
call fcn.1004c1dc
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 0x1005b4ff
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x1005b510
pop esi
ret
push ebx
push edi
push esi
call fcn.1005b41b
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.1004c216
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x1005b538
push ebx
push esi
push edi
call fcn.10021170
add esp, 0xc
push 0
call fcn.1004c1dc
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x1005bddc
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1005b7ad

Function at 0x1005f47c
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.1004cd73
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1005f4eb
cmp esi, dword [ebp - 4]
je 0x1005f4e6
cmp dword [ebp + 0xc], 0
je 0x1005f4e6
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1005f4c3
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.1005efce
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x1005f4ed
xor eax, eax
inc eax
jmp 0x1005f4ed
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x1005f552
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1007c008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.1004cd73
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.1004cd73
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x1005f5c9
cmp word [ecx], dx
je 0x1005f5c9
mov eax, dword [0x100741c4]
push edi
dec eax
push eax
push 0x100740b0
call fcn.1005f4f1
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x1005f63c
cmp word [eax], dx
je 0x1005f63c
mov eax, dword [edi]
test eax, eax
je 0x1005f5ed
cmp word [eax], dx
je 0x1005f5ed
lea eax, [ebp - 0x10]
push eax
call fcn.1005eed4
jmp 0x1005f5f6
lea eax, [ebp - 0x10]
push eax
call fcn.1005ef6f
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x1005f666
mov eax, dword [0x100740ac]
push dword [ebp - 0x14]
dec eax
push eax
push 0x10073da0
call fcn.1005f4f1
add esp, 0xc
test al, al
je 0x1005f666
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x1005f631
cmp word [eax], di
je 0x1005f631
lea eax, [ebp - 0x10]
push eax
call fcn.1005eed4
pop ecx
jmp 0x1005f668
lea eax, [ebp - 0x10]
push eax
call fcn.1005ef6f
jmp 0x1005f62e
mov eax, dword [edi]
test eax, eax
je 0x1005f653
cmp word [eax], dx
je 0x1005f653
lea eax, [ebp - 0x10]
push eax
call fcn.1005ee6b
pop ecx
jmp 0x1005f666
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x1005f731
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.1005f376
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1005f731
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x1005f731
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x1005f731
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1005f6be
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.1004dd67
test ebx, ebx
je 0x1005f72c
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.1004dd67
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1005f731
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1005f731
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.10055b4d
add esp, 0x10
xor eax, eax
inc eax
jmp 0x1005f733
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100172bf
leave
ret
Function at 0x1005fb9d
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1007c008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x1005fbe0
call fcn.10043858
mov dword [eax], 0xf
call fcn.1004386b
mov dword [eax], 0xd
call fcn.1004b843
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100172bf
leave
ret
test eax, eax
jne 0x1005fbe7
inc eax
jmp 0x1005fbd4
add eax, 0x40
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
test ecx, ecx
je 0x1005fbd2
xor eax, eax
cmp ecx, 1
setne al
jmp 0x1005fbd4
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x431002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
mov ecx, 0x14476d11
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43104e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x431024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
mov ecx, 0x2524714
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x431084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x4010b3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
pushal
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
xor eax, eax
xor ebx, ebx
xor ecx, ecx
xor edx, edx
inc bl
mov dl, byte [edi + ebx]
add al, dl
mov cl, byte [edi + eax]
mov byte [edi + ebx], cl
mov byte [edi + eax], dl
add cl, dl
mov cl, byte [edi + ecx]
xor byte [esi], cl
inc esi
dec dword [ebp + 0x10]
jne 0x4010c5
popal
leave
ret 0xc
Function at 0x401489
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
ret
Function at 0x401000
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40101e
test al, 0x10
je 0x40101e
mov esi, 1
jmp 0x401020
xor esi, esi
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40103f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
pop esi
pop ebp
ret
Function at 0x4012b0
Capabilities:
Read .ini file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x280
mov eax, dword [0x573790]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
lea eax, [ebp - 0x25c]
push edi
push eax
call fcn.004ff3e3
lea ecx, [ebp - 0x25c]
push ecx
call fcn.004ff6bc
mov esi, eax
mov ecx, 9
lea edi, [ebp - 0x280]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0x280]
mov eax, dword [ebp - 0x27c]
mov ecx, dword [ebp - 0x278]
mov esi, dword [ebp - 0x270]
mov edi, dword [ebp - 0x26c]
push edx
mov edx, dword [ebp - 0x274]
push eax
push ecx
push edx
inc esi
push esi
add edi, 0x76c
push edi
lea eax, [ebp - 0xcc]
push str.__4.4d__2.2d__2.2d__2.2d:_2.2d:_2.2d_
push eax
call fcn.004ff6e3
lea ecx, [ebp - 0xcc]
push ecx
call fcn.004ff7a6
push ebx
call fcn.004ff7a6
push 0x553730
call fcn.004ff7a6
push ebx
push 0x553734
push 0x57b488
call fcn.004ff6e3
add esp, 0x40
push 0x57b470
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
push 0x7f
lea edx, [ebp - 0x14b]
push 0
push edx
mov byte [ebp - 0x14c], 0
call fcn.005023a0
mov eax, dword [0x574aa0]
add esp, 0xc
cmp dword [0x574ab4], 0x10
jae 0x40139b
mov eax, 0x574aa0
push eax
lea ecx, [ebp - 0x254]
call fcn.00408480
mov eax, dword [eax]
push eax
push 0x80
lea ecx, [ebp - 0x14c]
push ecx
push 0x554a2f
push str.LogPath
push str.GATHER
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0x254]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4013ed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x63
lea ecx, [ebp - 0x67]
push 0
push ecx
mov byte [ebp - 0x68], 0
call fcn.005023a0
push esi
lea edx, [ebp - 0x14c]
push edx
lea eax, [ebp - 0x68]
push 0x553748
push eax
call fcn.004ff6e3
add esp, 0x18
lea edx, [ebp - 0x68]
mov ecx, esp
mov dword [ebp - 0x254], esp
push edx
call fcn.00408480
call fcn.00401050
add esp, 4
test eax, eax
je 0x4014e3
push 0x103
lea eax, [ebp - 0x24f]
push 0
push eax
mov byte [ebp - 0x250], 0
call fcn.005023a0
mov ecx, dword [ebp - 0x274]
push ecx
push esi
push edi
push esi
lea edx, [ebp - 0x14c]
push edx
lea eax, [ebp - 0x250]
push str._s_d
push eax
call fcn.004ff6e3
lea ecx, [ebp - 0x250]
push 0x553770
push ecx
call fcn.004ff91f
mov esi, eax
add esp, 0x30
test esi, esi
je 0x4014e3
lea eax, [ebp - 0xcc]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401497
sub eax, edx
push esi
push eax
lea edx, [ebp - 0xcc]
push 1
push edx
call fcn.004ffa8d
mov eax, ebx
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4014b8
push esi
sub eax, edx
push eax
push 1
push ebx
call fcn.004ffa8d
push esi
push 1
push 1
push 0x553730
call fcn.004ffa8d
push esi
call fcn.004ffb74
add esp, 0x24
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fecc6
mov esp, ebp
pop ebp
ret
Function at 0x401ed0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4714
call fcn.00504d20
mov eax, dword [0x573790]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x553a98
push str.tasklist
call fcn.0050042d
mov esi, eax
add esp, 8
test esi, esi
je 0x401f30
push 0x4710
lea eax, [ebp - 0x4714]
push 0
push eax
call fcn.005023a0
push esi
push 0x470f
lea ecx, [ebp - 0x4714]
push 1
push ecx
call fcn.00500c0a
push esi
call fcn.005008f5
add esp, 0x20
lea edx, [ebp - 0x4714]
push edi
push edx
call fcn.0040a520
mov ecx, dword [ebp - 4]
add esp, 8
cmp eax, 0xffffffff
setne al
xor ecx, ebp
pop esi
call fcn.004fecc6
mov esp, ebp
pop ebp
ret

Function at 0x401f60
Capabilities:
Read file on windows
Shutdown system

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x477c
call fcn.00504d20
mov eax, dword [0x573790]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x477c], 0
lea esp, [esp]
push 0x553a98
push str.tasklist
call fcn.0050042d
mov esi, eax
add esp, 8
test esi, esi
je 0x401fd8
push 0x4710
lea eax, [ebp - 0x4778]
push 0
push eax
call fcn.005023a0
push esi
push 0x470f
lea ecx, [ebp - 0x4778]
push 1
push ecx
call fcn.00500c0a
push esi
call fcn.005008f5
add esp, 0x20
lea edx, [ebp - 0x4778]
push edi
push edx
call fcn.0040a520
add esp, 8
cmp eax, 0xffffffff
je 0x402061
push 0x63
lea eax, [ebp - 0x67]
push 0
push eax
mov byte [ebp - 0x68], 0
call fcn.005023a0
push edi
lea ecx, [ebp - 0x68]
push str.taskkill__F__IM__s
push ecx
call fcn.004ff6e3
lea edx, [ebp - 0x68]
push edx
call fcn.00500c27
add esp, 0x1c
push 0x2710
call ebx
cmp dword [ebp + 8], 0
jne 0x40202b
call fcn.00401680
call fcn.00401ed0
test al, al
je 0x40204b
push 0x553abc
call fcn.004012b0
add esp, 4
push 0xffffffffffffffff
push 0
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov eax, dword [ebp - 0x477c]
inc eax
mov dword [ebp - 0x477c], eax
cmp eax, 0xa
jl 0x401f90
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fecc6
mov esp, ebp
pop ebp
ret
Function at 0x4032a0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x527d98
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x573790]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x2c]
push str.NotifyIcon.nid
push eax
call fcn.00407a90
add esp, 8
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4032f1
lea eax, [ebp - 0x2c]
push 0x553e5c
push eax
call fcn.004ff91f
mov edi, dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
mov esi, eax
add esp, 8
test esi, esi
je 0x403345
push esi
push 0x1fc
lea ecx, [ebp - 0x244]
push 1
push ecx
call fcn.00500c0a
add esp, 0x10
cmp eax, 0x1fc
jne 0x40333c
cmp dword [ebp - 0x244], eax
jne 0x40333c
lea edx, [ebp - 0x244]
push edx
push 2
call edi
push esi
call fcn.004ffb74
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov esi, eax
lea eax, [ebp - 0x48]
push str.EYE.ICO
push eax
call fcn.00407a90
mov eax, dword [ebp - 0x48]
add esp, 8
cmp dword [ebp - 0x34], 0x10
jae 0x40336a
lea eax, [ebp - 0x48]
push 0x10
push 0
push 0
push 1
push eax
push 0
call dword [sym.imp.USER32.dll_LoadImageA]
push eax
push 0
push 0x80
push esi
mov dword [0x57b464], eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [0x57b470], 0x1fc
mov dword [0x57b474], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x57b464]
mov edx, dword [0x553e6c]
mov dword [0x57b478], eax
mov eax, dword [0x553e70]
mov dword [0x57b484], ecx
mov ecx, dword [0x553e74]
mov dword [0x57b488], edx
mov dx, word [0x553e78]
mov dword [0x57b48c], eax
mov al, byte [0x553e7a]
push 0x57b470
push 0
mov dword [0x57b47c], 7
mov dword [0x57b480], 0x7f4
mov dword [0x57b490], ecx
mov word [0x57b494], dx
mov byte [0x57b496], al
call edi
mov eax, dword [ebp - 0x2c]
mov edi, 0x10
cmp dword [ebp - 0x18], edi
jae 0x40341d
lea eax, [ebp - 0x2c]
push 0x553e7c
push eax
call fcn.004ff91f
mov esi, eax
add esp, 8
test esi, esi
je 0x40344c
push esi
push 0x1fc
push 1
push 0x57b470
call fcn.004ffa8d
push esi
call fcn.004ffb74
add esp, 0x14
cmp dword [ebp - 0x34], edi
jb 0x40345d
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0040c4d4
add esp, 4
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
cmp dword [ebp - 0x18], edi
jb 0x403480
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0040c4d4
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fecc6
mov esp, ebp
pop ebp
ret