joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41fa20
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x4aa0cc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x228
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x234], ecx
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, eax
cmp edi, 0xffffffff
je 0x41fabb
lea eax, [ebp - 0x230]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x41fabb
mov esi, dword [sym.imp.MSVCR120.dll__wcsicmp]
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
push dword [ebp - 0x234]
lea eax, [ebp - 0x20c]
push eax
call esi
add esp, 8
test eax, eax
je 0x41fad3
lea eax, [ebp - 0x230]
push eax
push edi
call ebx
test eax, eax
jne 0x41fa91
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
push edi
call ebx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047dbfe
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x228]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call ebx
mov esi, 1
jmp 0x41fabd

Function at 0x4204d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x420541
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x42050f
cmp eax, 2
jne 0x42052b
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x42053b
test ecx, ecx
je 0x420536
test cl, 1
jne 0x42052b
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x42053b
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x420550
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x420565
lea eax, [edx + 0xd]
pop esi
pop ebp
ret 0xc
mov eax, edx
push edi
lea edi, [eax + 2]
jmp 0x420570
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x420570
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push 1
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x420620
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push 0
mov dword [ebp - 8], edx
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x42065d
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
je 0x42069c
test esi, esi
je 0x42069c
push 0x4ae319
push esi
mov dword [ebp - 4], 0
call fcn.0047e308
mov edi, eax
add esp, 8
test edi, edi
jne 0x4206ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040ac10
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 0
push edi
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4206d0
cmp dword [ebp - 4], esi
je 0x4206de
push edi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
add esp, 4
xor edi, edi
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov dword [eax], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x420700
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4aa0cc]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42073a
test al, 0x10
je 0x42073a
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047dbfe
mov esp, ebp
pop ebp
ret
push esi
mov esi, edi
test edi, edi
jne 0x420753
pop esi
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047dbfe
mov esp, ebp
pop ebp
ret
push ebx
push 0x5c
push esi
call dword [sym.imp.MSVCR120.dll_wcschr]
mov esi, eax
add esp, 8
test esi, esi
je 0x4207f4
cmp word [esi - 2], 0x3a
je 0x4207e9
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x420776
sub eax, edx
mov edx, esi
sar eax, 1
lea ebx, [edx + 2]
lea ebx, [ebx]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x420790
sub edx, ebx
sar edx, 1
sub eax, edx
cmp eax, 0x7ffffffe
jbe 0x4207b3
xor eax, eax
mov word [ebp - 0x20c], ax
jmp 0x4207c1
push eax
push edi
push ecx
lea ecx, [ebp - 0x20c]
call fcn.004208e0
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4207e9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x42080a
add esi, 2
test esi, esi
jne 0x420754
pop ebx
pop esi
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047dbfe
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop ebx
pop esi
xor ecx, ebp
pop edi
call fcn.0047dbfe
mov esp, ebp
pop ebp
ret
Function at 0x420820
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
mov dword [ebp - 8], edx
test esi, esi
je 0x4208c9
cmp word [esi], 0
je 0x4208c9
push edi
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x420874
pop edi
mov eax, 0x80004005
pop esi
mov esp, ebp
pop ebp
ret 4
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push 0
push eax
push esi
push dword [ebp - 8]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4208b3
cmp dword [ebp - 4], esi
jne 0x4208b3
push edi
xor esi, esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
push edi
mov esi, 0x80004005
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, 0x80070057
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4218f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x484241
mov eax, dword fs:[0]
push eax
sub esp, 0x850
mov eax, dword [0x4aa0cc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov ebx, dword [ebp + 8]
push 0
call fcn.00401f70
push 0
mov ecx, edi
call fcn.00401f70
push 0
mov ecx, ebx
call fcn.00401f70
mov ecx, 0x4af074
call fcn.004034a0
test al, al
jne 0x421b4e
xorps xmm0, xmm0
mov dword [ebp - 0x81c], 0
movq qword [ebp - 0x824], xmm0
mov dword [ebp - 0x824], 0
mov dword [ebp - 0x820], 0
mov dword [ebp - 0x81c], 0
push ecx
mov ecx, 0x4af074
mov dword [ebp - 4], 0
call fcn.00403480
push eax
push ecx
lea ecx, [ebp - 0x824]
call fcn.00420460
test eax, eax
je 0x4219ba
mov eax, dword [ebp - 0x824]
test eax, eax
je 0x421b4e
push eax
jmp 0x421b48
lea eax, [ebp - 0x818]
mov dword [ebp - 0x818], 0x400
push eax
lea eax, [ebp - 0x814]
push eax
push str.XProxyServer
lea ecx, [ebp - 0x824]
call fcn.004204d0
test eax, eax
jne 0x4219a6
push 0xfde9
lea edx, [ebp - 0x814]
lea ecx, [ebp - 0x840]
call fcn.00423810
add esp, 4
mov ecx, esi
push eax
call fcn.0040ead0
lea ecx, [ebp - 0x840]
call fcn.00401e50
lea eax, [ebp - 0x818]
mov dword [ebp - 0x818], 0x400
push eax
lea eax, [ebp - 0x814]
push eax
push str.XProxyUserName
lea ecx, [ebp - 0x824]
call fcn.004204d0
mov esi, dword [ebp - 0x824]
test eax, eax
jne 0x421b43
push 0xfde9
lea edx, [ebp - 0x814]
lea ecx, [ebp - 0x840]
call fcn.00423810
add esp, 4
mov ecx, edi
push eax
call fcn.0040ead0
lea ecx, [ebp - 0x840]
call fcn.00401e50
lea eax, [ebp - 0x818]
mov dword [ebp - 0x818], 0x800
push eax
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x828]
push eax
push 0
push str.XProxyPassword
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x421b43
cmp dword [ebp - 0x828], 3
jne 0x421b43
mov eax, dword [ebp - 0x818]
and eax, 0xfffffffe
cmp eax, 0x800
jae 0x421b6a
xor ecx, ecx
push ecx
sub esp, 0x18
mov word [ebp + eax - 0x814], cx
mov ecx, esp
mov dword [ebp - 0x828], esp
push str.encrypt_B192E67D_8E42_4382_A359_E65945D1ED48
call fcn.004058c0
sub esp, 0x18
mov byte [ebp - 4], 1
lea eax, [ebp - 0x814]
mov ecx, esp
push eax
call fcn.004058c0
lea ecx, [ebp - 0x85c]
mov byte [ebp - 4], 0
call fcn.00456090
add esp, 0x30
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x840]
call fcn.00423690
add esp, 4
mov ecx, ebx
push eax
call fcn.0040ead0
lea ecx, [ebp - 0x840]
call fcn.00401e50
lea ecx, [ebp - 0x85c]
call fcn.004033c0
test esi, esi
je 0x421b4e
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0047dbfe
mov esp, ebp
pop ebp
ret
call fcn.0047e22c
int3
Function at 0x422330
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
mov esi, ecx
call fcn.004223a0
push 0
push 0
push esi
push 0x421390
push 0
push 0
call dword [sym.imp.MSVCR120.dll__beginthreadex]
mov ecx, dword [esi + 0x54]
add esp, 0x18
mov edi, eax
test ecx, ecx
je 0x422361
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x54], edi
test edi, edi
jne 0x422392
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CHttpManager::Start_return_error:_u
push edi
push str.HttpManager.cpp
call fcn.0040e5a0
add esp, 0x10
mov ecx, esi
call fcn.004223a0
mov eax, 0x80004005
pop edi
pop esi
pop ecx
ret
pop edi
xor eax, eax
pop esi
pop ecx
ret
Function at 0x426670
Capabilities:
Get proxy
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4849e8
mov eax, dword fs:[0]
push eax
sub esp, 0x840
mov eax, dword [0x4aa0cc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x83c]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionInternet_Settings
mov dword [ebp - 0x840], 0
push SysReAllocString
mov dword [ebp - 0x848], edi
mov dword [ebp - 0x83c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4266ed
push 0x493d3d
mov ecx, edi
call fcn.00401e10
jmp 0x426894
sub esp, 0x18
xorps xmm0, xmm0
mov esi, esp
movdqu xmmword [ebp - 0x838], xmm0
movdqu xmmword [ebp - 0x828], xmm0
mov dword [esi + 0x10], 0
push esi
push 0xc
mov dword [ebp - 4], 1
call fcn.004027f0
add esp, 8
test eax, eax
je 0x426733
lea ecx, [ebp - 0x83c]
mov dword [eax], vtable.._AV___Func_impl_U___Callable_obj_V_lambda_96dfe1787354200c493a3f9af176861c____0A__std__V__allocator_V___Func_class_X___V_std___2_X___V_std__.0
mov dword [eax + 4], ecx
jmp 0x426735
xor eax, eax
lea ecx, [ebp - 0x838]
mov dword [esi + 0x10], eax
mov byte [ebp - 4], 0
call fcn.00423d20
lea eax, [ebp - 0x814]
mov dword [ebp - 4], 2
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
lea eax, [ebp - 0x810]
mov dword [ebp - 0x818], 0
push eax
lea eax, [ebp - 0x818]
mov dword [ebp - 0x814], 0x7fe
push eax
push 0
push str.ProxyEnable
push dword [ebp - 0x83c]
call esi
test eax, eax
jne 0x42686f
cmp dword [ebp - 0x814], 4
jne 0x42686f
cmp dword [ebp - 0x818], 4
jne 0x42686f
cmp dword [ebp - 0x810], eax
je 0x42686f
lea eax, [ebp - 0x814]
mov dword [ebp - 0x814], 0x7fe
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x818]
push eax
push 0
push str.ProxyServer
push dword [ebp - 0x83c]
call esi
test eax, eax
jne 0x42686f
mov eax, dword [ebp - 0x814]
cmp eax, 0x800
jae 0x42686a
cmp dword [ebp + 0xc], 0
mov byte [ebp + eax - 0x810], 0
lea eax, [ebp - 0x810]
je 0x426828
push str.https
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
mov esi, eax
test esi, esi
je 0x426861
add esi, 5
jmp 0x42683d
push str.http
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
mov esi, eax
test esi, esi
je 0x426861
add esi, 4
test esi, esi
je 0x426861
mov al, byte [esi]
cmp al, 0x20
je 0x42684b
cmp al, 0x3d
jne 0x42684e
inc esi
jmp 0x426841
push 0x3b
push esi
call dword [sym.imp.SHLWAPI.dll_StrChrA]
test eax, eax
je 0x42685e
mov byte [eax], 0
push esi
jmp 0x426874
lea eax, [ebp - 0x810]
push eax
jmp 0x426874
call fcn.0047e22c
push 0x493d3d
mov ecx, edi
call fcn.00401e10
lea ecx, [ebp - 0x838]
mov dword [ebp - 0x840], 1
mov byte [ebp - 4], 0
call fcn.00423c80
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047dbfe
mov esp, ebp
pop ebp
ret 8
Function at 0x427780
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x484b03
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4aa0cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0xd]
push eax
mov ecx, ebx
call fcn.00402130
lea eax, [ebp + 0xb]
mov ecx, esi
push eax
call fcn.00402110
push 0
push 0
mov ecx, esi
call fcn.00402060
push 0xffffffffffffffff
push 0
push ebx
mov ecx, esi
call fcn.00401e90
lea eax, [ebp - 0xe]
mov dword [ebp - 4], 0
lea edi, [ebx + 0x18]
add esi, 0x18
push eax
mov ecx, edi
call fcn.00402130
lea eax, [ebp - 0xf]
mov ecx, esi
push eax
call fcn.00402110
push 0
push 0
mov ecx, esi
call fcn.00402060
push 0xffffffffffffffff
push 0
push edi
mov ecx, esi
call fcn.00401e90
lea edi, [ebx + 0x30]
mov byte [ebp - 4], 1
mov ebx, dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push eax
mov ecx, edi
call fcn.00402130
lea eax, [ebp - 0x11]
push eax
lea ecx, [ebx + 0x30]
call fcn.00402110
push 0
push 0
lea ecx, [ebx + 0x30]
call fcn.00402060
push 0xffffffffffffffff
push 0
push edi
lea ecx, [ebx + 0x30]
call fcn.00401e90
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x429930
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x484d64
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4aa0cc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x54], ebx
lea ecx, [ebx + 0x64]
call fcn.00403480
push eax
push str.ReadReportFile_report_file__s
push 0
push str.Report.cpp
call fcn.0040e7f0
add esp, 0x10
lea ecx, [ebx + 0x64]
call fcn.00403480
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4299ac
push str.ReadReportFile_report_file_not_exsted
push 0
push str.Report.cpp
call fcn.0040e7f0
add esp, 0xc
xor eax, eax
jmp 0x429af1
lea ecx, [ebx + 0x64]
mov dword [ebp - 0x44], 0
call fcn.00403480
lea edx, [ebp - 0x44]
mov ecx, eax
call fcn.00420620
mov esi, dword [ebp - 0x44]
mov edi, eax
test esi, esi
je 0x429aec
cmp byte [esi], 0
je 0x429aec
test edi, edi
jle 0x429aec
lea ecx, [ebp - 0x28]
call fcn.00405800
lea eax, [ebx + 0x1c]
mov dword [ebp - 4], 0
push eax
lea eax, [ebx + 4]
mov edx, edi
push eax
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00418240
add esp, 0xc
test eax, eax
je 0x429ae4
push 0xfde9
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.004163d0
add esp, 4
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00403480
push eax
push str.ReadReportFile_report_file_strDataW:_s
push 0
push str.Report.cpp
call fcn.0040e7f0
add esp, 0x10
lea ecx, [ebp - 0x50]
call fcn.004101c0
mov dword [ebp - 0x50], vtable.CReportData.0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x4c]
push eax
call fcn.00414640
test al, al
je 0x429ac0
lea ecx, [ebp - 0x50]
call fcn.004111c0
mov edi, eax
xor esi, esi
test edi, edi
jle 0x429ad4
mov ebx, dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
nop
push 0xc
call ebx
add esp, 4
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x429a9e
push esi
push eax
lea ecx, [ebp - 0x50]
call fcn.00410fd0
jmp 0x429aa0
xor eax, eax
mov ecx, dword [ebp - 0x54]
mov byte [ebp - 4], 2
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [ecx + 0x84]
call fcn.0042aaa0
inc esi
cmp esi, edi
jl 0x429a80
jmp 0x429ad4
push str.ReadReportFile_parse_json_failed
push 0
push str.Report.cpp
call fcn.0040e7f0
add esp, 0xc
lea ecx, [ebp - 0x50]
call fcn.004102d0
lea ecx, [ebp - 0x40]
call fcn.004033c0
lea ecx, [ebp - 0x28]
call fcn.00401e50
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047dbfe
mov esp, ebp
pop ebp
ret
Function at 0x42b350
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48506d
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x4aa0cc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], 0
call fcn.00403390
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x21c], 1
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push 1
push 0x23
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42b43e
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x238]
call fcn.004058c0
push eax
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.004060d0
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 0
call fcn.004033c0
push 0x493b4c
mov ecx, esi
call fcn.00408720
push str.LightRegulate
mov ecx, esi
call fcn.00408720
push str.Common
mov ecx, esi
call fcn.00408720
mov ecx, esi
call fcn.0042af40
test al, al
jne 0x42b43e
mov ecx, esi
call fcn.0042b050
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047dbfe
mov esp, ebp
pop ebp
ret

Function at 0x42b460
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48506d
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x4aa0cc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], 0
call fcn.00403390
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x21c], 1
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push 1
push 0x23
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42b54e
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x238]
call fcn.004058c0
push eax
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.004060d0
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 0
call fcn.004033c0
push 0x493b4c
mov ecx, esi
call fcn.00408720
push str.LightRegulate
mov ecx, esi
call fcn.00408720
push str._bugreport
mov ecx, esi
call fcn.00408720
mov ecx, esi
call fcn.0042af40
test al, al
jne 0x42b54e
mov ecx, esi
call fcn.0042b050
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047dbfe
mov esp, ebp
pop ebp
ret
Function at 0x42b6a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4850b0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4aa0cc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x28]
call fcn.0042b350
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.00429420
push 0x493b4c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00405950
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.004068c0
push 0x4955b0
lea ecx, [ebp - 0x28]
call fcn.00405950
lea ecx, [ebp - 0x28]
call fcn.00403480
push eax
push str.IsCheckProxyByFile_path:__s
push 0
push str.Light_pub.cpp
call fcn.0040e7f0
add esp, 0x10
lea ecx, [ebp - 0x28]
call fcn.00403480
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ebx, ebx
cmp eax, 0xffffffff
setne bl
push ebx
push str.IsFileExist_path:__d
push 0
push str.Light_pub.cpp
call fcn.0040e7f0
add esp, 0x10
lea ecx, [ebp - 0x40]
call fcn.004033c0
lea ecx, [ebp - 0x28]
call fcn.004033c0
xor eax, eax
test ebx, ebx
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047dbfe
mov esp, ebp
pop ebp
ret
Function at 0x42c0d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4853d3
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x4aa0cc]
xor eax, esp
mov dword [esp + 0x7c], eax
push esi
push edi
mov eax, dword [0x4aa0cc]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
test edi, edi
je 0x42c2fd
lea ecx, [esp + 0x58]
call fcn.00415b60
push str.LightRegulate
lea ecx, [esp + 0x5c]
mov dword [esp + 0x9c], 0
call fcn.00408720
lea edx, [esp + 0x58]
lea ecx, [esp + 0x10]
call fcn.00415890
push eax
lea ecx, [esp + 0x5c]
call fcn.0040d5e0
lea ecx, [esp + 0x10]
call fcn.004033c0
lea ecx, [esp + 0x58]
call fcn.00403480
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42c173
test al, 0x10
jne 0x42c183
lea ecx, [esp + 0x58]
call fcn.00403480
mov ecx, eax
call fcn.00420700
push str.report.db
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.00408480
add esp, 0xc
lea eax, [esp + 0xf]
mov byte [esp + 0x98], 1
push eax
mov ecx, esi
call fcn.00402130
lea eax, [esp + 0xe]
push eax
lea ecx, [esp + 0x44]
call fcn.00402110
push 0
push 0
lea ecx, [esp + 0x48]
call fcn.00402060
push 0xffffffffffffffff
push 0
push esi
lea ecx, [esp + 0x4c]
call fcn.00401e90
lea ecx, [esp + 0x40]
mov byte [esp + 0x98], 2
call fcn.004034a0
test al, al
je 0x42c26b
push str.api.win_13.com:8008_v1_report
lea ecx, [esp + 0x2c]
call fcn.00401e10
lea edx, [esp + 0x28]
mov byte [esp + 0x98], 3
lea ecx, [esp + 0x10]
call fcn.0042c040
mov esi, eax
lea eax, [esp + 0x40]
cmp eax, esi
je 0x42c251
push 0
push 1
mov ecx, eax
call fcn.00402060
lea eax, [esp + 0xc]
mov ecx, esi
push eax
call fcn.00402130
lea eax, [esp + 0xd]
push eax
lea ecx, [esp + 0x44]
call fcn.00402130
push esi
call fcn.004026b0
add esp, 4
lea ecx, [esp + 0x40]
push eax
call fcn.00405fd0
lea ecx, [esp + 0x10]
call fcn.00401e50
lea ecx, [esp + 0x28]
mov byte [esp + 0x98], 2
call fcn.00401e50
lea ecx, [esp + 0x40]
call fcn.00405880
push eax
push str.InitReport_strUrlInit:_s
push 0
push str.Light_pub.cpp
call fcn.0040e5a0
add esp, 0x10
lea ecx, [esp + 0x10]
push str.LIGHT20248787878
call fcn.00401e10
push str.Lightr_Aes_20240
lea ecx, [esp + 0x2c]
mov byte [esp + 0x9c], 4
call fcn.00401e10
lea eax, [esp + 0x10]
mov byte [esp + 0x98], 5
push eax
lea eax, [esp + 0x2c]
mov ecx, edi
push eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.00429680
lea ecx, [esp + 0x28]
call fcn.00401e50
lea ecx, [esp + 0x10]
call fcn.00401e50
lea ecx, [esp + 0x40]
call fcn.00401e50
lea ecx, [esp + 0x70]
call fcn.004033c0
lea ecx, [esp + 0x58]
call fcn.004033c0
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.0047dbfe
mov esp, ebp
pop ebp
ret