joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101a4c40
Capabilities:
Check if file exists
Get file attributes
Move file

Disassembly:
push 0xffffffffffffffff
push 0x101f7008
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10293044]
xor eax, esp
mov dword [esp + 0x20], eax
push ebp
push edi
mov eax, dword [0x10293044]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebp, 8
cmp dword [esi + 0x18], ebp
lea edi, [esi + 4]
jb 0x101a4c81
mov ecx, dword [edi]
jmp 0x101a4c83
mov ecx, edi
cmp dword [ebx + 0x18], ebp
jb 0x101a4c8d
mov eax, dword [ebx + 4]
jmp 0x101a4c90
lea eax, [ebx + 4]
push 0xb
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x101a4d2a
cmp dword [esi + 0x18], ebp
jb 0x101a4ca9
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x101a4d5e
xor edi, edi
push 0xffffffffffffffff
mov ebp, 7
push edi
mov eax, esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], edi
mov word [esp + 0x1c], di
call fcn.10007880
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x3c], edi
call fcn.101a5220
add esp, 4
test al, al
je 0x101a4d35
lea eax, [esp + 0x10]
mov ecx, esi
call fcn.101a4c00
test al, al
je 0x101a4d35
mov eax, esi
mov ecx, ebx
call fcn.101a4c00
test al, al
lea ecx, [esp + 0x10]
je 0x101a4d2e
push ecx
call fcn.101a4d80
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.10001dd0
mov al, 1
jmp 0x101a4d60
mov eax, esi
call fcn.101a4c00
mov dword [esp + 0x38], 0xffffffff
cmp dword [esp + 0x28], 8
jb 0x101a4d51
mov edx, dword [esp + 0x14]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], edi
mov word [esp + 0x14], di
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.101d19cc
add esp, 0x30
ret
Function at 0x101a4d80
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x101f0190
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
mov eax, dword [0x10293044]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x3c]
mov ebx, 8
cmp dword [ebp + 0x18], ebx
lea esi, [ebp + 4]
jb 0x101a4dbb
mov eax, dword [esi]
jmp 0x101a4dbd
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x101a4ddd
mov al, 1
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
cmp dword [ebp + 0x18], ebx
jb 0x101a4de6
mov eax, dword [esi]
jmp 0x101a4de8
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
mov dword [esp + 0x3c], eax
je 0x101a4ec6
cmp dword [ebp + 0x18], ebx
jb 0x101a4e05
mov edx, dword [esi]
jmp 0x101a4e07
mov edx, esi
lea eax, [esp + 0x10]
call fcn.10007690
mov dword [esp + 0x34], 0
cmp dword [esp + 0x28], ebx
mov eax, dword [esp + 0x14]
jae 0x101a4e26
lea eax, [esp + 0x14]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
test al, al
sete bl
mov dword [esp + 0x34], 0xffffffff
cmp dword [esp + 0x28], 8
jb 0x101a4e55
mov eax, dword [esp + 0x14]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
test bl, bl
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], 0
jne 0x101a4ec6
cmp dword [ebp + 0x18], 8
jb 0x101a4e7a
mov eax, dword [esi]
jmp 0x101a4e7c
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x101a4dc8
cmp dword [ebp + 0x18], 8
jb 0x101a4e95
mov edx, dword [esi]
jmp 0x101a4e97
mov edx, esi
lea eax, [esp + 0x10]
call fcn.10007690
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x10]
mov dword [esp + 0x34], 1
call fcn.101a4bd0
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], 0xffffffff
call fcn.10001dd0
xor al, al
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x101a4ee0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x624
mov eax, dword [0x10293044]
xor eax, esp
mov dword [esp + 0x620], eax
push esi
push edi
xor edi, edi
cmp dword [0x1029fefc], edi
mov esi, ecx
je 0x101a4f28
push 0xffffffffffffffff
push edi
mov eax, 0x1029fee8
call fcn.10007880
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x620]
xor ecx, esp
call fcn.101d19cc
add esp, 0x624
ret
push 0x20a
lea eax, [esp + 0xe]
push edi
push eax
mov word [esp + 0x14], di
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
add eax, 0xffffffff
cmp eax, 0x103
ja 0x101a5013
push 0x410
lea edx, [esp + 0x21a]
push edi
push edx
mov word [esp + 0x21e], di
mov word [esp + 0x220], di
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x208
lea eax, [esp + 0x218]
push eax
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x101a4fd5
cmp eax, edi
je 0x101a4fd5
push esi
lea edx, [esp + 0x218]
mov word [esp + eax*2 + 0x218], di
call fcn.1000bb00
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x620]
xor ecx, esp
call fcn.101d19cc
add esp, 0x624
ret
lea eax, [esp + 8]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x101a4fe0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0xc]
push edx
call fcn.10007a00
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x620]
xor ecx, esp
call fcn.101d19cc
add esp, 0x624
ret
mov ecx, dword [esp + 0x628]
pop edi
pop esi
xor ecx, esp
xor al, al
call fcn.101d19cc
add esp, 0x624
ret

Function at 0x101a5030
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x10293044]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
push esi
mov esi, dword [esp + 0x21c]
push edi
push 0x20a
lea eax, [esp + 0x12]
push 0
push eax
mov ebx, ecx
mov edi, edx
mov word [esp + 0x18], 0
call sub.MSVCR80.dll_memset
mov eax, 8
add esp, 0xc
cmp dword [edi + 0x18], eax
jb 0x101a507c
mov edi, dword [edi + 4]
jmp 0x101a507f
add edi, 4
cmp dword [ebx + 0x18], eax
jb 0x101a5089
mov ebx, dword [ebx + 4]
jmp 0x101a508c
add ebx, 4
lea ecx, [esp + 0xc]
push ecx
push 0
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jbe 0x101a50e4
lea eax, [esp + 0xc]
mov word [esp + 0x216], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x101a50b0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x10]
push edx
call fcn.10007a00
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.101d19cc
add esp, 0x210
ret
mov ecx, dword [esp + 0x218]
pop edi
pop esi
pop ebx
xor ecx, esp
xor al, al
call fcn.101d19cc
add esp, 0x210
ret
Function at 0x101a54c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x4c
mov eax, dword [0x10293044]
xor eax, esp
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x50]
cdq
push esi
push edx
mov esi, ecx
push eax
lea ecx, [esp + 0x10]
call fcn.1019c2d0
add esp, 8
push 0xffffffffffffffff
push 0
mov eax, edi
mov ecx, esi
call fcn.10007880
push 1
push 0x10237c98
mov ecx, esi
call fcn.1000c810
lea eax, [esp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x101a5506
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.1000c810
push 1
push 0x10241440
mov ecx, esi
call fcn.1000c810
push 0
push ebx
or eax, 0xffffffff
call fcn.1000c700
cmp dword [esi + 0x18], 8
jb 0x101a5546
mov esi, dword [esi + 4]
jmp 0x101a5549
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
sete cl
mov al, cl
mov ecx, dword [esp + 0x4c]
pop esi
xor ecx, esp
call fcn.101d19cc
add esp, 0x4c
ret

Function at 0x101a7740
Capabilities:
Check os version
Get system information on windows

Disassembly:
sub esp, 0x14c
mov eax, dword [0x10293044]
xor eax, esp
mov dword [esp + 0x148], eax
mov eax, dword [esp + 0x154]
push ebp
mov ebp, dword [esp + 0x154]
push esi
push 0x118
mov esi, ecx
lea ecx, [esp + 0x3c]
push 0
push ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x40], 0x11c
call sub.MSVCR80.dll_memset
add esp, 0xc
lea edx, [esp + 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x38], 6
mov dword [esp + 0xc], eax
jne 0x101a77b4
cmp dword [esp + 0x3c], 2
jne 0x101a77b4
call fcn.101a7680
test al, al
je 0x101a77b4
mov dword [esp + 0x3c], 3
cmp dword [esp + 0xc], 0
jne 0x101a77d4
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x148]
xor ecx, esp
call fcn.101d19cc
add esp, 0x14c
ret
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [edi], eax
mov dword [ebx], ecx
call fcn.101a76d0
neg al
sbb eax, eax
and eax, 0x20
add eax, 0x20
mov dword [esi], eax
lea eax, [esp + 0x48]
lea edx, [eax + 2]
jmp 0x101a7800
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x101a7800
mov esi, dword [esp + 8]
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x4c]
push edx
call fcn.10007a00
cmp dword [esp + 0x38], 5
mov dword [ebp], 0
jne 0x101a7860
mov eax, dword [esp + 0x3c]
cmp eax, 2
jne 0x101a785b
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp byte [esp + 0x14e], 1
jne 0x101a786a
cmp word [esp + 0x10], 9
jne 0x101a786a
mov dword [ebp], 0
jmp 0x101a7871
cmp eax, 1
jbe 0x101a7852
cmp byte [esp + 0x14e], 1
je 0x101a7871
mov dword [ebp], 1
mov ecx, dword [esp + 0x150]
pop esi
pop ebp
xor ecx, esp
mov al, 1
call fcn.101d19cc
add esp, 0x14c
ret
Function at 0x101a8170
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101d61d5
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10293044]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, edx
xor edi, edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x60], edi
lea eax, [esp + 0x28]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x38]
push ecx
push ebx
call dword [sym.imp.USER32.dll_GetClientRect]
lea edx, [esp + 0x20]
push edx
push ebx
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
sub ecx, dword [esp + 0x28]
push eax
push ecx
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov ebp, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
sub ebp, dword [esp + 0x28]
sub ebx, dword [esp + 0x2c]
call fcn.101a7890
mov ecx, eax
lea edx, [ebp - 1]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x38]
lea eax, [ebx - 1]
mov dword [esp + 0x54], eax
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x50]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x54]
mov dword [eax + 0xc], edx
sub esp, 0x10
mov eax, esp
mov edx, 1
mov dword [eax], edx
mov dword [esp + 0x6c], 1
mov edx, dword [esp + 0x6c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x70]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x74]
mov dword [eax + 0xc], edx
mov eax, dword [ecx]
push eax
mov dword [esp + 0x38], ecx
call fcn.101a8310
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + 0x2c]
add esp, 0x24
push eax
push esi
mov dword [esp + 0x50], 1
mov dword [esp + 0x58], 0x13
mov dword [esp + 0x54], edi
mov dword [esp + 0x5c], ebx
call dword [sym.imp.GDI32.dll_SetBkColor]
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
je 0x101a82da
push edi
push edi
push edi
lea edx, [esp + 0x54]
push edx
push 2
push edi
push edi
push esi
call dword [sym.imp.GDI32.dll_ExtTextOutW]
mov eax, dword [esp + 0x18]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x20]
push eax
push eax
push ebx
push ebp
xor esi, esi
xor ebx, ebx
lea eax, [esp + 0x2c]
call fcn.1003c0b0
mov dword [esp + 0x60], 0xffffffff
mov al, 1
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
Function at 0x101aeb10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebx
push esi
push edi
mov esi, eax
mov ebx, ecx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
jne 0x101aeb2b
pop edi
pop esi
pop ebx
pop ecx
ret
push ebp
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebp, eax
test ebp, ebp
je 0x101aec18
push ebp
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x101aec11
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x101aec11
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x101aec0a
push edi
push ebx
push eax
call sub.MSVCR80.dll_memcpy
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [esp + 0x10]
push eax
xor ebx, ebx
push ebx
push esi
mov dword [esp + 0x1c], ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x101aec0a
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x101aec0a
push eax
call fcn.101aeab0
add esp, 4
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp edi, ebx
je 0x101aebce
mov eax, dword [edi + 8]
cmp eax, ebx
mov dword [edi + 8], ebx
je 0x101aebce
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
xor edi, edi
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x101aebef
cmp edi, ebx
je 0x101aebef
mov ecx, dword [esp + 0x10]
push ebp
mov dword [eax], ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebp
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
ret
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
push ebp
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebp
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
ret
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x101b1280
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x101ff8a4
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x10293044]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10293044]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x8c]
xor ebx, ebx
mov dword [esp + 0x18], ebx
push 0x32
mov edi, 7
push str._programfiles_x86__Internet_Exploreriexplore.exe
lea esi, [esp + 0x44]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], bx
call fcn.10007a00
mov dword [esp + 0x84], 1
push 0x2d
push str._programfiles_Internet_Exploreriexplore.exe
lea esi, [esp + 0x60]
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], bx
call fcn.10007a00
mov dword [esp + 0x84], 3
mov dword [esp + 0x14], ebx
lea esi, [esp + 0x3c]
push esi
lea edi, [esp + 0x24]
call fcn.101cdd20
add esp, 4
mov byte [esp + 0x84], 4
push 0xffffffffffffffff
push ebx
mov ecx, esi
call fcn.10007880
mov byte [esp + 0x84], 3
cmp dword [esp + 0x38], 8
jb 0x101b135b
mov eax, dword [esp + 0x24]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edi, 7
mov ecx, esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
call fcn.1019f980
test al, al
mov eax, dword [esp + 0x14]
jne 0x101b13da
add eax, 1
add esi, 0x1c
cmp eax, 2
mov dword [esp + 0x14], eax
jb 0x101b1320
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x14], ebx
mov word [ebp + 4], bx
mov dword [esp + 0x18], 1
mov byte [esp + 0x84], bl
push fcn.10001dd0
push 2
push 0x1c
lea eax, [esp + 0x48]
push eax
call fcn.101d1a96
mov eax, ebp
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.101d19cc
add esp, 0x74
ret 4
lea ecx, [eax*8]
sub ecx, eax
push 0xffffffffffffffff
lea eax, [esp + ecx*4 + 0x40]
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x14], ebx
push ebx
mov ecx, ebp
mov word [ebp + 4], bx
call fcn.10007880
mov dword [esp + 0x18], 1
mov byte [esp + 0x84], bl
push fcn.10001dd0
push 2
push 0x1c
lea edx, [esp + 0x48]
push edx
jmp 0x101b13b2

Function at 0x101b2800
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 0x101b2817
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x101b2848
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x101b2844
cmp esi, eax
jae 0x101b2848
sub edi, 1
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x101b2834
cmp esi, eax
jb 0x101b284e
pop esi
pop edi
xor eax, eax
pop ebp
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret
Function at 0x101b4720
Capabilities:
Get file version info

Disassembly:
sub esp, 0x28
mov eax, dword [0x10293044]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [0x102aa17c]
test eax, eax
je 0x101b474a
mov dword [ebx], eax
mov al, 1
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.101d19cc
add esp, 0x28
ret
mov eax, dword [str.mshtml.dll]
mov ecx, dword [0x10242db0]
mov edx, dword [0x10242db4]
mov dword [esp + 0xc], eax
mov eax, dword [0x10242db8]
mov dword [esp + 0x10], ecx
mov ecx, dword [0x10242dbc]
push edi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0xc]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], edx
mov dx, word [0x10242dc0]
push eax
lea ecx, [esp + 0x14]
push ecx
mov word [esp + 0x2c], dx
mov dword [esp + 0x14], 0
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x101b4822
push esi
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x101b480f
mov edx, dword [esp + 0x10]
push esi
push edi
push edx
lea eax, [esp + 0x20]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x101b4808
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x10]
push edx
push 0x102328c0
push esi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x101b4808
cmp dword [esp + 8], 0
je 0x101b4808
mov eax, dword [esp + 0xc]
movzx eax, word [eax + 0xa]
mov dword [0x102aa17c], eax
mov dword [ebx], eax
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop esi
mov al, 1
pop edi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.101d19cc
add esp, 0x28
ret
mov ecx, dword [esp + 0x28]
pop edi
xor ecx, esp
xor al, al
call fcn.101d19cc
add esp, 0x28
ret
Function at 0x101ba340
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
cmp byte [ebp + 0x10], 0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
je 0x101ba362
test esi, esi
jne 0x101ba397
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x101ba469
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x101ba469
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x101ba469
push esi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x101ba469
xor eax, eax
xor edi, edi
cmp byte [ebp + 0xc], al
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
je 0x101ba408
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
test eax, eax
je 0x101ba469
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x101ba469
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
sub ecx, dword [esp + 0x18]
sub eax, dword [esp + 0x1c]
mov ebx, ecx
cmp ebx, edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
jle 0x101ba469
cmp eax, edi
jle 0x101ba469
cmp byte [ebp + 0xc], 0
push esi
je 0x101ba449
call dword [sym.imp.USER32.dll_GetDC]
jmp 0x101ba44f
lea edx, [esp + 0x18]
push edx
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x101ba469
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x101ba469
mov ecx, dword [esp + 0x20]
sub ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
jmp 0x101ba3df
call dword [sym.imp.USER32.dll_GetWindowDC]
mov edi, eax
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
test esi, esi
jne 0x101ba472
mov ecx, dword [ebp + 8]
push edi
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0xc]
push edx
push ebx
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebx, eax
test ebx, ebx
jne 0x101ba4a0
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebp + 8]
push edi
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push 0xcc0020
push ecx
mov ecx, dword [esp + 0x18]
push edx
push edi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
push eax
push ecx
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x14]
push edx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov esi, dword [ebp + 8]
push edi
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
push 0x4337
push 0
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret