joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4130c0
Capabilities:
Create process on windows
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe70
mov eax, dword [0x5f44b0]
xor eax, ebp
mov dword [ebp - 8], eax
mov word [ebp - 0xc1c], 0
xor eax, eax
mov dword [ebp - 0xc1a], eax
mov dword [ebp - 0xc16], eax
mov dword [ebp - 0xc12], eax
mov word [ebp - 0xc0e], ax
lea ecx, [ebp - 0xc1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov word [ebp - 0xbe8], 0
push 0x206
push 0
lea edx, [ebp - 0xbe6]
push edx
call fcn.0049e690
add esp, 0xc
push 0x5939a8
push 0x5939c8
push 0x5fefd0
push 0x5939d8
lea eax, [ebp - 0xbe8]
push eax
call fcn.0049e5b6
add esp, 0x14
lea ecx, [ebp - 0xbe8]
push ecx
push 0xffffffffffffffff
push 0x5939e8
push 0x593a04
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 4], eax
movzx edx, word [ebp - 0xc16]
cmp dword [ebp - 4], edx
jne 0x413173
jmp 0x413359
mov word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.0049e690
add esp, 0xc
mov word [ebp - 0xe70], 0
push 0x206
push 0
lea ecx, [ebp - 0xe6e]
push ecx
call fcn.0049e690
add esp, 0xc
push 0x5fedc8
lea edx, [ebp - 0xe70]
push edx
call fcn.0049eb52
add esp, 8
push 0x593a14
lea eax, [ebp - 0xe70]
push eax
call fcn.0049eb28
add esp, 8
push 0x593a34
lea ecx, [ebp - 0x210]
push ecx
call fcn.0049eb52
add esp, 8
lea edx, [ebp - 0xe70]
push edx
lea eax, [ebp - 0x210]
push eax
call fcn.0049eb28
add esp, 8
push 0x593a38
lea ecx, [ebp - 0x210]
push ecx
call fcn.0049eb28
add esp, 8
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x210]
push eax
call fcn.0049eb28
add esp, 8
push 0x5ff1d8
call fcn.0049e752
add esp, 4
test eax, eax
jbe 0x413263
push 0x593a54
lea ecx, [ebp - 0x210]
push ecx
call fcn.0049eb28
add esp, 8
push 0x5ff1d8
lea edx, [ebp - 0x210]
push edx
call fcn.0049eb28
add esp, 8
push 0x44
push 0
lea eax, [ebp - 0xc68]
push eax
call fcn.0049e690
add esp, 0xc
mov dword [ebp - 0xc68], 0x44
push 0x10
push 0
lea ecx, [ebp - 0xc0c]
push ecx
call fcn.0049e690
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
push 0x593a58
lea eax, [ebp - 0x9e0]
push eax
call fcn.0049e5b6
add esp, 0xc
lea ecx, [ebp - 0xc0c]
push ecx
lea edx, [ebp - 0xc68]
push edx
push 0
push 0
push 0
push 1
push 0
push 0
lea eax, [ebp - 0x9e0]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4132f5
mov ecx, dword [ebp - 0xc0c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0xc08]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov word [ebp - 0xbfc], 0
xor eax, eax
mov dword [ebp - 0xbfa], eax
mov dword [ebp - 0xbf6], eax
mov dword [ebp - 0xbf2], eax
mov dword [ebp - 0xbee], eax
mov word [ebp - 0xbea], ax
movzx ecx, word [ebp - 0xc16]
push ecx
push 0x593a60
lea edx, [ebp - 0xbfc]
push edx
call fcn.0049e5b6
add esp, 0xc
lea eax, [ebp - 0xbe8]
push eax
lea ecx, [ebp - 0xbfc]
push ecx
push str.UpDmpLastDay
push 0x593a84
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0049e381
mov esp, ebp
pop ebp
ret
Function at 0x4156d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5f44b0]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x214], ecx
push 0
push 0x1a
lea eax, [ebp - 0x210]
push eax
push 0
mov ecx, dword [ebp - 0x214]
call fcn.00415ac0
lea ecx, [ebp - 0x210]
push ecx
call fcn.0049e752
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41571b
jmp 0x415786
push 0x5940a4
lea edx, [ebp - 0x210]
push edx
call fcn.0049eb28
add esp, 8
push 0x5940a8
lea eax, [ebp - 0x210]
push eax
call fcn.0049eb28
add esp, 8
push 0x5940c8
lea ecx, [ebp - 0x210]
push ecx
call fcn.0049eb28
add esp, 8
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x415777
lea eax, [ebp - 0x210]
push eax
call fcn.00419f10
add esp, 4
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004036d0
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0049e381
mov esp, ebp
pop ebp
ret 4

Function at 0x4157a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5f44b0]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x214], ecx
push 0
push 0x1a
lea eax, [ebp - 0x210]
push eax
push 0
mov ecx, dword [ebp - 0x214]
call fcn.00415ac0
lea ecx, [ebp - 0x210]
push ecx
call fcn.0049e752
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4157eb
jmp 0x415856
push 0x5940cc
lea edx, [ebp - 0x210]
push edx
call fcn.0049eb28
add esp, 8
push 0x5940d0
lea eax, [ebp - 0x210]
push eax
call fcn.0049eb28
add esp, 8
push 0x5940fc
lea ecx, [ebp - 0x210]
push ecx
call fcn.0049eb28
add esp, 8
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x415847
lea eax, [ebp - 0x210]
push eax
call fcn.00419f10
add esp, 4
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004036d0
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0049e381
mov esp, ebp
pop ebp
ret 4

Function at 0x415930
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5f44b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], ecx
movzx eax, byte [0x5ff3e0]
test eax, eax
je 0x41595e
mov al, byte [0x5ff3e0]
jmp 0x4159df
mov word [ebp - 0x210], 0
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.0049e690
add esp, 0xc
push 1
push 0x1a
lea edx, [ebp - 0x210]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4159da
lea eax, [ebp - 0x210]
push eax
call fcn.004a1a95
add esp, 4
push 0x594178
lea ecx, [ebp - 0x210]
push ecx
call fcn.00419910
add esp, 8
test eax, eax
jne 0x4159d3
push 0x5941a8
lea edx, [ebp - 0x210]
push edx
call fcn.00419910
add esp, 8
test eax, eax
je 0x4159da
mov byte [0x5ff3e0], 1
mov al, byte [0x5ff3e0]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049e381
mov esp, ebp
pop ebp
ret
Function at 0x415b60
Capabilities:
Check if file exists
Query environment variable

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
push str.USERPROFILE
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x415ba5
push str.AppDataLocalLow
mov edx, dword [ebp + 8]
push edx
call fcn.0049eb28
add esp, 8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x415ba1
xor al, al
jmp 0x415ba7
mov al, 1
jmp 0x415ba7
xor al, al
mov esp, ebp
pop ebp
ret 8

Function at 0x415bb0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x5f44b0]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x28], ecx
push str.Shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x415bdb
xor al, al
jmp 0x415c49
push str.SHGetKnownFolderPath
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x415bf7
xor al, al
jmp 0x415c49
lea ecx, [ebp - 0x18]
push ecx
push str.A520A1A4_1780_4FF6_BD18_167343C5AF16
call dword [sym.imp.ole32.dll_CLSIDFromString]
lea edx, [ebp - 4]
push edx
push 0
push 0x400
lea eax, [ebp - 0x18]
push eax
call dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jge 0x415c25
xor al, al
jmp 0x415c49
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0049eb52
add esp, 8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x415c47
xor al, al
jmp 0x415c49
mov al, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0049e381
mov esp, ebp
pop ebp
ret 8

Function at 0x415cb0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5f44b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], ecx
push 0x594338
mov ecx, dword [ebp - 0x214]
add ecx, 0x28
call fcn.00401670
push eax
push 0x594348
lea eax, [ebp - 0x210]
push eax
call fcn.0049e5b6
add esp, 0x10
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x415d11
lea edx, [ebp - 0x210]
push edx
call fcn.00419f10
add esp, 4
push str.Related.ini
lea eax, [ebp - 0x210]
push eax
call fcn.0049eb28
add esp, 8
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x214]
add ecx, 0xd0
call fcn.004036d0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049e381
mov esp, ebp
pop ebp
ret
Function at 0x415e30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5f44b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], ecx
push str.UseData
mov ecx, dword [ebp - 0x214]
add ecx, 0x28
call fcn.00401670
push eax
push 0x5943f4
lea eax, [ebp - 0x210]
push eax
call fcn.0049e5b6
add esp, 0x10
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x415e91
lea edx, [ebp - 0x210]
push edx
call fcn.00419f10
add esp, 4
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp - 0x214]
add ecx, 0x108
call fcn.004036d0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049e381
mov esp, ebp
pop ebp
ret

Function at 0x415f80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
add eax, 0x28
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x60
call fcn.004036b0
push str.Skin_
mov ecx, dword [ebp - 4]
add ecx, 0x60
call fcn.00403850
mov ecx, dword [ebp - 4]
add ecx, 0x60
call fcn.00401670
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x415fd3
mov ecx, dword [ebp - 4]
add ecx, 0x60
call fcn.00401670
push eax
call fcn.00419f10
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x415fe0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5f44b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], ecx
mov word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.0049e690
add esp, 0xc
push str.AllSkin
mov ecx, dword [ebp - 0x214]
add ecx, 0x28
call fcn.00401670
push eax
push 0x59441c
lea ecx, [ebp - 0x210]
push ecx
call fcn.0049e5b6
add esp, 0x10
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x416060
lea eax, [ebp - 0x210]
push eax
call fcn.00419f10
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049e381
mov esp, ebp
pop ebp
ret

Function at 0x416070
Capabilities:
Check if file exists
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5f44b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], ecx
mov word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.0049e690
add esp, 0xc
push 0
push 0x26
lea ecx, [ebp - 0x210]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [ebp - 0x210]
push edx
mov ecx, dword [ebp - 0x214]
add ecx, 0x178
call fcn.004036d0
push 0x594428
mov ecx, dword [ebp - 0x214]
add ecx, 0x178
call fcn.00403850
mov ecx, dword [ebp - 0x214]
add ecx, 0x178
call fcn.00401670
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41611b
push 0x59442c
mov ecx, dword [ebp - 0x214]
add ecx, 0x178
call fcn.004036d0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049e381
mov esp, ebp
pop ebp
ret
Function at 0x416130
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5f44b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], ecx
mov word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.0049e690
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x214]
call fcn.00415c60
movzx edx, al
test edx, edx
jne 0x416199
push 0
push 0x1a
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x214]
add ecx, 0x194
call fcn.004036d0
push 0x594450
mov ecx, dword [ebp - 0x214]
add ecx, 0x194
call fcn.00403850
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049e381
mov esp, ebp
pop ebp
ret
Function at 0x4168d0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x588004
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x5f44b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x238], ecx
mov ecx, dword [ebp - 0x238]
call fcn.00416a50
push eax
mov ecx, dword [ebp - 0x238]
add ecx, 0x124
call fcn.004036d0
push 0x59463c
mov ecx, dword [ebp - 0x238]
add ecx, 0x124
call fcn.00403850
push 0x594664
push 0x59466c
push 0x594680
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x238]
call fcn.00417890
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x238]
add ecx, 0x140
call fcn.004036b0
push 0x594690
mov edx, dword [ebp - 0x238]
add edx, 0x140
push edx
call fcn.00405710
add esp, 8
movzx eax, al
test eax, eax
je 0x4169f9
mov word [ebp - 0x234], 0
push 0x206
push 0
lea ecx, [ebp - 0x232]
push ecx
call fcn.0049e690
add esp, 0xc
mov ecx, dword [ebp - 0x238]
add ecx, 0x124
call fcn.00401670
push eax
push 0x104
lea edx, [ebp - 0x234]
push edx
push 0x594698
push 0x5946a0
push 0x5946b4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x234]
push eax
mov ecx, dword [ebp - 0x238]
add ecx, 0x140
call fcn.004036d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401640
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049e381
mov esp, ebp
pop ebp
ret
Function at 0x419b70
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x588433
mov eax, dword fs:[0]
push eax
sub esp, 0x6b0
mov eax, dword [0x5f44b0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x454], 0
push 0x228
push 0
lea eax, [ebp - 0x450]
push eax
call fcn.0049e690
add esp, 0xc
mov word [ebp - 0x224], 0
push 0x206
push 0
lea ecx, [ebp - 0x222]
push ecx
call fcn.0049e690
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x419c01
xor eax, eax
jmp 0x419d82
mov dword [ebp - 0x454], 0x22c
lea edx, [ebp - 0x454]
push edx
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x419d73
lea ecx, [ebp - 0x430]
push ecx
lea edx, [ebp - 0x224]
push edx
call fcn.0049eb52
add esp, 8
lea eax, [ebp - 0x224]
push eax
call fcn.004a0950
add esp, 4
mov dword [ebp - 0x458], eax
lea ecx, [ebp - 0x224]
push ecx
call fcn.00419a90
add esp, 4
movzx edx, al
test edx, edx
je 0x419d5b
mov word [ebp - 0x664], 0
push 0x206
push 0
lea eax, [ebp - 0x662]
push eax
call fcn.0049e690
add esp, 0xc
mov ecx, dword [ebp - 0x44c]
push ecx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x668], eax
push 0x104
lea edx, [ebp - 0x664]
push edx
push 0
mov eax, dword [ebp - 0x668]
push eax
call sub.PSAPI.DLL_GetModuleFileNameExW
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x6a4], esp
lea edx, [ebp - 0x664]
push edx
call fcn.00401600
mov dword [ebp - 0x6ac], eax
mov eax, dword [ebp - 0x6ac]
mov dword [ebp - 0x6b0], eax
mov dword [ebp - 4], 0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x6a8], esp
lea edx, [ebp - 0x224]
push edx
call fcn.00401600
mov dword [ebp - 0x6b4], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6a0]
call fcn.00433c80
mov dword [ebp - 0x6b8], eax
mov eax, dword [ebp - 0x6b8]
mov dword [ebp - 0x6bc], eax
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x6bc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0042b320
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6a0]
call fcn.0042ab10
mov eax, 1
jmp 0x419d82
lea edx, [ebp - 0x454]
push edx
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x419c23
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0049e381
mov esp, ebp
pop ebp
ret
Function at 0x419f10
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
push eax
call fcn.0049e752
add esp, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0047e280
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.0049eb52
add esp, 8
mov byte [ebp - 1], 1
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
jmp 0x419f7a
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 8]
jg 0x419fe8
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax + edx*2]
cmp ecx, 0x5c
jne 0x419fe6
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov cx, word [eax + edx*2]
mov word [ebp - 0x18], cx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov word [eax + edx*2], 0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x419fcf
push 0
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x419fcf
mov byte [ebp - 1], 0
jmp 0x419fe8
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dx, word [ebp - 0x18]
mov word [ecx + eax*2], dx
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x10], eax
jmp 0x419f71
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.0047e27b
add esp, 4
movzx eax, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x41d640
Capabilities:
Check if file exists
Get common file path
Get program files directory
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x5f44b0]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsIEXPLORE.EXE
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x41d685
xor eax, eax
jmp 0x41d784
mov word [ebp - 0x220], 0
push 0x206
push 0
lea ecx, [ebp - 0x21e]
push ecx
call fcn.0049e690
add esp, 0xc
mov dword [ebp - 0xc], 0x104
mov dword [ebp - 4], 1
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
push 0x59513c
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41d762
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov word [ebp - 0x428], 0
push 0x206
push 0
lea edx, [ebp - 0x426]
push edx
call fcn.0049e690
add esp, 0xc
push 0
push 0x26
lea eax, [ebp - 0x428]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.Internet_Exploreriexplore.exe
lea ecx, [ebp - 0x428]
push ecx
call fcn.0049eb28
add esp, 8
lea edx, [ebp - 0x428]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41d748
xor eax, eax
jmp 0x41d784
lea eax, [ebp - 0x428]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0049eb52
add esp, 8
mov eax, 1
jmp 0x41d784
lea edx, [ebp - 0x220]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0049eb52
add esp, 8
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0049e381
mov esp, ebp
pop ebp
ret
Function at 0x41dbc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x444
mov eax, dword [0x5f44b0]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x228], 0
mov word [ebp - 0x440], 0
push 0x206
push 0
lea eax, [ebp - 0x43e]
push eax
call fcn.0049e690
add esp, 0xc
mov word [ebp - 0x220], 0
push 0x206
push 0
lea ecx, [ebp - 0x21e]
push ecx
call fcn.0049e690
add esp, 0xc
mov dword [ebp - 0x10], 0x104
mov dword [ebp - 0x444], 1
lea edx, [ebp - 0x14]
push edx
push 0x20019
push 0
push str.htmlfile
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x41dc93
xor eax, eax
jmp 0x41dd87
lea eax, [ebp - 0x22c]
push eax
push 0x20019
push 0
push 0x59521c
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x41dcc6
xor eax, eax
jmp 0x41dd87
lea edx, [ebp - 0x234]
push edx
push 0x20019
push 0
push 0x595228
mov eax, dword [ebp - 0x22c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x41dcfc
xor eax, eax
jmp 0x41dd87
mov dword [ebp - 0x228], 0x104
mov dword [ebp - 0xc], 1
lea ecx, [ebp - 0x228]
push ecx
lea edx, [ebp - 0x440]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
push 0x595244
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0x22c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x440]
push ecx
call fcn.004a1a95
add esp, 4
mov dword [ebp - 0x224], eax
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x224]
push eax
call fcn.00419910
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x41dd82
xor eax, eax
jmp 0x41dd87
mov eax, 1
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0049e381
mov esp, ebp
pop ebp
ret
Function at 0x41def0
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfe0
mov eax, dword [0x5f44b0]
xor eax, ebp
mov dword [ebp - 0x40], eax
push 0x7d0
lea eax, [ebp - 0xfe0]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.Program_FilesInternet_Exploreriexplore.exe
push 0x5952f0
call fcn.0049e752
add esp, 4
lea ecx, [ebp + eax*2 - 0xfe0]
push ecx
call fcn.0049eb52
add esp, 8
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0xfe0]
push eax
call fcn.0049eb28
add esp, 8
push 0x3c
push 0
lea ecx, [ebp - 0x3c]
push ecx
call fcn.0049e690
add esp, 0xc
mov dword [ebp - 0x30], 0x5952f8
mov dword [ebp - 0x38], 0x200
mov edx, dword [ebp + 8]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x20], 1
push 1
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0x595304
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x41dfa6
push 0
push 0
push 0
lea ecx, [ebp - 0xfe0]
push ecx
call fcn.0041e650
add esp, 0x10
mov ecx, dword [ebp - 0x40]
xor ecx, ebp
call fcn.0049e381
mov esp, ebp
pop ebp
ret

Function at 0x41e440
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [ebp + 8]
push eax
call fcn.0049e752
add esp, 4
test eax, eax
jne 0x41e45a
xor eax, eax
jmp 0x41e4ba
push 0x3c
push 0
lea ecx, [ebp - 0x3c]
push ecx
call fcn.0049e690
add esp, 0xc
mov dword [ebp - 0x30], 0x595390
mov dword [ebp - 0x38], 0x200
mov edx, dword [ebp + 8]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x20], 1
push 1
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x41e4b5
push 0
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041e650
add esp, 0x10
jmp 0x41e4ba
mov eax, 1
mov esp, ebp
pop ebp
ret