joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406f50
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x433280
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x448008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov edx, dword [0x44b9ec]
cmp edx, dword [ecx + 4]
jle 0x406fc5
push 0x44b9ec
call fcn.0041978a
add esp, 4
cmp dword [0x44b9ec], 0xffffffff
jne 0x406fc5
mov ecx, 0x44b9f0
call fcn.00406a40
push 0x4344c0
call fcn.004195d1
add esp, 4
push 0x44b9ec
call fcn.00419740
add esp, 4
lea ecx, [ebp - 0x10]
call fcn.00406a40
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov ecx, 0x44b9f0
call fcn.00402bc0
movzx eax, al
test eax, eax
jne 0x407019
mov ecx, 0x44b9f0
call fcn.00402bf0
push eax
call fcn.0042063b
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00406270
mov eax, dword [ebp - 0x18]
jmp 0x407112
lea ecx, [ebp - 0x24]
push ecx
call fcn.00406e40
add esp, 4
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp - 0x10]
call fcn.00402ba0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00406270
lea ecx, [ebp - 0x10]
call fcn.00402bc0
movzx ecx, al
test ecx, ecx
je 0x407076
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00406270
mov eax, dword [ebp - 0x28]
jmp 0x407112
push 0x43c56c
lea ecx, [ebp - 0x10]
call fcn.00402b80
lea ecx, [ebp - 0x10]
call fcn.00402bf0
push eax
push 0x100
push 0x100
mov ecx, 0x44b9f0
call fcn.00406250
push eax
push 0
push 0x43c57c
push 0x43c584
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xffffffffffffffff
mov ecx, 0x44b9f0
call fcn.00405e50
mov ecx, 0x44b9f0
call fcn.00402bc0
movzx eax, al
test eax, eax
je 0x4070ea
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00406270
mov eax, dword [ebp - 0x2c]
jmp 0x407112
mov ecx, 0x44b9f0
call fcn.00402bf0
push eax
call fcn.0042063b
add esp, 4
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00406270
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x4075d0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x407606
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x407606
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x40760b
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x40a4c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
xor eax, eax
jne 0x40a4c9
cmp dword [ebp + 0xc], 0
je 0x40a4dc
mov dword [ebp - 0xc], 1
jmp 0x40a4e3
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
jne 0x40a4f6
mov eax, 0xd
jmp 0x40a54b
xor edx, edx
jne 0x40a4cd
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
add ecx, 2
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 8]
mov ax, word [edx]
mov word [ebp - 2], ax
add dword [ebp - 8], 2
cmp word [ebp - 2], 0
jne 0x40a509
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x14]
sar ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
lea eax, [edx + edx + 2]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x40a5d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x28], ecx
xor eax, eax
jne 0x40a5d9
cmp dword [ebp + 0xc], 0
je 0x40a5ec
mov dword [ebp - 0x18], 1
jmp 0x40a5f3
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0
jne 0x40a609
mov eax, 0xd
jmp 0x40a68c
xor edx, edx
jne 0x40a5dd
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
add edx, 2
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 8]
mov cx, word [eax]
mov word [ebp - 2], cx
add dword [ebp - 8], 2
cmp word [ebp - 2], 0
jne 0x40a629
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x20]
sar edx, 1
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
lea eax, [edx + ecx*2]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
lea eax, [edx + ecx*2]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], 1
jne 0x40a61a
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 7
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 8
Function at 0x40b140
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x448008]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x20c], ecx
push 0
lea ecx, [ebp - 0x21c]
call fcn.0040b2f0
mov eax, dword [ebp - 0x20c]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x20c]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.0040b0a0
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x208], 0
je 0x40b1bf
mov edx, dword [ebp - 0x208]
mov dword [ebp - 0x220], edx
lea ecx, [ebp - 0x21c]
call fcn.0040b370
mov eax, dword [ebp - 0x220]
jmp 0x40b274
mov dword [ebp - 0x210], 0x100
lea eax, [ebp - 0x230]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x204]
push edx
push 0
mov eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x40b243
lea ecx, [ebp - 0x204]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.0040b140
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x208], 0
je 0x40b237
mov edx, dword [ebp - 0x208]
mov dword [ebp - 0x224], edx
lea ecx, [ebp - 0x21c]
call fcn.0040b370
mov eax, dword [ebp - 0x224]
jmp 0x40b274
mov dword [ebp - 0x210], 0x100
jmp 0x40b1c9
lea ecx, [ebp - 0x21c]
call fcn.0040b320
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x20c]
call fcn.0040b450
mov dword [ebp - 0x228], eax
lea ecx, [ebp - 0x21c]
call fcn.0040b370
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00419340
mov esp, ebp
pop ebp
ret 4

Function at 0x40b3c0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x40b41f
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40b3ec
mov eax, 1
jmp 0x40b43d
push str.RegDeleteKeyTransactedW
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x40b41d
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
push 0
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 0xc]
jmp 0x40b43d
jmp 0x40b438
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x40b438
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x40b43d
mov eax, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x4113b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
xor eax, eax
jne 0x4113b9
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4113ee
call fcn.0040cd70
jmp 0x411404
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
je 0x411402
push 0x26
call fcn.00406b40
add esp, 4
jmp 0x411404
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x411930
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x433280
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x448008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov edx, dword [0x44b9f4]
cmp edx, dword [ecx + 4]
jle 0x4119a5
push 0x44b9f4
call fcn.0041978a
add esp, 4
cmp dword [0x44b9f4], 0xffffffff
jne 0x4119a5
mov ecx, 0x44b9f8
call fcn.00406a40
push 0x4344e0
call fcn.004195d1
add esp, 4
push 0x44b9f4
call fcn.00419740
add esp, 4
lea ecx, [ebp - 0x10]
call fcn.00406a40
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov ecx, 0x44b9f8
call fcn.00402bc0
movzx eax, al
test eax, eax
jne 0x4119f9
mov ecx, 0x44b9f8
call fcn.00402bf0
push eax
call fcn.0042063b
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00406270
mov eax, dword [ebp - 0x18]
jmp 0x411af2
lea ecx, [ebp - 0x24]
push ecx
call fcn.00411480
add esp, 4
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp - 0x10]
call fcn.00402ba0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00406270
lea ecx, [ebp - 0x10]
call fcn.00402bc0
movzx ecx, al
test ecx, ecx
je 0x411a56
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00406270
mov eax, dword [ebp - 0x28]
jmp 0x411af2
push 0x43d288
lea ecx, [ebp - 0x10]
call fcn.00402b80
lea ecx, [ebp - 0x10]
call fcn.00402bf0
push eax
push 0x100
push 0x100
mov ecx, 0x44b9f8
call fcn.00406250
push eax
push 0
push 0x43d298
push 0x43d2a0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xffffffffffffffff
mov ecx, 0x44b9f8
call fcn.00405e50
mov ecx, 0x44b9f8
call fcn.00402bc0
movzx eax, al
test eax, eax
je 0x411aca
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00406270
mov eax, dword [ebp - 0x2c]
jmp 0x411af2
mov ecx, 0x44b9f8
call fcn.00402bf0
push eax
call fcn.0042063b
add esp, 4
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00406270
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4121d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x433648
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x448008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControl_
lea ecx, [ebp - 0x10]
call fcn.00405d60
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.00402b80
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00402bf0
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
push 4
lea edx, [ebp + 0x10]
push edx
push 4
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00406270
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x412a30
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0x43dd40
push 0
push 0x19
push 0x104
mov ecx, dword [ebp + 8]
call fcn.00406250
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x412a60
xor eax, eax
jmp 0x412b27
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
call fcn.00405e50
mov ecx, dword [ebp + 8]
call fcn.00405ac0
sub eax, 1
push eax
mov ecx, dword [ebp + 8]
call fcn.004130f0
movzx eax, ax
cmp eax, 0x5c
je 0x412a93
push 0x43dd54
mov ecx, dword [ebp + 8]
call fcn.00402b80
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00402b80
mov ecx, dword [ebp + 8]
call fcn.00402bf0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x412ac1
mov ecx, dword [ebp + 8]
call fcn.00402bf0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0x10
push 0x104
mov ecx, dword [ebp + 8]
call fcn.00406250
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x412ae3
xor eax, eax
jmp 0x412b27
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
call fcn.00405e50
mov ecx, dword [ebp + 8]
call fcn.00405ac0
sub eax, 1
push eax
mov ecx, dword [ebp + 8]
call fcn.004130f0
movzx edx, ax
cmp edx, 0x5c
je 0x412b16
push 0x43dd58
mov ecx, dword [ebp + 8]
call fcn.00402b80
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
call fcn.00402b80
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x412b30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x433ea8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x448008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x10]
call fcn.00406a40
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
call fcn.00412a30
add esp, 4
lea ecx, [ebp - 0x10]
call fcn.00402bf0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x412ba1
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00406270
mov eax, dword [ebp - 0x14]
jmp 0x412bba
mov dword [ebp - 0x18], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00406270
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x412bd0
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x433ee0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x448008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], ecx
lea ecx, [ebp - 0x10]
call fcn.00406a40
mov dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
push 0x43578c
push 1
push 0
push 0x43579c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jge 0x412c46
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00406270
mov eax, dword [ebp - 0x24]
jmp 0x412d9b
push 0x400
push 0x400
lea ecx, [ebp - 0x10]
call fcn.00406250
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00405e50
lea ecx, [ebp - 0x10]
call fcn.00402bc0
movzx ecx, al
test ecx, ecx
je 0x412c98
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00406270
mov eax, dword [ebp - 0x28]
jmp 0x412d9b
push 0
lea ecx, [ebp - 0x10]
call fcn.00402bf0
push eax
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [eax + 0x44]
call edx
lea ecx, [ebp - 0x10]
call fcn.00402bf0
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ecx + 0x50]
call eax
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.00402b30
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jle 0x412d1b
mov ecx, dword [ebp - 0x20]
push ecx
lea edx, [ebp - 0x34]
push edx
lea ecx, [ebp - 0x10]
call fcn.00402ab0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x30]
call fcn.00402bf0
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [edx + 0x24]
call ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00406270
lea edx, [ebp - 0x10]
push edx
call fcn.00412a30
add esp, 4
test eax, eax
je 0x412d74
lea eax, [ebp - 0x1c]
push eax
push 0x4357ac
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [edx]
call ecx
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x412d74
push 0
lea ecx, [ebp - 0x10]
call fcn.00402bf0
push eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [eax + 0x18]
call edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [edx + 8]
call ecx
mov dword [ebp - 0x38], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00406270
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x412db0
Capabilities:
Create process on windows
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x433f0b
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x448008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x220], ecx
push 1
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0x43dd5c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x412e8f
push 0x208
push 0
lea ecx, [ebp - 0x218]
push ecx
call fcn.0041b4b0
add esp, 0xc
push 0
push 0x26
lea edx, [ebp - 0x218]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x21c]
call fcn.00406a40
mov dword [ebp - 4], 0
lea eax, [ebp - 0x218]
push eax
push str.__sInternet_Exploreriexplore.exe_
lea ecx, [ebp - 0x21c]
push ecx
call fcn.00402ec0
add esp, 0xc
push 1
push 0
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x21c]
call fcn.00402bf0
push eax
push 0x43ddb0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.00406270
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00419340
mov esp, ebp
pop ebp
ret 4

