joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4030c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x449083
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x45c020]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor edi, edi
mov dword [esi], vtable.Drawing.0
mov dword [esi + 4], edi
mov dword [esi + 8], 0xc
lea eax, [esi + 0x10]
push eax
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov dword [esp + 0x14], edi
mov dword [esi], vtable.KText.0
mov dword [esi + 0x30], edi
lea ecx, [esi + 0x34]
mov byte [esp + 0x14], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov byte [esi + 0x50], 1
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x403160
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x447ee3
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x45c020]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
lea ecx, [esi + 0x34]
mov dword [esp + 0x14], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [esi + 0x30]
xor edi, edi
cmp eax, edi
je 0x4031ae
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x4031ae
mov dword [esi + 0x30], edi
mov dword [esi], vtable.Drawing.0
mov eax, dword [esi + 0x24]
cmp eax, edi
je 0x4031c4
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x405b50
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 0x405b67
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x405b98
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x405b94
cmp esi, eax
jae 0x405b98
sub edi, 1
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x405b84
cmp esi, eax
jb 0x405b9e
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 0x407660
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x449f59
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x45c020]
xor eax, esp
mov dword [esp + 0x44], eax
push ebx
push ebp
push edi
mov eax, dword [0x45c020]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov eax, dword [esi + 0x100]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00446278
add esp, 4
mov ebx, eax
mov eax, dword [esi + 0x100]
push 0x2710
push ebx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
xor ebp, ebp
push ebx
lea ecx, [esp + 0x3c]
mov word [ebx + edi*2], bp
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov dword [esp + 0x60], ebp
mov ecx, dword [esi + 0x100]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
mov eax, dword [esi + 0x104]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [esp + 0x50], 8
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
jae 0x407726
lea eax, [esp + 0x3c]
mov ecx, dword [esp + 0x4c]
push 0xc20
lea edx, [esp + 0x1c]
push edx
push ecx
push eax
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
mov edx, dword [esi + 0x100]
push ebp
push ebp
push 0xba
push edx
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebp, eax
mov eax, dword [esp + 0x10]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esi + 0x100]
push edi
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esi + 0x100]
lea edx, [esp + 0x28]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
mov ecx, edx
sub ecx, dword [esp + 0x18]
lea eax, [ecx + eax + 0x14]
mov ecx, dword [esi + 0x20]
add ecx, 0xfffffffd
cmp eax, ecx
mov dword [esp + 0x30], eax
jle 0x4077a9
mov eax, ecx
mov dword [esp + 0x30], eax
mov edi, dword [esp + 0x2c]
add ebp, 1
imul ebp, dword [esp + 0x14]
lea ecx, [edi + ebp + 0xa]
mov ebp, dword [esi + 0x24]
add ebp, 0xfffffffd
cmp ecx, ebp
mov dword [esp + 0x34], ecx
jle 0x4077cd
mov ecx, ebp
mov dword [esp + 0x34], ecx
push 1
sub ecx, edi
push ecx
mov ecx, dword [esi + 0x100]
sub eax, edx
push eax
push edi
push edx
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
push ebx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, esi
call fcn.00407570
lea ecx, [esp + 0x38]
mov dword [esp + 0x60], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0044664e
add esp, 0x54
ret
Function at 0x408ee0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, dword [esi + 0xb8]
cmp eax, 9
push edi
ja case.default.0x408efb
movzx eax, byte [eax + 0x409008]
jmp dword [eax*4 + 0x409000]
cmp dword [esi + 0xc8], 0
je case.default.0x408efb
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x20]
sub eax, dword [esi + 0x1c]
sub ecx, dword [esi + 0x18]
mov edi, dword [esi + 0xc0]
mov ebx, dword [esi + 0xbc]
sub esp, 8
mov edx, esp
mov dword [edx], ebx
mov dword [edx + 4], edi
sub esp, 8
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [esp + 0x20]
mov dword [edx + 4], eax
mov edx, dword [esp + 0x24]
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [esi + 0xc8]
call fcn.004287d0
mov ecx, dword [esi + 0xc8]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov esi, eax
cmp dword [esi], 0
jne 0x408f84
push 0xec
push 0x450b38
push str.host____NULL
call dword [sym.imp.MSVCR80.dll__wassert]
add esp, 0xc
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x50]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
add esi, 0x1c
push esi
call eax
pop edi
pop esi
pop ebx
ret 8
cmp dword [esi + 0xc8], 0
je case.default.0x408efb
mov ecx, dword [esi + 0xc8]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov esi, eax
cmp dword [esi], 0
jne 0x408fdb
push 0xec
push 0x450b38
push str.host____NULL
call dword [sym.imp.MSVCR80.dll__wassert]
add esp, 0xc
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
add esi, 0x1c
push esi
call edx
pop edi
pop esi
pop ebx
ret 8
Function at 0x409020
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebx, eax
mov eax, dword [ebx + 0xb8]
cmp eax, 9
push esi
push edi
ja case.default.0x40903f
movzx eax, byte [eax + 0x409208]
jmp dword [eax*4 + 0x409200]
cmp dword [ebx + 0xcc], 0
jne 0x409091
sub esp, 8
mov eax, esp
mov dword [eax], 0x64
mov dword [eax + 4], 0x64
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 0xc]
push ecx
push edx
call fcn.0041fcd0
mov dword [ebx + 0xcc], eax
add esp, 0x10
mov dword [eax + 0xb0], ebx
cmp dword [ebx + 0xc4], 6
jne 0x409091
mov eax, dword [ebx + 0xcc]
call fcn.00421f40
mov eax, dword [ebx + 0xcc]
test eax, eax
je 0x409187
mov byte [eax + 0xbd], 0
mov ecx, dword [ebx + 0xcc]
mov esi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x24]
mov edx, dword [ecx + 0x10]
mov edi, dword [ecx + 0x14]
mov ebp, esi
add eax, 5
sub ebp, edx
jns 0x4090c3
mov esi, edx
mov ebp, dword [ebx + 0xc0]
sub ebp, edi
cmp eax, ebp
mov dl, 1
jle 0x4090ed
mov ebp, dword [ebx + 0x1c]
mov eax, ebp
sub eax, edi
sub eax, 3
jns 0x4090e0
lea eax, [ebp + 3]
lea ebp, [eax - 0x31]
test ebp, ebp
jle 0x4090ed
mov byte [ecx + 0xbd], dl
lea ecx, [eax + edi + 0x31]
cmp ecx, dword [ebx + 0xc0]
jle 0x409105
mov ecx, dword [ebx + 0xcc]
mov byte [ecx + 0xbd], dl
mov ecx, dword [ebx + 0x18]
mov edi, dword [ebx + 0x20]
mov edx, dword [ebx + 0x1c]
sub edi, ecx
mov dword [esp + 0x10], ecx
mov ecx, dword [ebx + 0x24]
sub ecx, edx
sub esp, 8
mov dword [esp + 0x24], ecx
mov ecx, esp
mov dword [esp + 0x1c], edx
lea edx, [esp + 0x18]
mov dword [ecx], esi
mov dword [ecx + 4], eax
mov esi, dword [ebx + 0xcc]
push edx
mov dword [esp + 0x24], edi
call fcn.0041ff90
mov ecx, dword [ebx + 0xcc]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov esi, eax
cmp dword [esi], 0
jne 0x40916b
push 0xec
push 0x450b38
push str.host____NULL
call dword [sym.imp.MSVCR80.dll__wassert]
add esp, 0xc
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x50]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
add esi, 0x1c
push esi
call eax
xor eax, eax
push eax
push eax
push eax
mov esi, ebx
call fcn.00407db0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov edi, dword [ebx + 0xcc]
test edi, edi
je case.default.0x40903f
push 1
call fcn.004214b0
mov ebx, dword [ebx + 0xcc]
mov edx, dword [ebx]
mov eax, dword [edx + 8]
mov ecx, ebx
call eax
mov esi, eax
cmp dword [esi], 0
jne 0x4091da
push 0xec
push 0x450b38
push str.host____NULL
call dword [sym.imp.MSVCR80.dll__wassert]
add esp, 0xc
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
add esi, 0x1c
push esi
call edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x40a950
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44ae78
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45c020]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x14]
push eax
mov ecx, 0x44fad0
call fcn.0040c420
lea ecx, [esp + 0x14]
push ecx
lea eax, [esi + 0x150]
call fcn.00443c30
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40a9be
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, esi
call fcn.0040abb0
mov edx, dword [0x45f304]
mov eax, dword [edx + 0xc]
mov ecx, 0x45f304
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push 0
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x38], 0
call fcn.00409d10
mov edx, dword [0x45f304]
mov eax, dword [edx + 0xc]
mov ecx, 0x45f304
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x30], 1
mov ebp, dword [esp + 0x14]
push ebp
push str._apptype:1__brosersubtype:6__sourcefrom:25__path:__s_
lea edi, [esp + 0x20]
call fcn.0040dd60
xor edi, edi
lea ebx, [esp + 0x28]
call fcn.004298f0
push eax
lea ecx, [esp + 0x28]
push ecx
mov ebx, str.fastpic.exe
mov byte [esp + 0x40], 2
call fcn.0040c910
mov eax, dword [eax]
add esp, 0x10
push 5
push edi
mov edi, dword [esp + 0x20]
push edi
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40aa7a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x30], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40aa9f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esi + 4]
push 0
push 2
push 0x111
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [edi - 0x10]
mov byte [esp + 0x30], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40aad3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x30], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40aaf7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40b0f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44ab29
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x45c020]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
push str.rectangle
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea eax, [esp + 0x10]
push eax
mov eax, esi
mov dword [esp + 0x3c], 0
call fcn.0040ad90
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xc]
push ecx
mov ecx, str.square
call fcn.0040c420
lea edx, [esp + 0xc]
push edx
lea eax, [esi + 0x150]
call fcn.00443c30
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b190
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40b1b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44aaf9
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x45c020]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
push 0x44fb64
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea eax, [esp + 0x10]
push eax
mov eax, esi
mov dword [esp + 0x3c], 0
call fcn.0040ad90
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xc]
push ecx
mov ecx, str.arrow
call fcn.0040c420
lea edx, [esp + 0xc]
push edx
lea eax, [esi + 0x150]
call fcn.00443c30
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b250
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40b270
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44aac9
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x45c020]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
push 0x44fb78
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea eax, [esp + 0x10]
push eax
mov eax, esi
mov dword [esp + 0x3c], 0
call fcn.0040ad90
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xc]
push ecx
mov ecx, str.brush
call fcn.0040c420
lea edx, [esp + 0xc]
push edx
lea eax, [esi + 0x150]
call fcn.00443c30
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b310
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40b3a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44aa69
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x45c020]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
push str.ellipse
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea eax, [esp + 0x10]
push eax
mov eax, esi
mov dword [esp + 0x3c], 0
call fcn.0040ad90
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xc]
push ecx
mov ecx, str.round
call fcn.0040c420
lea edx, [esp + 0xc]
push edx
lea eax, [esi + 0x150]
call fcn.00443c30
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b440
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40b4d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44aa09
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x45c020]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
push str.text
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea eax, [esp + 0x10]
push eax
mov eax, esi
mov dword [esp + 0x3c], 0
call fcn.0040ad90
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xc]
push ecx
mov ecx, str.wording
call fcn.0040c420
lea edx, [esp + 0xc]
push edx
lea eax, [esi + 0x150]
call fcn.00443c30
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b570
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40b600
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44a9d9
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x45c020]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
push str.mosac
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea eax, [esp + 0x10]
push eax
mov eax, esi
mov dword [esp + 0x3c], 0
call fcn.0040ad90
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xc]
push ecx
mov ecx, str.mosaic
call fcn.0040c420
lea edx, [esp + 0xc]
push edx
lea eax, [esi + 0x150]
call fcn.00443c30
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b6a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40b6d0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, ecx
cmp dword [ebx + 0x100], 0
push esi
push edi
je 0x40b741
push str.FontSizeChanged_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebx + 0xcc]
mov eax, dword [eax + 0xb8]
lea esi, [eax + 0x9c]
lea edi, [ebx + 0x10c]
mov ecx, 0xc
rep movsd dword es:[edi], dword [esi]
call fcn.0040afd0
lea ecx, [ebx + 0xd4]
push str.text
push ecx
call dword [sym.imp.MSVCP80.dll_bool___cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
add esp, 8
test al, al
je 0x40b734
mov esi, ebx
call fcn.00407660
mov edx, dword [ebx + 0x100]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40bf80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44ad98
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x45c020]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0xc]
push eax
mov ecx, str.send_draw
call fcn.0040c420
lea ecx, [esp + 0xc]
push ecx
lea eax, [esi + 0x150]
call fcn.00443c30
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40bfec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, esi
call fcn.0040abb0
mov edx, dword [0x45f304]
mov eax, dword [edx + 0xc]
mov ecx, 0x45f304
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
push 0
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x28], 0
call fcn.00409d10
mov edi, dword [esp + 0x10]
push 5
push 0
push edi
push str.mspaint.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edx, dword [esi + 4]
push 0
push 2
push 0x111
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [edi - 0x10]
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c070
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret