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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e673
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4c7650]
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 eax, dword [ecx + 4]
mov edx, dword [eax + 0x30]
mov dword [ebp - 0x40], edx
fld dword [ebp - 0x40]
mov edx, dword [eax + 0x34]
fld qword [0x4b43c0]
fsub st(1), st(0)
mov dword [ebp - 0x3c], edx
mov edx, dword [eax + 0x38]
fxch st(1)
mov eax, dword [eax + 0x3c]
fstp dword [ebp - 0x54]
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], eax
fsubr dword [ebp - 0x3c]
mov dword [ebp - 0x44], ecx
mov ecx, dword [ecx + 0xc]
lea eax, [ebp - 0x54]
fstp dword [ebp - 0x50]
push eax
fld dword [ebp - 0x38]
fadd qword [0x4b43d0]
fstp dword [ebp - 0x4c]
fld dword [ebp - 0x34]
fadd qword [0x4b44b0]
fstp dword [ebp - 0x48]
mov edx, dword [ecx]
mov edx, dword [edx]
call edx
fldz
fst dword [ebp - 0x40]
push 0x98
fstp dword [ebp - 0x3c]
fld dword [ebp - 0x4c]
fstp dword [ebp - 0x38]
fld dword [ebp - 0x48]
fstp dword [ebp - 0x34]
call fcn.0047a58d
mov esi, eax
add esp, 4
mov dword [ebp - 0x30], esi
xor edi, edi
mov dword [ebp - 4], edi
cmp esi, edi
je 0x431396
lea eax, [ebp - 0x40]
push eax
call fcn.004330a0
fld1
mov dword [esi], vtable.CFpImageBox.0
mov dword [esi + 0x70], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x74], edi
fstp dword [esi + 0x94]
mov dword [esi + 0x84], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x8c], edi
mov dword [esi + 0x90], edi
jmp 0x431398
xor esi, esi
mov dword [ebp - 4], 0xffffffff
xor ecx, ecx
push 0xf
mov word [ebp - 0x2c], cx
push str.ShadowFrame.png
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
call fcn.00417c60
lea edx, [ebp - 0x2c]
push edx
mov dword [ebp - 4], 1
call fcn.0043b300
mov ebx, eax
add esp, 4
mov dword [esi + 0x70], ebx
cmp ebx, edi
je 0x43141c
mov ecx, dword [ebx + 4]
lea eax, [ebp - 0x30]
push eax
push ecx
mov dword [ebp - 0x30], edi
call dword [sym.imp.gdiplus.dll_GdipGetImageWidth]
cmp eax, edi
je 0x4313f2
mov dword [ebx + 8], eax
mov edx, dword [ebp - 0x30]
mov ebx, dword [esi + 0x70]
lea eax, [ebp - 0x30]
mov dword [esi + 0x7c], edx
mov ecx, dword [ebx + 4]
push eax
push ecx
mov dword [ebp - 0x30], edi
call dword [sym.imp.gdiplus.dll_GdipGetImageHeight]
cmp eax, edi
je 0x431413
mov dword [ebx + 8], eax
mov edx, dword [ebp - 0x30]
mov dword [esi + 0x80], edx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 8
jb 0x431435
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004799d6
add esp, 4
mov edx, dword [ebp - 0x44]
mov eax, 2
xor ecx, ecx
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], 3
mov dword [esi + 0x8c], eax
mov dword [esi + 0x90], eax
mov eax, dword [edx + 0x10]
push esi
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], cx
call fcn.00433440
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.004799e1
mov esp, ebp
pop ebp
ret
Function at 0x431ea0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4e2b50]
mov edx, dword [0x4e2b4c]
sub esp, 0x10
push eax
mov eax, dword [0x4e2b48]
push 8
lea ecx, [ebp - 8]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStructW]
test eax, eax
je 0x431f12
cmp dword [ebp - 4], 0
jl 0x431f12
jg 0x431ed7
cmp dword [ebp - 8], 0
jbe 0x431f12
lea ecx, [ebp - 0x10]
push ecx
call fcn.0047c3ca
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
add esp, 4
push edx
mov edx, dword [ebp - 0x10]
push eax
push ecx
push edx
call fcn.0047c556
fdiv qword [0x4b4440]
add esp, 0x10
call fcn.004835c0
xor ecx, ecx
cmp eax, 7
setg al
mov esp, ebp
pop ebp
ret
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x4330a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e323
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push edi
mov eax, dword [0x4c7650]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [esi + 4]
mov dword [esi], vtable.CFpUIElement.0
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0x24
mov dword [eax], 0x4a985c
call fcn.0047a58d
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x4330fd
push eax
call fcn.00410580
mov edi, eax
jmp 0x4330ff
xor edi, edi
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x10]
push edi
lea ecx, [eax + 0xc]
mov dword [eax + 8], edi
call fcn.00410030
mov eax, dword [ebp - 0x10]
push edi
add eax, 8
push edi
push eax
call fcn.0040eef0
fldz
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x4a9850
mov eax, dword [ebp + 8]
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov ecx, dword [eax]
mov dword [esi + 0x28], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x2c], edx
mov ecx, dword [eax + 8]
mov dword [esi + 0x30], ecx
mov edx, dword [eax + 0xc]
fst dword [esi + 0x3c]
fst dword [esi + 0x40]
add esp, 0xc
fld1
mov dword [esi + 0x34], edx
fst dword [esi + 0x44]
mov word [esi + 0x38], bx
fst dword [esi + 0x48]
mov byte [esi + 0x3a], 1
fxch st(1)
mov dword [esi + 0x50], 0xff00
fstp dword [esi + 0x4c]
mov byte [esi + 0x54], bl
mov dword [esi + 0x58], 0xff000000
mov byte [esi + 0x6c], bl
fst dword [esi + 0x5c]
mov eax, esi
fst dword [esi + 0x60]
fst dword [esi + 0x64]
fstp dword [esi + 0x68]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x433b90
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49e198
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4c7650]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
push edi
mov eax, dword [0x4c7650]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
mov esi, ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [esi]
mov eax, dword [eax + 8]
push ecx
push edx
mov ecx, esi
call eax
test al, al
je 0x433c74
cmp dword [esi + 0xc0], 1
je 0x433c0a
mov ecx, dword [esi + 0x14]
mov dword [esi + 0xc0], 1
test ecx, ecx
jne 0x433c05
mov edi, dword [esi + 0xc]
call fcn.0041d350
jmp 0x433c0a
call fcn.00433500
lea ecx, [ebp + 0xc]
mov dword [esp + 0x18], ecx
lea eax, [ebp + 8]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], vtable.._AV___Impl_no_alloc0_U___Callable_obj_V_lambda0___A0x3897254e___0A__tr1_std__X_tr1_std__.0
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x38], 0
mov edx, dword [0x4e2bc8]
push edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [esp + 0xc]
mov ecx, eax
call fcn.0043e370
mov dword [esp + 0x38], 0xffffffff
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x433c70
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
lea edx, [esp + 0xc]
cmp ecx, edx
setne dl
movzx edx, dl
push edx
call eax
mov al, 1
jmp 0x433c9f
cmp dword [esi + 0xc0], 0
je 0x433c9d
mov ecx, dword [esi + 0x14]
mov dword [esi + 0xc0], 0
test ecx, ecx
jne 0x433c98
mov edi, dword [esi + 0xc]
call fcn.0041d350
jmp 0x433c9d
call fcn.00433500
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004799e1
mov esp, ebp
pop ebp
ret 8
Function at 0x433cc0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49e168
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4c7650]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x4c7650]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, 1
cmp dword [esi + 0xc0], ebx
jne 0x433e99
mov ecx, dword [ebp + 0xc]
mov eax, dword [esi]
mov edx, dword [ebp + 8]
mov eax, dword [eax + 8]
push ecx
push edx
mov ecx, esi
call eax
test al, al
je 0x433e70
mov eax, 2
cmp dword [esi + 0xc0], eax
je 0x433d4c
mov ecx, dword [esi + 0x14]
mov dword [esi + 0xc0], eax
test ecx, ecx
jne 0x433d47
mov edi, dword [esi + 0xc]
call fcn.0041d350
jmp 0x433d4c
call fcn.00433500
lea ecx, [ebp + 0xc]
mov dword [esp + 0x20], ecx
lea eax, [ebp + 8]
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], vtable.._AV___Impl_no_alloc0_U___Callable_obj_V_lambda1___A0x3897254e___0A__tr1_std__X_tr1_std__.0
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x58], 0
mov edx, dword [0x4e2bc8]
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push edx
call edi
lea edx, [esp + 0x14]
mov ecx, eax
call fcn.0043e370
mov dword [esp + 0x58], 0xffffffff
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x433db4
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
lea edx, [esp + 0x14]
cmp ecx, edx
setne dl
movzx edx, dl
push edx
call eax
cmp byte [esi + 0x100], 0
jne 0x433e6c
lea ecx, [esp + 0x14]
mov byte [esi + 0x100], 1
mov dword [esp + 0x14], vtable.._AV___Impl_no_alloc0_U___Callable_obj_V_lambda2___A0x3897254e___0A__tr1_std__X_tr1_std__.0
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x58], ebx
mov edx, dword [0x4e2bc8]
push edx
mov ebx, 0x1f4
call edi
push ebx
push eax
lea ecx, [esp + 0x1c]
call fcn.0043e430
or ebx, 0xffffffff
mov dword [esp + 0x58], ebx
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x433e1c
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
lea edx, [esp + 0x14]
cmp ecx, edx
setne dl
movzx edx, dl
push edx
call eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], vtable.._AV___Impl_no_alloc0_U___Callable_obj_V_lambda3___A0x3897254e___0A__tr1_std__X_tr1_std__.0
mov dword [esp + 0x30], esi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x58], 2
mov edx, dword [0x4e2bc8]
push edx
call edi
lea edx, [esp + 0x2c]
mov ecx, eax
call fcn.0043e370
mov dword [esp + 0x58], ebx
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x433e6c
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
lea edx, [esp + 0x2c]
cmp ecx, edx
setne dl
movzx edx, dl
push edx
call eax
mov al, 1
jmp 0x433e9b
cmp dword [esi + 0xc0], 0
je 0x433e99
mov ecx, dword [esi + 0x14]
mov dword [esi + 0xc0], 0
test ecx, ecx
jne 0x433e94
mov edi, dword [esi + 0xc]
call fcn.0041d350
jmp 0x433e99
call fcn.00433500
xor al, al
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.004799e1
mov esp, ebp
pop ebp
ret 8
Function at 0x438740
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49af58
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x4c7650]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
push edi
mov ecx, esi
call fcn.0047a4ea
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
push ebx
add edi, 0x14
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push edi
mov byte [ecx], bl
call fcn.0040ae40
mov dword [esi + 0x30], vtable.boost::exception.0
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], 0xffffffff
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.0
mov dword [esi + 0x30], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.1.0
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 4

Function at 0x438c00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ae60
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4c7650]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push edi
call fcn.0047a4ea
mov dword [ebp - 4], 0
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
push 0
lea edx, [edi + 0x14]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push edx
mov byte [ecx], 0
call fcn.0040ae40
mov dword [esi], vtable.boost::lock_error.0
mov dword [ebp - 4], 1
mov dword [esi + 0x30], vtable.boost::exception.0
mov ecx, dword [edi + 0x34]
mov dword [esi + 0x34], ecx
test ecx, ecx
je 0x438c92
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov ecx, dword [edi + 0x3c]
mov dword [esi + 0x3c], ecx
mov edx, dword [edi + 0x40]
mov dword [esi + 0x40], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.0
mov dword [esi + 0x30], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.1.0
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 4
Function at 0x43c790
Capabilities:
Check os version
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49d3a6
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x4c7650]
xor eax, esp
mov dword [esp + 0x12c], eax
push ebx
push esi
mov eax, dword [0x4c7650]
xor eax, esp
push eax
lea eax, [esp + 0x140]
mov dword fs:[0], eax
lea esi, [esp + 0xc]
mov dword [esp + 0xc], 0x4e2ba8
mov byte [esp + 0x10], 0
call fcn.00438ea0
mov dword [esp + 0x148], 0
mov eax, dword [0x4c72d4]
mov edx, dword [eax + 0xc]
mov ecx, 0x4c72d4
call edx
lea ebx, [eax + 0x10]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x148], 1
mov eax, dword [edi]
push eax
call fcn.0043c990
mov esi, dword [edi]
cmp byte [esi + 0x1c], 0
je 0x43c85a
push 0x114
lea ecx, [esp + 0x20]
push 0
push ecx
call fcn.0047d070
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x20], 6
jb 0x43c854
mov esi, dword [esi + 0xc]
call fcn.0043d670
mov eax, dword [edi]
mov byte [eax + 0x1c], 0
push str._CFpFrameWindow_Update_End_n
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.0040d840
mov eax, dword [eax]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43c89a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x148], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43c8be
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x148], 0xffffffff
cmp byte [esp + 0x10], 0
je 0x43c904
mov eax, dword [esp + 0xc]
mov ecx, connect
mov edx, eax
lock xadd dword [edx], ecx
test ecx, 0x40000000
jne 0x43c904
cmp ecx, 0x80000000
jle 0x43c904
mov ecx, eax
lock bts dword [ecx], 0x1e
jb 0x43c904
call fcn.00431f60
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.004799e1
mov esp, ebp
pop ebp
ret

Function at 0x43c940
Capabilities:
Get thread local storage value

Disassembly:
cmp byte [esi + 0x14], 0
push ebx
je 0x43c964
mov ecx, dword [esi + 0xc]
call fcn.0043d1b0
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
mov edx, dword [eax + 0x2c]
mov dword [ecx + 0x28], edx
mov ecx, dword [esi + 4]
pop ebx
jmp fcn.0043d1b0
mov ecx, dword [esi + 4]
call fcn.0043d1b0
mov ecx, dword [esi + 0xc]
mov bl, al
mov eax, dword [esi + 4]
mov edx, dword [eax + 0x2c]
mov dword [ecx + 0x28], edx
mov ecx, dword [esi + 0xc]
call fcn.0043d1b0
mov al, bl
pop ebx
ret
Function at 0x43d6e0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49a328
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push edi
mov eax, dword [0x4c7650]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov eax, dword [esi + 0x2c]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
fld dword [esi + 0x3c]
mov ebx, eax
call fcn.004835c0
fld dword [esi + 0x38]
push eax
call fcn.004835c0
push eax
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push ebx
mov dword [esp + 0x18], eax
call dword [sym.imp.GDI32.dll_SelectObject]
lea ecx, [esp + 0xc]
push ecx
push ebx
mov dword [esp + 0x14], 0
call dword [sym.imp.gdiplus.dll_GdipCreateFromHDC]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
lea eax, [esp + 0x14]
mov dword [esp + 0x28], 0
mov ecx, dword [esi + 0x40]
push eax
call fcn.004331f0
fld dword [esi + 0x3c]
push 0xcc0020
push 0
push 0
push ebx
call fcn.004835c0
fld dword [esi + 0x38]
push eax
call fcn.004835c0
push eax
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esi + 0x2c]
push edi
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43dc10
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4995d3
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4c7650]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi], vtable.MessageLoop.0
mov dword [esi + 4], 1
lea edi, [esi + 0xc]
push 8
mov dword [edi], ebx
call fcn.0047a58d
add esp, 4
cmp eax, ebx
je 0x43dd78
mov dword [edi], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [edi]
mov dword [eax], edi
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov byte [ebp - 4], 2
mov dword [esi + 0x38], ebx
lea edi, [esi + 0x3c]
push 8
mov dword [edi], ebx
call fcn.0047a58d
add esp, 4
cmp eax, ebx
je 0x43dd54
mov dword [edi], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov ecx, dword [edi]
mov dword [ecx], edi
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
lea eax, [esi + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [ebp - 4], 4
mov dword [esi + 0x6c], ebx
mov edx, dword [0x4e2bc8]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp dword [esi + 4], 1
jne 0x43dd0d
push 0x1c
call fcn.0047a58d
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 5
cmp eax, ebx
je 0x43dd06
push eax
call fcn.0043f5d0
mov dword [esi + 8], eax
jmp 0x43dd3e
xor eax, eax
mov dword [esi + 8], eax
jmp 0x43dd3e
push 0x10
call fcn.0047a58d
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x43dd39
push ebx
push ebx
push ebx
push ebx
mov dword [edi], vtable.MessagePumpDefault.0
mov byte [edi + 4], 1
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 8], eax
mov dword [edi + 0xc], ebx
jmp 0x43dd3b
xor edi, edi
mov dword [esi + 8], 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 4
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
call fcn.0047a42a
push 0x4bcb70
lea ecx, [ebp - 0x1c]
push ecx
mov dword [ebp - 0x1c], vtable.std::bad_alloc.0
call fcn.0047cc31
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
call fcn.0047a42a
push 0x4bcb70
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], vtable.std::bad_alloc.0
call fcn.0047cc31
int3
Function at 0x43f310
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499438
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4c7650]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 4
mov byte [esi + 0x36], 1
call fcn.0047a58d
add esp, 4
test eax, eax
je 0x43f34e
mov dword [eax], esi
jmp 0x43f350
xor eax, eax
mov dword [esi + 8], eax
mov eax, dword [0x4e2bc8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x43f3b0
mov ecx, dword [esi + 8]
mov dword [ebp - 0x24], ecx
mov edx, 0x43f1e0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], vtable.._AV___Impl_no_alloc0_U___Callable_obj_V___Bind_XXV___Bind1_U___Callable_pmf_Q8BaseTimerTaskInternal__AEXXZV1__0A__tr1_std__PAVBaseTimerTaskInternal___tr1_std___tr1_std___0A__tr1_std__X_tr1_std__.0
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
push edx
push eax
call fcn.0043e430
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x43f3b0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
lea edx, [ebp - 0x2c]
cmp ecx, edx
setne dl
movzx edx, dl
push edx
call eax
call fcn.0047c739
add eax, dword [ebp + 8]
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], eax
cmp dword [esi + 0x30], 0
jne 0x43f3cd
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi + 0x30], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004799e1
mov esp, ebp
pop ebp
ret 4

Function at 0x43fe90
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
mov ecx, dword [esi]
test ecx, ecx
jne 0x43fea0
push 0x80004005
call fcn.004057f0
push edi
mov edi, dword [esi + 4]
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43fecc
test dx, dx
je 0x43fec8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43fecc
add eax, 4
add ecx, 4
test dx, dx
jne 0x43fea6
xor eax, eax
jmp 0x43fed1
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x43ff06
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43ff06
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x43fefc
xor eax, 1
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
ret

Function at 0x43ff10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [esi]
sub esp, 8
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43ff27
mov esp, ebp
pop ebp
ret
call fcn.0043fd90
sub esp, 0x18
mov dword [ebp - 4], esp
mov ecx, esp
je 0x43ff48
mov dword [ecx], vtable.std::tr1::_Impl_base0_int_.0
mov dword [ecx], vtable.._AV___Impl_no_alloc0_U___Callable_obj_V_lambda0___A0xeca50acb___0A__tr1_std__H_tr1_std__.0
mov dword [ecx + 4], eax
mov dword [ecx + 8], esi
mov dword [ecx + 0x10], ecx
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0xc]
push eax
push ecx
call fcn.00441380
mov esp, ebp
pop ebp
ret