Function at 0x414320
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x414329
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
shl edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0xc]
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_RegQueryValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x41436c
mov eax, dword [ebp - 8]
jmp 0x4143d2
cmp dword [ebp - 0xc], 1
je 0x41437f
cmp dword [ebp - 0xc], 2
je 0x41437f
mov eax, 0xd
jmp 0x4143d2
cmp dword [ebp + 0xc], 0
je 0x4143c6
cmp dword [ebp - 4], 0
je 0x4143b5
mov eax, dword [ebp - 4]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x4143ac
mov edx, dword [ebp - 4]
shr edx, 1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
je 0x4143b3
mov eax, 0xd
jmp 0x4143d2
jmp 0x4143c6
mov edx, 2
imul eax, edx, 0
xor ecx, ecx
mov edx, dword [ebp + 0xc]
mov word [edx + eax], cx
mov eax, dword [ebp - 4]
shr eax, 1
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4145f0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x433fe8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x448008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x14]
call fcn.00406a40
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00406a40
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x24]
push eax
call fcn.004144e0
add esp, 4
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x20]
push edx
lea ecx, [ebp - 0x10]
call fcn.00402ba0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00406270
lea ecx, [ebp - 0x10]
call fcn.00402bc0
movzx eax, al
test eax, eax
je 0x4146a0
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x28], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00406270
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00406270
mov eax, dword [ebp - 0x28]
jmp 0x41474c
push 0x43ddc0
lea ecx, [ebp - 0x10]
call fcn.00402b80
lea ecx, [ebp - 0x10]
call fcn.00402bf0
push eax
push 0x100
push 0x100
lea ecx, [ebp - 0x14]
call fcn.00406250
push eax
push 0
push 0x43ddd0
push 0x43dddc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.00405e50
lea ecx, [ebp - 0x14]
call fcn.00402bc0
movzx edx, al
test edx, edx
je 0x41471a
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00406270
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00406270
mov eax, dword [ebp - 0x2c]
jmp 0x41474c
lea ecx, [ebp - 0x14]
call fcn.00402bf0
push eax
call fcn.0042063b
add esp, 4
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00406270
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00406270
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x414760
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x433280
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x448008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov edx, dword [0x44ba24]
cmp edx, dword [ecx + 4]
jle 0x4147d5
push 0x44ba24
call fcn.0041978a
add esp, 4
cmp dword [0x44ba24], 0xffffffff
jne 0x4147d5
mov ecx, 0x44ba28
call fcn.00406a40
push 0x434500
call fcn.004195d1
add esp, 4
push 0x44ba24
call fcn.00419740
add esp, 4
lea ecx, [ebp - 0x10]
call fcn.00406a40
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov ecx, 0x44ba28
call fcn.00402bc0
movzx eax, al
test eax, eax
jne 0x414829
mov ecx, 0x44ba28
call fcn.00402bf0
push eax
call fcn.0042063b
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00406270
mov eax, dword [ebp - 0x18]
jmp 0x414922
lea ecx, [ebp - 0x24]
push ecx
call fcn.004144e0
add esp, 4
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp - 0x10]
call fcn.00402ba0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00406270
lea ecx, [ebp - 0x10]
call fcn.00402bc0
movzx ecx, al
test ecx, ecx
je 0x414886
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00406270
mov eax, dword [ebp - 0x28]
jmp 0x414922
push 0x43de40
lea ecx, [ebp - 0x10]
call fcn.00402b80
lea ecx, [ebp - 0x10]
call fcn.00402bf0
push eax
push 0x100
push 0x100
mov ecx, 0x44ba28
call fcn.00406250
push eax
push 0
push 0x43de50
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xffffffffffffffff
mov ecx, 0x44ba28
call fcn.00405e50
mov ecx, 0x44ba28
call fcn.00402bc0
movzx eax, al
test eax, eax
je 0x4148fa
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00406270
mov eax, dword [ebp - 0x2c]
jmp 0x414922
mov ecx, 0x44ba28
call fcn.00402bf0
push eax
call fcn.0042063b
add esp, 4
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00406270
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret