joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41bcc8
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf4
mov ebx, eax
push 0
call sub.kernel32.dll_SetLastError
push esp
push 0
push 0
push 0x1a
push 0
call sub.SHFolder.dll_SHGetFolderPathW
test eax, eax
jne 0x41bcf8
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.00408c34
add esp, 0x20c
pop ebx
ret

Function at 0x41f870
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x41f8a9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00408058
jmp 0x41f8b2
mov eax, ebx
mov edx, esi
call fcn.004082b0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x41f8bc
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x41f8de
movzx eax, word [esp]
jmp 0x41f8e0
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x420944
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x420a69
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.0042074c
mov esi, eax
mov eax, dword [0x4f0ac4]
cmp byte [eax], 0
je 0x420a11
mov eax, dword [0x4f08c0]
call fcn.0040578c
call fcn.00404fec
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x420914]
call fcn.00409fbc
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x420a84
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x420a4d
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4f088c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4f3c54]
call fcn.0040a1b8
push eax
call sub.user32.dll_LoadStringW_1
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x420a70
lea eax, [ebp - 4]
mov edx, dword [0x420914]
call fcn.0040a0e0
ret
Function at 0x4224d0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.004083ac
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040bc18
mov edi, eax
cmp edi, 0x104
jbe 0x42247b
mov eax, edi
add eax, eax
call fcn.00404e78
mov esi, eax
jmp 0x42247d
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040bc18
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x4224b6
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x4224a0
mov eax, esp
cmp esi, eax
je 0x4224c3
mov eax, esi
call fcn.00404e94
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x4224fc
cmp bl, 0
je 0x4224f8
cmp bl, 0x41
jl 0x4224f3
cmp bl, 0x5a
jg 0x4224f3
or bl, 0x20
xor al, bl
inc esi
jmp 0x4224d7
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x42243c

Function at 0x42e2c4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x42e316
test eax, edx
je 0x42e319
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x42e2d9
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x42e2ff
add ecx, 4
js 0x42e2ef
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x42e2fc
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x42e325
test edx, edx
jne 0x42e2cc
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x469f9c
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x469fa4
mov eax, edx
pop esi
pop ebx
ret

Function at 0x498a5c
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x498afa
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xd]
je 0x498abe
cmp byte [ebx + 0x11], 0
jne 0x498abe
cmp byte [ebx + 0x3c], 0
jne 0x498abe
mov byte [ebx + 0xf], 0
mov byte [ebx + 0xd], 0
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x498adf
lea edx, [ebp - 4]
mov eax, dword [0x4f0a64]
call fcn.0040bb84
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x477ddc]
call fcn.00420a94
call fcn.004075cc
jmp 0x498adf
lea edx, [ebp - 8]
mov eax, dword [0x4f0a64]
call fcn.0040bb84
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x477ddc]
call fcn.00420a94
call fcn.004075cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x498b01
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407f30
ret

Function at 0x498e24
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xf]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x498e72
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xf], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.004989a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x498e8b
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x498e94
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.004989a8
dec esi
jne 0x498eb6
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret

Function at 0x4bb020
Capabilities:
Get disk information

Disassembly:
push ebx
push esi
push edi
push ecx
mov dword [esp], eax
xor ebx, ebx
cmp dword [esp], 0
je 0x4bb085
mov eax, dword [esp]
call fcn.004bb390
test al, al
je 0x4bb085
mov eax, dword [esp]
call fcn.004bb1a0
mov esi, eax
call sub.kernel32.dll_GetLogicalDrives
mov edi, eax
dec esi
mov eax, dword [esp]
movzx eax, word [eax + esi*2]
mov edx, eax
mov ecx, eax
add ecx, 0xffffff9f
sub cx, 0x1a
jae 0x4bb068
mov edx, eax
and dx, 0xffdf
mov eax, edx
cmp ax, 0x41
jb 0x4bb085
cmp ax, 0x5a
ja 0x4bb085
sub al, 0x41
mov ecx, eax
shr edi, cl
and edi, 1
cmp edi, 1
sete bl
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4da2c8
Capabilities:
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4da413
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x24]
xor ecx, ecx
mov edx, 0x14
call fcn.004057fc
mov eax, dword [ebp - 4]
call fcn.00407ed0
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4da3c9
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf0000000
push 1
push 0
push 0
lea eax, [ebp - 8]
push eax
call sub.advapi32.dll_CryptAcquireContextW
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0x8004
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CryptCreateHash
test eax, eax
jne 0x4da350
call fcn.004076c0
jmp 0x4da3fd
push 0
mov esi, dword [ebx + 0x10]
mov eax, dword [esi + 8]
push eax
mov eax, dword [esi + 4]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CryptHashData
test eax, eax
jne 0x4da374
call fcn.004076c0
jmp 0x4da3fd
mov dword [ebp - 0x10], 0x14
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x24]
push eax
push 2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CryptGetHashParam
test eax, eax
jne 0x4da39b
call fcn.004076c0
jmp 0x4da3fd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4da3d0
cmp dword [ebp - 0xc], 0
jbe 0x4da3b7
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CryptDestroyHash
cmp dword [ebp - 8], 0
jbe 0x4da3c8
push 0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CryptReleaseContext
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4da41a
lea eax, [ebp - 0x28]
call fcn.00407ed0
ret

