joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4058a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x44b918
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4606b0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, edx
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], vtable.CBrush.0
mov dword [esp + 0x30], 0
cmp dword [0x4646f0], 7
jne 0x405913
call fcn.00405e40
test eax, eax
jne 0x405913
push 0xf
jmp 0x405915
push 4
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
call edi
cmp dword [esp + 0x38], 0
jne 0x40593a
fld qword [0x454d50]
sub esp, 8
mov edx, eax
fstp qword [esp]
call fcn.004025c0
add esp, 8
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x14]
call fcn.004147e2
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 4]
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [esp + 0x10]
call fcn.0041483a
cmp dword [0x4646f0], 2
jl 0x405984
mov edx, dword [esi + 4]
push 0xf
push 2
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawEdge]
push 7
call edi
cmp dword [esp + 0x3c], 0
jne 0x4059a3
mov edi, dword [ebx + 4]
mov edx, dword [ebx]
add edi, 4
add edx, 4
mov ecx, eax
call fcn.00404f30
jmp 0x4059b6
mov ecx, dword [ebx + 4]
mov ebx, dword [ebx]
add ecx, 4
push ecx
add ebx, 5
mov ecx, eax
call fcn.00404e20
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], vtable.CBrush.0
call fcn.00407bf0
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret 8
Function at 0x405e40
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x138
mov eax, dword [0x4606b0]
xor eax, esp
mov dword [esp + 0x134], eax
cmp dword [0x464bc8], 0
jne 0x405f49
lea eax, [esp]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftPlus_ThemesCurrent
push SysReAllocString
mov dword [0x464bc8], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x405f49
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 4]
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0xc]
push eax
push 0
push 0
push ecx
mov dword [esp + 0x20], 0x104
mov dword [esp + 0x1c], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x405f3f
mov edx, dword [str.Windows_Classic.theme]
mov eax, dword [0x4534c0]
mov ecx, dword [0x4534c4]
mov dword [esp + 0xc], edx
mov edx, dword [0x4534c8]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], eax
mov eax, dword [0x4534cc]
mov dword [esp + 0x1c], ecx
mov cx, word [0x4534d0]
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x28], eax
mov word [esp + 0x2c], cx
call edi
mov esi, eax
lea eax, [esp + 0x14]
push eax
call edi
cmp esi, eax
jl 0x405f3d
lea ecx, [esp + 0x14]
push ecx
mov edx, ecx
push edx
call edi
sub esi, eax
lea eax, [esp + esi + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x405f3d
mov dword [0x464bc4], 1
pop edi
pop esi
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x134]
mov eax, dword [0x464bc4]
xor ecx, esp
call fcn.00434188
add esp, 0x138
ret

Function at 0x406b80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x406b99
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x406bd4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x406bd0
lea ebx, [ebx]
cmp esi, eax
jae 0x406bd4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x406bc0
cmp esi, eax
jb 0x406bda
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x408dc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44abc8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push edi
mov eax, dword [0x4606b0]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov eax, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push eax
call edi
push eax
call fcn.0041a1e8
push eax
lea ecx, [esp + 0x30]
call fcn.004145a8
lea ecx, [esp + 0xc]
mov dword [esp + 0x4c], 0
mov edx, dword [esi + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x1c]
push edx
push eax
call edi
push eax
call fcn.0041a1e8
mov ecx, eax
call fcn.004142b0
cmp dword [esi + 0x178], 0
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
jne 0x408ee1
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0x174]
call fcn.00414510
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
push eax
push ecx
push edx
lea edi, [esi + 0x184]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call fcn.004147e2
test edi, edi
je 0x408e9b
mov edi, dword [edi + 4]
mov eax, dword [esi + 0x178]
push edi
push eax
call fcn.00414871
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0xc]
push 0xcc0020
push edx
mov edx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x18c], eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
push edx
push eax
mov eax, dword [esi + 0x178]
push ecx
push 0
push 0
push eax
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
sub eax, dword [esp + 0x10]
sub ecx, dword [esp + 0xc]
lea edx, [esi + 0x174]
test edx, edx
je 0x408efe
mov edx, dword [edx + 4]
push 0xcc0020
push 0
push 0
push edx
push eax
push ecx
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 4]
push 0
push 0
push edx
call ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4c], 0xffffffff
call fcn.004145fc
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x44
ret 4
Function at 0x40b2a0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x44ada8
mov eax, dword fs:[0]
push eax
sub esp, 0x884
mov eax, dword [0x4606b0]
xor eax, esp
mov dword [esp + 0x87c], eax
push ebx
push esi
push edi
mov eax, dword [0x4606b0]
xor eax, esp
push eax
lea eax, [esp + 0x894]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x89c], 0
mov eax, dword [esp + 0x8a4]
push eax
lea ecx, [esp + 0x490]
push 0x400
push ecx
call fcn.004352b7
add esp, 0xc
lea ecx, [esp + 0x8a4]
call fcn.0040d9d0
test eax, eax
jne 0x40b33b
mov dword [esp + 0x89c], 0xffffffff
mov eax, dword [esp + 0x8a4]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x40b465
xor eax, eax
push 0x44
lea ecx, [esp + 0x28]
push eax
push ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
call fcn.00435e60
mov edx, dword [esi + 0x105c]
add esp, 0xc
cmp dword [esi + 0x1040], 1
push edx
mov dword [esp + 0x28], 0x44
push str._sUGII
lea edx, [esp + 0x94]
jne 0x40b3a4
call fcn.0040ffb0
add esp, 8
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x94]
push edx
push 0
push 0x8000000
jmp 0x40b3c2
call fcn.0040ffb0
add esp, 8
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x94]
push edx
push 0
push 0x20
push 0
push 0
push 0
push 0
lea eax, [esp + 0x4b0]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esi, dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
push 0x4ff
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x20]
push ecx
push 1
call esi
test eax, eax
je 0x40b42f
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push 0
push 0
push 0
lea edx, [esp + 0x80]
push edx
call edi
lea eax, [esp + 0x70]
push eax
call ebx
push 0x4ff
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x20]
push ecx
push 1
call esi
test eax, eax
jne 0x40b400
mov edx, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x18]
push eax
call esi
mov dword [esp + 0x89c], 0xffffffff
mov eax, dword [esp + 0x8a4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b471
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x894]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x87c]
xor ecx, esp
call fcn.00434188
add esp, 0x890
ret 4
Function at 0x40e770
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x44b6b0
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x4606b0]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 8]
call fcn.00406d80
push str.cmd__c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0
call fcn.00406d80
mov byte [esp + 0x10], 1
mov eax, dword [esp + 4]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004063c0
mov ecx, dword [esp + 0x18]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov byte [esp + 0x10], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40e7fe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x10], 0xffffffff
mov eax, dword [esp + 4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e826
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
add esp, 0x10
ret 4

Function at 0x40f270
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x44b5e8
mov eax, dword fs:[0]
push eax
sub esp, 0xc04
mov eax, dword [0x4606b0]
xor eax, esp
mov dword [esp + 0xc00], eax
push ebp
mov eax, dword [0x4606b0]
xor eax, esp
push eax
lea eax, [esp + 0xc0c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xc20]
push 0x3ff
lea eax, [esp + 0x40d]
push 0
mov dword [esp + 0xc1c], 0
push eax
mov byte [esp + 0x414], 0
call fcn.00435e60
mov ecx, dword [esp + 0xc28]
push ecx
lea edx, [esp + 0x818]
push 0x400
push edx
call fcn.004352b7
add esp, 0x18
lea eax, [esp + 0x808]
push eax
push 0x400
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x414]
push edx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 8]
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40f320
sub eax, ecx
push eax
lea eax, [esp + 0xc]
push eax
mov ecx, ebp
call fcn.00407800
mov dword [esp + 0xc14], 0xffffffff
mov eax, dword [esp + 0xc1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f364
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0xc0c]
mov dword fs:[0], ecx
pop ecx
pop ebp
mov ecx, dword [esp + 0xc00]
xor ecx, esp
call fcn.00434188
add esp, 0xc10
ret
Function at 0x40f4b0
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x44c126
mov eax, dword fs:[0]
push eax
sub esp, 0x810
mov eax, dword [0x4606b0]
xor eax, esp
mov dword [esp + 0x80c], eax
push ebp
push esi
push edi
mov eax, dword [0x4606b0]
xor eax, esp
push eax
lea eax, [esp + 0x820]
mov dword fs:[0], eax
call fcn.00415588
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40f504
push 0x80004005
call fcn.00407b00
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x828], 0
call fcn.00415588
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40f539
push 0x80004005
call fcn.00407b00
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x14], ebp
lea edi, [esp + 0x41c]
mov byte [esp + 0x828], 1
call fcn.0040fce0
mov ecx, edi
push ecx
lea edx, [esp + 0x14]
push str._sLanguagelanguage_set.ini
push edx
call fcn.00407bd0
mov edi, dword [esp + 0x1c]
add esp, 0xc
mov ecx, edi
call fcn.0040fea0
test eax, eax
je 0x40f62f
lea eax, [esp + 0x14]
push eax
push str.SOFTWARE_LANGUAGE
push ecx
lea eax, [edi - 0x10]
mov dword [esp + 0x24], esp
mov esi, esp
push eax
call fcn.004076d0
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0040f390
mov ebp, dword [esp + 0x20]
add esp, 0xc
push ebp
call fcn.0043515f
mov esi, eax
add esp, 4
test esi, esi
jne 0x40f62a
push 0x400
lea ecx, [esp + 0x20]
push ecx
push str.UGII_LANG
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jle 0x40f643
lea edx, [esp + 0x1c]
push str.Simpl_Chinese
push edx
call fcn.0043fc8d
add esp, 8
test eax, eax
jne 0x40f5f6
lea esi, [eax + 1]
jmp 0x40f643
lea eax, [esp + 0x1c]
push str.Trad_Chinese
push eax
call fcn.0043fc8d
add esp, 8
test eax, eax
jne 0x40f611
lea esi, [eax + 2]
jmp 0x40f643
lea ecx, [esp + 0x1c]
push str.English
push ecx
call fcn.0043fc8d
add esp, 8
mov esi, 3
jmp 0x40f643
cmp esi, 1
jne 0x40f636
mov esi, 1
jmp 0x40f643
xor edx, edx
cmp esi, 2
setne dl
add edx, 2
mov esi, edx
lea eax, [ebp - 0x10]
mov byte [esp + 0x828], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f667
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x828], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f68e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x820]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x80c]
xor ecx, esp
call fcn.00434188
add esp, 0x81c
ret
Function at 0x40f860
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x44b582
mov eax, dword fs:[0]
push eax
sub esp, 0x80c
mov eax, dword [0x4606b0]
xor eax, esp
mov dword [esp + 0x808], eax
mov eax, dword [0x4606b0]
xor eax, esp
push eax
lea eax, [esp + 0x810]
mov dword fs:[0], eax
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp + 0x818], 2
call fcn.00415588
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40f8c8
push 0x80004005
call fcn.00407b00
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
push 0x3ff
lea ecx, [esp + 0x11]
push 0
push ecx
mov dword [esp + 0x10], 1
mov byte [esp + 0x18], 0
call fcn.00435e60
push str.QUICK_CAM_CONFIG
lea edx, [esp + 0x41c]
push 0x400
push edx
call fcn.004352b7
mov ecx, dword [esp + 0x83c]
mov edx, dword [esp + 0x838]
add esp, 0x18
push 0x4647c0
push 0x400
lea eax, [esp + 0x14]
push eax
push ecx
push edx
lea eax, [esp + 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0xc]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40f942
sub eax, ecx
push eax
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.00407800
mov byte [esp + 0x818], 1
mov eax, dword [esp + 0x820]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40f983
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x818], 0
mov eax, dword [esp + 0x824]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f9ae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x810]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.00434188
add esp, 0x818
ret 8
Function at 0x40fce0
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x44c0e1
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x4606b0]
xor eax, esp
mov dword [esp + 0x414], eax
push esi
mov eax, dword [0x4606b0]
xor eax, esp
push eax
lea eax, [esp + 0x420]
mov dword fs:[0], eax
call fcn.00415588
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40fd32
push 0x80004005
call fcn.00407b00
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0xc], eax
push str.QUICK_CAM_PATH
lea ecx, [esp + 0x14]
mov dword [esp + 0x42c], 0
call fcn.00406d80
mov byte [esp + 0x428], 1
mov edx, dword [esp + 0x10]
push 0x400
lea ecx, [esp + 0x20]
push ecx
push edx
mov byte [esp + 0x28], 0
mov byte [edi], 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jg 0x40fd8f
lea esi, [esp + 0xc]
call fcn.0040fb00
jmp 0x40fdae
lea eax, [esp + 0x1c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40fd96
sub eax, edx
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x14]
call fcn.00407800
mov eax, dword [esp + 0xc]
cmp dword [eax - 0xc], 0
jg 0x40fe10
call fcn.0042406e
push eax
lea ecx, [esp + 0x18]
call fcn.004173e6
mov byte [esp + 0x428], 2
mov ecx, dword [esp + 0x10]
push ecx
push 0x4543d0
lea edx, [esp + 0x24]
call fcn.0040ffb0
add esp, 8
push 0
push 0
lea edx, [esp + 0x24]
push edx
call fcn.00414cf6
mov byte [esp + 0x428], 1
cmp dword [esp + 0x18], 0
je 0x40fe1e
mov eax, dword [esp + 0x14]
push eax
push 0
call fcn.00416ace
jmp 0x40fe1e
mov edx, edi
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x40fe14
mov byte [esp + 0x428], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fe46
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x428], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fe71
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x420]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.00434188
add esp, 0x424
ret
Function at 0x40ffd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44acd0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4606b0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, dword [esp + 0x34]
mov ecx, esi
call fcn.00418e8b
lea edi, [esi + 0x54]
mov dword [esp + 0x2c], 0
push edi
mov dword [esi], vtable.CListCtrlEx.0
call fcn.004110b0
lea ebp, [esi + 0x6c]
push ebp
mov byte [esp + 0x30], 1
call fcn.004110b0
lea ecx, [esi + 0x94]
mov byte [esp + 0x2c], 2
call fcn.0042182e
lea ecx, [esi + 0xa8]
mov byte [esp + 0x2c], 3
call fcn.00415cbc
mov ebx, dword [edi + 0x10]
cmp dword [edi + 0xc], ebx
jbe 0x410054
call fcn.0043569a
mov ecx, dword [edi + 0xc]
mov eax, dword [edi]
mov dword [esp + 0x18], eax
mov dword [esp + 0x34], ecx
cmp ecx, dword [edi + 0x10]
jbe 0x41006f
call fcn.0043569a
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x18]
mov eax, dword [edi]
push ebx
push edx
push ecx
push eax
lea ebx, [esp + 0x28]
call fcn.00411190
mov edi, dword [ebp + 0x10]
cmp dword [ebp + 0xc], edi
jbe 0x41008f
call fcn.0043569a
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp]
mov dword [esp + 0x18], eax
cmp ebx, dword [ebp + 0x10]
jbe 0x4100a3
call fcn.0043569a
mov ecx, dword [esp + 0x18]
mov eax, dword [ebp]
push edi
push ecx
push ebx
push eax
lea edx, [esp + 0x28]
push edx
mov ebx, ebp
call fcn.00411220
or eax, 0xffffffff
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], eax
xor eax, eax
mov dword [esi + 0x90], eax
mov dword [esi + 0x8c], eax
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4
Function at 0x411350
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
xor eax, eax
push str.GetNativeSystemInfo
push str.kernel32.dll
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4113ae
lea ecx, [esp]
push ecx
call eax
mov eax, 9
xor ecx, ecx
cmp ax, word [esp]
sete cl
mov eax, ecx
add esp, 0x24
ret
lea edx, [esp]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, 9
xor ecx, ecx
cmp ax, word [esp]
sete cl
mov eax, ecx
add esp, 0x24
ret

Function at 0x411430
Capabilities:
Set registry value

Disassembly:
sub esp, 0x404
mov eax, dword [0x4606b0]
xor eax, esp
mov dword [esp + 0x400], eax
mov eax, dword [esp + 0x408]
push eax
lea ecx, [esp + 4]
push 0x400
push ecx
call fcn.004352b7
add esp, 0xc
lea edx, [esp]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esi + 4]
inc eax
push eax
lea eax, [esp + 4]
push eax
push 1
push 0
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
mov eax, dword [esp + 0x408]
jne 0x4114c1
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4114a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x400]
xor ecx, esp
call fcn.00434188
add esp, 0x404
ret 4
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4114dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x400]
xor ecx, esp
xor eax, eax
call fcn.00434188
add esp, 0x404
ret 4