joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4120b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4535e6
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
push ebx
mov eax, dword [0x467340]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
push 0x22
xor ebx, ebx
push str..SetupControllerVisualization.cpp
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
call fcn.00406050
push ebx
lea eax, [esp + 0x28]
push eax
mov ecx, 0x1c8
lea edx, [esp + 0x10]
mov dword [esp + 0xe0], ebx
call fcn.0041f600
add eax, 0x28
push str.SetupControllerVisualization::OnClickLicense
push eax
mov byte [esp + 0xe0], 1
call fcn.00407a60
add esp, 8
lea ecx, [esp + 0x24]
mov byte [esp + 0xd8], bl
call fcn.0041f890
cmp dword [esp + 0x20], 0x10
jb 0x41215a
mov ecx, dword [esp + 0xc]
push ecx
call fcn.004308f5
add esp, 4
push 5
push ebx
push ebx
push str.http:__www.liebao.cn_go_eula.html
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x412190
Capabilities:
Get number of processors
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push edi
call edx
mov edi, eax
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [edi]
mov eax, dword [edx + 4]
push 0
push 0
push 0x402
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esi + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
pop edi
mov ecx, esi
mov dword [eax + 0x40], 0
pop esi
jmp method.SetupController.virtual_24

Function at 0x413db8
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esp + 4], 0xf060
push esi
mov esi, ecx
je 0x413dc3
xor al, al
pop esi
ret 4
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx]
mov edx, dword [esi + 0xc]
mov eax, dword [eax]
push edx
call eax
cmp eax, 1
jne 0x413e04
mov edx, dword [esi - 0x44]
mov eax, dword [edx + 8]
lea ecx, [esi - 0x44]
call eax
mov esi, eax
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x48]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
add esi, 0x18
push esi
call edx
mov al, 1
pop esi
ret 4
cmp eax, 2
je 0x413dbd
mov al, 1
pop esi
ret 4
Function at 0x415cf0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x452398
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x467340]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor eax, eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], 6
mov dword [esi + 0x24], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], eax
mov dword [esp + 0x14], eax
lea eax, [esi + 0x40]
push eax
mov dword [esi], vtable.conew::CSizerBox.0
call fcn.0042b7d0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4

Function at 0x418680
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
mov eax, dword [eax]
push esi
xor esi, esi
mov dword [esp + 4], 4
test eax, eax
je 0x4186cf
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x10]
push ecx
push esi
push str.online_install_debug
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4186cf
cmp dword [esp + 8], 4
jne 0x4186cf
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov dword [eax], edx
lea eax, [esi + 1]
pop esi
add esp, 0xc
ret 4
mov eax, esi
pop esi
add esp, 0xc
ret 4

Function at 0x4186e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
mov esi, eax
mov eax, dword [ebp]
xor edi, edi
mov dword [esp + 0x14], edi
cmp eax, edi
je 0x418782
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x18]
push ecx
push edi
lea edx, [esp + 0x18]
push edx
push edi
push str.Install_Path_Dir
push eax
call ebx
cmp dword [esp + 0x10], 1
jne 0x41878b
call fcn.00412610
mov eax, dword [esi]
mov ecx, dword [esp + 0x18]
sub eax, 0x10
shr ecx, 1
mov edx, 1
sub edx, dword [eax + 0xc]
mov eax, dword [eax + 8]
inc ecx
sub eax, ecx
or edx, eax
jge 0x418746
mov eax, esi
call fcn.00412810
mov edi, dword [esi]
mov eax, dword [ebp]
lea ecx, [esp + 0x18]
push ecx
push edi
lea edx, [esp + 0x18]
push edx
push 0
push str.Install_Path_Dir
push eax
call ebx
test eax, eax
jne 0x418795
mov ecx, dword [esp + 0x18]
shr ecx, 1
xor edx, edx
mov word [edi + ecx*2], dx
call fcn.00412670
pop ebx
pop edi
pop esi
mov eax, 1
pop ebp
pop ecx
ret 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ecx
ret 4
pop ebx
mov eax, edi
pop edi
pop esi
pop ebp
pop ecx
ret 4
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret 4
Function at 0x4189c0
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1454
call fcn.00443410
mov eax, dword [0x467340]
xor eax, esp
mov dword [esp + 0x1450], eax
push esi
xor eax, eax
push 0x144e
mov esi, ecx
push eax
lea ecx, [esp + 0xe]
push ecx
mov word [esp + 0x10], ax
call fcn.004375f0
add esp, 0xc
call fcn.00418a80
test al, al
je 0x418a2d
lea edx, [esp + 4]
push edx
push 0
push 0
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jge 0x418a3a
xor al, al
pop esi
mov ecx, dword [esp + 0x1450]
xor ecx, esp
call fcn.00430900
add esp, 0x1454
ret
lea eax, [esp + 4]
push eax
push 0
push 0
push 0x26
jmp 0x418a09
lea eax, [esp + 4]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418a41
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 8]
call fcn.004070b0
push 7
push str.liebao
mov eax, esi
call fcn.00406ee0
mov ecx, dword [esp + 0x1454]
pop esi
xor ecx, esp
mov al, 1
call fcn.00430900
add esp, 0x1454
ret

Function at 0x418a80
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x467340]
xor eax, esp
mov dword [esp + 0x11c], eax
push 0x118
lea eax, [esp + 8]
push 0
push eax
mov dword [esp + 0xc], 0x11c
call fcn.004375f0
add esp, 0xc
lea ecx, [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x418ad5
xor al, al
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.00430900
add esp, 0x120
ret
cmp dword [esp + 4], 6
mov ecx, dword [esp + 0x11c]
sbb eax, eax
xor ecx, esp
inc eax
call fcn.00430900
add esp, 0x120
ret

Function at 0x418b00
Capabilities:
Get common file path
Get program files directory

Disassembly:
sub esp, 0x210
mov eax, dword [0x467340]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.004375f0
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
add esp, 0xc
push 0
push 0x24
lea edx, [esp + 0x10]
push edx
push 0
call esi
lea eax, [esp + 8]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418b50
sub eax, edx
sar eax, 1
je 0x418baa
lea eax, [esp + 8]
lea edx, [eax + 2]
jmp 0x418b70
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418b70
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xc]
push edi
push eax
call fcn.00431de0
add esp, 0xc
test eax, eax
jne 0x418baa
mov al, 1
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.00430900
add esp, 0x210
ret
push 0
push 0x26
lea ecx, [esp + 0x10]
push ecx
push 0
call esi
lea eax, [esp + 8]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418bc0
sub eax, edx
sar eax, 1
je 0x418c02
lea eax, [esp + 8]
lea edx, [eax + 2]
jmp 0x418be0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418be0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0xc]
push edi
push edx
call fcn.00431de0
add esp, 0xc
test eax, eax
je 0x418b92
mov ecx, dword [esp + 0x210]
pop esi
xor ecx, esp
xor al, al
call fcn.00430900
add esp, 0x210
ret
Function at 0x41b780
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x451918
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x467340]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor edi, edi
xor eax, eax
push 0xffffffffffffffff
mov word [esp + 0x14], ax
mov eax, dword [esp + 0x3c]
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
call fcn.00406820
mov eax, ebx
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41b7d6
sub eax, edx
sar eax, 1
push eax
push ebx
lea eax, [esp + 0x14]
call fcn.00406ee0
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push 0xffffffffffffffff
mov word [esi + 4], cx
push edi
mov ecx, esi
call fcn.00406820
cmp dword [esp + 0x24], 8
jb 0x41b81e
mov edx, dword [esp + 0x10]
push edx
call fcn.004308f5
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret

Function at 0x41bab0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4510d8
mov eax, dword fs:[0]
push eax
mov eax, dword [0x467340]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x14]
mov dword [esi + 0xc], ecx
mov dword [esi + 8], edx
lea ecx, [esi + 0x10]
mov dword [esi], vtable.CallBack_3_void__class_ITaskDelegate__int__int__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.0
push 0xffffffffffffffff
mov dword [ecx + 0x14], eax
xor edx, edx
push eax
mov dword [ecx + 0x18], 7
lea eax, [esp + 0x20]
mov word [ecx + 4], dx
call fcn.00406820
cmp dword [esp + 0x30], 8
mov dword [esi + 0x2c], 0x41bd40
jb 0x41bb23
mov eax, dword [esp + 0x1c]
push eax
call fcn.004308f5
add esp, 4
mov eax, esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 0x20
Function at 0x41c0b0
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
sub esp, 0x20c
mov eax, dword [0x467340]
xor eax, esp
mov dword [esp + 0x208], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xa]
push ecx
mov word [esp + 0xc], ax
call fcn.004375f0
add esp, 0xc
push 0x104
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x45d2f4
lea eax, [esp + 4]
push 0x104
push eax
call fcn.00432284
add esp, 0xc
lea ecx, [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x60], eax
test eax, eax
je 0x41c218
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.WinHttpOpen
push eax
call edi
mov edx, dword [esi + 0x60]
push str.WinHttpConnect
push edx
mov dword [esi + 4], eax
call edi
mov dword [esi + 8], eax
mov eax, dword [esi + 0x60]
push str.WinHttpOpenRequest
push eax
call edi
mov ecx, dword [esi + 0x60]
push str.WinHttpAddRequestHeaders
push ecx
mov dword [esi + 0xc], eax
call edi
mov edx, dword [esi + 0x60]
push str.WinHttpSendRequest
push edx
mov dword [esi + 0x10], eax
call edi
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x60]
push str.WinHttpReceiveResponse
push eax
call edi
mov ecx, dword [esi + 0x60]
push str.WinHttpQueryHeaders
push ecx
mov dword [esi + 0x18], eax
call edi
mov edx, dword [esi + 0x60]
push str.WinHttpReadData
push edx
mov dword [esi + 0x1c], eax
call edi
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x60]
push str.WinHttpCloseHandle
push eax
call edi
mov ecx, dword [esi + 0x60]
push str.WinHttpCrackUrl
push ecx
mov dword [esi + 0x24], eax
call edi
mov edx, dword [esi + 0x60]
push str.WinHttpSetOption
push edx
mov dword [esi + 0x28], eax
call edi
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x60]
push str.WinHttpSetTimeouts
push eax
call edi
cmp dword [esi + 4], 0
mov dword [esi + 0x30], eax
pop edi
je 0x41c214
cmp dword [esi + 0x10], 0
je 0x41c214
cmp dword [esi + 0x24], 0
je 0x41c214
cmp dword [esi + 8], 0
je 0x41c214
cmp dword [esi + 0xc], 0
je 0x41c214
cmp dword [esi + 0x1c], 0
je 0x41c214
cmp dword [esi + 0x20], 0
je 0x41c214
cmp dword [esi + 0x18], 0
je 0x41c214
cmp dword [esi + 0x14], 0
je 0x41c214
cmp dword [esi + 0x28], 0
je 0x41c214
cmp dword [esi + 0x2c], 0
je 0x41c214
test eax, eax
je 0x41c214
mov eax, 1
jmp 0x41c216
xor eax, eax
mov dword [esi], eax
mov ecx, dword [esp + 0x208]
mov eax, dword [esi]
xor ecx, esp
call fcn.00430900
add esp, 0x20c
ret
Function at 0x41c230
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
sub esp, 0x20c
mov eax, dword [0x467340]
xor eax, esp
mov dword [esp + 0x208], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xa]
push ecx
mov word [esp + 0xc], ax
call fcn.004375f0
add esp, 0xc
push 0x104
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.wininet.dll
lea eax, [esp + 4]
push 0x104
push eax
call fcn.00432284
add esp, 0xc
lea ecx, [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x64], eax
test eax, eax
je 0x41c371
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.InternetOpenW
push eax
call edi
mov edx, dword [esi + 0x64]
push str.InternetConnectW
push edx
mov dword [esi + 0x38], eax
call edi
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x64]
push str.HttpOpenRequestW
push eax
call edi
mov ecx, dword [esi + 0x64]
push str.HttpAddRequestHeadersW
push ecx
mov dword [esi + 0x40], eax
call edi
mov edx, dword [esi + 0x64]
push str.HttpSendRequestW
push edx
mov dword [esi + 0x44], eax
call edi
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0x64]
push str.HttpQueryInfoW
push eax
call edi
mov ecx, dword [esi + 0x64]
push str.InternetReadFile
push ecx
mov dword [esi + 0x4c], eax
call edi
mov edx, dword [esi + 0x64]
push str.InternetCloseHandle
push edx
mov dword [esi + 0x50], eax
call edi
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x64]
push str.InternetCrackUrlW
push eax
call edi
mov ecx, dword [esi + 0x64]
push str.InternetSetOptionW
push ecx
mov dword [esi + 0x58], eax
call edi
cmp dword [esi + 0x38], 0
mov dword [esi + 0x5c], eax
pop edi
je 0x41c36c
cmp dword [esi + 0x3c], 0
je 0x41c36c
cmp dword [esi + 0x40], 0
je 0x41c36c
cmp dword [esi + 0x44], 0
je 0x41c36c
cmp dword [esi + 0x48], 0
je 0x41c36c
cmp dword [esi + 0x4c], 0
je 0x41c36c
cmp dword [esi + 0x50], 0
je 0x41c36c
cmp dword [esi + 0x54], 0
je 0x41c36c
cmp dword [esi + 0x58], 0
je 0x41c36c
test eax, eax
je 0x41c36c
mov eax, 1
jmp 0x41c36e
xor eax, eax
mov dword [esi + 0x34], eax
mov ecx, dword [esp + 0x208]
mov eax, dword [esi + 0x34]
xor ecx, esp
call fcn.00430900
add esp, 0x20c
ret
Function at 0x41ca70
Capabilities:
Hash data with md5

Disassembly:
push 0xffffffffffffffff
push 0x452d7b
mov eax, dword fs:[0]
push eax
sub esp, 0x94
push ebx
push ebp
push esi
push edi
mov eax, dword [0x467340]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xb8]
xor ebx, ebx
lea eax, [esp + 0x14]
push eax
mov byte [ebp + 0x68], bl
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x10], ebx
mov dword [ebp], 0x67452301
mov dword [ebp + 4], 0xefcdab89
mov dword [ebp + 8], 0x98badcfe
mov dword [ebp + 0xc], 0x10325476
call fcn.0041d930
mov ecx, dword [esp + 0xbc]
push ecx
lea esi, [esp + 0x20]
mov dword [esp + 0xb4], ebx
call fcn.0041e8e0
test eax, eax
jne 0x41cb12
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 4]
mov eax, dword [esp + ecx + 0x1c]
lea ecx, [esp + ecx + 0x14]
or eax, 2
cmp dword [ecx + 0x28], ebx
jne 0x41cb0b
or eax, 4
push ebx
push eax
call fcn.00401570
lea edi, [esp + 0x14]
mov ecx, ebp
call fcn.0041cb70
lea ecx, [esp + 0x6c]
mov dword [esp + 0xb0], 0xffffffff
call fcn.0041da10
lea eax, [esp + 0x6c]
push eax
mov dword [esp + 0x70], vtable.std::ios_base.0
call fcn.0042f6c0
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret 8

Function at 0x41d930
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x452d47
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x467340]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, dword [esp + 0x24]
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [edi], 0x45d57c
mov dword [edi + 0x58], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
lea esi, [edi + 8]
push esi
mov dword [esp + 0x20], ebx
push edi
mov dword [esp + 0x18], 1
call fcn.0041e6a0
mov dword [esp + 0x1c], 1
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push esi
mov dword [edi + ecx], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
call fcn.0041ee90
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x48], bl
mov byte [esi + 0x41], bl
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ebx
mov eax, dword [esi + 0x24]
mov dword [eax], ebx
mov ecx, dword [esi + 0x34]
mov dword [ecx], ebx
mov edx, dword [esi + 0x10]
mov dword [edx], ebx
mov eax, dword [esi + 0x20]
mov edx, dword [0x46b040]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov dword [ecx], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x44], edx
mov dword [esi + 0x3c], ebx
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x41ee90
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x450b5b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x467340]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0042f55e
push 4
mov dword [esp + 0x20], 0
call fcn.004309b0
mov edi, eax
add esp, 4
test edi, edi
je 0x41ef0e
call fcn.0042f96b
mov dword [edi], eax
call fcn.0042f799
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.0042fabb
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x41ef03
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.0042fae3
jmp 0x41ef10
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x422990
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4229a7
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4229d8
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x4229d4
cmp esi, eax
jae 0x4229d8
sub edi, 1
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x4229c4
cmp esi, eax
jb 0x4229de
pop esi
pop edi
xor eax, eax
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret
Function at 0x423e00
Capabilities:
Write file on windows

Disassembly:
push 0
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push ecx
mov ecx, dword [eax]
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x423e22
call fcn.004018e0
ret 4
xor eax, eax
ret 4

Function at 0x423e30
Capabilities:
Get file size

Disassembly:
sub esp, 0xc
mov edx, dword [ecx]
lea eax, [esp + 4]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp], eax
cmp eax, 0xffffffff
jne 0x423e55
call fcn.004018e0
test eax, eax
jl 0x423e60
mov eax, dword [esp]
mov dword [esi], eax
mov eax, dword [esp + 4]
mov dword [esi + 4], eax
xor eax, eax
add esp, 0xc
ret
Function at 0x424a10
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x45154b
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x467340]
xor eax, esp
mov dword [esp + 0x294], eax
push esi
mov eax, dword [0x467340]
xor eax, esp
push eax
lea eax, [esp + 0x2a0]
mov dword fs:[0], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x9e]
push ecx
mov word [esp + 0xa0], ax
call fcn.004375f0
add esp, 0xc
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x10]
push ecx
push 0x45d9e0
push str.SOFTWAREliebao
push 0x80000002
mov dword [esp + 0x24], 0x208
mov dword [esp + 0x20], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [esp + 0x94], 0
jne 0x424aba
push 1
push 0x45da0c
mov ecx, edi
call fcn.00406050
jmp 0x424b17
push 3
lea eax, [esp + 0x98]
lea edx, [esp + 0x18]
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x18], edx
call fcn.00425750
mov dword [esp + 0x2a8], 0
mov edx, dword [esp + 0x10]
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x424af0
sub eax, esi
push eax
push edx
mov ecx, edi
call fcn.00406050
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
cmp eax, ecx
je 0x424b17
push eax
call fcn.00430d9c
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x2a0]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x294]
xor ecx, esp
call fcn.00430900
add esp, 0x2a4
ret

Function at 0x424b40
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x45154b
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x467340]
xor eax, esp
mov dword [esp + 0x294], eax
push esi
mov eax, dword [0x467340]
xor eax, esp
push eax
lea eax, [esp + 0x2a0]
mov dword fs:[0], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x9e]
push ecx
mov word [esp + 0xa0], ax
call fcn.004375f0
add esp, 0xc
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x10]
push ecx
push 0x45da10
push str.SOFTWAREliebao
push 0x80000002
mov dword [esp + 0x24], 0x208
mov dword [esp + 0x20], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [esp + 0x94], 0
jne 0x424bea
push 1
push 0x45da0c
mov ecx, edi
call fcn.00406050
jmp 0x424c47
push 3
lea eax, [esp + 0x98]
lea edx, [esp + 0x18]
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x18], edx
call fcn.00425750
mov dword [esp + 0x2a8], 0
mov edx, dword [esp + 0x10]
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x424c20
sub eax, esi
push eax
push edx
mov ecx, edi
call fcn.00406050
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
cmp eax, ecx
je 0x424c47
push eax
call fcn.00430d9c
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x2a0]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x294]
xor ecx, esp
call fcn.00430900
add esp, 0x2a4
ret