Function at 0x4db530
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push ebx
add esp, 0xffffffec
mov ebx, edx
push 0
push 1
push 0
push ebx
lea eax, [esp + 0x10]
push eax
call sub.advapi32.dll_CryptAcquireContextW
test eax, eax
jne 0x4db5a0
call sub.kernel32.dll_GetLastError_2
cmp eax, 0x80090016
jne 0x4db56c
push 8
push 1
push 0
push ebx
lea eax, [esp + 0x10]
push eax
call sub.advapi32.dll_CryptAcquireContextW
test eax, eax
jne 0x4db5a0
mov dword [esp + 4], ebx
mov byte [esp + 8], 0xa
call sub.kernel32.dll_GetLastError_2
mov dword [esp + 0xc], eax
mov byte [esp + 0x10], 0
lea eax, [esp + 4]
push eax
push 1
mov ecx, 0x4db5b4
mov dl, 1
mov eax, dword [0x4d7bbc]
call fcn.00420ad0
call fcn.004075cc
mov eax, dword [esp]
add esp, 0x14
pop ebx
ret
Function at 0x4dbc54
Capabilities:
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
call fcn.00407fc4
xor eax, eax
push ebp
push 0x4dbd80
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax], edx
mov byte [ebp - 1], 0
xor eax, eax
push ebp
push 0x4dbd63
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x8004
push esi
call sub.advapi32.dll_CryptCreateHash
test eax, eax
jne 0x4dbcb9
call fcn.004076c0
jmp 0x4dbd6a
test ebx, ebx
jbe 0x4dbcdb
push 0
push ebx
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CryptHashData
test eax, eax
jne 0x4dbcdb
call fcn.004076c0
jmp 0x4dbd6a
mov ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x4dbce7
sub ebx, 4
mov ebx, dword [ebx]
push 0
push ebx
mov eax, dword [ebp + 0x14]
call fcn.004087e8
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CryptHashData
test eax, eax
jne 0x4dbd07
call fcn.004076c0
jmp 0x4dbd6a
mov eax, dword [ebp + 8]
push eax
push 0
mov eax, dword [ebp - 8]
push eax
push edi
push esi
call sub.advapi32.dll_CryptDeriveKey
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dbd6a
cmp byte [ebp - 1], 0
jne 0x4dbd4e
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jbe 0x4dbd4e
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
call sub.advapi32.dll_CryptDestroyKey
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax], edx
cmp dword [ebp - 8], 0
jbe 0x4dbd62
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CryptDestroyHash
xor eax, eax
mov dword [ebp - 8], eax
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dbd87
lea eax, [ebp + 0x14]
call fcn.00407ef4
ret
Function at 0x401f80
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x201c
call fcn.0040d1c0
mov eax, dword [0x43c06c]
xor eax, ebp
mov dword [ebp - 8], eax
lea eax, [ebp - 0x201c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x200e]
push eax
movzx eax, word [ebp - 0x2010]
push eax
movzx eax, word [ebp - 0x2012]
push eax
movzx eax, word [ebp - 0x2014]
push eax
push str.__02d:_02d:_02d._03d_
lea eax, [ebp - 0x200c]
push 0x1000
push eax
call fcn.00401200
add esp, 0x1c
lea ecx, [ebp + 0xc]
mov edx, 0x1000
sub edx, eax
push ecx
push ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x200c]
lea ecx, [ecx + eax*2]
call fcn.004011d0
lea eax, [ebp - 0x200c]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x402006
sub eax, edx
sar eax, 1
je 0x40203b
cmp word [ebp + eax*2 - 0x200e], 0xa
je 0x40203b
push 0x437a50
lea eax, [ebp - 0x200c]
push 0x1000
push eax
call fcn.00413f50
add esp, 0xc
lea eax, [ebp - 0x200c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0040c07f
mov esp, ebp
pop ebp
ret

Function at 0x4029e0
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x10]
lea edx, [ebp + 0x14]
sub esp, 0x40
push ebx
push esi
push edi
test ecx, ecx
jle 0x402a08
mov eax, dword [ebp + 0x14]
lea edx, [ebp + 0x1c]
dec ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp + 0x10], ecx
mov dword [ebp - 0xc], eax
jmp 0x402a10
xorps xmm0, xmm0
movlpd qword [ebp - 0x10], xmm0
test ecx, ecx
jle 0x402a29
dec ecx
add edx, 8
mov dword [ebp + 0x10], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x14], eax
jmp 0x402a31
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
test ecx, ecx
jle 0x402a4a
dec ecx
add edx, 8
mov dword [ebp + 0x10], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x20], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x1c], eax
jmp 0x402a52
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
test ecx, ecx
jle 0x402a6b
dec ecx
add edx, 8
mov dword [ebp + 0x10], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x28], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x24], eax
jmp 0x402a73
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
mov eax, edx
mov dword [ebp - 4], 0
cdq
xorps xmm0, xmm0
mov dword [ebp - 0x40], eax
mov eax, ecx
mov dword [ebp - 0x3c], edx
cdq
movlpd qword [ebp - 0x38], xmm0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 8], 0
mov word [ebp - 8], fs
mov eax, 0x2b
mov fs, ax
mov dword [ebp - 4], esp
and esp, 0xfffffff0
push 0x33
call fcn.00402ab4
Function at 0x407730
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x43c06c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 2
push 0xffffffffffffffff
push 0x100c
push dword [0x43df78]
mov ebx, ecx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x40783c
test eax, eax
js 0x40783c
mov ecx, dword [0x43e358]
mov esi, dword [0x43e354]
sub ecx, esi
sar ecx, 2
cmp eax, ecx
jae 0x40783c
mov esi, dword [esi + eax*4]
lea eax, [ebp - 0x40c]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [ebp - 0x40c]
mov edx, esi
push ebx
call fcn.00403860
add esp, 4
test eax, eax
jne 0x4077d6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x208]
push 0x437fc0
push eax
call fcn.00409500
add esp, 0xc
lea eax, [ebp - 0x208]
push 0x10
push 0x437fe4
jmp 0x407807
mov ecx, 0x437ff4
test ebx, ebx
mov eax, 0x437fec
cmove eax, ecx
push eax
lea eax, [ebp - 0x408]
push 0x437ffc
push eax
call fcn.00409500
add esp, 0xc
lea eax, [ebp - 0x408]
push 0x40
push 0x438010
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
push 0
push 0x1009
push dword [0x43df78]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [0x43e354]
push 0
push 0x407370
mov dword [0x43e358], eax
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0040c07f
mov esp, ebp
pop ebp
ret
Function at 0x41df15
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041dd8b
Function at 0x403bc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
mov dword [ebp + 8], eax
pop ebp
jmp fcn.0041d257
Function at 0x411b20
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0x2c]
push eax
mov ecx, dword [ebp + 0x28]
push ecx
mov edx, dword [ebp + 0x24]
push edx
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esp, ebp
pop ebp
ret 0x28

Function at 0x411bf0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esp, ebp
pop ebp
ret 0x18

Function at 0x411cd0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov esp, ebp
pop ebp
ret 8

Function at 0x411e90
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esp, ebp
pop ebp
ret 4

Function at 0x4129e0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov esp, ebp
pop ebp
ret 8

Function at 0x412fd0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esp, ebp
pop ebp
ret 4

Function at 0x412ff0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esp, ebp
pop ebp
ret 0x18
Function at 0x413fc3
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push 0x7c
mov eax, 0x57dc57
call fcn.00552eab
mov esi, ecx
push ecx
push ecx
push 0x1ac
push str.NGUtils::CFileUtils::DeleteFileW
push 0x5fba34
push dword [0x5faf7c]
lea ecx, [ebp - 0x88]
call fcn.00404d82
and dword [ebp - 4], 0
mov ecx, esi
call fcn.00403d80
mov esi, eax
push 8
pop edi
cmp dword [esi + 0x14], edi
jb 0x41400a
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x414065
test bl, 1
je 0x41407e
and ebx, 0xfffffffe
cmp dword [esi + 0x14], edi
jb 0x414029
mov eax, dword [esi]
jmp 0x41402b
mov eax, esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x41407e
cmp dword [esi + 0x14], edi
jb 0x41403e
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push esi
push str.::SetFileAttributes__s__0x_X___error_d
push 0x1bb
lea eax, [ebp - 0x88]
push 0x80
push eax
call fcn.00405095
add esp, 0x1c
xor ebx, ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.00404deb
mov al, bl
call fcn.00552e55
ret
cmp dword [esi + 0x14], edi
jb 0x414087
mov eax, dword [esi]
jmp 0x414089
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4140c3
cmp dword [esi + 0x14], edi
jb 0x41409b
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.::DeleteFile__s___error_d
push 0x1c2
lea eax, [ebp - 0x88]
push 0x80
push eax
call fcn.00405095
add esp, 0x18
jmp 0x414065
mov bl, 1
jmp 0x414067

Function at 0x414464
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
mov dword [ebp - 4], ebx
mov esi, edi
jmp 0x414479
mov ebx, dword [ebp - 4]
add edi, 0x200
test esi, esi
je 0x41448a
push esi
call fcn.00417f78
pop ecx
xor ecx, ecx
mov eax, edi
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00417f6f
mov esi, eax
pop ecx
test esi, esi
je 0x4144f3
xor eax, eax
lea ecx, [ebx + 4]
mov word [esi], ax
call fcn.00403d80
cmp dword [eax + 0x14], 8
jb 0x4144bc
mov eax, dword [eax]
push eax
push edi
push esi
push 0x5c5710
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ebx, eax
lea ecx, [edi - 1]
cmp ebx, ecx
jae 0x414476
mov ecx, dword [ebp + 0x10]
push esi
call fcn.00403b70
push esi
call fcn.00417f78
xor eax, eax
cmp eax, ebx
pop ecx
sbb eax, eax
neg eax
jmp 0x4144f5
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc