joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4262b0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55f4e0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5b2ee4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
push 0x56cbe0
mov ecx, dword [ebp - 0x30]
add ecx, 0x2c
call dword [sym.imp.DuiLib32.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0x2fc], eax
push 0x56cbf4
mov ecx, dword [ebp - 0x30]
add ecx, 0x2c
call dword [sym.imp.DuiLib32.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x2f8], eax
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x2f8], 0
je 0x426373
mov dword [ebp - 0x14], 0x4261c0
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.004271c0
add esp, 0x10
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x38], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x30]
mov ecx, dword [ecx + 0x2f8]
add ecx, 0x34
call dword [sym.imp.DuiLib32.dll_public:_void___thiscall_DuiLib::CEventSource::operator_class_DuiLib::CDelegateBase_const__]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0042d380
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x2f8]
mov ecx, dword [ebp - 0x30]
mov ecx, dword [ecx + 0x2f8]
mov edx, dword [eax]
mov eax, dword [edx + 0xf0]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x429f10
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
cmp dword [ebp + 8], 0x1794
jne 0x429f3a
push 1
mov ecx, dword [ebp - 8]
call dword [sym.imp.DuiLib32.dll_public:_void___thiscall_DuiLib::CWindowWnd::Close_unsigned_int_]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x429fc7
cmp dword [ebp + 8], 0x1795
jne 0x429f78
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x430]
call fcn.00418c20
push 5
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x430]
call dword [sym.imp.DuiLib32.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
mov ecx, dword [ebp - 8]
call dword [sym.imp.DuiLib32.dll_public:_void___thiscall_DuiLib::CWindowWnd::ShowWindow_bool__bool_]
jmp 0x429fc7
cmp dword [ebp + 8], 0x1796
jne 0x429fa8
push 0
push 0
mov ecx, dword [ebp - 8]
call dword [sym.imp.DuiLib32.dll_public:_void___thiscall_DuiLib::CWindowWnd::ShowWindow_bool__bool_]
push 0
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0x430]
call dword [sym.imp.DuiLib32.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x429fc7
cmp dword [ebp + 8], 0x1797
jne 0x429fc7
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004021c0
mov ecx, eax
call fcn.00437190
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x429fd0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
push 0x42a020
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 8]
mov dword [edx + 0x7431c], eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x7431c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret
Function at 0x42f060
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55fe18
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x5b2ee4]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp - 0x68]
cmp dword [eax + 0x3c], 0
je 0x42f0a0
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x42f0ac
mov al, 1
jmp 0x42f24f
mov dword [ebp - 0x10], 8
call fcn.004314d0
push eax
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x68]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x3c], eax
call fcn.004314d0
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.004314b0
add esp, 8
movzx eax, al
test eax, eax
je 0x42f0ef
xor al, al
jmp 0x42f24f
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.0042e7b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x34]
call fcn.0042e8f0
mov ecx, eax
call fcn.0042f2b0
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.00407430
add esi, eax
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
call fcn.0042e8f0
mov ecx, eax
call fcn.0042f2b0
push eax
mov ecx, dword [ebp - 0x68]
add ecx, 0x44
push ecx
mov edx, dword [ebp - 0x68]
mov ecx, dword [edx + 0x3c]
call fcn.0042fed0
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x42f16a
cmp dword [ebp - 0x6c], 1
je 0x42f171
cmp dword [ebp - 0x6c], 3
je 0x42f20b
jmp 0x42f223
mov eax, dword [ebp - 0x68]
mov byte [eax + 0x41], 0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0042e8f0
mov ecx, eax
call fcn.0042f2b0
mov edx, dword [ebp - 0x14]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x42f1d4
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x34]
call fcn.0042e8f0
mov ecx, eax
call fcn.0042f2b0
push eax
call fcn.004815ea
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x42f1d4
mov byte [ebp - 0x61], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00407330
mov al, byte [ebp - 0x61]
jmp 0x42f24f
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x42f1f7
mov byte [ebp - 0x62], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00407330
mov al, byte [ebp - 0x62]
jmp 0x42f24f
cmp dword [ebp - 0x38], 0
jne 0x42f209
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.0042e7f0
jmp 0x42f23b
mov byte [ebp - 0x63], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00407330
mov al, byte [ebp - 0x63]
jmp 0x42f24f
mov byte [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00407330
mov al, byte [ebp - 0x64]
jmp 0x42f24f
jmp 0x42f102
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0047e001
mov esp, ebp
pop ebp
ret
Function at 0x437020
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
call fcn.004458d0
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
call fcn.00445bf0
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
call fcn.004456e0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
call fcn.00445b80
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
call fcn.00445aa0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], eax
call fcn.00445b10
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [eax + 4], edx
mov eax, dword [ebp - 4]
add eax, 0x110
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 4]
add ecx, 0x128
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [ebp - 4]
add edx, 0x118
push edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 4]
add eax, 0x158
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 4]
add ecx, 0x138
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [ebp - 4]
add edx, 0x148
push edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 4]
mov ecx, dword [0x5bb864]
mov dword [eax + 0x100], ecx
mov esp, ebp
pop ebp
ret

Function at 0x4370f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5b2ee4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], ecx
push 0x56f8d0
mov ecx, dword [ebp - 0x214]
add ecx, 0x3c
call fcn.004019c0
push eax
push 0x56f8e0
lea eax, [ebp - 0x210]
push eax
call fcn.004018f0
add esp, 0x10
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x437151
lea edx, [ebp - 0x210]
push edx
call fcn.0043b020
add esp, 4
push 0x56f8ec
lea eax, [ebp - 0x210]
push eax
call fcn.0047e81e
add esp, 8
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x214]
add ecx, 0x58
call fcn.00401980
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047e001
mov esp, ebp
pop ebp
ret
Function at 0x437190
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5b2ee4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], ecx
push 0x56f904
mov ecx, dword [ebp - 0x214]
add ecx, 0x3c
call fcn.004019c0
push eax
push 0x56f914
lea eax, [ebp - 0x210]
push eax
call fcn.004018f0
add esp, 0x10
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4371f1
lea edx, [ebp - 0x210]
push edx
call fcn.0043b020
add esp, 4
cmp dword [ebp + 8], 0
jg 0x437219
push str.Config.ini
lea eax, [ebp - 0x210]
push eax
push 0x56f938
lea ecx, [ebp - 0x210]
push ecx
call fcn.004018f0
add esp, 0x10
jmp 0x437238
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x210]
push eax
push str._s_d.ini
lea ecx, [ebp - 0x210]
push ecx
call fcn.004018f0
add esp, 0x10
lea edx, [ebp - 0x210]
push edx
mov ecx, dword [ebp - 0x214]
add ecx, 0x58
call fcn.00401980
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047e001
mov esp, ebp
pop ebp
ret 4

Function at 0x437260
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5b2ee4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], ecx
push 0x56f958
mov ecx, dword [ebp - 0x214]
add ecx, 0x3c
call fcn.004019c0
push eax
push 0x56f968
lea eax, [ebp - 0x210]
push eax
call fcn.004018f0
add esp, 0x10
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4372c1
lea edx, [ebp - 0x210]
push edx
call fcn.0043b020
add esp, 4
push str.Related.ini
lea eax, [ebp - 0x210]
push eax
call fcn.0047e81e
add esp, 8
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x214]
add ecx, 0xac
call fcn.00401980
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047e001
mov esp, ebp
pop ebp
ret
Function at 0x438190
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x5b2ee4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x12c], ecx
push 0x11c
push 0
lea eax, [ebp - 0x128]
push eax
call fcn.0047e0e0
add esp, 0xc
mov dword [ebp - 0x128], 0x11c
lea ecx, [ebp - 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x124], 6
jne 0x438201
cmp dword [ebp - 0x120], 0
je 0x4381f1
cmp dword [ebp - 0x120], 1
jne 0x438201
movzx edx, byte [ebp - 0xe]
cmp edx, 1
jne 0x438201
mov eax, 1
jmp 0x438203
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047e001
mov esp, ebp
pop ebp
ret

Function at 0x438220
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 0x56fc2c
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x438265
push str.AppDataLocalLow
mov edx, dword [ebp + 8]
push edx
call fcn.0047e81e
add esp, 8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x438261
xor al, al
jmp 0x438267
mov al, 1
jmp 0x438267
xor al, al
mov esp, ebp
pop ebp
ret 8

Function at 0x438270
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x5b2ee4]
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 0x43829b
xor al, al
jmp 0x438309
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 0x4382b7
xor al, al
jmp 0x438309
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 0x4382e5
xor al, al
jmp 0x438309
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0047e84c
add esp, 8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x438307
xor al, al
jmp 0x438309
mov al, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0047e001
mov esp, ebp
pop ebp
ret 8
Function at 0x438370
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x5b2ee4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], ecx
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.0047e0e0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x210]
push edx
mov ecx, dword [ebp - 0x218]
call fcn.00438320
movzx eax, al
test eax, eax
jne 0x4383f9
push 0
push 0x1a
lea ecx, [ebp - 0x210]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [ebp - 0x210]
push edx
call fcn.0047e669
add esp, 4
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x4383f9
jmp 0x43846a
push 0x56fce8
lea eax, [ebp - 0x210]
push eax
call fcn.0047e81e
add esp, 8
push 0x56fcec
lea ecx, [ebp - 0x210]
push ecx
call fcn.0047e81e
add esp, 8
push 0x56fd0c
lea edx, [ebp - 0x210]
push edx
call fcn.0047e81e
add esp, 8
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x438455
lea ecx, [ebp - 0x210]
push ecx
call fcn.0043b020
add esp, 4
lea edx, [ebp - 0x210]
push edx
mov ecx, dword [ebp - 0x218]
add ecx, 0x3c
call fcn.00401980
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047e001
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x5b2ee4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x21c], ecx
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.0047e0e0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x210]
push edx
mov ecx, dword [ebp - 0x21c]
call fcn.00438320
movzx eax, al
test eax, eax
jne 0x438514
push 0
push 0x1a
lea ecx, [ebp - 0x210]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
setne dl
mov byte [ebp - 0x215], dl
lea eax, [ebp - 0x210]
push eax
call fcn.0047e669
add esp, 4
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x438514
jmp 0x438585
push 0x56fd10
lea ecx, [ebp - 0x210]
push ecx
call fcn.0047e81e
add esp, 8
push 0x56fd14
lea edx, [ebp - 0x210]
push edx
call fcn.0047e81e
add esp, 8
push 0x56fd40
lea eax, [ebp - 0x210]
push eax
call fcn.0047e81e
add esp, 8
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x438570
lea edx, [ebp - 0x210]
push edx
call fcn.0043b020
add esp, 4
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp - 0x21c]
add ecx, 0x20
call fcn.00401980
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047e001
mov esp, ebp
pop ebp
ret
Function at 0x4385a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x62c
mov eax, dword [0x5b2ee4]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x62c], ecx
xor eax, eax
mov word [ebp - 0x420], ax
push 0x206
push 0
lea ecx, [ebp - 0x41e]
push ecx
call fcn.0047e0e0
add esp, 0xc
push 0x56fd44
lea edx, [ebp - 0x420]
push edx
call fcn.0047e84c
add esp, 8
push str.PeopleCalendar
lea eax, [ebp - 0x420]
push eax
call fcn.0047e81e
add esp, 8
mov ecx, dword [ebp - 0x62c]
add ecx, 0x3c
call fcn.004019c0
push eax
lea ecx, [ebp - 0x210]
push ecx
call fcn.0047e84c
add esp, 8
mov ecx, dword [ebp - 0x62c]
add ecx, 0x20
call fcn.004019c0
push eax
lea edx, [ebp - 0x628]
push edx
call fcn.0047e84c
add esp, 8
lea eax, [ebp - 4]
push eax
push 2
push 0
lea ecx, [ebp - 0x420]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x4386a3
push 0x104
lea edx, [ebp - 0x210]
push edx
push 1
push 0
push 0x56fd78
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x104
lea ecx, [ebp - 0x628]
push ecx
push 1
push 0
push 0x56fd90
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0047e001
mov esp, ebp
pop ebp
ret

Function at 0x43b020
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.0047e669
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.004617ff
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.0047e84c
add esp, 8
mov byte [ebp - 1], 1
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
jmp 0x43b08a
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 8]
jg 0x43b0f8
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax + edx*2]
cmp ecx, 0x5c
jne 0x43b0f6
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov cx, word [eax + edx*2]
mov word [ebp - 0x18], cx
xor edx, edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov word [ecx + eax*2], dx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43b0df
push 0
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x43b0df
mov byte [ebp - 1], 0
jmp 0x43b0f8
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
mov ax, word [ebp - 0x18]
mov word [edx + ecx*2], ax
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x10], ecx
jmp 0x43b081
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
push eax
call fcn.004617f4
add esp, 4
movzx eax, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x43d2a0
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 [0x5b2ee4]
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 0x43d2e5
xor eax, eax
jmp 0x43d3e4
xor ecx, ecx
mov word [ebp - 0x220], cx
push 0x206
push 0
lea edx, [ebp - 0x21e]
push edx
call fcn.0047e0e0
add esp, 0xc
mov dword [ebp - 0xc], 0x104
mov dword [ebp - 4], 1
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x220]
push ecx
lea edx, [ebp - 4]
push edx
push 0
push 0x5775b4
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x220]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43d3c2
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov word [ebp - 0x428], ax
push 0x206
push 0
lea ecx, [ebp - 0x426]
push ecx
call fcn.0047e0e0
add esp, 0xc
push 0
push 0x26
lea edx, [ebp - 0x428]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.Internet_Exploreriexplore.exe
lea eax, [ebp - 0x428]
push eax
call fcn.0047e81e
add esp, 8
lea ecx, [ebp - 0x428]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43d3a8
xor eax, eax
jmp 0x43d3e4
lea edx, [ebp - 0x428]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0047e84c
add esp, 8
mov eax, 1
jmp 0x43d3e4
lea ecx, [ebp - 0x220]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0047e84c
add esp, 8
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0047e001
mov esp, ebp
pop ebp
ret
Function at 0x43d400
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
mov eax, dword [0x5b2ee4]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x228], 0
xor eax, eax
mov word [ebp - 0x448], ax
push 0x206
push 0
lea ecx, [ebp - 0x446]
push ecx
call fcn.0047e0e0
add esp, 0xc
xor edx, edx
mov word [ebp - 0x220], dx
push 0x206
push 0
lea eax, [ebp - 0x21e]
push eax
call fcn.0047e0e0
add esp, 0xc
mov dword [ebp - 0xc], 0x104
mov dword [ebp - 0x44c], 1
lea ecx, [ebp - 0x10]
push ecx
push 0x20019
push 0
push 0x5775f8
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
je 0x43d4d3
xor eax, eax
jmp 0x43d630
lea edx, [ebp - 0x22c]
push edx
push 0x20019
push 0
push 0x577604
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
je 0x43d506
xor eax, eax
jmp 0x43d630
lea ecx, [ebp - 0x234]
push ecx
push 0x20019
push 0
push 0x577610
mov edx, dword [ebp - 0x22c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
je 0x43d53c
xor eax, eax
jmp 0x43d630
mov dword [ebp - 0x228], 0x104
mov dword [ebp - 8], 1
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x448]
push ecx
lea edx, [ebp - 8]
push edx
push 0
push 0x57762c
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x22c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x448]
push eax
call fcn.00482998
add esp, 4
mov dword [ebp - 0x224], eax
push 0x577630
mov ecx, dword [ebp - 0x224]
push ecx
call fcn.0043ab80
add esp, 8
mov dword [ebp - 0x450], eax
cmp dword [ebp - 0x450], 0
jne 0x43d5c9
xor eax, eax
jmp 0x43d630
mov edx, dword [ebp - 0x450]
add edx, 2
mov dword [ebp - 0x224], edx
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x238], eax
push 0x577634
mov ecx, dword [ebp - 0x224]
push ecx
call fcn.0043ab80
add esp, 8
mov dword [ebp - 0x450], eax
cmp dword [ebp - 0x450], 0
jne 0x43d60b
xor eax, eax
jmp 0x43d630
xor edx, edx
mov eax, dword [ebp - 0x450]
mov word [eax], dx
mov ecx, dword [ebp - 0x238]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43d62b
xor eax, eax
jmp 0x43d630
mov eax, 1
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0047e001
mov esp, ebp
pop ebp
ret