joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10024da0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x1b4]
sub esp, 0x234
mov eax, dword [0x100350dc]
xor eax, ebp
mov dword [ebp + 0x1b0], eax
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 0x1bc]
push edx
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x60]
call fcn.10024710
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x10024e14
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x6c], edx
lea ecx, [ebp - 0x60]
call fcn.10022810
mov eax, dword [ebp - 0x6c]
jmp 0x10024eb3
mov dword [ebp - 0x68], 0x100
lea eax, [ebp - 0x80]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x68]
push ecx
lea edx, [ebp - 0x50]
push edx
push 0
mov eax, dword [ebp - 0x60]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x10024e6e
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x60]
call fcn.10024da0
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x10024e65
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x70], edx
lea ecx, [ebp - 0x60]
call fcn.10022810
mov eax, dword [ebp - 0x70]
jmp 0x10024eb3
mov dword [ebp - 0x68], 0x100
jmp 0x10024e1b
mov dword [ebp - 0x74], 0
cmp dword [ebp - 0x60], 0
je 0x10024e8f
mov eax, dword [ebp - 0x60]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov ecx, dword [ebp + 0x1bc]
push ecx
mov ecx, dword [ebp - 0x64]
call fcn.10023f60
mov dword [ebp - 0x78], eax
lea ecx, [ebp - 0x60]
call fcn.10022810
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp + 0x1b0]
xor ecx, ebp
call fcn.1002916b
add ebp, 0x1b4
mov esp, ebp
pop ebp
ret 4
Function at 0x10028140
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 8]
call fcn.10004b10
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jg 0x1002816b
xor al, al
jmp 0x100281a1
mov edx, dword [ebp - 4]
add edx, 2
push edx
mov ecx, dword [ebp + 8]
call fcn.10005490
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
add eax, 1
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
call fcn.10008c70
mov al, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x63d02c60
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
mov edi, 0xffffffff
push esi
push ebx
push ecx
sub esp, 0x28
mov esi, dword [ecx]
mov dword [esp], esi
call sym._MapSL_4
sub esp, 4
mov ebx, eax
lock xadd dword [eax + 4], edi
sub edi, 1
test byte [0x63d08630], 8
jne 0x63d02cb0
test edi, edi
je 0x63d02ce0
lea esp, [ebp - 0x10]
mov eax, edi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str._p_decreasing_refcount_to__lu._n
mov dword [esp + 8], str.IMalloc16_fnRelease
mov dword [esp + 4], 0x63d08630
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
test edi, edi
jne 0x63d02c9d
mov dword [esp], esi
call sym._UnMapLS_4
sub esp, 4
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, edi
sub esp, 0xc
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret

Function at 0x63d02d20
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ebx
push ecx
sub esp, 0x20
mov eax, dword [ecx]
mov ebx, dword [ecx + 4]
test byte [0x63d08630], 8
jne 0x63d02d80
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov dword [esp], eax
call sym._MapLS_4
sub esp, 4
lea esp, [ebp - 8]
pop ecx
pop ebx
pop ebp
lea esp, [ecx - 4]
ret
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.__p___Alloc__ld__n
mov dword [esp + 8], str.IMalloc16_fnAlloc
mov dword [esp + 4], 0x63d08630
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x63d02d40

Function at 0x63d02db0
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x28
mov edi, dword [ecx + 4]
mov esi, dword [ecx]
mov dword [esp], edi
call sym._MapSL_4
sub esp, 4
mov ebx, eax
test byte [0x63d08630], 8
jne 0x63d02e20
mov dword [esp], edi
call sym._UnMapLS_4
sub esp, 4
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.__p___Free__08lx__n
mov dword [esp + 8], str.IMalloc16_fnFree
mov dword [esp + 4], 0x63d08630
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x63d02ddf
Function at 0x63d02e50
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x38
mov edi, dword [ecx]
mov ebx, dword [ecx + 4]
mov esi, dword [ecx + 8]
test byte [0x63d08630], 8
jne 0x63d02f20
test ebx, ebx
je 0x63d02f00
test esi, esi
jne 0x63d02ea0
mov dword [esp + 4], ebx
mov dword [esp], edi
call dbg.IMalloc16_fnFree
lea esp, [ebp - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov dword [esp], ebx
call sym._MapSL_4
sub esp, 4
mov edx, eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapReAlloc]
sub esp, 0x10
mov dword [esp], eax
call sym._MapLS_4
sub esp, 4
mov dword [ebp - 0x1c], eax
mov dword [esp], ebx
call sym._UnMapLS_4
mov eax, dword [ebp - 0x1c]
sub esp, 4
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov dword [esp + 4], esi
mov dword [esp], edi
call dbg.IMalloc16_fnAlloc
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.__p___Realloc__08lx__ld__n
mov dword [esp + 8], str.IMalloc16_fnRealloc
mov dword [esp + 4], 0x63d08630
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x63d02e79

Function at 0x63d02f60
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ebx
push ecx
sub esp, 0x20
mov eax, dword [ecx]
mov ebx, dword [ecx + 4]
test byte [0x63d08630], 8
jne 0x63d02fc0
mov dword [esp], ebx
call sym._MapSL_4
sub esp, 4
mov edx, eax
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapSize]
sub esp, 0xc
lea esp, [ebp - 8]
pop ecx
pop ebx
pop ebp
lea esp, [ecx - 4]
ret
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.__p___GetSize__08lx__n
mov dword [esp + 8], str.IMalloc16_fnGetSize
mov dword [esp + 4], 0x63d08630
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x63d02f80
Function at 0x63d03f20
Capabilities:
Get process heap flags
Query or enumerate registry value

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
mov esi, dword fs:[0x18]
sub esp, 0x88
mov eax, dword [ecx + 4]
mov edi, dword [ecx]
mov dword [ebp - 0x7c], eax
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_strlen]
mov dword [esp + 4], 0
add eax, 8
mov dword [esp + 8], eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov ebx, eax
mov dword [esp + 8], edi
mov dword [esp + 4], str._sCLSID
mov dword [esp], eax
call sym._sprintf
lea eax, [ebp - 0x6c]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp], 0x80000000
call dword [sym.imp.advapi32.dll_RegOpenKeyA]
sub esp, 0xc
test eax, eax
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
jne 0x63d04028
call dword [sym.imp.kernel32.dll_HeapFree]
lea eax, [ebp - 0x70]
lea ebx, [ebp - 0x68]
mov dword [ebp - 0x70], 0x50
sub esp, 0xc
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x6c]
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueA]
sub esp, 0x10
test eax, eax
mov eax, dword [ebp - 0x6c]
mov dword [esp], eax
jne 0x63d04040
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, dword [ebp - 0x7c]
sub esp, 4
mov dword [esp + 4], eax
mov dword [esp], ebx
call dbg.CLSIDFromString16@8
sub esp, 8
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, 0x800401f3
sub esp, 0xc
jmp 0x63d04014
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, 0x800401f3
sub esp, 4
jmp 0x63d04014
Function at 0x63d04fa0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x63d04ffb
cmp byte [esi + ebx - 1], 0xa
je 0x63d04fcf
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x63d15164], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x702149e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x7033c2a8
push 0x702e96c0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x7034b250]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
cmp esi, ebx
jne 0x70214a3e
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x10
push 1
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, ebx
je 0x70214b1b
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
lea eax, [ebx - 0x5c]
cmp eax, 0xfa4
ja 0x70214b19
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x34], eax
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x70214b19
lea ecx, [ebx + ebx]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
mov dword [ebp - 0x30], edi
test edi, edi
je 0x70214b0f
mov dword [ebp - 4], 0
push ebx
push esi
push edi
call fcn.702e9140
add esp, 0xc
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x1c]
push eax
push 0x703272c0
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x70214aec
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x70214aec
cmp dword [ebp - 0x20], 0
je 0x70214aec
mov ecx, dword [eax + 8]
mov dword [ebp - 0x24], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x2c], 1
mov dword [ebp - 4], 0xfffffffe
jmp 0x70214b08
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor ebx, ebx
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x70214b27
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x70214b33
mov edx, dword [ebp - 0x28]
mov dword [eax], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x702156d0
Capabilities:
Get file version info

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
lea edx, [esp + 0x10]
xor ebx, ebx
push edx
mov dword [eax], ebx
push ebp
mov dword [ecx], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
jne 0x70215700
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
push edi
push esi
call fcn.702e20da
mov edi, eax
add esp, 4
test edi, edi
jne 0x70215718
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
push edi
push esi
push 0
push ebp
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x70215753
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x703272c0
push edi
call sub.VERSION.dll_VerQueryValueW
mov ecx, dword [esp + 0x24]
mov ebx, eax
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 8]
mov dword [ecx], edx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x28]
mov dword [eax], edx
push edi
call fcn.702e1dee
add esp, 4
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0xc
ret
Function at 0x70219260
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 8
push ebx
push esi
push 2
xor ebx, ebx
push ebx
push str.C:windows_system32mshtml.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
je 0x702192e3
push edi
push 0x10
push 1
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x702192db
push ebp
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x702192da
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0x10], eax
test eax, eax
je 0x702192d3
push ebp
call fcn.702e20da
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x702192d3
mov eax, dword [esp + 0x10]
push ebp
push eax
push ebx
call fcn.702e9140
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebp
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
xor esi, esi
cmp ebx, esi
je 0x7021932e
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0xc]
push edx
push 0x703272c0
push ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x70219325
mov eax, dword [esp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x14]
mov eax, dword [eax + 0xc]
mov dword [edx], ecx
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov esi, 1
push ebx
call fcn.702e1dee
add esp, 4
mov eax, esi
pop esi
pop ebx
add esp, 8
ret

Function at 0x7021b790
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x20c
mov eax, dword [0x7034b250]
xor eax, esp
mov dword [esp + 0x208], eax
push edi
push 0x208
lea eax, [esp + 8]
push 0
push eax
mov edi, ecx
call fcn.702e95e0
add esp, 0xc
push edi
push 0x70359d48
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 4]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x7021b7f5
lea edi, [esi + 4]
push edi
lea eax, [esp + 8]
push esi
push eax
call fcn.702156d0
add esp, 0xc
test eax, eax
jne 0x7021b80d
mov dword [edi], eax
mov dword [esi], eax
xor eax, eax
pop edi
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.702e1c2f
add esp, 0x20c
ret
mov ecx, dword [esp + 0x20c]
pop edi
mov eax, 1
xor ecx, esp
mov dword [esi + 8], eax
call fcn.702e1c2f
add esp, 0x20c
ret
Function at 0x70226000
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x70310528
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x7034b250]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, edx
lea eax, [esp + 0x18]
push eax
push edi
xor ebp, ebp
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
jne 0x70226052
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
push esi
call fcn.702e20da
add esp, 4
push eax
push esi
push 0
push edi
mov dword [esp + 0x30], eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x702261d5
mov esi, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x28]
push edx
push 0x70329120
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x702261d5
mov eax, dword [0x703580e4]
mov edx, dword [eax + 0xc]
mov ecx, 0x703580e4
call edx
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
mov dword [esp + 0x30], 0
test ebx, ebx
je 0x7022612c
mov eax, dword [esp + 0x24]
movzx ecx, word [eax + 2]
movzx edx, word [eax]
push ecx
push edx
push str.StringFileInfo_04x_04xFileDescription
lea edi, [esp + 0x20]
call fcn.70208e90
mov edi, dword [esp + 0x20]
add esp, 0xc
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push ecx
push edi
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x7022612c
mov esi, dword [esp + 0x1c]
mov edx, 0x104
mov eax, ebx
sub esi, ebx
jmp 0x70226100
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x70226120
movzx ecx, word [esi + eax]
test cx, cx
je 0x70226120
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x70226100
jmp 0x70226124
test edx, edx
jne 0x70226127
sub eax, 2
xor edx, edx
mov word [eax], dx
mov ebx, dword [esp + 0x38]
test ebx, ebx
je 0x702261ac
mov eax, dword [esp + 0x24]
movzx ecx, word [eax + 2]
movzx edx, word [eax]
push ecx
push edx
push str.StringFileInfo_04x_04xCompanyName
lea edi, [esp + 0x20]
call fcn.70208e90
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
add esp, 0xc
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push ecx
push edi
push edx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x702261ac
mov esi, dword [esp + 0x1c]
mov edx, 0x104
mov eax, ebx
sub esi, ebx
lea esp, [esp]
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x702261a0
movzx ecx, word [esi + eax]
test cx, cx
je 0x702261a0
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x70226180
jmp 0x702261a4
test edx, edx
jne 0x702261a7
sub eax, 2
xor edx, edx
mov word [eax], dx
lea eax, [edi - 0x10]
mov ebp, 1
mov dword [esp + 0x30], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x702261d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
push ecx
call fcn.702e1dee
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x702439f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov eax, 1
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, ecx
test byte [0x7036f0a4], al
jne 0x70243a1c
or dword [0x7036f0a4], eax
call edi
mov dword [0x7036f0a0], eax
mov ecx, dword [esi + 0x44]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
test al, al
je 0x70243a76
mov ebx, dword [ebp + 8]
push esi
mov ecx, ebx
call fcn.70244270
test eax, eax
je 0x70243a76
cmp dword [esi + 8], 0
je 0x70243a4e
call edi
sub eax, dword [0x7036f0a0]
cmp eax, 0x493e0
jb 0x70243a5f
mov ecx, esi
call fcn.70243100
mov dword [esi + 8], eax
call edi
mov dword [0x7036f0a0], eax
cmp dword [esi + 8], 0
je 0x70243aa5
push esi
call fcn.702437d0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 8], 0
je 0x70243aa5
cmp dword [esi + 0x24], 0x10
mov ecx, dword [esi + 0x20]
jb 0x70243a8a
mov eax, dword [esi + 0x10]
jmp 0x70243a8d
lea eax, [esi + 0x10]
push 0
inc ecx
push ecx
push eax
push 0x10000001
call sub.urlmon.dll_UrlMkSetSessionOption
neg eax
sbb eax, eax
neg eax
mov dword [esi + 8], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x70248e30
Capabilities:
Extract resource via kernel32 functions
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x7030f228
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push esi
push edi
mov eax, dword [0x7034b250]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
xor edi, edi
cmp dword [ebx + 8], edi
jne 0x7024902d
mov al, byte [ebx + 0x17]
cmp al, 1
jne 0x70248eb0
mov eax, dword [ebx + 4]
cmp eax, 0xffff
jae 0x70248e98
mov ecx, dword [0x70358070]
push 0x2000
push edi
push edi
movzx eax, ax
push edi
push eax
push ecx
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [ebx + 8], eax
jmp 0x70248fc9
push 0x2010
push edi
push edi
push edi
push eax
push edi
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [ebx + 8], eax
jmp 0x70248fc9
mov ecx, dword [ebx + 4]
cmp ecx, 0xffff
jae 0x70248f32
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x40], edi
cmp al, 2
jne 0x70248fc9
push ecx
mov eax, esp
movzx edx, cx
mov dword [esp + 0x14], esp
push ecx
mov dword [eax], edx
mov eax, esp
lea esi, [esp + 0x1c]
mov dword [esp + 0x18], esp
mov dword [eax], 0x7032b7cc
call fcn.70248a20
mov esi, dword [esp + 0x14]
test al, al
je 0x70248f1e
mov eax, dword [esp + 0x18]
mov ecx, dword [0x70358070]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
call fcn.70248d70
mov dword [ebx + 8], eax
xor edi, edi
cmp esi, edi
je 0x70248fc9
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x70248fc9
push 0x7032b798
push ecx
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], edi
call fcn.702e4f84
add esp, 0xc
test eax, eax
jne 0x70248fc9
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x70248fc9
push 2
push edi
push eax
call fcn.702e4c2e
mov eax, dword [esp + 0x1c]
add esp, 0xc
push eax
call fcn.702e4e50
mov ecx, dword [esp + 0x14]
add esp, 4
push 0
push 0
push ecx
mov edi, eax
call fcn.702e4c2e
add esp, 0xc
push edi
call fcn.702df932
mov esi, eax
add esp, 4
test esi, esi
je 0x70248fba
mov edx, dword [esp + 0x10]
push edx
push edi
push 1
push esi
call fcn.702e4b87
add esp, 0x10
cmp byte [ebx + 0x17], 2
jne 0x70248fb1
mov edi, esi
call fcn.70248d70
mov dword [ebx + 8], eax
push esi
call fcn.702e1ea6
add esp, 4
mov eax, dword [esp + 0x10]
push eax
call fcn.702e486b
add esp, 4
xor edi, edi
mov eax, dword [ebx + 8]
cmp eax, edi
jne 0x70248ff1
xor ecx, ecx
mov word [ebx + 0x14], cx
mov dword [ebx + 0xc], edi
mov dword [ebx + 0x10], edi
mov byte [ebx + 0x16], cl
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea edx, [esp + 0x1c]
push edx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
movzx eax, word [ebx + 0x14]
cmp ax, di
je 0x70249017
movzx ecx, ax
mov eax, dword [esp + 0x20]
cdq
idiv ecx
mov dword [ebx + 0xc], eax
jmp 0x7024901a
mov dword [ebx + 0xc], edi
cmp word [esp + 0x2e], 0x20
mov edx, dword [esp + 0x24]
sete al
mov dword [ebx + 0x10], edx
mov byte [ebx + 0x16], al
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret