joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45eef0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4abb38
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x4ed4e0]
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.0045fb70
mov esi, ebx
lea edi, [esp + 0xc]
mov dword [esp + 0x38], 0
call fcn.00456e50
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0xc]
test eax, eax
je 0x45ef79
test al, 1
jne 0x45ef79
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x45ef79
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 0x45ef90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4abb38
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x4ed4e0]
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.0045fbe0
mov esi, ebx
lea edi, [esp + 0xc]
mov dword [esp + 0x38], 0
call fcn.00456e50
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0xc]
test eax, eax
je 0x45f019
test al, 1
jne 0x45f019
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x45f019
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 0x4613a0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4ed4e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [esi]
push ebx
mov ebx, dword [eax + 4]
push edi
call fcn.0046ed60
mov edi, dword [esi]
cmp byte [edi + 0x1c], 0
je 0x46140b
push 0x114
lea ecx, [ebp - 0x118]
push 0
push ecx
call fcn.0048ac40
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 0x461405
mov ebx, dword [edi + 0xc]
call fcn.0046ed60
mov eax, dword [esi]
mov byte [eax + 0x1c], 0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00485532
mov esp, ebp
pop ebp
ret
Function at 0x461990
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b02b3
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push edi
mov eax, dword [0x4ed4e0]
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], 0x4c7e30
call fcn.00485841
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x4619ed
push eax
call fcn.004293d0
mov edi, eax
jmp 0x4619ef
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.00429f20
mov eax, dword [ebp - 0x10]
push edi
add eax, 8
push edi
push eax
call fcn.00401ce0
fldz
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x4c7d54
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 0x466d50
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aef68
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4ed4e0]
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 [0x4fec4c], al
jne 0x466d94
or dword [0x4fec4c], eax
call esi
mov dword [0x4fec48], eax
call esi
mov esi, eax
sub esi, dword [0x4fec48]
mov dword [0x4fec48], 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 0x4cd9b4
push eax
mov dword [ebp - 4], 0
call fcn.00407760
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 0x466e0f
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 0x467420
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b6c48
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4ed4e0]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x4ed4e0]
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.00468f00
test al, al
je 0x467533
cmp dword [esi + 0xac], 0
jne 0x467499
mov ecx, dword [esi + 0x14]
mov dword [esi + 0xac], 2
test ecx, ecx
jne 0x467494
mov edi, dword [esi + 0xc]
call fcn.0045c770
jmp 0x467499
call fcn.00461d80
push 0x14
lea edi, [ebp + 8]
lea ebx, [ebp + 0xc]
call fcn.00485841
xor edx, edx
add esp, 4
cmp eax, edx
je 0x46750a
mov dword [eax], vtable.._AV___Impl_no_alloc0_U___Callable_obj_V_lambda0___A0x3eb6831d___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 [0x4fe508]
push edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [esp + 0x24]
mov ecx, eax
call fcn.004025a0
mov dword [esp + 0x50], 0xffffffff
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x46755c
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 0x46755c
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], edx
call fcn.00485b28
push 0x4dc1b4
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], vtable.std::bad_alloc.0
call fcn.0048ab9d
cmp dword [esi + 0xac], 0
je 0x46755c
mov ecx, dword [esi + 0x14]
mov dword [esi + 0xac], 0
test ecx, ecx
jne 0x467557
mov edi, dword [esi + 0xc]
call fcn.0045c770
jmp 0x46755c
call fcn.00461d80
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.00485532
mov esp, ebp
pop ebp
ret 0xc
Function at 0x467580
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b6c18
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4ed4e0]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
push edi
mov eax, dword [0x4ed4e0]
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.00468f00
test al, al
je 0x467661
cmp dword [esi + 0xac], 1
je 0x4675f8
mov ecx, dword [esi + 0x14]
mov dword [esi + 0xac], 1
test ecx, ecx
jne 0x4675f3
mov edi, dword [esi + 0xc]
call fcn.0045c770
jmp 0x4675f8
call fcn.00461d80
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___A0x3eb6831d___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 [0x4fe508]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [esp + 0xc]
mov ecx, eax
call fcn.004025a0
mov dword [esp + 0x38], 0xffffffff
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x46765d
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 0x46768c
cmp dword [esi + 0xac], 0
je 0x46768a
mov ecx, dword [esi + 0x14]
mov dword [esi + 0xac], 0
test ecx, ecx
jne 0x467685
mov edi, dword [esi + 0xc]
call fcn.0045c770
jmp 0x46768a
call fcn.00461d80
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.00485532
mov esp, ebp
pop ebp
ret 8
Function at 0x4676b0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b6be8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4ed4e0]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x4ed4e0]
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 0x467871
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
push ecx
mov ecx, esi
call fcn.00468f00
mov ecx, dword [esi + 0x14]
test al, al
je 0x467854
mov dword [esi + 0xac], 2
test ecx, ecx
jne 0x46772c
mov edi, dword [esi + 0xc]
call fcn.0045c770
jmp 0x467731
call fcn.00461d80
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___A0x3eb6831d___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 [0x4fe508]
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call edi
lea edx, [esp + 0x14]
mov ecx, eax
call fcn.004025a0
mov dword [esp + 0x58], 0xffffffff
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x467798
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 0x467850
lea eax, [esp + 0x14]
mov byte [esi + 0xc0], 1
mov dword [esp + 0x14], vtable.._AV___Impl_no_alloc0_U___Callable_obj_V_lambda3___A0x3eb6831d___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 [0x4fe508]
push ecx
mov ebx, 0x1f4
call edi
push ebx
push eax
lea ecx, [esp + 0x1c]
call fcn.00402660
or ebx, 0xffffffff
mov dword [esp + 0x58], ebx
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x467800
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___A0x3eb6831d___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 [0x4fe508]
push ecx
call edi
lea edx, [esp + 0x2c]
mov ecx, eax
call fcn.004025a0
mov dword [esp + 0x58], ebx
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x467850
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 0x467873
mov dword [esi + 0xac], 0
test ecx, ecx
jne 0x46786c
mov edi, dword [esi + 0xc]
call fcn.0045c770
jmp 0x467871
call fcn.00461d80
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.00485532
mov esp, ebp
pop ebp
ret 8
Function at 0x46a840
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ab968
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4ed4e0]
xor eax, esp
mov dword [esp + 0x20], eax
push edi
mov eax, dword [0x4ed4e0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
cmp byte [esi + 0xc0], bl
je 0x46a90c
lea eax, [esp + 0xc]
mov byte [esi + 0xc0], bl
mov dword [esp + 0xc], vtable.._AV___Impl_no_alloc0_U___Callable_obj_V_lambda0___A0x275c3e37___0A__tr1_std__X_tr1_std__.0
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], eax
xor edi, edi
mov dword [esp + 0x38], edi
mov ecx, dword [0x4fe508]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [esp + 0xc]
mov ecx, eax
call fcn.004025a0
mov dword [esp + 0x38], 0xffffffff
mov ecx, dword [esp + 0x1c]
cmp ecx, edi
je 0x46a8e1
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 dword [esp + 0x1c], edi
xor eax, eax
test bl, bl
setne al
cmp dword [esi + 0xac], eax
je 0x46a90c
mov ecx, dword [esi + 0x14]
mov dword [esi + 0xac], eax
cmp ecx, edi
jne 0x46a907
mov edi, dword [esi + 0xc]
call fcn.0045c770
jmp 0x46a90c
call fcn.00461d80
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00485532
mov esp, ebp
pop ebp
ret
Function at 0x46c960
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ab968
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4ed4e0]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x4ed4e0]
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 0x46ca3a
fadd qword [0x4d30f0]
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 0x46c9cf
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 0x46ca99
lea eax, [esp + 0xc]
mov dword [esp + 0xc], vtable.._AV___Impl_no_alloc0_U___Callable_obj_V_lambda0___A0xae3792f7___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 [0x4fe508]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [esp + 0xc]
mov ecx, eax
call fcn.004025a0
mov dword [esp + 0x38], 0xffffffff
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x46ca99
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 0x46ca99
cmp byte [esi + 0x25], 0
jne 0x46ca69
fadd qword [0x4d30f0]
fstp dword [esp + 8]
fld dword [esp + 8]
fst dword [esi + 0x3c]
fld dword [esi + 0x30]
fcompp
fnstsw ax
test ah, 5
jp 0x46ca92
fld dword [esi + 0x30]
mov byte [esi + 0x25], 1
fstp dword [esi + 0x3c]
jmp 0x46ca92
fsub qword [0x4d30f0]
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 0x46ca90
fstp dword [esi + 0x3c]
mov byte [esi + 0x25], 0
jmp 0x46ca92
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.00485532
mov esp, ebp
pop ebp
ret
Function at 0x46cb20
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b61b8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4ed4e0]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
push edi
mov eax, dword [0x4ed4e0]
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.0046d340
cmp byte [esi + 0x24], 0
jne 0x46cbf2
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 0x46cc26
lea eax, [esp + 0x14]
mov byte [esi + 0x26], cl
mov dword [esp + 0x14], vtable.._AV___Impl_no_alloc0_U___Callable_obj_V_lambda1___A0xae3792f7___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 [0x4fe508]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [esp + 0x14]
mov ecx, eax
call fcn.004025a0
mov dword [esp + 0x40], 0xffffffff
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x46cc26
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 0x46cc26
cmp byte [esi + 0x25], 0
jne 0x46cc16
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 0x46cc26
dec eax
mov byte [esi + 0x25], cl
jmp 0x46cc23
dec dword [esi + 0x38]
mov eax, dword [esi + 0x38]
jns 0x46cc26
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.00485532
mov esp, ebp
pop ebp
ret
Function at 0x46cc70
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ac53b
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x4ed4e0]
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.00485841
add esp, 4
cmp eax, ebx
je 0x46cd12
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.00485b28
push 0x4dc1b4
lea ecx, [ebp - 0x1c]
push ecx
mov dword [ebp - 0x1c], vtable.std::bad_alloc.0
call fcn.0048ab9d
int3
Function at 0x46eab0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ab898
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4ed4e0]
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 0x46eaf5
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], 0x46ec40
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 0x46eb54
mov eax, dword [esi]
mov dword [ebp - 0x2c], eax
jmp 0x46eb57
mov dword [ebp - 0x2c], esi
lea ecx, [ebp - 0x50]
push ecx
call dword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
jne 0x46eb6d
xor al, al
jmp 0x46ec1c
lea eax, [ebx + 0x6c]
mov ecx, 8
cmp dword [eax + 0x14], ecx
jb 0x46eb7c
mov eax, dword [eax]
cmp dword [esi + 0x14], ecx
jb 0x46eb83
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 0x46ec1a
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46ebd0
call fcn.0046ed60
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___A0x7dc32c04___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 [0x4fe508]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [ebp - 0x28]
mov ecx, eax
call fcn.004025a0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
cmp ecx, edi
je 0x46ec1a
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.00485532
mov esp, ebp
pop ebp
ret