joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411a00
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49d8a0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4cc99c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor eax, eax
mov ecx, 0xf
mov dword [esi + 0x14], ecx
mov dword [esi + 0x10], eax
mov byte [esi], al
mov dword [ebp - 4], eax
mov dword [esi + 0x30], ecx
mov dword [esi + 0x2c], eax
mov byte [esi + 0x1c], al
mov dword [esi + 0x4c], ecx
mov dword [esi + 0x48], eax
mov byte [esi + 0x38], al
mov dword [esi + 0x68], ecx
mov dword [esi + 0x64], eax
mov byte [esi + 0x54], al
mov dword [esi + 0x84], ecx
mov dword [esi + 0x80], eax
mov byte [esi + 0x70], al
mov dword [esi + 0xa0], ecx
mov dword [esi + 0x9c], eax
mov byte [esi + 0x8c], al
mov dword [esi + 0xbc], ecx
mov dword [esi + 0xb8], eax
mov byte [esi + 0xa8], al
push eax
push 0x4ab7d8
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.00403870
push 0
push 0x4ab7d8
lea ecx, [esi + 0x1c]
call fcn.00403870
push 0
push 0x4ab7d8
lea ecx, [esi + 0x38]
call fcn.00403870
push 0
push 0x4ab7d8
lea ecx, [esi + 0x54]
call fcn.00403870
push 0
push 0x4ab7d8
lea ecx, [esi + 0x70]
call fcn.00403870
push 5
push str.false
lea ecx, [esi + 0x8c]
call fcn.00403870
push 0
push 0x4ab7d8
lea ecx, [esi + 0xa8]
call fcn.00403870
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x415ea0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49d784
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x4cc99c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], eax
mov dword [ebp - 4], edi
mov dword [esi], vtable.CContainerWnd.0
mov dword [esi + 0x2c], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov byte [ebp - 4], 4
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov eax, dword [esi + 0x68]
cmp eax, edi
je 0x415f1b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esi + 0x68], edi
mov eax, dword [ebp + 0xc]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi + 0x38], edi
mov dword [esi + 0x44], eax
mov eax, dword [esi + 0x74]
cmp eax, 0x4ab248
je 0x415f53
push eax
call ebx
push 0x4ab248
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi + 0x74], eax
cmp eax, edi
jne 0x415f53
push 0x8007000e
call fcn.00401050
mov eax, dword [esi + 0x78]
cmp eax, 0x4ab248
je 0x415f7c
push eax
call ebx
push 0x4ab248
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi + 0x78], eax
cmp eax, edi
jne 0x415f7c
push 0x8007000e
call fcn.00401050
mov eax, 0x64
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], eax
mov eax, 1
mov dword [esi + 0x6c], eax
mov dword [esi + 0x9c], eax
mov dword [esi + 0x84], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x90], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0xa0], edi
mov dword [esi + 0x8c], edi
mov dword [esi + 0x94], edi
mov dword [esi + 0x98], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0xac], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x416480
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49fc4b
mov eax, dword fs:[0]
push eax
mov eax, 0x100c
call fcn.00497d20
mov eax, dword [0x4cc99c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor esi, esi
mov edi, edx
mov dword [ebp - 0x1018], ecx
mov dword [ebp - 0x1014], esi
cmp eax, esi
je 0x4164db
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [ebp - 0x1014]
push ecx
push 0x4b1264
push eax
call edx
mov dword [ebp - 4], esi
cmp dword [ebp - 0x1014], esi
je 0x416600
mov esi, dword [edi + 0x3c]
test esi, esi
je 0x416600
lea eax, [ebp - 0x1014]
call fcn.00451380
test al, al
je 0x416600
test ebx, ebx
je 0x416600
cmp word [ebx], 8
jne 0x416600
mov eax, dword [ebx + 8]
push eax
lea ecx, [edi + 0x78]
call fcn.0040aeb0
push 0x1000
lea ecx, [ebp - 0x1010]
push 0
push ecx
call sub.MSVCR100.dll_memset
mov esi, dword [edi + 0x78]
push esi
lea edx, [ebp - 0x1010]
push 0x800
push edx
call dword [sym.imp.MSVCR100.dll_wcscat_s]
lea eax, [ebp - 0x1010]
push 0x800
push eax
call dword [sym.imp.MSVCR100.dll__wcslwr_s]
lea ecx, [ebp - 0x1010]
push str.hfgame:__
push ecx
call dword [sym.imp.MSVCR100.dll_wcsstr]
lea edx, [ebp - 0x1010]
add esp, 0x28
cmp eax, edx
jne 0x41658c
mov ecx, dword [ebp - 0x1018]
or eax, 0xffffffff
mov word [ecx], ax
lea edx, [ebp - 0x1010]
push edx
call fcn.004177b0
add esp, 4
test eax, eax
je 0x416600
call fcn.004163a0
mov eax, dword [eax + 0xc]
cmp dword [eax + 8], 0
jg 0x4165ef
cmp dword [edi + 0xac], 3
je 0x4165ef
mov eax, dword [edi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [edi + 0xac], 1
jne 0x4165e3
mov ecx, dword [edi + 0x34]
cmp dword [ecx + 0x80], 0
je 0x4165e3
mov dword [edi + 0xac], 2
jmp 0x416600
mov dword [edi + 0xac], 0
jmp 0x416600
call fcn.004163a0
mov esi, dword [eax + 0xc]
test esi, esi
je 0x416600
call fcn.00454620
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1014]
test eax, eax
je 0x416619
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
xor eax, eax
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.00497792
mov esp, ebp
pop ebp
ret 4
Function at 0x417360
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [ebp + 8], 0x100
push ebx
push esi
push edi
mov ebx, eax
mov edi, ecx
jne 0x4174ec
cmp ebx, 0x74
jne 0x4173ca
cmp dword [edi + 0x3c], 0
je 0x4174ec
cmp dword [edi + 0xac], 0
jne 0x4174ec
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov edi, dword [edi + 0x3c]
mov ecx, 3
mov word [ebp - 0x14], cx
lea eax, [ebp - 0x14]
mov dword [ebp - 0xc], 0
mov edx, dword [edi]
mov ecx, dword [edx + 0x34]
push eax
push edi
call ecx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp ebx, 0x7b
jne 0x41740d
cmp dword [edi + 0x70], 0
jne 0x4173e3
push str.IEDevTool.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi + 0x70], eax
mov eax, dword [edi + 0x70]
test eax, eax
je 0x4174dc
push str.ShowDevTools2
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4174dc
mov edx, dword [edi + 0x3c]
push edx
call eax
jmp 0x4174dc
cmp ebx, 0x1b
jne 0x417485
cmp dword [edi + 0xac], 1
jne 0x4174dc
call fcn.004163a0
mov eax, dword [eax + 0xc]
cmp dword [eax + 8], 0
jle 0x4174dc
push str.vidoelive_escape
call fcn.00461270
add esp, 4
push 0
mov eax, edi
call fcn.00417720
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call esi
mov ecx, dword [edi + 4]
push 0xc
push ecx
mov dword [edi + 0xac], 3
call dword [sym.imp.USER32.dll_KillTimer]
mov edx, dword [edi + 4]
push 1
push edx
call esi
call fcn.004163a0
test eax, eax
je 0x4174dc
call fcn.004163a0
mov ecx, eax
call fcn.0044ef90
jmp 0x4174dc
cmp ebx, 0x71
jne 0x4174dc
cmp dword [edi + 0xac], 3
jne 0x4174dc
call fcn.004163a0
mov eax, dword [eax + 0xc]
cmp dword [eax + 8], 0
jle 0x4174dc
push str.vidoelive_f2
call fcn.00461270
add esp, 4
push 1
mov eax, edi
call fcn.00417720
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call esi
mov ecx, dword [edi + 4]
push 0
push ecx
mov dword [edi + 0xac], 1
call esi
call fcn.004163a0
call fcn.0044ef50
mov edi, dword [edi + 0x34]
test edi, edi
je 0x4174ec
mov eax, ebx
mov ebx, edi
call fcn.00419640
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x417740
Capabilities:
Get thread local storage value
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov edi, eax
cmp dword [edi + 0x34], 0
je 0x4177a6
mov eax, dword [edi + 4]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call ebx
mov eax, dword [edi + 0x34]
test eax, eax
je 0x41776f
mov eax, dword [eax + 0x80]
test eax, eax
je 0x41776f
mov esi, dword [eax + 4]
jmp 0x417771
xor esi, esi
push 1
push esi
call ebx
mov dword [edi + 0xac], 1
call fcn.004163a0
push esi
xor ecx, ecx
mov edx, eax
call fcn.0044f0b0
mov ecx, dword [0x4e9cdc]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, dword [eax]
mov eax, dword [edx + 4]
push 0
push eax
call ebx
pop edi
pop esi
pop ebx
ret
Function at 0x418300
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1088
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push esi
push edi
mov eax, dword [0x4cc99c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, ecx
cmp eax, 0x101
jne 0x4183e4
push eax
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [edi + 0x3c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x38]
push eax
call edx
mov eax, dword [edi + 0x3c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x80]
push eax
call edx
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [ebp - 0x24]
xor ecx, ecx
push edx
mov word [ebp - 0x24], cx
call esi
test eax, eax
jns 0x418381
push eax
call fcn.00401050
mov eax, 8
push str.about:blank
mov word [ebp - 0x24], ax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x4183b6
mov ecx, 0xa
push 0x8007000e
mov word [ebp - 0x24], cx
mov dword [ebp - 0x1c], 0x8007000e
call fcn.00401050
push 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 4], 0
mov edi, dword [edi + 0x3c]
mov edx, dword [edi]
mov edx, dword [edx + 0xd0]
push 0
lea ecx, [ebp - 0x24]
push ecx
push edi
call edx
lea eax, [ebp - 0x24]
push eax
call esi
jmp 0x418496
cmp eax, 0x100
jne 0x418423
mov ecx, dword [edi + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov edx, dword [edi + 4]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x418496
mov eax, dword [edi + 4]
push 0x97
push 0
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x418496
cmp eax, 0xa
jne 0x418453
mov eax, dword [edi + 0x40]
call fcn.0044f2f0
call fcn.004163a0
mov ecx, dword [eax + 0xc]
cmp dword [ecx + 8], 0
jle 0x418496
mov eax, edi
call fcn.00417740
mov edx, dword [edi + 4]
push 0xa
push edx
call dword [sym.imp.USER32.dll_KillTimer]
jmp 0x418496
cmp eax, 0xc
jne 0x418496
call fcn.004163a0
mov eax, dword [eax + 0xc]
cmp dword [eax + 8], 0
jne 0x418496
push 0
mov eax, edi
call fcn.00417720
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call esi
mov ecx, dword [edi + 4]
push 0xc
push ecx
mov dword [edi + 0xac], 0
call dword [sym.imp.USER32.dll_KillTimer]
mov edx, dword [edi + 4]
push 1
push edx
call esi
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 4
Function at 0x4185a0
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push 4
mov dword [0x4e9cdc], eax
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
push eax
mov dword [eax], 0
mov eax, dword [0x4e9cdc]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [0x4e9cdc]
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push ecx
call esi
test eax, eax
je 0x4185f6
mov edx, dword [0x4e9cdc]
push edx
call esi
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
xor eax, eax
pop esi
pop ebp
ret 4
Function at 0x41aa00
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a0f98
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4cc99c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov eax, 1
cmp dword [esi + 0x7c], ebx
jne 0x41ab9e
mov edi, dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
push 0xb0
call edi
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x41aa60
mov ecx, dword [esi + 0x34]
push ecx
push eax
call fcn.00415ea0
jmp 0x41aa62
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [esi + 4]
push edx
mov dword [esi + 0x7c], eax
call dword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 0x78]
add dword [ebp - 0x14], 2
cmp eax, ebx
je 0x41aad3
mov ecx, 0x4b11cc
add eax, 0x3014
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41aac6
cmp dx, bx
je 0x41aac2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41aac6
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x41aaa0
xor eax, eax
jmp 0x41aacb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x41aad3
sub dword [ebp - 0x14], 0x55
push 0xb0
call edi
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 1
cmp eax, ebx
je 0x41aaf9
mov edx, dword [esi + 0x34]
push edx
push eax
call fcn.00415ea0
mov edi, eax
jmp 0x41aafb
xor edi, edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 4]
mov dword [esi + 0x80], edi
mov dword [ebp - 0x24], eax
cmp dword [0x4cdeb8], ebx
jne 0x41ab1c
mov dword [0x4cdeb8], ebx
mov ecx, dword [ebp - 0x24]
push ecx
lea edx, [edi + 0x20]
push edx
mov ebx, 0x4cde88
call fcn.00403020
mov ecx, dword [ebp - 0x24]
add esp, 8
movzx ebx, ax
xor eax, eax
push eax
push 0x8000080
push 0x56000000
push eax
lea eax, [ebp - 0x20]
push eax
push ecx
mov eax, edi
call fcn.00403220
mov edx, dword [esi + 0x80]
mov eax, dword [edx + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 4]
mov edx, dword [esi + 0x7c]
push 1
lea ecx, [esi + 0x58]
push ecx
lea ecx, [ebp - 0x20]
push ecx
push eax
xor ecx, ecx
mov dword [edx + 0x34], esi
mov dword [edx + 0xa0], 2
mov dword [edx + 0x5c], 0
call fcn.00417f70
push 0
mov edi, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esi + 0x70], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00497792
mov esp, ebp
pop ebp
ret
Function at 0x41b240
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
lea esp, [esp]
push 0x4ee578
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x4ea1f0], 0
jbe 0x41b29c
mov ecx, dword [0x4ea1ec]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
mov dword [ebp - 4], edx
cmp eax, ecx
je 0x41b29c
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [ecx], edx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
push eax
mov dword [ecx + 4], edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
dec dword [0x4ea1f0]
push 0x4ee578
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [ebp - 4]
test esi, esi
je 0x41b356
mov eax, dword [esi + 0xc]
lea ecx, [ebp - 0xc]
push ecx
lea ebx, [ebp - 8]
mov dword [ebp - 8], eax
call fcn.0041bbe0
mov eax, dword [ebp - 0xc]
cmp eax, dword [0x4ee594]
je 0x41b344
mov ebx, dword [eax + 0xc]
test ebx, ebx
je 0x41b344
push 0x4380
lea edi, [ebx + 0x501c]
push esi
push edi
call sub.MSVCR100.dll_memcpy
add esp, 0xc
cmp dword [ebx + 0xa024], 0
mov dword [ebx + 0xa01c], 0x4380
jne 0x41b321
push 0x4380
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x41b319
mov esi, eax
call fcn.00415680
jmp 0x41b31b
xor eax, eax
mov dword [ebx + 0xa024], eax
mov edx, dword [ebx + 0xa01c]
mov eax, dword [ebx + 0x14]
push 0x41b3d0
push ebx
push edx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFileEx]
test eax, eax
jne 0x41b344
mov esi, ebx
call fcn.0041b4b0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
jmp 0x41b250
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41b360
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0xa024], 0
jne 0x41b397
push 0x4380
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x41b38f
mov esi, eax
call fcn.00415680
jmp 0x41b391
xor eax, eax
mov dword [edi + 0xa024], eax
mov ecx, dword [edi + 0x14]
push 0x41b3f0
push edi
push 0x5000
lea eax, [edi + 0x18]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFileEx]
test eax, eax
jne 0x41b3c1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, edi
call fcn.0041b4b0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41b6e0
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push esi
push 0x4ee578
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x4ea1f0], ebx
jbe 0x41b726
mov ecx, dword [0x4ea1ec]
mov eax, dword [ecx]
mov ebx, dword [eax + 8]
cmp eax, ecx
je 0x41b726
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [ecx], edx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
push eax
mov dword [ecx + 4], edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
dec dword [0x4ea1f0]
push 0x4ee578
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
je 0x41b7c9
push 0x4380
lea eax, [edi + 0x501c]
push ebx
push eax
call sub.MSVCR100.dll_memcpy
add esp, 0xc
cmp dword [edi + 0xa024], 0
mov dword [edi + 0xa01c], 0x4380
jne 0x41b784
push 0x4380
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x41b77c
mov esi, eax
call fcn.00415680
jmp 0x41b77e
xor eax, eax
mov dword [edi + 0xa024], eax
mov eax, dword [edi + 0xa01c]
mov ecx, dword [edi + 0x14]
push 0x41b840
push edi
push eax
lea eax, [edi + 0x501c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFileEx]
test eax, eax
je 0x41b7b5
push ebx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
jmp 0x41b6e3
mov edx, dword [edi + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
pop esi
pop ebx
pop ecx
ret

Function at 0x41b7d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0xa024], 0
jne 0x41b804
push 0x4380
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x41b7fc
mov esi, eax
call fcn.00415680
jmp 0x41b7fe
xor eax, eax
mov dword [edi + 0xa024], eax
mov ecx, dword [edi + 0x14]
push 0x41b8a0
push edi
push 0x5000
lea eax, [edi + 0x18]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFileEx]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x41b833
mov edx, dword [edi + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
ret
Function at 0x41c4b0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x410
xor edi, edi
lea esi, [ebx + 0x28]
push edi
push esi
call sub.MSVCR100.dll_memset
mov eax, dword [ebp + 0xc]
add esp, 0xc
cmp eax, edi
je 0x41c4e9
cmp word [eax], di
je 0x41c4e9
push 0x40f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov dword [ebx], edi
mov dword [ebx + 4], edi
lea eax, [ebx + 0x10]
mov ecx, 4
xor edx, edx
mov word [eax - 8], dx
mov word [eax], dx
add eax, 2
dec ecx
jne 0x41c4f6
push 0x410
lea eax, [ebx + 0x438]
push edi
push eax
mov dword [ebx + 0x18], edi
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x20], edi
mov dword [ebx + 0x24], edi
mov dword [ebp - 8], eax
call sub.MSVCR100.dll_memset
push 0x410
lea eax, [ebx + 0x848]
push edi
push eax
mov dword [ebp - 0x10], eax
call sub.MSVCR100.dll_memset
push 0x410
lea eax, [ebx + 0xc58]
push edi
push eax
mov dword [ebp - 0xc], eax
call sub.MSVCR100.dll_memset
add esp, 0x24
lea eax, [ebp - 4]
push eax
lea eax, [ebx + 0x28]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
cmp esi, edi
je 0x41c663
lea edi, [esi + 1]
push edi
call fcn.00497652
push edi
push 0
push eax
mov dword [ebx], eax
call sub.MSVCR100.dll_memset
mov ecx, dword [ebx]
mov edx, dword [ebp - 4]
add esp, 0x10
push ecx
push esi
push edx
lea eax, [ebx + 0x28]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x41c663
mov eax, dword [ebx]
mov dword [ebp + 0xc], 0
test eax, eax
je 0x41c663
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp + 0xc]
push edx
push 0x4adfcc
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x41c663
mov esi, dword [ebp + 0xc]
mov ecx, 0xd
lea edi, [ebp - 0x48]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x40]
mov esi, dword [ebp + 8]
mov ecx, eax
mov word [ebx + 0xa], ax
mov eax, dword [ebp - 0x3c]
mov edx, eax
mov word [ebx + 0xe], ax
mov eax, dword [ebp - 0x38]
shr ecx, 0x10
mov word [ebx + 8], cx
shr edx, 0x10
mov ecx, eax
mov word [ebx + 0x12], ax
mov eax, dword [ebp - 0x34]
mov word [ebx + 0xc], dx
mov edx, eax
mov word [ebx + 0x16], ax
mov eax, dword [ebp - 0x2c]
shr ecx, 0x10
shr edx, 0x10
mov word [ebx + 0x10], cx
mov ecx, dword [ebp - 0x28]
mov word [ebx + 0x14], dx
mov edx, dword [ebp - 0x24]
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x20]
mov dword [ebx + 0x1c], ecx
mov dword [ebx + 0x20], edx
mov dword [ebx + 0x24], eax
mov ebx, dword [ebp - 8]
mov edi, 0x4ad408
call fcn.0041c670
mov ebx, dword [ebp - 0xc]
mov edi, 0x4b1284
call fcn.0041c670
mov ebx, dword [ebp - 0x10]
mov edi, 0x4b12a4
call fcn.0041c670
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41df80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1060
call fcn.00497d20
mov eax, dword [0x4cc99c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x44
lea eax, [ebp - 0x1060]
push 0
push eax
call sub.MSVCR100.dll_memset
or dword [ebp - 0x1034], 1
add esp, 0xc
xor eax, eax
lea edx, [ebp - 0x1008]
xor ecx, ecx
push 0x800
push edx
mov dword [ebp - 0x1060], 0x44
mov word [ebp - 0x1030], cx
mov dword [ebp - 0x1018], eax
mov dword [ebp - 0x1014], eax
mov dword [ebp - 0x1010], eax
mov dword [ebp - 0x100c], eax
call dword [sym.imp.HFUILib.dll_public:_static_struct_HINSTANCE______cdecl_CPaintManagerUI::GetResourceInstance_void_]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x41e00b
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00497792
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 4]
push edi
push eax
lea ecx, [ebp - 0x1008]
push ecx
push str._s__hw__d__s
mov edx, ecx
push 0x800
push edx
call dword [sym.imp.MSVCR100.dll_swprintf_s]
add esp, 0x18
lea eax, [ebp - 0x1018]
push eax
lea ecx, [ebp - 0x1060]
push ecx
push 0
push 0
push 0x4000000
push 0
push 0
push 0
lea edx, [ebp - 0x1008]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x41dffb
mov eax, dword [ebp - 0x1014]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x1010]
xor ecx, ebp
call fcn.00497792
mov esp, ebp
pop ebp
ret