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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6097e3
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x6c0924]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x50]
call fcn.00403580
push eax
push 0x2bf20
push str.change_bro_config_delay
push str.debug
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x4c], eax
call fcn.00478bf0
mov dword [ebp - 0x44], eax
push 1
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x44]
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 0x54], al
cmp byte [ebp - 0x54], 1
je 0x40f374
jmp 0x40f438
push str.d:jenkins.jenkinsworkspacelib_commonguardhpguardhpconfigmgr.cpp
lea ecx, [ebp - 0x40]
call fcn.00408710
mov dword [ebp - 4], 0
push 0x61a3d4
lea ecx, [ebp - 0x28]
call fcn.00408710
mov byte [ebp - 4], 1
call fcn.00478bf0
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x4c]
push ecx
push str.change_bro_config_delay:__d
lea edx, [ebp - 0x68]
push edx
call fcn.0040b9a0
add esp, 0xc
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x5c]
push ecx
push 0x1a0
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x100]
call fcn.0040d3b0
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x64], ecx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x64]
call fcn.0040b2a0
push eax
mov edx, dword [ebp - 0x48]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x48]
mov edx, dword [eax + 0x1c]
call edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x100]
call fcn.0040e140
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x68]
call fcn.00405df0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00405e70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00405e70
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052e057
mov esp, ebp
pop ebp
ret

Function at 0x40f7d0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x6c0924]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x80c], ecx
mov dword [ebp - 0x808], 0
push 0x800
push 0
lea eax, [ebp - 0x804]
push eax
call fcn.005b1170
add esp, 0xc
mov ecx, dword [ebp - 0x80c]
call fcn.00403580
push eax
push 0x400
lea ecx, [ebp - 0x804]
push ecx
push 0x6192c8
push 0x6192cc
push 0x6192d8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [ebp - 0x804]
push edx
mov ecx, dword [ebp + 8]
call fcn.00402600
mov eax, dword [ebp - 0x808]
or eax, 1
mov dword [ebp - 0x808], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052e057
mov esp, ebp
pop ebp
ret 4
Function at 0x40f890
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x6c0924]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x80c], ecx
mov dword [ebp - 0x808], 0
push 0x800
push 0
lea eax, [ebp - 0x804]
push eax
call fcn.005b1170
add esp, 0xc
mov ecx, dword [ebp - 0x80c]
call fcn.00403580
push eax
push 0x400
lea ecx, [ebp - 0x804]
push ecx
push 0x6195d0
push 0x6195d4
push str.product_ref
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [ebp - 0x804]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040d080
mov eax, dword [ebp - 0x808]
or eax, 1
mov dword [ebp - 0x808], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052e057
mov esp, ebp
pop ebp
ret 4

Function at 0x40f980
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6098f3
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x6c0924]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x54], ecx
mov ecx, dword [ebp - 0x54]
add ecx, 0x30
call fcn.00413b20
push eax
push 0
mov eax, dword [0x619110]
push eax
mov ecx, dword [0x6190f8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x4c], eax
call fcn.00478bf0
mov dword [ebp - 0x44], eax
push 1
mov edx, dword [ebp - 0x44]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x44]
mov edx, dword [eax + 8]
call edx
mov byte [ebp - 0x58], al
cmp byte [ebp - 0x58], 1
je 0x40f9f7
jmp 0x40fabb
push 0x61a300
lea ecx, [ebp - 0x40]
call fcn.00408710
mov dword [ebp - 4], 0
push 0x61a2fc
lea ecx, [ebp - 0x28]
call fcn.00408710
mov byte [ebp - 4], 1
call fcn.00478bf0
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x4c]
push eax
push str.HasNewGuardhpResUpdateFlag_res:_d
lea ecx, [ebp - 0x6c]
push ecx
call fcn.0040b7e0
add esp, 0xc
mov dword [ebp - 0x5c], eax
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x60], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x60]
push eax
push 0x199
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x104]
call fcn.0040d3b0
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x68]
call fcn.0040b2d0
push eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x48]
mov eax, dword [edx + 0x1c]
call eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x104]
call fcn.0040e140
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6c]
call fcn.00405df0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00405e70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00405e70
cmp dword [ebp - 0x4c], 1
jne 0x40faca
mov dword [ebp - 0x50], 1
jmp 0x40fad1
mov dword [ebp - 0x50], 0
mov al, byte [ebp - 0x50]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052e057
mov esp, ebp
pop ebp
ret
Function at 0x410340
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.00403580
push eax
push 0
push str.safelock
push 0x619548
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esp, ebp
pop ebp
ret

Function at 0x4103d0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.00403580
push eax
push 0
push 0
push 0x619224
lea eax, [ebp - 0xc]
push eax
call fcn.00407ff0
add esp, 0xc
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
call fcn.00403580
push eax
push str.test
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0xc]
call fcn.00405df0
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x410db0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x6c0924]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], ecx
push 0x208
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.005b1170
add esp, 0xc
push 0
push 0x1a
lea ecx, [ebp - 0x20c]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor edx, edx
mov byte [ebp - 0x20d], dl
lea ecx, [ebp - 0x20d]
call fcn.0040e980
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x410e33
lea edx, [ebp - 0x20c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
cmp dword [ebp + 8], 0
je 0x410e45
mov dword [ebp - 0x214], 0x619510
jmp 0x410e4f
mov dword [ebp - 0x214], 0x619514
mov ecx, dword [ebp - 0x218]
add ecx, 4
call fcn.00403580
push eax
mov eax, dword [ebp - 0x214]
push eax
push 0x619518
push 0x61952c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052e057
mov esp, ebp
pop ebp
ret 4
Function at 0x415ad0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
mov eax, 2
imul ecx, eax, 0
movzx edx, word [ecx + 0x6c7ff8]
test edx, edx
jne 0x415b14
push 0
push 0x1a
push 0x6c7ff8
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x61abe8
push 0x6c7ff8
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x6c7ff8
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x415b30
push 0x6c7ff8
call fcn.0044fff0
add esp, 4
push 0x6c7ff8
mov ecx, dword [ebp + 8]
call fcn.00402600
mov eax, dword [ebp - 4]
or eax, 1
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret 4

Function at 0x417940
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60a191
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x6c0924]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24c], ecx
mov ecx, dword [ebp + 8]
call fcn.00410370
movzx eax, al
test eax, eax
je 0x417987
xor eax, eax
jmp 0x417b24
mov ecx, dword [ebp + 8]
call fcn.00403580
push eax
lea ecx, [ebp - 0x114]
call fcn.00417040
mov dword [ebp - 0x230], eax
mov ecx, dword [ebp - 0x230]
mov dword [ebp - 0x234], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x234]
call fcn.00403580
push eax
lea ecx, [ebp - 0x228]
call fcn.00402600
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x114]
call fcn.00405d80
lea edx, [ebp - 0x22c]
push edx
lea ecx, [ebp - 0x228]
call fcn.00403580
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
je 0x417b02
cmp dword [ebp - 0x22c], 1
jne 0x417b02
mov dword [ebp - 0x21c], 0
jmp 0x417a2e
mov eax, dword [ebp - 0x21c]
add eax, 1
mov dword [ebp - 0x21c], eax
mov ecx, dword [ebp - 0x21c]
cmp ecx, dword [ebp - 0x22c]
jge 0x417b02
mov edx, dword [ebp - 0x21c]
mov eax, dword [ebp - 0x220]
mov ecx, dword [eax + edx*4]
push ecx
lea ecx, [ebp - 0x218]
call fcn.00417040
mov dword [ebp - 0x238], eax
mov edx, dword [ebp - 0x238]
mov dword [ebp - 0x23c], edx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x23c]
call fcn.00403580
push eax
lea ecx, [ebp - 0x224]
call fcn.00402600
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x218]
call fcn.00405d80
push 0x61ac10
lea ecx, [ebp - 0x224]
call fcn.00417730
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 0xffffffff
je 0x417af2
mov eax, dword [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x244], 1
lea ecx, [ebp - 0x224]
call fcn.00405df0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.00405df0
mov eax, dword [ebp - 0x244]
jmp 0x417b24
lea ecx, [ebp - 0x224]
call fcn.00405df0
jmp 0x417a1f
mov dword [ebp - 0x248], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.00405df0
mov eax, dword [ebp - 0x248]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052e057
mov esp, ebp
pop ebp
ret 4
Function at 0x41d920
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60a6b8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x6c0924]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x10]
call fcn.00405c40
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
jne 0x41d978
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00405df0
mov eax, dword [ebp - 0x14]
jmp 0x41d9f0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x10]
call fcn.00402800
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], 0x3e8
lea ecx, [ebp - 0x10]
call fcn.004031e0
lea ecx, [eax + eax + 2]
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x10]
call fcn.00403580
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x18]
push edx
push 0x3e8
push 1
lea eax, [ebp - 0x2c]
push eax
push 0
push 0x4a
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00405df0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x427e80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.0052e070
mov eax, dword [0x6c0924]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x100c], 0
mov dword [ebp - 0x1014], 1
push 0x1000
push 0
lea eax, [ebp - 0x1004]
push eax
call fcn.005b1170
add esp, 0xc
mov dword [ebp - 0x1010], 0x800
xor ecx, ecx
mov byte [ebp - 0x1005], cl
xor edx, edx
mov byte [ebp - 0x1006], dl
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x1004]
push ecx
lea edx, [ebp - 0x1014]
push edx
lea ecx, [ebp - 0x1005]
call fcn.00425980
push eax
lea ecx, [ebp - 0x1006]
call fcn.00426210
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x1004]
push eax
mov ecx, dword [ebp + 8]
call fcn.00402600
mov ecx, dword [ebp - 0x100c]
or ecx, 1
mov dword [ebp - 0x100c], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052e057
mov esp, ebp
pop ebp
ret

