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

Disassembly:
push 0xffffffffffffffff
push 0x465fcc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x228
push 0x104
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edx, dword [0x47fe44]
mov eax, dword [edx + 0xc]
mov ecx, 0x47fe44
call eax
add eax, 0x10
mov dword [esp + 8], eax
push str.system.ini
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x238], 0
call fcn.0040e69a
mov edx, dword [esp + 8]
push edx
push 0x104
lea eax, [esp + 0x12c]
push eax
call fcn.00410bc0
push str.Password_Lists
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 0x12c]
call fcn.00411fe0
lea edx, [esp + 0xc]
push edx
push 0x46bc78
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x23c], 1
mov dword [esp + 0x18], 0
call fcn.00413410
mov eax, dword [esp]
mov ecx, dword [eax - 0xc]
test ecx, ecx
mov byte [esp + 0x230], 2
je 0x414078
push ebx
mov ebx, dword [esp + 0x23c]
push ebp
push esi
push edi
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x28]
push edx
mov ecx, ebx
call fcn.00413bb0
lea eax, [esp + 0x1c]
push eax
push 0x46bc78
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x20]
call fcn.00413410
mov ecx, dword [eax]
mov esi, dword [esp + 0x10]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
mov byte [esp + 0x240], 3
je 0x41403e
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x414030
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x414030
push eax
call fcn.0040c46b
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x414027
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [esp + 0x10], ebp
jmp 0x41403e
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00403cc5
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x240], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414066
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], 0
jne 0x413fb6
pop edi
pop esi
pop ebp
pop ebx
add eax, 0xfffffff0
mov byte [esp + 0x230], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41409c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 4]
add eax, 0xfffffff0
mov byte [esp + 0x230], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4140c4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov dword [esp + 0x230], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4140ef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
add esp, 0x234
ret
Function at 0x4148a0
Capabilities:
List user account groups

Disassembly:
push 0xffffffffffffffff
push 0x466118
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
xor ebx, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
push 0xffffffffffffffff
lea eax, [esp + 0x1c]
push eax
push ebx
push ebx
call sub.NETAPI32.dll_NetLocalGroupEnum
mov edi, eax
cmp edi, ebx
je 0x4148fc
cmp edi, 0xea
jne 0x414926
xor esi, esi
cmp dword [esp + 0x10], ebx
jbe 0x414926
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x44]
lea eax, [ecx + esi*4]
push eax
push edx
lea eax, [esp + 0x40]
push eax
call dword [esp + 0x40]
add esi, 1
add esp, 0xc
cmp esi, dword [esp + 0x10]
jb 0x414904
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x414938
push eax
call sub.NETAPI32.dll_NetApiBufferFree
mov dword [esp + 0xc], ebx
cmp edi, 0xea
je 0x4148d1
mov eax, dword [esp + 0x3c]
mov edx, dword [eax]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov esi, ecx
push edx
push esi
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
mov dword [esp + 0x40], 0xffffffff
call fcn.00413e10
mov edx, dword [esp + 0x3c]
push edx
call fcn.00448037
mov ecx, dword [esp + 0x28]
add esp, 4
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret

Function at 0x414990
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x466159
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x54]
push eax
push ecx
mov cl, byte [esp + 0x58]
mov eax, esp
mov dword [esp + 0x5c], esp
sub esp, 0xc
mov byte [eax], cl
lea edx, [esp + 0x58]
mov dword [esp + 0x64], esp
mov ecx, esp
push edx
mov dword [esp + 0x4c], 1
call fcn.00414110
lea ecx, [esp + 0x30]
call fcn.004147d0
mov esi, eax
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
lea ebp, [edi + 4]
push esi
mov ecx, ebp
mov byte [esp + 0x38], 2
mov dword [edi], eax
call fcn.00414110
movzx ecx, byte [esi + 0xc]
mov byte [ebp + 0xc], cl
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
push eax
lea ecx, [esp + 0x20]
push ecx
push edx
mov esi, ecx
push esi
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x24], 1
mov byte [esp + 0x48], 1
call fcn.00413e10
mov eax, dword [esp + 0x20]
push eax
call fcn.00448037
mov eax, dword [esp + 0x4c]
add esp, 4
push eax
lea ecx, [esp + 0x48]
push ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov edx, dword [eax]
mov esi, ecx
push edx
push esi
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
mov byte [esp + 0x48], bl
call fcn.00413e10
mov edx, dword [esp + 0x48]
push edx
call fcn.00448037
mov ecx, dword [esp + 0x30]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x28
ret
Function at 0x414a90
Capabilities:
List user accounts for group

Disassembly:
push 0xffffffffffffffff
push 0x466178
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov ebp, dword [esp + 0x38]
xor esi, esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], esi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0xffffffffffffffff
lea eax, [esp + 0x20]
push eax
push 2
push ebp
push esi
call sub.NETAPI32.dll_NetLocalGroupGetMembers
mov ebx, eax
cmp ebx, esi
je 0x414af3
cmp ebx, 0xea
jne 0x414b27
xor edi, edi
cmp dword [esp + 0x14], esi
jbe 0x414b27
jmp 0x414b00
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x4c]
lea eax, [esi + ecx]
push eax
push edx
lea eax, [esp + 0x48]
push eax
call dword [esp + 0x48]
add edi, 1
add esp, 0xc
add esi, 0xc
cmp edi, dword [esp + 0x14]
jb 0x414b00
xor esi, esi
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x414b39
push eax
call sub.NETAPI32.dll_NetApiBufferFree
mov dword [esp + 0x10], esi
cmp ebx, 0xea
je 0x414ac6
mov eax, dword [esp + 0x44]
mov edx, dword [eax]
push eax
lea ecx, [esp + 0x44]
push ecx
mov esi, ecx
push edx
push esi
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
mov dword [esp + 0x44], 0xffffffff
call fcn.00413e10
mov edx, dword [esp + 0x44]
push edx
call fcn.00448037
mov ecx, dword [esp + 0x2c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret

Function at 0x414b90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4661b9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x54]
push eax
push ecx
mov cl, byte [esp + 0x58]
mov eax, esp
mov dword [esp + 0x5c], esp
sub esp, 0xc
mov byte [eax], cl
lea edx, [esp + 0x58]
mov dword [esp + 0x64], esp
mov ecx, esp
push edx
mov dword [esp + 0x4c], 1
call fcn.00414110
lea ecx, [esp + 0x30]
call fcn.004147d0
mov esi, eax
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
lea ebp, [edi + 4]
push esi
mov ecx, ebp
mov byte [esp + 0x38], 2
mov dword [edi], eax
call fcn.00414110
movzx ecx, byte [esi + 0xc]
mov byte [ebp + 0xc], cl
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
push eax
lea ecx, [esp + 0x20]
push ecx
push edx
mov esi, ecx
push esi
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x24], 1
mov byte [esp + 0x48], 1
call fcn.00413e10
mov eax, dword [esp + 0x20]
push eax
call fcn.00448037
mov eax, dword [esp + 0x4c]
add esp, 4
push eax
lea ecx, [esp + 0x48]
push ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov edx, dword [eax]
mov esi, ecx
push edx
push esi
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
mov byte [esp + 0x48], bl
call fcn.00413e10
mov edx, dword [esp + 0x48]
push edx
call fcn.00448037
mov ecx, dword [esp + 0x30]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x28
ret
Function at 0x4159b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
movzx ecx, byte [eax + 0xc]
test ecx, ecx
je 0x415a34
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
mov ecx, dword [edx + 0x34]
sub ecx, dword [eax + 0x30]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0xc]
jae 0x4159e3
mov eax, dword [ebp - 8]
mov dword [ebp - 0x28], eax
jmp 0x4159e9
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax + 0x30]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0044d1f0
add esp, 0xc
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x30]
add ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x24]
mov dword [edx + 0x30], ecx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0xc]
sbb ecx, ecx
and ecx, 0x80070026
mov dword [ebp - 4], ecx
jmp 0x415a85
xor edx, edx
jne 0x415a34
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x415a6d
call fcn.004021a3
mov dword [ebp - 4], eax
jmp 0x415a85
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp + 0xc]
je 0x415a7e
mov dword [ebp - 4], 0x80070026
jmp 0x415a85
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
jl 0x415adf
mov eax, dword [ebp - 0x24]
movzx ecx, byte [eax]
test ecx, ecx
je 0x415adf
mov edx, dword [ebp + 8]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], 0
jmp 0x415aad
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp + 0xc]
jae 0x415adf
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
xor edx, edx
div dword [ecx + 0x38]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x3c]
movsx edx, byte [ecx + edx]
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x20]
movsx ecx, byte [eax]
xor ecx, edx
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x20]
mov byte [edx], cl
jmp 0x415aa4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x421e50
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x421e59
xor ecx, ecx
jne 0x421e5d
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x14]
ja 0x421e9a
jb 0x421e8f
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x18]
jae 0x421e9a
mov edx, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0x18]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 0
jne 0x421ecd
call fcn.004021a3
jmp 0x421f66
cmp dword [ebp + 0xc], 0
jne 0x421ee7
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 4]
sbb edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], ecx
jmp 0x421ef0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x1c]
mov dword [eax + 0x18], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x10]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp + 0x14]
mov dword [edx + 0x14], ecx
push 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_MapViewOfFileEx]
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx], 0
jne 0x421f64
call fcn.004021a3
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], 0
mov eax, dword [ebp - 0xc]
jmp 0x421f66
xor eax, eax
mov esp, ebp
pop ebp
ret 0x18
Function at 0x424f30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x466ab8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x10]
call fcn.00403078
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x60]
add eax, 0x30
push eax
push 0
push 0
mov ecx, dword [ebp + 0xc]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jl 0x424fb2
mov edx, dword [ebp - 0x60]
add edx, 0x30
mov dword [ebp - 0x40], edx
jne 0x424f93
mov dword [ebp - 0x20], 0
jmp 0x424fa2
mov eax, dword [ebp - 0x40]
push eax
call fcn.00449260
add esp, 4
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x40]
push edx
lea ecx, [ebp - 0x10]
call fcn.00403cc5
mov eax, dword [ebp - 0x10]
sub eax, 0x10
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.0040c46b
add esp, 4
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x48]
add edx, 0x10
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov ecx, dword [ebp - 0x14]
or ecx, 1
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00402073
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x428d30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x466e38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x14], 0
push 0x1a
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x5c]
call fcn.00424f30
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx - 0xc]
mov dword [ebp - 0x18], edx
xor eax, eax
cmp dword [ebp - 0x18], 0
sete al
movzx ecx, al
test ecx, ecx
jne 0x428e18
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.004292c0
mov edx, str.MicrosoftInternet_ExplorerQuick_Launch
test edx, edx
jne 0x428da3
mov dword [ebp - 0x28], 0
jmp 0x428db3
push str.MicrosoftInternet_ExplorerQuick_Launch
call fcn.00449260
add esp, 4
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
push str.MicrosoftInternet_ExplorerQuick_Launch
lea ecx, [ebp - 0x10]
call fcn.0040eb58
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x40]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x428e18
mov eax, dword [ebp - 0x10]
sub eax, 0x10
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.0040c46b
add esp, 4
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x48]
add edx, 0x10
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov ecx, dword [ebp - 0x14]
or ecx, 1
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00402073
mov eax, dword [ebp + 8]
jmp 0x428e3b
mov ecx, dword [ebp + 8]
call fcn.00403078
mov edx, dword [ebp - 0x14]
or edx, 1
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00402073
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x4290b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x4290b9
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4290fa
mov eax, dword [ebp - 0xc]
jmp 0x429150
cmp dword [ebp - 4], 1
je 0x42910d
cmp dword [ebp - 4], 2
je 0x42910d
mov eax, 0xd
jmp 0x429150
cmp dword [ebp + 0xc], 0
je 0x429146
cmp dword [ebp - 8], 0
je 0x429140
mov eax, dword [ebp - 8]
xor edx, edx
mov ecx, 1
div ecx
test edx, edx
jne 0x429137
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 8]
movsx eax, byte [edx - 1]
test eax, eax
je 0x42913e
mov eax, 0xd
jmp 0x429150
jmp 0x429146
mov ecx, dword [ebp + 0xc]
mov byte [ecx], 0
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 8]
mov dword [edx], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x429160
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x466e88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x88]
add eax, 0x30
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4291af
cmp dword [ebp - 0x10], 0x104
jbe 0x4291cd
mov ecx, dword [ebp + 8]
call fcn.00403078
mov ecx, dword [ebp - 0x1c]
or ecx, 1
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp + 8]
jmp 0x4292a2
lea ecx, [ebp - 0x18]
call fcn.00403078
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0x208
push 0x208
lea ecx, [ebp - 0x18]
call fcn.00403cc0
push 0x208
lea ecx, [ebp - 0x18]
call fcn.0040cacd
mov edx, dword [ebp - 0x18]
mov eax, dword [edx - 0xc]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x18]
call fcn.0040d229
push eax
mov edx, dword [ebp - 0x88]
add edx, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x429235
cmp dword [ebp - 0x10], 0x208
jbe 0x42925a
mov ecx, dword [ebp + 8]
call fcn.00403078
mov eax, dword [ebp - 0x1c]
or eax, 1
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00402073
mov eax, dword [ebp + 8]
jmp 0x4292a2
push 0x5c
lea ecx, [ebp - 0x18]
call fcn.004292c0
mov ecx, dword [ebp - 0x18]
sub ecx, 0x10
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x6c]
push edx
call fcn.0040c46b
add esp, 4
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
add eax, 0x10
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp - 0x1c]
or edx, 1
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00402073
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x42a300
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x608
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x608]
mov eax, dword [edx]
call eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp dword [edx], 0
je 0x42a345
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 4]
mov dword [edx], 0
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
push 0x42a400
push 0
push 0
call fcn.0044d86d
add esp, 0x18
mov dword [ebp - 8], eax
xor ecx, ecx
jne 0x42a361
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov dword [edx + 0x24], eax
mov ecx, dword [ebp - 0x10]
xor edx, edx
cmp dword [ecx + 0x24], 0
setne dl
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x12], dl
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 0x12]
test edx, edx
je 0x42a3c4
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 0x6d4]
test ecx, ecx
je 0x42a3c4
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x24]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 0x6d5]
neg edx
sbb edx, edx
and edx, 0x10002
add edx, 0xfffffffe
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 0x12]
test edx, edx
je 0x42a3e8
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 0xc]
test ecx, ecx
je 0x42a3e8
mov ecx, dword [ebp - 0x10]
add ecx, 0x120
call fcn.0043b8b0
mov edx, dword [ebp - 0x10]
mov al, byte [edx + 0x12]
mov esp, ebp
pop ebp
ret
Function at 0x42e920
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4675d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x10]
call fcn.00403078
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0x800
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x14]
shl eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x54]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x14]
sub eax, 1
push eax
lea ecx, [ebp - 0x10]
call fcn.00403cc0
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x14]
sub edx, 2
cmp dword [ebp - 0x18], edx
jae 0x42e962
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040cacd
mov ecx, dword [ebp - 0x10]
sub ecx, 0x10
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
push edx
call fcn.0040c46b
add esp, 4
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
add eax, 0x10
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp - 0x1c]
or edx, 1
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00402073
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8