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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c6e79
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x645624]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x64cec0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 5
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [ebp - 4], 0
lea ecx, [esi + 0x2c]
mov dword [esi], vtable.TiXmlDeclaration.0
mov dword [ecx], 0x64cec0
mov dword [esi + 0x30], 0x64cec0
mov dword [esi + 0x34], 0x64cec0
mov edi, dword [ebp + 8]
mov edx, edi
mov byte [ebp - 4], 3
lea ebx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x458771
sub edx, ebx
push edx
push edi
call fcn.00456200
mov edi, dword [ebp + 0xc]
mov edx, edi
lea ecx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x458790
sub edx, ecx
lea ecx, [esi + 0x30]
push edx
push edi
call fcn.00456200
mov edi, dword [ebp + 0x10]
mov edx, edi
lea ecx, [edx + 1]
nop dword [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x4587b0
sub edx, ecx
lea ecx, [esi + 0x34]
push edx
push edi
call fcn.00456200
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x45bc40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c703a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x645624]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x28], esi
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x2c], esi
call fcn.0057d239
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x45bd00
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], vtable.std::exception.0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], str.bad_locale_name
xorps xmm0, xmm0
mov byte [ebp - 0x14], 1
push eax
movq qword [ebp - 0x20], xmm0
call fcn.0058009b
add esp, 8
mov dword [ebp - 0x24], vtable.std::runtime_error.0
lea eax, [ebp - 0x24]
push 0x6338ec
push eax
call fcn.0058213a
push edi
push esi
call fcn.0057d52d
add esp, 8
mov eax, esi
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.0057b676
mov esp, ebp
pop ebp
ret 4
Function at 0x45cda0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c72e7
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x645624]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0
mov dword [edi + 4], 0x6097d0
mov dword [edi + 0xc], 0x6097d8
mov dword [edi + 0x14], 0x609774
mov dword [edi + 0x40], vtable.CefBase.0
mov dword [ebp - 4], 0
lea esi, [edi + 0x18]
mov eax, dword [edi + 4]
mov dword [edi], vtable.CefApp.1.0
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x18], esi
mov eax, dword [eax + 4]
mov dword [eax + edi + 4], vtable.CefApp.0
mov eax, dword [edi + 0xc]
mov dword [edi + 8], vtable.CefBrowserProcessHandler.0
mov eax, dword [eax + 4]
mov dword [eax + edi + 0xc], vtable.CefBrowserProcessHandler.1.0
mov eax, dword [edi + 0x14]
mov dword [edi + 0x10], vtable.CefRenderProcessHandler.1.0
mov eax, dword [eax + 4]
mov dword [eax + edi + 0x14], vtable.CefRenderProcessHandler.0
mov eax, dword [edi + 4]
mov dword [edi], vtable.CEFAppHandler.3.0
mov dword [edi + 8], vtable.CEFAppHandler.1.0
mov dword [edi + 0x10], vtable.CEFAppHandler.0
mov eax, dword [eax + 4]
mov dword [eax + edi + 4], vtable.CEFAppHandler.2.0
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x3c]
mov dword [ecx + edi], eax
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004604e0
mov dword [esi], eax
lea esi, [edi + 0x20]
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004604e0
mov dword [esi], eax
mov eax, edi
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x462420
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c7166
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x645624]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0057b695
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.0057d42a
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4744b0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x540
mov eax, dword [0x645624]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor bl, bl
mov byte [ebp - 0x439], bl
cmp dword [esi + 0x10], 0
je 0x47465e
cmp dword [esi + 0x28], 0
je 0x47465e
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00581fe0
add esp, 0xc
cmp dword [esi + 0x14], 0x10
jb 0x474504
mov eax, dword [esi]
jmp 0x474506
mov eax, esi
lea ecx, [ebp - 0x53c]
push 3
mov dword [ebp - 0x540], ecx
lea ecx, [ebp - 0x540]
push eax
call fcn.00479bb0
push dword [ebp - 0x540]
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.005943f2
mov eax, dword [ebp - 0x540]
lea ecx, [ebp - 0x53c]
add esp, 0xc
cmp eax, ecx
je 0x474553
push eax
call fcn.00593b50
add esp, 4
push edi
push 0
push 0xf
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
jne 0x47457a
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057b676
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x438]
mov dword [ebp - 0x438], 0x22c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x47461e
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea ecx, [ebp - 0x20c]
lea eax, [ebp - 0x414]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4745d6
test dx, dx
je 0x4745d2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4745d6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4745b0
xor eax, eax
jmp 0x4745db
sbb eax, eax
or eax, 1
test eax, eax
jne 0x47460a
push str.Running_process_name_matched_with_Active_LEID_process_name.
push dword [0x644e84]
push 4
push 0x60a638
push eax
call fcn.00555430
add esp, 0x14
push esi
push dword [ebp - 0x430]
call fcn.00477800
test al, al
jne 0x47465a
lea eax, [ebp - 0x438]
push eax
push edi
call ebx
test eax, eax
jne 0x4745a0
mov bl, byte [ebp - 0x439]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
jne 0x474645
push str.Process_Corresponding_to_the_active_leid_is_not_running
push dword [0x644e84]
push 4
push 0x60a638
push 0
call fcn.00555430
add esp, 0x14
pop edi
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057b676
mov esp, ebp
pop ebp
ret 4
mov bl, 1
jmp 0x47461e
mov ecx, dword [ebp - 4]
xor al, al
pop esi
xor ecx, ebp
pop ebx
call fcn.0057b676
mov esp, ebp
pop ebp
ret 4
Function at 0x474dc0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x645624]
xor eax, ebp
mov dword [ebp - 4], eax
xor ecx, ecx
mov eax, 3
cmp byte [0x60bb4c], cl
push edi
mov edi, dword [ebp + 8]
cmove eax, ecx
push eax
push 0x60bb4c
mov ecx, edi
call fcn.0045f8d0
xorps xmm0, xmm0
mov byte [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
movq qword [ebp - 0x1b], xmm0
movups xmmword [ebp - 0x2b], xmm0
mov dword [ebp - 0x13], 0
mov word [ebp - 0xf], 0
mov byte [ebp - 0xd], 0
call fcn.0049d730
cmp byte [ebp - 0x2c], 0
jne 0x474e24
xor ecx, ecx
jmp 0x474e39
lea ecx, [ebp - 0x2c]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x474e30
sub ecx, edx
push ecx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [edi + 0x18]
call fcn.0045f8d0
xor eax, eax
mov byte [ebp - 0xc], 0
push 8
mov dword [ebp - 0xb], eax
mov word [ebp - 7], ax
mov byte [ebp - 5], al
lea eax, [ebp - 0xc]
push eax
push 0x59
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea ecx, [eax - 2]
cmp ecx, 5
ja 0x474e8a
lea ecx, [ebp - 0xc]
push 8
add eax, ecx
push eax
push 0x5a
push 0x400
mov byte [eax - 1], 0x5f
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
cmp byte [ebp - 0xc], 0
jne 0x474e94
xor ecx, ecx
jmp 0x474ea9
lea ecx, [ebp - 0xc]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x474ea0
sub ecx, edx
push ecx
lea eax, [ebp - 0xc]
push eax
lea ecx, [edi + 0x30]
call fcn.0045f8d0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0057b676
mov esp, ebp
pop ebp
ret 4
Function at 0x477800
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ca671
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x645624]
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 esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
call fcn.00581fe0
add esp, 0xc
mov dword [ebp - 0x21c], 0xf
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x230], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov byte [ebp - 0x261], 0
cmp dword [eax + 0x28], 0
jne 0x477880
xor al, al
jmp 0x477a52
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x47798f
push 0x104
lea eax, [ebp - 0x218]
push eax
push edi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x477981
cmp word [ebp - 0x218], 0
je 0x4779b2
xor eax, eax
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
lea edx, [ebp - 0x248]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x218]
call fcn.0049d0f0
test al, al
je 0x477974
mov dword [ebp - 0x24c], 0xf
mov dword [ebp - 0x250], 0
mov byte [ebp - 0x260], 0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x268]
cmp dword [ebp - 0x234], 8
lea esi, [ebp - 0x248]
push eax
cmovae esi, dword [ebp - 0x248]
lea ecx, [ebp - 0x248]
call fcn.004706c0
lea ecx, [ebp - 0x260]
push dword [eax]
push esi
call fcn.0047b5e0
sub esp, 0x18
lea eax, [ebp - 0x260]
mov ecx, esp
push eax
call fcn.0045e890
lea ecx, [ebp - 0x230]
call fcn.0049b410
add esp, 0x18
lea ecx, [ebp - 0x260]
call fcn.0045e7f0
lea ecx, [ebp - 0x248]
call fcn.00467300
jmp 0x4779b2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetProcessImageFileName_failed__Error_:__d
jmp 0x47799b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Open_Process_Failed__Error_:__d
push 0
push 5
push 0x60a638
push dword [0x64ced4]
call fcn.00555430
add esp, 0x18
mov ecx, dword [ebp - 0x220]
mov esi, dword [ebp - 0x21c]
mov ebx, dword [ebp - 0x230]
test ecx, ecx
je 0x477a20
mov eax, dword [ebp + 0xc]
cmp ecx, dword [eax + 0x28]
jb 0x477a20
cmp esi, 0x10
lea ecx, [ebp - 0x230]
cmovae ecx, ebx
cmp dword [eax + 0x2c], 0x10
mov dword [ebp - 0x268], ecx
lea ecx, [eax + 0x18]
jb 0x4779ef
mov eax, dword [ecx]
jmp 0x4779f1
mov eax, ecx
mov edx, dword [ecx + 0x10]
add edx, eax
cmp dword [ecx + 0x14], 0x10
jb 0x4779fe
mov ecx, dword [ecx]
mov byte [ebp - 0x26c], 0
push dword [ebp - 0x26c]
push ecx
push dword [ebp - 0x268]
call fcn.0047d8e0
add esp, 0xc
mov byte [ebp - 0x261], al
test edi, edi
je 0x477a37
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x21c]
mov ebx, dword [ebp - 0x230]
cmp esi, 0x10
jb 0x477a4c
lea ecx, [esi + 1]
push ecx
push ebx
lea ecx, [ebp - 0x230]
call fcn.00459720
mov al, byte [ebp - 0x261]
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.0057b676
mov esp, ebp
pop ebp
ret 8
Function at 0x480670
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cbe90
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x645624]
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 dword [ebp - 0x10], esp
mov dword [ebp - 0x11c], ecx
push 0x104
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.00581fe0
add esp, 0xc
lea eax, [ebp - 0x118]
push 0x104
push eax
push str.SystemRoot
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push SysReAllocString
push str.System32driversetchosts
call fcn.005963b4
push eax
push str.System32driversetchosts
lea eax, [ebp - 0x118]
push 0x104
push eax
call fcn.00595f1f
lea eax, [ebp - 0x118]
push eax
call fcn.0049bd40
mov edi, eax
push 0
push edi
call fcn.0059519b
push edi
mov esi, eax
call fcn.00593b50
add esp, 0x28
test esi, esi
jne 0x48079e
lea eax, [ebp - 0x118]
push eax
call fcn.0049bd40
push 0x60910c
mov ebx, eax
call fcn.0049bd40
mov edi, eax
push 0x40
push edi
push ebx
call fcn.0058d20b
push ebx
mov esi, eax
call fcn.00593b50
push edi
call fcn.00593b50
add esp, 0x1c
mov dword [0x64cee4], esi
test esi, esi
je 0x480793
mov ecx, dword [ebp - 0x11c]
mov dword [ebp - 4], 0
call fcn.004807e0
jmp 0x4807ba
push str.Error_opening_host_file
push 0
push 5
jmp 0x4807a7
push str.No_host_file_found
push 0
push 4
push str.AdobeGCHostfileRuleImpl
push dword [0x64cef0]
call fcn.00555430
add esp, 0x14
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.0057b676
mov esp, ebp
pop ebp
ret
Function at 0x48c6b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ca3b8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x645624]
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
cmp dword [ebx + 0x38], 0
je 0x48c7de
cmp byte [ebx + 0x3d], 0
je 0x48c7de
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x48c709
xor al, al
jmp 0x48c7e0
push 0
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.0045f7c0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x48c76f
sub eax, 1
je 0x48c773
mov ecx, dword [ebp - 0x14]
sub eax, 2
je 0x48c7c6
xor bl, bl
jmp 0x48c7c8
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x48c7a8
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.00593e89
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp esi, eax
jne 0x48c76b
cmp byte [ebx + 0x3d], 0
je 0x48c7c6
test esi, esi
jne 0x48c731
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.0045ff30
jmp 0x48c72e
mov bl, 1
cmp ecx, 0x10
jb 0x48c7da
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00459720
mov al, bl
jmp 0x48c7e0
mov al, 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.0057b676
mov esp, ebp
pop ebp
ret

Function at 0x48d280
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x48d299
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x48d2d6
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x48d2d2
nop word [eax + eax]
cmp esi, edx
jae 0x48d2d6
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x48d2c0
cmp esi, edx
jb 0x48d2dd
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x48fea0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x645624]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x3c], edx
push esi
push edi
test ebx, ebx
je 0x48ff3e
test edx, edx
je 0x48ff3e
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48fed0
sub ecx, esi
je 0x48ff3e
push edx
call fcn.0049bd40
mov edi, eax
lea eax, [ebp - 0x38]
push eax
push edi
call fcn.00595ad0
push edi
mov esi, eax
call fcn.00593b50
add esp, 0x10
test esi, esi
jne 0x48ff3e
mov eax, dword [ebp - 0x24]
xor ecx, ecx
add eax, 1
push 1
setb cl
neg ecx
or ecx, eax
push ecx
call fcn.00593ac8
add esp, 8
mov dword [ebx], eax
test eax, eax
je 0x48ff3e
push 0x60910c
push dword [ebp - 0x3c]
call fcn.0049b790
mov edi, eax
add esp, 8
test edi, edi
jne 0x48ff52
push dword [ebx]
call fcn.00593b50
add esp, 4
mov dword [ebx], edi
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057b676
mov esp, ebp
pop ebp
ret
push edi
push dword [ebp - 0x24]
push 1
push dword [ebx]
call fcn.005915f1
push edi
mov esi, eax
call fcn.00589953
mov ecx, dword [ebp - 4]
add esp, 0x14
mov eax, esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0057b676
mov esp, ebp
pop ebp
ret
Function at 0x498100
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d06d6
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x645624]
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 edi, ecx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], edi
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.00498cd0
mov dword [edi], eax
lea esi, [edi + 8]
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00498ca0
mov dword [esi], eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
push str.PRODUCT_INFO_XML
push 0xd9
push 0
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x4981da
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x4981da
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x4981da
push ebx
push eax
lea ecx, [ebp - 0x28]
call fcn.0045f8d0
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.0045f9d0
mov ecx, edi
call fcn.00498240
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x498219
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00459720
mov eax, edi
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.0057b676
mov esp, ebp
pop ebp
ret

Function at 0x499bb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x645624]
xor eax, ebp
mov dword [ebp - 4], eax
test ecx, ecx
je 0x499c36
push ebx
lea eax, [ebp - 0x14]
xor bl, bl
push eax
push 1
push 0
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x499c1c
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.bUpdater
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x499c1c
cmp dword [ebp - 0x10], 0
mov eax, 1
movzx ebx, bl
cmove ebx, eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057b676
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
call fcn.0057b676
mov esp, ebp
pop ebp
ret