Function at 0x428810
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x428819
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 0x42885c
mov eax, dword [ebp - 8]
jmp 0x4288c2
cmp dword [ebp - 0xc], 1
je 0x42886f
cmp dword [ebp - 0xc], 2
je 0x42886f
mov eax, 0xd
jmp 0x4288c2
cmp dword [ebp + 0xc], 0
je 0x4288b6
cmp dword [ebp - 4], 0
je 0x4288a5
mov eax, dword [ebp - 4]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x42889c
mov edx, dword [ebp - 4]
shr edx, 1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
je 0x4288a3
mov eax, 0xd
jmp 0x4288c2
jmp 0x4288b6
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 0x428a20
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60b150
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x6c0924]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x61dd7c
lea ecx, [ebp - 0x34]
call fcn.0040cad0
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
call fcn.00413b20
push eax
lea ecx, [ebp - 0x30]
call fcn.00402600
mov byte [ebp - 4], 1
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.00533420
add esp, 0xc
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x3c]
call fcn.00403580
push eax
lea ecx, [ebp - 0x28]
call fcn.0040d080
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.00405df0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.00405df0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x34]
call fcn.00405df0
xor ecx, ecx
mov byte [ebp - 0x29], cl
xor edx, edx
mov byte [ebp - 0x2a], dl
lea ecx, [ebp - 0x28]
call fcn.00407f70
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebp - 0x28]
call fcn.00413b20
push eax
push 1
lea ecx, [ebp - 0x29]
call fcn.00425f00
push eax
lea ecx, [ebp - 0x2a]
call fcn.00426130
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040df90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052e057
mov esp, ebp
pop ebp
ret
Function at 0x4298d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60b388
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x6c0924]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004031e0
shl eax, 1
mov dword [ebp - 0x14], eax
xor eax, eax
mov byte [ebp - 0xd], al
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp + 8]
call fcn.00403580
push eax
push 1
push 0x61d8e8
lea ecx, [ebp - 0xd]
call fcn.00425e30
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x42995a
mov dword [ebp - 0x1c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00405df0
mov eax, dword [ebp - 0x1c]
jmp 0x429973
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00405df0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x429aa0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
je 0x429ab5
mov dword [ebp - 8], 1
jmp 0x429abc
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
xor ecx, ecx
mov byte [ebp - 1], cl
push 4
lea edx, [ebp - 0x10]
push edx
push 4
push str.user_unlock
lea ecx, [ebp - 1]
call fcn.00425d60
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x429afa
mov dword [ebp - 0xc], 1
jmp 0x429b01
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x42a8e0
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60b450
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x6c0924]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
push eax
lea ecx, [ebp - 0x34]
call fcn.00402680
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00403580
test eax, eax
jne 0x42a951
mov dword [ebp - 0x3c], 0x80004003
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0042a6e0
mov eax, dword [ebp - 0x3c]
jmp 0x42aa1a
lea ecx, [ebp - 0x30]
call fcn.00405bc0
mov byte [ebp - 4], 1
push 0xf01ff
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x34]
call fcn.00403580
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
push eax
lea ecx, [ebp - 0x30]
call fcn.0042a730
lea ecx, [ebp - 0x30]
call fcn.00403580
test eax, eax
jne 0x42a9b1
mov dword [ebp - 0x40], 0x80004005
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.0042a6e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0042a6e0
mov eax, dword [ebp - 0x40]
jmp 0x42aa1a
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
lea edx, [ebp - 0x2c]
push edx
push 1
lea ecx, [ebp - 0x30]
call fcn.00403580
push eax
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x42a9ef
mov dword [ebp - 0x38], 0
jmp 0x42a9f6
mov dword [ebp - 0x38], 0x80004005
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.0042a6e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0042a6e0
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052e057
mov esp, ebp
pop ebp
ret
Function at 0x4396e0
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x439713
mov ecx, dword [ebp - 4]
and ecx, 2
jne 0x43970c
mov edx, dword [ebp - 4]
and edx, 1
jne 0x43970c
mov eax, dword [ebp - 4]
and eax, 4
je 0x439713
mov eax, 1
jmp 0x439718
call fcn.00439a10
mov esp, ebp
pop ebp
ret

Function at 0x439830
Capabilities:
Delete file
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60c99e
mov eax, dword fs:[0]
push eax
sub esp, 0x43c
mov eax, dword [0x6c0924]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x424], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], 0
mov eax, dword [ebp + 0x38]
push eax
lea ecx, [ebp - 0x440]
call fcn.00438800
mov byte [ebp - 4], 1
cmp dword [ebp + 8], 0
je 0x439895
mov ecx, dword [ebp + 8]
movzx edx, word [ecx]
test edx, edx
jne 0x43989a
jmp 0x439967
cmp dword [ebp + 0xc], 0
je 0x4398aa
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax]
test ecx, ecx
jne 0x43991b
push 0x410
push 0
lea edx, [ebp - 0x420]
push edx
call fcn.005b1170
add esp, 0xc
cmp dword [ebp + 0x38], 0xffffffff
jne 0x4398d2
mov dword [ebp - 0x42c], 0
jmp 0x4398de
lea eax, [ebp - 0x440]
mov dword [ebp - 0x42c], eax
mov ecx, dword [ebp - 0x42c]
push ecx
push 0
push 0x104
lea edx, [ebp - 0x420]
push edx
mov eax, dword [ebp + 8]
push eax
push 0
call sub.urlmon.dll_URLDownloadToCacheFileW
test eax, eax
jl 0x439919
lea ecx, [ebp - 0x420]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x428], 1
jmp 0x43995f
cmp dword [ebp + 0x38], 0xffffffff
jne 0x43992d
mov dword [ebp - 0x430], 0
jmp 0x439939
lea edx, [ebp - 0x440]
mov dword [ebp - 0x430], edx
mov eax, dword [ebp - 0x430]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0
call sub.urlmon.dll_URLDownloadToFileW
test eax, eax
jl 0x43995f
mov dword [ebp - 0x428], 1
xor eax, eax
jne 0x439885
lea ecx, [ebp + 0x10]
call fcn.00438b50
movzx ecx, al
test ecx, ecx
je 0x4399c5
mov edx, dword [ebp - 0x424]
cmp dword [edx + 0x24], 0
jl 0x4399c5
mov eax, dword [ebp - 0x424]
add eax, 0x34
push eax
lea ecx, [ebp - 0x448]
call fcn.00438620
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x424]
cmp dword [ecx + 0x24], 0
jl 0x4399b6
mov edx, dword [ebp - 0x428]
push edx
lea ecx, [ebp + 0x10]
call fcn.00419fb0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x448]
call fcn.004389a0
mov dword [ebp - 0x434], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x440]
call fcn.00438ae0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00419d10
mov eax, dword [ebp - 0x434]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052e057
mov esp, ebp
pop ebp
ret 0x34
Function at 0x43a590
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.00439af0
test eax, eax
je 0x43a5a7
xor eax, eax
jmp 0x43a5e5
mov eax, dword [ebp - 4]
cmp dword [eax + 0x18], 0
jne 0x43a5b4
xor eax, eax
jmp 0x43a5e5
mov ecx, dword [ebp - 4]
add ecx, 8
push ecx
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x1c]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x18]
push edx
push 0
push 0
call fcn.005c3209
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 4]
call fcn.00439af0
mov esp, ebp
pop ebp
ret