joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10078db0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x1014b520]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x1c], 0
je 0x10078e1e
cmp dword [esi + 0x14], 0
je 0x10078e1e
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.100bb8f0
mov ebx, esp
test ebx, ebx
je 0x10078e1e
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x14]
push ebx
add ecx, 0x1d4
call fcn.10053c70
mov ecx, dword [esi + 0x14]
push 0
push 0
push 0
mov eax, dword [ecx]
push str.textchanged
push ecx
call dword [eax + 0x20]
mov ecx, eax
call fcn.1005cc60
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100bb073
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10094bc0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x24], 1
jne 0x10094c00
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call ebx
mov ecx, dword [esi + 0x1c]
mov edi, eax
call fcn.100654a0
call ebx
sub eax, edi
xor ecx, ecx
mov edi, dword [esi + 0x28]
sub edi, eax
cmp eax, dword [esi + 0x28]
cmovl ecx, edi
push ecx
push dword [esi + 0x34]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [esi + 0x24], 1
je 0x10094bd1
pop edi
pop ebx
pop esi
ret
Function at 0x1009a060
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010ab9b
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x1014b520]
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, ecx
lea eax, [ebp - 0xb0]
mov dword [ebp - 0xb0], 8
push eax
mov dword [ebp - 0xac], 0x40
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov eax, dword [ebp + 8]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [edi + 0x14], eax
mov dword [eax + 0x580], 0
cmp dword [edi + 4], 0
jne 0x1009a13b
mov ecx, dword [edi + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x3c]
call eax
push eax
lea ecx, [ebp - 0x20]
call fcn.10053850
mov ecx, dword [edi + 0x14]
movups xmm0, xmmword [ebp - 0x20]
push 0
sub esp, 0x10
mov eax, esp
push 0
movups xmmword [eax], xmm0
mov eax, dword [ecx]
push 0x40000000
push 0
mov eax, dword [eax + 0x20]
call eax
mov ecx, eax
call fcn.10053db0
push eax
mov ecx, edi
call fcn.100557d0
mov esi, dword [edi + 0x14]
mov ecx, esi
call fcn.10070130
push eax
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x20]
call eax
mov ecx, eax
call fcn.10059410
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [eax]
push 0x30
push dword [edi + 4]
call esi
mov ecx, dword [edi + 0x14]
lea edx, [ebp - 0xa4]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
call eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.10054910
lea ecx, [ebp - 0xa4]
mov byte [ebp - 0xa5], al
call fcn.1001fc60
cmp byte [ebp - 0xa5], 0
je 0x1009a183
mov eax, dword [edi + 0x14]
add eax, 0x570
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [edi + 0x14]
add eax, 0x570
push eax
push 0
push 0x1002
push dword [edi + 4]
call esi
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [edi + 0x1c], 1
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.100bb073
mov esp, ebp
pop ebp
ret 4
Function at 0x1009df30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010adfb
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x1014b520]
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, dword [ebp + 8]
lea ecx, [ebp - 0x230]
xor edi, edi
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControl_
mov dword [ebp - 0x234], edi
call fcn.1001fae0
cmp dword [esi + 0x14], 8
mov eax, esi
mov dword [ebp - 4], edi
jb 0x1009df85
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x230]
push eax
call fcn.10018290
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x234]
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x1009e01a
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.100d6e30
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test eax, eax
je 0x1009e01a
push 4
lea ecx, [ebp + 0xc]
push ecx
push 4
push 0
push eax
push dword [ebp - 0x234]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov ecx, 1
cmove edi, ecx
mov eax, dword [ebp - 0x234]
test eax, eax
je 0x1009e02b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x1009e067
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1009e05d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009e086
push edx
push ecx
call fcn.100bacf4
add esp, 8
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.100bb073
mov esp, ebp
pop ebp
ret 8
call fcn.100da4dc
int3
Function at 0x1009ea50
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010aea0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x1014b520]
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
cmp byte [edi + 0x1c], 0
je 0x1009eb97
cmp dword [edi + 0x14], 0
je 0x1009eb97
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ebx, [eax + 1]
lea eax, [ebx + ebx]
call fcn.100bb8f0
mov esi, esp
test esi, esi
je 0x1009eb97
push ebx
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [edi + 0x14]
mov ecx, esi
mov eax, dword [eax + 0x828]
lea edx, [ecx + 2]
mov dword [ebp - 0x44], eax
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1009eae0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.1000f230
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
mov dword [ebp - 4], 0
test eax, eax
je 0x1009eb26
mov esi, ecx
cmp word [esi], 0xa
je 0x1009ebba
add esi, 2
sub eax, 1
jne 0x1009eb14
mov ecx, dword [edi + 0x14]
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae edx, dword [ebp - 0x28]
mov eax, dword [ecx]
push edx
call dword [eax + 0x180]
mov esi, dword [edi + 4]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, esi
jne 0x1009eb72
push 0
push 0
push 0xb0
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
call esi
and eax, 0xf
lea ecx, [ebx - 1]
cmp eax, ecx
je 0x1009eb72
push ebx
push ebx
push 0xb1
push dword [edi + 4]
call esi
mov ecx, dword [edi + 0x14]
push 0
push 0
push 0
mov eax, dword [ecx]
push str.textchanged
push dword [ebp - 0x44]
call dword [eax + 0x20]
mov ecx, eax
call fcn.1005cc60
lea ecx, [ebp - 0x28]
call fcn.10006020
xor eax, eax
lea esp, [ebp - 0x54]
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.100bb073
mov esp, ebp
pop ebp
ret 0x10
test esi, esi
je 0x1009eb26
sub esi, ecx
sar esi, 1
cmp esi, 0xffffffff
je 0x1009eb26
push esi
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.1007cc20
mov edx, eax
cmp dword [edx + 0x14], 8
mov byte [ebp - 4], 1
jb 0x1009ebec
mov edx, dword [edx]
mov ecx, dword [edi + 0x14]
push edx
mov eax, dword [ecx]
call dword [eax + 0x180]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.10006020
push esi
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.1007cc20
cmp dword [eax + 0x14], 8
jb 0x1009ec1b
mov eax, dword [eax]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x40]
call fcn.10006020
jmp 0x1009eb72
Function at 0x1009f5d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov eax, dword [edi]
cmp eax, 0x17
jne 0x1009f5fd
movzx eax, word [esi + 0x55c]
push eax
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
pop edi
pop esi
mov dword [ebp + 8], eax
pop ebp
jmp dword [sym.imp.USER32.dll_SetCursor]
cmp eax, 0xd
jne 0x1009f64c
mov eax, dword [esi]
call dword [eax + 0x3c]
push dword [edi + 0x10]
push dword [edi + 0xc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x1009f6ad
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
movups xmm0, xmmword [eax]
movups xmmword [esi + 0x568], xmm0
mov eax, dword [edi + 0xc]
mov dword [esi + 0x560], eax
mov eax, dword [edi + 0x10]
pop edi
mov dword [esi + 0x564], eax
mov byte [esi + 0x578], 1
pop esi
pop ebp
ret 4
cmp eax, 0xe
jne 0x1009f66d
mov ecx, dword [esi + 0x558]
mov byte [esi + 0x578], 0
test ecx, ecx
je 0x1009f6ad
mov eax, dword [ecx]
call dword [eax + 8]
pop edi
pop esi
pop ebp
ret 4
cmp eax, 9
jne 0x1009f6a7
cmp dword [esi + 0x558], 0
je 0x1009f6ad
cmp byte [esi + 0x578], 0
je 0x1009f6ad
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1009f6ad
mov ecx, dword [esi + 0x558]
lea eax, [edi + 0xc]
push eax
push esi
mov edx, dword [ecx]
call dword [edx + 4]
pop edi
pop esi
pop ebp
ret 4
push edi
call fcn.10064990
pop edi
pop esi
pop ebp
ret 4

Function at 0x1009f6c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov eax, dword [edi]
cmp eax, 0xd
jne 0x1009f70f
mov eax, dword [esi]
push ebx
call dword [eax + 0x3c]
push dword [edi + 0x10]
mov ebx, eax
push dword [edi + 0xc]
push ebx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x1009f708
mov eax, dword [edi + 0xc]
sub eax, dword [ebx]
mov dword [esi + 0x55c], eax
mov eax, dword [edi + 0x10]
sub eax, dword [ebx + 4]
mov dword [esi + 0x560], eax
mov byte [esi + 0x564], 1
pop ebx
pop edi
pop esi
pop ebp
ret 4
cmp eax, 0xe
jne 0x1009f730
mov ecx, dword [esi + 0x558]
mov byte [esi + 0x564], 0
test ecx, ecx
je 0x1009f709
mov eax, dword [ecx]
call dword [eax + 8]
pop edi
pop esi
pop ebp
ret 4
cmp eax, 9
jne 0x1009f762
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1009f762
mov ecx, dword [esi + 0x558]
test ecx, ecx
je 0x1009f709
cmp byte [esi + 0x564], 0
je 0x1009f709
mov edx, dword [ecx]
lea eax, [edi + 0xc]
pop edi
pop esi
mov dword [ebp + 8], eax
pop ebp
jmp dword [edx]
push edi
mov ecx, esi
call fcn.10064990
pop edi
pop esi
pop ebp
ret 4
Function at 0x100a5e80
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010b318
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1014b520]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push str._cef___ReleaseWebView
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x100a5ec5
push 0x46
push esi
call fcn.10059ab0
mov ecx, dword [esi + 0x5e8]
mov word [esi + 0x804], 1
mov byte [esi + 0x807], 1
test ecx, ecx
je 0x100a5f42
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 8]
mov eax, dword [esi + 0x5e8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
cmp dword [esi + 0x808], 2
mov dword [esi + 0x5e8], 0
jne 0x100a5f42
cmp dword [esi + 0x5f0], 0
jne 0x100a5f42
lea ecx, [esi + 0x780]
call fcn.10053db0
push eax
lea ecx, [ebp - 0x28]
call fcn.1001fae0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.100a5170
mov ecx, eax
call fcn.100b9960
lea ecx, [ebp - 0x28]
call fcn.10006020
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100bb073
mov esp, ebp
pop ebp
ret
Function at 0x100a6530
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
push 0x1014ff74
cmp al, 6
jb 0x100a656d
push 0x18
call fcn.100bb219
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
je 0x100a65a9
mov ecx, eax
call fcn.100a65c0
mov dword [esi], eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push 0x14
call fcn.100bb219
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
je 0x100a65a9
mov dword [eax], vtable.CGDIPlusImageImpl.0
mov dword [eax + 4], 6
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [esi], eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [esi], eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100a86e0
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010b628
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1014b520]
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 eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x100a888e
cmp ebx, 7
jb 0x100a888e
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x100a87e8
test esi, esi
je 0x100a874c
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea eax, [ebp - 0x28]
push eax
call fcn.100b9f40
add esp, 4
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0x80
push 2
push 0
push 0
push 0xc0000000
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x100a879b
lea ecx, [ebp - 0x28]
xor esi, esi
call fcn.10006020
mov eax, esi
jmp 0x100a8890
push 0
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0
push eax
push ebx
push dword [ebp - 0x2c]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi]
lea ecx, [ebp - 0x28]
push ecx
mov ecx, edi
call dword [eax + 4]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov esi, eax
cmovae ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x28]
call fcn.10006020
mov eax, esi
jmp 0x100a8890
push ebx
push dword [ebp - 0x2c]
push eax
call fcn.100d6330
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x100a8810
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 0x10], 0
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push eax
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ebx, dword [ebp - 0x30]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x100a8856
lea eax, [ebp - 0x2c]
mov dword [esi], vtable.Gdiplus::Bitmap.0
push eax
push ebx
mov dword [ebp - 0x2c], 0
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 4], eax
jmp 0x100a8858
xor esi, esi
mov dword [edi + 0x10], esi
test esi, esi
je 0x100a887b
mov ecx, esi
call fcn.100a8210
mov ecx, dword [edi + 0x10]
mov dword [edi + 8], eax
call fcn.100a81d0
mov dword [edi + 0xc], eax
mov esi, 1
jmp 0x100a887d
xor esi, esi
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x100a888a
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, esi
jmp 0x100a8890
xor eax, eax
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.100bb073
mov esp, ebp
pop ebp
ret 8

Function at 0x100a9310
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
cmp dword [ecx + 0x10], 0
jne 0x100a931f
xor eax, eax
pop ebp
ret 4
pop ebp
jmp fcn.100a7ec0
Function at 0x100b5920
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010b7b8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x1014b520]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
cmp byte [esi + 0x20], 0
jne 0x100b5967
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x18], 1
jbe 0x100b59a3
lea eax, [ebp - 0x14]
push eax
push 0
push esi
push 0x100b6070
push 0
push 0
call fcn.100df9ce
xor ecx, ecx
mov dword [esi + 0x10], eax
add esp, 0x18
test eax, eax
setne cl
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ebx, [esi + 0x60]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push dword [esi + 0x44]
call sub.gdiplus.dll_GdipCreateFromHDC
mov edi, dword [ebp - 0x10]
mov esi, eax
mov dword [ebp - 0x1c], edi
push 0xffffffffffffffff
push edi
mov dword [ebp - 4], 0
call sub.gdiplus.dll_GdipGraphicsClear
test eax, eax
cmovne esi, eax
mov eax, dword [ebp - 0x14]
push dword [eax + 0x2c]
push dword [eax + 0x28]
push 0
push 0
push dword [eax + 4]
push edi
call sub.gdiplus.dll_GdipDrawImageRectI
test eax, eax
push ebx
cmovne esi, eax
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [ebp - 0x14]
mov ecx, dword [esi + 0x4c]
call fcn.100654a0
mov ecx, esi
call fcn.100b5d30
push edi
call sub.gdiplus.dll_GdipDeleteGraphics
mov eax, 1
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 0x100b9d00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010b9b8
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x1014b520]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 2
test esi, esi
je 0x100b9da9
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100b9da9
cmp dword [ebp + 0x1c], 0
je 0x100b9da9
cmp dword [ebp + 0x34], 0
je 0x100b9da9
cmp dword [ebp + 0x4c], 0
je 0x100b9da9
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x100b9da0
cmp dword [ebp + 0x20], 0x10
lea ecx, [ebp + 0xc]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmovae ecx, dword [ebp + 0xc]
push ecx
push esi
call ebx
test eax, eax
je 0x100b9d7c
call eax
mov dword [edi], eax
cmp dword [ebp + 0x38], 0x10
lea eax, [ebp + 0x24]
cmovae eax, dword [ebp + 0x24]
push eax
push esi
call ebx
cmp dword [ebp + 0x50], 0x10
mov dword [edi + 4], eax
lea eax, [ebp + 0x3c]
cmovae eax, dword [ebp + 0x3c]
push eax
push esi
call ebx
mov dword [edi + 8], eax
xor ebx, ebx
cmp dword [edi], ebx
setne bl
jmp 0x100b9dab
xor ebx, ebx
mov edx, dword [ebp + 0x20]
cmp edx, 0x10
jb 0x100b9ddf
mov ecx, dword [ebp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100b9dd5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b9e79
push edx
push ecx
call fcn.100bacf4
add esp, 8
mov edx, dword [ebp + 0x38]
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0x20], 0xf
mov byte [ebp + 0xc], 0
cmp edx, 0x10
jb 0x100b9e21
mov ecx, dword [ebp + 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100b9e17
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b9e7e
push edx
push ecx
call fcn.100bacf4
add esp, 8
mov edx, dword [ebp + 0x50]
mov dword [ebp + 0x34], 0
mov dword [ebp + 0x38], 0xf
mov byte [ebp + 0x24], 0
cmp edx, 0x10
jb 0x100b9e63
mov ecx, dword [ebp + 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100b9e59
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b9e83
push edx
push ecx
call fcn.100bacf4
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x4c
call fcn.100da4dc
call fcn.100da4dc
call fcn.100da4dc
int3
Function at 0x100b9f40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010b9eb
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x1014b520]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x43c], esi
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
push 0x208
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x420]
push eax
call fcn.100d6e30
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x100ba081
cmp eax, 0x104
ja 0x100ba081
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.100d6e30
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0
push 0x10123f44
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x100ba032
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100ba010
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x438]
call fcn.1000f230
movups xmm0, xmmword [ebp - 0x438]
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x438]
mov dword [esi + 0x14], 0
xor eax, eax
movups xmmword [esi], xmm0
mov word [ebp - 0x438], ax
movq xmm0, qword [ebp - 0x428]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 7
call fcn.10006020
jmp 0x100ba0a6
movups xmm0, xmmword [ebp - 0x438]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x428]
movq qword [esi + 0x10], xmm0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100bb073
mov esp, ebp
pop ebp
ret
Function at 0x100bce67
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x100d2db0
Capabilities:
Check if file exists
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010c81f
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1014b520]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x58
call fcn.100bb0a7
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x100d2e07
push 0x58
push 0
push esi
call fcn.100d6e30
add esp, 0xc
mov ecx, esi
call fcn.100d2160
mov esi, eax
jmp 0x100d2e09
xor esi, esi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x14], 8
jb 0x100d2e1b
mov edi, dword [edi]
test edi, edi
je 0x100d2eb8
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100d2eb8
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
je 0x100d2eb8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 0x14], eax
cmp eax, 0x16
jb 0x100d2eb8
push 0
push 0
push 0
push 2
push 0
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
cmp dword [esi + 4], 0
mov dword [esi + 8], eax
je 0x100d2eb8
push 0
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0xc], eax
test eax, eax
je 0x100d2eb8
push dword [esi + 0x14]
mov ecx, esi
push eax
call fcn.100d2640
test eax, eax
je 0x100d2eb8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x100d2ece
mov ecx, esi
call fcn.100d2280
push 0x58
push esi
call fcn.100bacf4
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret