joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43cba0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
je 0x43cbef
push esi
push edi
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea esi, [eax + 8]
mov eax, dword [esi]
mov eax, dword [eax]
push str.openUrl
push eax
call fcn.0046fcf2
add esp, 8
test eax, eax
jne 0x43cbe0
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
push 1
push 0
push eax
push eax
push str.open
push 0
call edi
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov dword [ebp + 8], eax
cmp eax, dword [ebp + 0xc]
jne 0x43cbb3
pop edi
pop esi
mov al, byte [ebp + 0x10]
pop ebp
ret

Function at 0x444cd0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48dc78
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x4c81d0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 4], edx
lea esi, [esp + 0x18]
mov dword [eax + 8], ecx
call fcn.00445c00
mov esi, ebx
lea edi, [esp + 0xc]
mov dword [esp + 0x38], 0
call fcn.004456e0
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0xc]
test eax, eax
je 0x444d59
test al, 1
jne 0x444d59
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x444d59
lea edx, [esp + 0x14]
push 2
push edx
mov ecx, edx
push ecx
call eax
add esp, 0xc
mov eax, ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x444e30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48dc78
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x4c81d0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 4], edx
lea esi, [esp + 0x18]
mov dword [eax + 8], ecx
call fcn.00445c70
mov esi, ebx
lea edi, [esp + 0xc]
mov dword [esp + 0x38], 0
call fcn.004456e0
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0xc]
test eax, eax
je 0x444eb9
test al, 1
jne 0x444eb9
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x444eb9
lea edx, [esp + 0x14]
push 2
push edx
mov ecx, edx
push ecx
call eax
add esp, 0xc
mov eax, ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x445050
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48dc78
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x4c81d0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 4], edx
lea esi, [esp + 0x18]
mov dword [eax + 8], ecx
call fcn.00445ce0
mov esi, ebx
lea edi, [esp + 0xc]
mov dword [esp + 0x38], 0
call fcn.004456e0
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4450d9
test al, 1
jne 0x4450d9
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x4450d9
lea edx, [esp + 0x14]
push 2
push edx
mov ecx, edx
push ecx
call eax
add esp, 0xc
mov eax, ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4450f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48dc78
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x4c81d0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 4], edx
lea esi, [esp + 0x18]
mov dword [eax + 8], ecx
call fcn.00445d50
mov esi, ebx
lea edi, [esp + 0xc]
mov dword [esp + 0x38], 0
call fcn.004456e0
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0xc]
test eax, eax
je 0x445179
test al, 1
jne 0x445179
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x445179
lea edx, [esp + 0x14]
push 2
push edx
mov ecx, edx
push ecx
call eax
add esp, 0xc
mov eax, ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x447730
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4c81d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [esi]
push ebx
mov ebx, dword [eax + 4]
push edi
call fcn.00455090
mov edi, dword [esi]
cmp byte [edi + 0x1c], 0
je 0x44779b
push 0x114
lea ecx, [ebp - 0x118]
push 0
push ecx
call fcn.00471430
add esp, 0xc
lea edx, [ebp - 0x118]
push edx
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 6
jb 0x447795
mov ebx, dword [edi + 0xc]
call fcn.00455090
mov eax, dword [esi]
mov byte [eax + 0x1c], 0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0046d96b
mov esp, ebp
pop ebp
ret
Function at 0x447d20
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4904f3
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push edi
mov eax, dword [0x4c81d0]
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], 0x4a7960
call fcn.0046dc84
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x447d7d
push eax
call fcn.0041fa00
mov edi, eax
jmp 0x447d7f
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.00420140
mov eax, dword [ebp - 0x10]
push edi
add eax, 8
push edi
push eax
call fcn.0040da00
fldz
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x4a7878
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]
fstp 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
fst dword [esi + 0x58]
mov dword [esi + 0x4c], 0xff00
fst dword [esi + 0x5c]
mov byte [esi + 0x50], bl
fst dword [esi + 0x60]
mov dword [esi + 0x54], 0xff000000
fstp dword [esi + 0x64]
mov byte [esi + 0x68], bl
mov eax, esi
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 0x44d580
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x491ba8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4c81d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, 1
test byte [0x4d3be4], al
jne 0x44d5c4
or dword [0x4d3be4], eax
call esi
mov dword [0x4d3be0], eax
call esi
mov esi, eax
sub esi, dword [0x4d3be0]
mov dword [0x4d3be0], eax
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
push esi
lea eax, [ebp - 0x10]
push str._d_
push eax
mov dword [ebp - 4], 0
call fcn.00401760
mov esi, dword [ebp - 0x10]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
fld dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x70]
fstp dword [eax + 0x90]
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44d63f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x44dc50
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x496fc8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4c81d0]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x4c81d0]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, ecx
mov ecx, dword [ebp + 8]
push eax
push ecx
mov ecx, esi
call fcn.00448120
test al, al
je 0x44dd54
cmp dword [esi + 0xac], 0
jne 0x44dcba
mov ecx, esi
mov dword [esi + 0xac], 2
call fcn.004481f0
push 0x14
lea edi, [ebp + 8]
lea ebx, [ebp + 0xc]
call fcn.0046dc84
xor edx, edx
add esp, 4
cmp eax, edx
je 0x44dd2b
mov dword [eax], vtable.._AV___Impl_no_alloc0_U___Callable_obj_V_lambda0___A0x23bf625c___0A__tr1_std__X_tr1_std__.0
mov dword [eax + 4], esi
mov dword [eax + 8], edi
mov dword [eax + 0xc], ebx
lea ecx, [ebp + 0x10]
mov dword [eax + 0x10], ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x50], edx
mov edx, dword [0x4d34cc]
push edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [esp + 0x24]
mov ecx, eax
call fcn.00402880
mov dword [esp + 0x50], 0xffffffff
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x44dd6e
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
lea edx, [esp + 0x24]
cmp ecx, edx
setne dl
movzx edx, dl
push edx
call eax
jmp 0x44dd6e
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], edx
call fcn.0046e25f
push 0x4b96ec
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], vtable.std::bad_alloc.0
call fcn.00471380
cmp dword [esi + 0xac], 0
je 0x44dd6e
mov ecx, esi
mov dword [esi + 0xac], 0
call fcn.004481f0
xor al, al
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0046d96b
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44dd90
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48db08
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4c81d0]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x4c81d0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, ecx
mov ecx, dword [ebp + 8]
push eax
push ecx
mov ecx, esi
call fcn.00448120
test al, al
je 0x44de61
cmp dword [esi + 0xac], 1
je 0x44ddf8
mov ecx, esi
mov dword [esi + 0xac], 1
call fcn.004481f0
lea eax, [ebp + 8]
lea ecx, [ebp + 0xc]
lea edx, [esp + 0xc]
mov dword [esp + 0xc], vtable.._AV___Impl_no_alloc0_U___Callable_obj_V_lambda1___A0x23bf625c___0A__tr1_std__X_tr1_std__.0
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x38], 0
mov eax, dword [0x4d34cc]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [esp + 0xc]
mov ecx, eax
call fcn.00402880
mov dword [esp + 0x38], 0xffffffff
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x44de5d
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0xc]
cmp ecx, eax
setne al
movzx eax, al
push eax
call edx
mov al, 1
jmp 0x44de7d
cmp dword [esi + 0xac], 0
je 0x44de7b
mov ecx, esi
mov dword [esi + 0xac], 0
call fcn.004481f0
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0046d96b
mov esp, ebp
pop ebp
ret 8
Function at 0x44deb0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x496f98
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4c81d0]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x4c81d0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, 1
cmp dword [esi + 0xac], ebx
jne 0x44e054
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
push ecx
mov ecx, esi
call fcn.00448120
mov ecx, esi
test al, al
je 0x44e045
mov dword [esi + 0xac], 2
call fcn.004481f0
lea eax, [ebp + 8]
lea ecx, [ebp + 0xc]
lea edx, [esp + 0x14]
mov dword [esp + 0x14], vtable.._AV___Impl_no_alloc0_U___Callable_obj_V_lambda2___A0x23bf625c___0A__tr1_std__X_tr1_std__.0
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x58], 0
mov eax, dword [0x4d34cc]
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call edi
lea edx, [esp + 0x14]
mov ecx, eax
call fcn.00402880
mov dword [esp + 0x58], 0xffffffff
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x44df89
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x14]
cmp ecx, eax
setne al
movzx eax, al
push eax
call edx
cmp byte [esi + 0xc0], 0
jne 0x44e041
lea eax, [esp + 0x14]
mov byte [esi + 0xc0], 1
mov dword [esp + 0x14], vtable.._AV___Impl_no_alloc0_U___Callable_obj_V_lambda3___A0x23bf625c___0A__tr1_std__X_tr1_std__.0
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x58], ebx
mov ecx, dword [0x4d34cc]
push ecx
mov ebx, 0x1f4
call edi
push ebx
push eax
lea ecx, [esp + 0x1c]
call fcn.00402940
or ebx, 0xffffffff
mov dword [esp + 0x58], ebx
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x44dff1
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x14]
cmp ecx, eax
setne al
movzx eax, al
push eax
call edx
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], vtable.._AV___Impl_no_alloc0_U___Callable_obj_V_lambda4___A0x23bf625c___0A__tr1_std__X_tr1_std__.0
mov dword [esp + 0x30], esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x58], 2
mov ecx, dword [0x4d34cc]
push ecx
call edi
lea edx, [esp + 0x2c]
mov ecx, eax
call fcn.00402880
mov dword [esp + 0x58], ebx
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x44e041
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x2c]
cmp ecx, eax
setne al
movzx eax, al
push eax
call edx
mov al, 1
jmp 0x44e056
mov dword [esi + 0xac], 0
call fcn.004481f0
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.0046d96b
mov esp, ebp
pop ebp
ret 8
Function at 0x450870
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48e348
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4c81d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [esi + 0xc0], bl
je 0x450918
lea eax, [ebp - 0x28]
mov byte [esi + 0xc0], bl
mov dword [ebp - 0x28], vtable.._AV___Impl_no_alloc0_U___Callable_obj_V_lambda0___A0x19338f94___0A__tr1_std__X_tr1_std__.0
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
mov ecx, dword [0x4d34cc]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [ebp - 0x28]
mov ecx, eax
call fcn.00402880
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x4508fc
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [ebp - 0x28]
cmp ecx, eax
setne al
movzx eax, al
push eax
call edx
mov dword [ebp - 0x18], 0
xor eax, eax
test bl, bl
setne al
cmp dword [esi + 0xac], eax
je 0x450918
mov ecx, esi
mov dword [esi + 0xac], eax
call fcn.004481f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046d96b
mov esp, ebp
pop ebp
ret
Function at 0x452590
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48db08
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4c81d0]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x4c81d0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x24], 0
fld dword [esi + 0x3c]
jne 0x45266a
fadd qword [0x4b1da8]
mov byte [esi + 0x26], 0
fstp dword [esp + 8]
fld dword [esp + 8]
fst dword [esi + 0x3c]
fld dword [esi + 0x30]
fcompp
fnstsw ax
test ah, 5
jp 0x4525ff
fld dword [esi + 0x30]
mov byte [esi + 0x26], 1
fstp dword [esi + 0x3c]
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
call edx
cmp byte [esi + 0x26], 0
je 0x4526c9
lea eax, [esp + 0xc]
mov dword [esp + 0xc], vtable.._AV___Impl_no_alloc0_U___Callable_obj_V_lambda0___A0xe1d60f14___0A__tr1_std__X_tr1_std__.0
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], 0
mov ecx, dword [0x4d34cc]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [esp + 0xc]
mov ecx, eax
call fcn.00402880
mov dword [esp + 0x38], 0xffffffff
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x4526c9
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0xc]
cmp ecx, eax
setne al
movzx eax, al
push eax
call edx
jmp 0x4526c9
cmp byte [esi + 0x25], 0
jne 0x452699
fadd qword [0x4b1da8]
fstp dword [esp + 8]
fld dword [esp + 8]
fst dword [esi + 0x3c]
fld dword [esi + 0x30]
fcompp
fnstsw ax
test ah, 5
jp 0x4526c2
fld dword [esi + 0x30]
mov byte [esi + 0x25], 1
fstp dword [esi + 0x3c]
jmp 0x4526c2
fsub qword [0x4b1da8]
fstp dword [esp + 8]
fld dword [esp + 8]
fst dword [esi + 0x3c]
fldz
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x4526c0
fstp dword [esi + 0x3c]
mov byte [esi + 0x25], 0
jmp 0x4526c2
fstp st(0)
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
call edx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0046d96b
mov esp, ebp
pop ebp
ret
Function at 0x452760
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4965a8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4c81d0]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
push edi
mov eax, dword [0x4c81d0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x38]
fld dword [ecx + eax*4]
mov edi, dword [esi + 0xc]
fstp dword [esp + 0x10]
push ecx
fld dword [esp + 0x14]
fstp dword [esp]
call fcn.00452f10
cmp byte [esi + 0x24], 0
jne 0x452832
mov ecx, 1
add dword [esi + 0x38], ecx
mov edx, dword [esi + 0x2c]
sub edx, dword [esi + 0x28]
sar edx, 2
cmp dword [esi + 0x38], edx
jb 0x452866
lea eax, [esp + 0x14]
mov byte [esi + 0x26], cl
mov dword [esp + 0x14], vtable.._AV___Impl_no_alloc0_U___Callable_obj_V_lambda1___A0xe1d60f14___0A__tr1_std__X_tr1_std__.0
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x40], 0
mov ecx, dword [0x4d34cc]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [esp + 0x14]
mov ecx, eax
call fcn.00402880
mov dword [esp + 0x40], 0xffffffff
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x452866
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x14]
cmp ecx, eax
setne al
movzx eax, al
push eax
call edx
jmp 0x452866
cmp byte [esi + 0x25], 0
jne 0x452856
mov ecx, 1
add dword [esi + 0x38], ecx
mov edx, dword [esi + 0x2c]
sub edx, dword [esi + 0x28]
mov eax, dword [esi + 0x38]
sar edx, 2
cmp eax, edx
jb 0x452866
dec eax
mov byte [esi + 0x25], cl
jmp 0x452863
dec dword [esi + 0x38]
mov eax, dword [esi + 0x38]
jns 0x452866
inc eax
mov byte [esi + 0x25], 0
mov dword [esi + 0x38], eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0046d96b
mov esp, ebp
pop ebp
ret
Function at 0x4528a0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48e46b
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x4c81d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [esi], vtable.CFpAnimationManager.0
mov dword [esi + 8], ebx
mov dword [ebp - 4], ebx
push 0x18
mov dword [esi + 0x30], ebx
call fcn.0046dc84
add esp, 4
cmp eax, ebx
je 0x452942
mov dword [esi + 0x2c], eax
mov dword [eax], eax
mov eax, dword [esi + 0x2c]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x2c]
mov dword [eax + 8], eax
mov ecx, dword [esi + 0x2c]
mov al, 1
mov byte [ecx + 0x14], al
mov edx, dword [esi + 0x2c]
mov byte [edx + 0x15], al
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov word [esi + 0x6c], 0x101
mov byte [esi + 0x6e], bl
mov dword [esi + 0x38], vtable.RepeatingTimer_class_CFpAnimation_.0
mov byte [esi + 0x70], bl
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
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.0046e25f
push 0x4b96ec
lea ecx, [ebp - 0x1c]
push ecx
mov dword [ebp - 0x1c], vtable.std::bad_alloc.0
call fcn.00471380
int3
Function at 0x454db0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48da38
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4c81d0]
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 ebx, ecx
xor edi, edi
xor eax, eax
cmp dword [ebx + 0x44], edi
je 0x454df5
movzx eax, word [ebx + 0x44]
mov ecx, dword [ebx + 0x24]
push eax
push ecx
call dword [sym.imp.USER32.dll_LoadIconW]
mov edx, dword [ebx + 0x24]
xor ecx, ecx
push 0x7f00
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ecx
push edi
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x50], 0xb
mov dword [ebp - 0x4c], 0x454f40
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
cmp dword [ebx + 0x64], 8
lea esi, [ebx + 0x50]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edi
jb 0x454e54
mov eax, dword [esi]
mov dword [ebp - 0x2c], eax
jmp 0x454e57
mov dword [ebp - 0x2c], esi
lea ecx, [ebp - 0x50]
push ecx
call dword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
jne 0x454e6d
xor al, al
jmp 0x454f1c
lea eax, [ebx + 0x6c]
mov ecx, 8
cmp dword [eax + 0x14], ecx
jb 0x454e7c
mov eax, dword [eax]
cmp dword [esi + 0x14], ecx
jb 0x454e83
mov esi, dword [esi]
mov edx, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x28]
push ebx
push edx
mov edx, dword [ebx + 0x3c]
push edi
push ecx
mov ecx, dword [ebx + 0x38]
push edx
mov edx, dword [ebx + 0x34]
push ecx
mov ecx, dword [ebx + 0x30]
push edx
mov edx, dword [ebx + 0x4c]
push ecx
push edx
push eax
mov eax, dword [ebx + 0x48]
push esi
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebx + 0x2c], eax
cmp eax, edi
je 0x454f1a
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x454ed0
call fcn.00455090
mov ecx, dword [ebx + 0x2c]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
lea edx, [ebp - 0x28]
mov dword [ebp - 0x28], vtable.._AV___Impl_no_alloc0_U___Callable_obj_V_lambda0___A0xedc477dd___0A__tr1_std__X_tr1_std__.0
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], edi
mov eax, dword [0x4d34cc]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [ebp - 0x28]
mov ecx, eax
call fcn.00402880
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
cmp ecx, edi
je 0x454f1a
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [ebp - 0x28]
cmp ecx, eax
setne al
movzx eax, al
push eax
call edx
mov al, 1
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.0046d96b
mov esp, ebp
pop ebp
ret