joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44fea0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45e1e8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x47800c]
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 0x44ffd3
cmp byte [ebx + 0x3d], 0
je 0x44ffd3
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x44fef9
xor al, al
jmp 0x44ffd5
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.0044c100
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x14]
lea edi, [ebx + 0x40]
cmp esi, 0x10
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
add eax, edx
push eax
push ecx
mov ecx, dword [ebx + 0x38]
push edi
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x44ff60
sub eax, 1
je 0x44ff64
mov esi, dword [ebp - 0x14]
sub eax, 2
je 0x44ffbc
xor bl, bl
jmp 0x44ffbe
mov byte [ebx + 0x3d], 0
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
cmp esi, 0x10
mov edi, dword [ebp - 0x2c]
cmovae eax, ecx
sub edi, eax
je 0x44ff9a
push dword [ebx + 0x4c]
cmp esi, 0x10
lea eax, [ebp - 0x28]
push edi
cmovae eax, ecx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov esi, dword [ebp - 0x14]
add esp, 0x10
cmp edi, eax
jne 0x44ff5c
cmp byte [ebx + 0x3d], 0
je 0x44ffbc
test edi, edi
lea edi, [ebx + 0x40]
jne 0x44ff24
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.00448030
jmp 0x44ff1e
mov bl, 1
cmp esi, 0x10
jb 0x44ffcf
lea ecx, [esi + 1]
push ecx
push dword [ebp - 0x28]
call fcn.0042d5d0
mov al, bl
jmp 0x44ffd5
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.004568f7
mov esp, ebp
pop ebp
ret
Function at 0x450420
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45e2e2
mov eax, dword fs:[0]
push eax
sub esp, 0x440
mov eax, dword [0x47800c]
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]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x44c], edi
mov dword [ebp - 0x444], 0
mov dword [ebp - 4], 2
xorps xmm0, xmm0
mov dword [ebp - 0x440], 0
movups xmmword [ebp - 0x43c], xmm0
mov dword [ebp - 0x424], 0
movq qword [ebp - 0x42c], xmm0
mov dword [edi], 0
call fcn.0040f730
mov ecx, eax
test ecx, ecx
jne 0x4504ab
push 0x80004005
call fcn.0041ffc0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x444], 1
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
mov dword [ebp - 0x440], esi
cmp byte [ebp + 0x18], 0
mov eax, 1
mov ecx, 0x11
cmovne eax, ecx
mov dword [ebp - 0x430], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x434], eax
mov eax, dword [ebp + 0x10]
cmp dword [eax - 0xc], 0
je 0x450550
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x450550
test al, 0x10
je 0x450550
push ecx
mov ecx, dword [ebp + 0x10]
mov esi, esp
mov dword [ebp - 0x448], esi
lea ecx, [ecx - 0x10]
call fcn.0042d8f0
add eax, 0x10
mov dword [esi], eax
call fcn.00450350
add esp, 4
mov dword [ebp - 0x43c], eax
lea eax, [ebp - 0x420]
mov dword [ebp - 0x438], eax
lea eax, [ebp - 0x440]
push eax
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
test eax, eax
je 0x450592
lea ecx, [ebp - 0x218]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [ebp - 0x218]
push eax
push 0x462000
push edi
call fcn.0042e6b0
add esp, 0xc
jmp 0x450599
mov ecx, edi
call fcn.0042c600
mov byte [ebp - 4], 1
or esi, 0xffffffff
mov edx, dword [ebp + 0x10]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4505ba
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x4505d6
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
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.004568f7
mov esp, ebp
pop ebp
ret 0x14
Function at 0x451750
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x47800c]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push str.CProcessKiller::CProcessKiller
push str._s_Started
push 0
push 5
mov esi, ecx
call fcn.004506f0
add esp, 0x10
mov dword [esp + 8], 0
lea eax, [esp + 8]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x451833
lea eax, [esp + 0xc]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x451833
mov eax, dword [esp + 0xc]
push 0
push 0
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
push 0
mov dword [esp + 0x28], eax
lea eax, [esp + 0x20]
push eax
push 0
push dword [esp + 0x1c]
mov dword [esp + 0x2c], 1
mov dword [esp + 0x38], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x45180a
push str.CProcessKiller::CProcessKiller
push str._s_Successfully_changed_token_privileges
push 0
push 5
call fcn.004506f0
add esp, 0x10
jmp 0x451833
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x45181c
movzx eax, ax
or eax, 0x80070000
push eax
push str.CProcessKiller::CProcessKiller
push str._s_Failed_to_change_token_privileges_error__0x_x_
push 0
push 5
call fcn.004506f0
add esp, 0x14
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
xor ecx, esp
call fcn.004568f7
mov esp, ebp
pop ebp
ret
Function at 0x451850
Capabilities:
Enumerate gui resources
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x47800c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push dword [esi]
push str.CProcessKiller::KillProcess
push str._s_Started_for___s_
push 0
push 5
call fcn.004506f0
add esp, 0x14
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push dword [esi]
call fcn.00451a20
mov edi, eax
test edi, edi
jne 0x4518c6
push dword [esi]
push str.CProcessKiller::KillProcess
push str._s_Could_not_find_the_process_or_get_a_handle_of_it___s_
push eax
push 5
call fcn.004506f0
add esp, 0x14
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004568f7
mov esp, ebp
pop ebp
ret 0xc
push ebx
push edi
push dword [esi]
push str.CProcessKiller::KillProcess
push str._s_Found_the_process___s___Handle__0x_x_
push 0
push 5
call fcn.004506f0
push str.CProcessKiller::KillProcess
push str._s_Starting_loop
push 0
push 5
call fcn.004506f0
add esp, 0x28
xor ebx, ebx
push dword [esi]
inc ebx
push ebx
push str.CProcessKiller::KillProcess
push str._s_Loop_iteration___d___Process___s_
push 0
push 5
call fcn.004506f0
add esp, 0x18
push dword [ebp - 8]
push 0x4520e0
call dword [sym.imp.USER32.dll_EnumWindows]
push dword [esi]
push str.CProcessKiller::KillProcess
push str._s_Waiting_for_process_to_signal___s_
push 0
push 5
call fcn.004506f0
add esp, 0x14
push 0x1f4
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi]
push str.CProcessKiller::KillProcess
test eax, eax
je 0x451983
push str._s_Timeout_while_waiting_for_the_process___s_
push 0
push 5
call fcn.004506f0
add esp, 0x14
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x45199b
push dword [esi]
push str.CProcessKiller::KillProcess
push str._s_TerminateProcess_failed_for_the_process___s_
push eax
push 5
call fcn.004506f0
jmp 0x451998
push str._s_Finished_waiting_for_the_process___s_
push 0
push 5
call fcn.004506f0
mov dword [ebp - 0xc], 1
add esp, 0x14
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, 5
jge 0x4519cf
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp + 0x10]
lea eax, [ebp - 8]
push dword [ebp + 0xc]
push eax
push dword [esi]
call fcn.00451a20
mov edi, eax
test edi, edi
jne 0x4518f5
jmp 0x4519e7
push dword [esi]
push str.CProcessKiller::KillProcess
push str._s_Breaking_the_loop___s_
push 0
push 5
call fcn.004506f0
add esp, 0x14
push dword [esi]
push ebx
push str.CProcessKiller::KillProcess
push str._s_Ended_the_loop_after___d__iterations__Process___s_
push 0
push 5
call fcn.004506f0
mov ecx, dword [ebp - 4]
add esp, 0x18
cmp dword [ebp - 0xc], 1
sete al
xor ecx, ebp
pop ebx
pop edi
pop esi
call fcn.004568f7
mov esp, ebp
pop ebp
ret 0xc
Function at 0x452150
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45e4c8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x47800c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], ecx
push 0
mov dword [ebp - 4], 0
xor bl, bl
push 0
mov byte [ebp - 4], 1
push dword [ebp + 8]
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x452224
inc eax
xor ecx, ecx
mov dword [ebp - 0x18], eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0045694e
add esp, 4
mov esi, eax
mov dword [ebp - 0x14], esi
push dword [ebp - 0x18]
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x452217
test esi, esi
jne 0x4521ec
xor ecx, ecx
push ecx
mov ecx, dword [ebp - 0x1c]
push esi
call fcn.0042d9b0
jmp 0x452215
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4521f1
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x1c]
push esi
call fcn.0042d9b0
jmp 0x452215
mov bl, 1
test esi, esi
je 0x452224
push esi
call fcn.00456908
add esp, 4
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x452246
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x454170
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x47800c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x38
mov dword [ebp - 0x44], eax
mov edi, edx
lea eax, [ebp - 0x3c]
mov esi, ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x1000
mov dword [ebp - 0x40], 0x3c
call fcn.0045694e
push 0x1000
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0x800
call fcn.0045694e
add esp, 0x14
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x10], 0x800
push ecx
push 0
push dword [eax - 0xc]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x454212
push dword [ebp - 0x30]
call fcn.00456908
push dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
call fcn.00456908
add esp, 8
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004568f7
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x30]
test edx, edx
jne 0x45421d
xor ecx, ecx
jmp 0x454231
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x454222
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.0042d9b0
mov edx, dword [ebp - 0x14]
test edx, edx
jne 0x454245
xor ecx, ecx
jmp 0x45425f
mov ecx, edx
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x454250
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, ebx
call fcn.0042d9b0
mov ecx, dword [ebp - 0x44]
movzx eax, word [ebp - 0x28]
push dword [ebp - 0x30]
mov dword [ecx], eax
call fcn.00456908
push dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
call fcn.00456908
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
mov al, 1
pop edi
pop esi
pop ebx
call fcn.004568f7
mov esp, ebp
pop ebp
ret
Function at 0x454c90
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45e919
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x47800c]
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, ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x20], 0
push eax
push str.iexplore.exe
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
mov dword [esi], 0
call fcn.0040f730
mov ecx, eax
test ecx, ecx
jne 0x454d12
push 0x80004005
call fcn.0041ffc0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 1
test ebx, ebx
je 0x454da1
push ebx
call fcn.0045694e
add esp, 4
mov edi, eax
push edi
push ebx
push dword [ebp - 0x14]
push str.iexplore.exe
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x454d98
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x461168
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x454d98
cmp dword [ebp - 0x18], 0
je 0x454d98
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx], 0xfeef04bd
jne 0x454d98
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._d._d._d._d
push esi
call fcn.0042e6b0
add esp, 0x18
push edi
call fcn.00456908
add esp, 4
mov eax, esi
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.004568f7
mov esp, ebp
pop ebp
ret
Function at 0x4554b0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45e9f0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x47800c]
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 - 0x24], edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x14], 0
call fcn.004552e0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jne 0x45553d
push 0x467dec
mov ecx, edi
call fcn.0042c540
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov esi, dword [ebp - 0x14]
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45563f
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x45563f
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push ecx
push eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
push 0x467dec
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
mov esi, eax
call fcn.0042c540
mov byte [ebp - 4], 1
test esi, esi
je 0x4555ef
push esi
call fcn.0045694e
add esp, 4
mov ebx, eax
push ebx
push esi
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x4555e6
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x461168
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x4555e6
cmp dword [ebp - 0x20], 0
je 0x4555e6
mov eax, dword [ebp - 0x24]
cmp dword [eax], 0xfeef04bd
jne 0x4555e6
movzx esi, word [eax + 0xa]
movzx edx, word [eax + 8]
movzx ecx, word [eax + 0xe]
movzx eax, word [eax + 0xc]
push eax
push ecx
push edx
push esi
lea eax, [ebp - 0x18]
push str._d._d._d._d
push eax
call fcn.0042e6b0
add esp, 0x18
push ebx
call fcn.00456908
add esp, 4
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.0042d8f0
add eax, 0x10
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x18]
or esi, 0xffffffff
mov dword [edi], eax
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x455620
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x45563f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.004568f7
mov esp, ebp
pop ebp
ret
Function at 0x455d70
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45e9f0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x47800c]
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 - 0x24], edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x14], 0
call fcn.00455ba0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jne 0x455dfd
push 0x467dec
mov ecx, edi
call fcn.0042c540
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov esi, dword [ebp - 0x14]
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x455eff
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x455eff
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push ecx
push eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
push 0x467dec
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
mov esi, eax
call fcn.0042c540
mov byte [ebp - 4], 1
test esi, esi
je 0x455eaf
push esi
call fcn.0045694e
add esp, 4
mov ebx, eax
push ebx
push esi
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x455ea6
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x461168
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x455ea6
cmp dword [ebp - 0x20], 0
je 0x455ea6
mov eax, dword [ebp - 0x24]
cmp dword [eax], 0xfeef04bd
jne 0x455ea6
movzx esi, word [eax + 0xa]
movzx edx, word [eax + 8]
movzx ecx, word [eax + 0xe]
movzx eax, word [eax + 0xc]
push eax
push ecx
push edx
push esi
lea eax, [ebp - 0x18]
push str._d._d._d._d
push eax
call fcn.0042e6b0
add esp, 0x18
push ebx
call fcn.00456908
add esp, 4
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.0042d8f0
add eax, 0x10
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x18]
or esi, 0xffffffff
mov dword [edi], eax
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x455ee0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x455eff
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.004568f7
mov esp, ebp
pop ebp
ret
Function at 0x456070
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45de08
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x47800c]
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, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], 0
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov ecx, eax
shr eax, 8
movzx eax, al
movzx ebx, cl
mov dword [ebp - 0x18], eax
cmp ecx, 0x80000000
jae 0x4560ca
mov edi, ecx
shr edi, 0x10
cmp ebx, 6
jb 0x4560dd
cmp eax, 2
jb 0x4560dd
mov ecx, esi
call fcn.004563a0
jmp 0x456148
call fcn.0040f730
mov ecx, eax
test ecx, ecx
jne 0x4560f2
push 0x80004005
call fcn.0041ffc0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push edi
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push ebx
push str._d._d___d_
push eax
call fcn.0042e6b0
mov edi, dword [ebp - 0x14]
add esp, 0x14
add edi, 0xfffffff0
mov ecx, edi
call fcn.0042d8f0
add eax, 0x10
mov dword [ebp - 4], 0xffffffff
mov dword [esi], eax
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x456148
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
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.004568f7
mov esp, ebp
pop ebp
ret
Function at 0x1001aee9
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x100d0db4
call fcn.100cece0
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi], 0x100d9a00
mov dword [esi + 4], 0x100dbeac
mov dword [esi + 8], 0x100d97c0
mov dword [esi + 0xc], eax
mov dword [ebp - 4], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x60], eax
push fcn.1000b96d
push 0x1001b0f6
push 6
lea eax, [esi + 0x160]
push 8
push eax
mov byte [ebp - 4], 7
call fcn.10092a20
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x100dbe78
mov dword [esi + 4], 0x100dbe5c
mov dword [esi + 8], 0x100dbe4c
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x100248ea
Capabilities:
Encode data using xor

Disassembly:
mov eax, ecx
push esi
mov ecx, dword [esp + 8]
lea esi, [edx + ecx]
cmp edx, esi
je 0x10024919
push edi
movzx edi, byte [edx]
mov ecx, eax
and ecx, 0xff
xor ecx, edi
shr eax, 8
movzx ecx, word [ecx*2 + 0x100f75d0]
xor eax, ecx
inc edx
cmp edx, esi
jne 0x100248f9
pop edi
pop esi
ret 4

Function at 0x10029218
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100d1c35
call fcn.100cece0
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi], 0x100d9a00
mov dword [esi + 4], 0x100d9c7c
mov dword [esi + 8], eax
mov dword [ebp - 4], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.1000250f
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x100dd620
mov dword [esi + 4], 0x100dd610
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret