joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43dce0
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4c31d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push esi
push edi
mov dword [ebp - 0x214], esi
mov byte [ebp - 0x20d], 0
call fcn.0043dee0
test al, al
je 0x43dd16
mov byte [ebp - 0x20d], 1
push esi
push edi
xor bl, bl
call fcn.0043e2c0
test al, al
je 0x43dd25
mov bl, 1
push edi
mov ecx, esi
call fcn.0043e020
test al, al
jne 0x43dd35
test bl, bl
je 0x43dd39
mov bl, 1
jmp 0x43dd3f
mov bl, byte [ebp - 0x20d]
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.00470590
add esp, 0xc
push 0
push 0x1c
lea edx, [ebp - 0x20c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edx, 0x104
lea eax, [ebp - 0x20c]
jmp 0x43dd80
cmp word [eax], 0
je 0x43dd8e
add eax, 2
dec edx
jne 0x43dd80
jmp 0x43ddb1
test edx, edx
je 0x43ddb1
mov ecx, 0x104
sub ecx, edx
mov eax, 0x104
sub eax, ecx
lea ecx, [ebp + ecx*2 - 0x20c]
mov edx, 0x4ab334
call fcn.0043dad0
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edx, 0x104
lea eax, [ebp - 0x20c]
jmp 0x43ddd0
cmp word [eax], 0
je 0x43ddde
add eax, 2
dec edx
jne 0x43ddd0
jmp 0x43de01
test edx, edx
je 0x43de01
mov ecx, 0x104
sub ecx, edx
mov eax, 0x104
sub eax, ecx
lea ecx, [ebp + ecx*2 - 0x20c]
mov edx, str.Giraffe.ini
call fcn.0043dad0
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x20c]
push ecx
push 0x4a3f10
push str.look
push str.Giraffe
call esi
mov eax, dword [ebp - 0x214]
mov ecx, dword [eax]
lea edx, [ebp - 0x20c]
push edx
push ecx
push 0x4ab380
push str.Giraffe
call esi
mov eax, dword [edi + 0x10]
cmp dword [eax - 0xc], 0
jne 0x43de52
lea edx, [ebp - 0x20c]
push edx
push str.NONE
jmp 0x43de7d
push str.about:blank
push eax
call fcn.0046da8c
add esp, 8
test eax, eax
jne 0x43de72
lea eax, [ebp - 0x20c]
push eax
push 0x4a39e4
jmp 0x43de7d
mov edx, dword [edi + 0x10]
lea ecx, [ebp - 0x20c]
push ecx
push edx
push 0x4ab394
push str.Giraffe
call esi
mov eax, 0x4a3f10
test bl, bl
jne 0x43de97
mov eax, 0x4a4748
lea ecx, [ebp - 0x20c]
push ecx
push eax
push 0x4ab3b4
push str.Giraffe
call esi
lea edx, [ebp - 0x20c]
push edx
push 0x4a39e4
push 0x4ab3bc
push str.Giraffe
call esi
mov ecx, dword [ebp - 4]
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0046ca85
mov esp, ebp
pop ebp
ret
Function at 0x43ed00
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [0x4c31d0]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x38]
xor ebx, ebx
mov eax, ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x10], 0x67452301
mov dword [esp + 0x14], 0xefcdab89
mov dword [esp + 0x18], 0x98badcfe
mov dword [esp + 0x1c], 0x10325476
lea esi, [eax + 1]
jmp 0x43ed50
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x43ed50
push ecx
sub eax, esi
lea ecx, [esp + 0x14]
call fcn.0043edc0
add esp, 4
lea esi, [esp + 0x10]
lea ebx, [edi + 5]
call fcn.0043ee80
xor esi, esi
xor ebx, ebx
jmp 0x43ed80
movzx eax, byte [edi + ebx + 5]
push eax
mov ecx, 0x21
push str._02x
sub ecx, esi
mov edx, edi
push ecx
lea eax, [edx + esi + 0x15]
push eax
call fcn.0047004b
inc ebx
add esp, 0x10
add esi, 2
cmp ebx, 0x10
jl 0x43ed80
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov al, 1
call fcn.0046ca85
mov esp, ebp
pop ebp
ret

Function at 0x43f640
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48f3f2
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x4c31d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x21c], 0
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ebx, ecx
mov ecx, section..data
mov dword [ebp - 0x220], ebx
call edx
add eax, 0x10
mov dword [ebx], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x216]
mov dword [ebp - 4], 0
push ecx
mov dword [ebp - 0x21c], 1
mov word [ebp - 0x218], ax
call fcn.00470590
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x43f705
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43f6e7
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
mov ecx, ebx
call fcn.00401b40
push 5
push str.tools
call fcn.0040d330
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046ca85
mov esp, ebp
pop ebp
ret
Function at 0x445b60
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48caa8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x4c31d0]
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.004468c0
mov esi, ebx
lea edi, [esp + 0xc]
mov dword [esp + 0x38], 0
call fcn.00457bb0
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0xc]
test eax, eax
je 0x445be9
test al, 1
jne 0x445be9
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x445be9
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 0x4484b0
Capabilities:
Get thread local storage value

Disassembly:
mov ecx, dword [esi + 0xc]
push ebx
cmp dword [esi + 0x14], ecx
jne 0x4484d3
call fcn.00456140
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.00456140
mov ecx, dword [esi + 4]
call fcn.00456140
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.00456140
mov al, bl
pop ebx
ret
Function at 0x4497f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x494f12
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4c31d0]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push edi
mov eax, dword [0x4c31d0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ecx, dword [esi]
add ecx, 0xe8
call fcn.00487f30
mov edi, dword [esi]
call fcn.00420840
mov eax, dword [esi]
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], vtable.._AV___Impl_no_alloc0_U___Callable_obj_V_lambda2___A0xe488c774___0A__tr1_std__X_tr1_std__.0
mov dword [esp + 0x1c], eax
xor ebx, ebx
mov dword [esp + 0x38], ebx
mov ecx, dword [0x4cb608]
mov edx, eax
call fcn.00402620
or edi, 0xffffffff
mov dword [esp + 0x38], edi
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x44988a
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], ebx
mov ebx, dword [esi]
call fcn.00420980
mov ebx, 1
test byte [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], bl
jne 0x4498be
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], ebx
mov dword [esp + 0x38], ebx
call fcn.00421f60
push 0x49a730
call fcn.0046cd48
add esp, 4
mov dword [esp + 0x38], edi
test byte [0x4cdf70], bl
jne 0x4498ea
or dword [0x4cdf70], ebx
mov dword [esp + 0x38], 2
call fcn.00425850
push 0x49ac70
call fcn.0046cd48
add esp, 4
mov dword [esp + 0x38], edi
mov ecx, sym.Install.exe__t__1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_4V__singleton_wrapp
call fcn.004242d0
cmp dword [0x4cdf40], 0
jne 0x449902
mov dword [0x4cdf40], eax
test byte [0x4cdf70], bl
jne 0x44992e
or dword [0x4cdf70], ebx
mov dword [esp + 0x38], 3
call fcn.00425850
push 0x49ac70
call fcn.0046cd48
add esp, 4
mov dword [esp + 0x38], edi
mov ecx, 0x4cdf1c
call fcn.0046b480
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0046ca85
mov esp, ebp
pop ebp
ret

Function at 0x44a160
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48f998
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4c31d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401c40
mov dword [ebp - 4], 0
mov ecx, dword [esi + 0x24]
mov edx, dword [ecx]
mov edx, dword [edx + 0x20]
push eax
xor eax, eax
cmp dword [esi + 0xf8], 1
sete al
push eax
call edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44a1da
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
Function at 0x44a330
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
je 0x44a39a
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.0046da8c
add esp, 8
test eax, eax
jne 0x44a38b
mov esi, dword [esi]
mov eax, dword [esi + 0x30]
push 1
push 0
push eax
push eax
push str.open
push 0
call edi
cmp eax, 0x20
ja 0x44a38b
mov ecx, dword [esi + 0x30]
push 1
push 0
push ecx
push str.IEXPLORE.EXE
push str.open
push 0
call edi
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebp + 8], eax
cmp eax, dword [ebp + 0xc]
jne 0x44a343
pop edi
pop esi
mov al, byte [ebp + 0x10]
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4921f3
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push edi
mov eax, dword [0x4c31d0]
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], 0x4a6cc0
call fcn.0046cd9e
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x44ac7d
push eax
call fcn.00420cc0
mov edi, eax
jmp 0x44ac7f
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.00421590
mov eax, dword [ebp - 0x10]
push edi
add eax, 8
push edi
push eax
call fcn.004304a0
fldz
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x4a6c10
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 0x44dfc0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4957c8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4c31d0]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x4c31d0]
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.0044b040
test al, al
je 0x44e0e4
mov eax, dword [esi + 0xc8]
test eax, eax
je 0x44e021
push eax
call dword [sym.imp.USER32.dll_SetCursor]
cmp dword [esi + 0xb0], 0
jne 0x44e04a
mov ecx, dword [esi + 0x14]
mov dword [esi + 0xb0], 2
test ecx, ecx
jne 0x44e045
mov edi, dword [esi + 0xc]
call fcn.00443100
jmp 0x44e04a
call fcn.0044b110
push 0x14
lea edi, [ebp + 8]
lea ebx, [ebp + 0xc]
call fcn.0046cd9e
xor edx, edx
add esp, 4
cmp eax, edx
je 0x44e0bb
mov dword [eax], vtable.._AV___Impl_no_alloc0_U___Callable_obj_V_lambda0___A0xfcf672e9___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 [0x4cd7cc]
push edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [esp + 0x24]
mov ecx, eax
call fcn.00402620
mov dword [esp + 0x50], 0xffffffff
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x44e10d
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 0x44e10d
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], edx
call fcn.0046d085
push 0x4b415c
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], vtable.std::bad_alloc.0
call fcn.00470480
cmp dword [esi + 0xb0], 0
je 0x44e10d
mov ecx, dword [esi + 0x14]
mov dword [esi + 0xb0], 0
test ecx, ecx
jne 0x44e108
mov edi, dword [esi + 0xc]
call fcn.00443100
jmp 0x44e10d
call fcn.0044b110
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.0046ca85
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44e130
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x495798
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4c31d0]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
push edi
mov eax, dword [0x4c31d0]
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.0044b040
test al, al
je 0x44e211
cmp dword [esi + 0xb0], 1
je 0x44e1a8
mov ecx, dword [esi + 0x14]
mov dword [esi + 0xb0], 1
test ecx, ecx
jne 0x44e1a3
mov edi, dword [esi + 0xc]
call fcn.00443100
jmp 0x44e1a8
call fcn.0044b110
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___A0xfcf672e9___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 [0x4cd7cc]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [esp + 0xc]
mov ecx, eax
call fcn.00402620
mov dword [esp + 0x38], 0xffffffff
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x44e20d
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 0x44e23c
cmp dword [esi + 0xb0], 0
je 0x44e23a
mov ecx, dword [esi + 0x14]
mov dword [esi + 0xb0], 0
test ecx, ecx
jne 0x44e235
mov edi, dword [esi + 0xc]
call fcn.00443100
jmp 0x44e23a
call fcn.0044b110
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.0046ca85
mov esp, ebp
pop ebp
ret 8
Function at 0x44e260
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x495768
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4c31d0]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x4c31d0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, 1
cmp dword [esi + 0xb0], ebx
jne 0x44e421
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
push ecx
mov ecx, esi
call fcn.0044b040
mov ecx, dword [esi + 0x14]
test al, al
je 0x44e404
mov dword [esi + 0xb0], 2
test ecx, ecx
jne 0x44e2dc
mov edi, dword [esi + 0xc]
call fcn.00443100
jmp 0x44e2e1
call fcn.0044b110
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___A0xfcf672e9___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 [0x4cd7cc]
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call edi
lea edx, [esp + 0x14]
mov ecx, eax
call fcn.00402620
mov dword [esp + 0x58], 0xffffffff
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x44e348
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 + 0xc4], 0
jne 0x44e400
lea eax, [esp + 0x14]
mov byte [esi + 0xc4], 1
mov dword [esp + 0x14], vtable.._AV___Impl_no_alloc0_U___Callable_obj_V_lambda3___A0xfcf672e9___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 [0x4cd7cc]
push ecx
mov ebx, 0x1f4
call edi
push ebx
push eax
lea ecx, [esp + 0x1c]
call fcn.004026e0
or ebx, 0xffffffff
mov dword [esp + 0x58], ebx
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x44e3b0
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___A0xfcf672e9___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 [0x4cd7cc]
push ecx
call edi
lea edx, [esp + 0x2c]
mov ecx, eax
call fcn.00402620
mov dword [esp + 0x58], ebx
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x44e400
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 0x44e423
mov dword [esi + 0xb0], 0
test ecx, ecx
jne 0x44e41c
mov edi, dword [esi + 0xc]
call fcn.00443100
jmp 0x44e421
call fcn.0044b110
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.0046ca85
mov esp, ebp
pop ebp
ret 8
Function at 0x451200
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48d0a8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4c31d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [esi + 0xc4], bl
je 0x451296
lea eax, [ebp - 0x28]
mov byte [esi + 0xc4], bl
mov dword [ebp - 0x28], vtable.._AV___Impl_no_alloc0_U___Callable_obj_V_lambda0___A0x9d361a44___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 [0x4cd7cc]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [ebp - 0x28]
mov ecx, eax
call fcn.00402620
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x451285
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
xor eax, eax
test bl, bl
setne al
lea eax, [eax + eax + 1]
mov dword [esi + 0xc8], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046ca85
mov esp, ebp
pop ebp
ret
Function at 0x451d50
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48cad8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4c31d0]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x4c31d0]
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 0x451e2a
fadd qword [0x4ace48]
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, 0x41
jp 0x451dbf
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 0x451e89
lea eax, [esp + 0xc]
mov dword [esp + 0xc], vtable.._AV___Impl_no_alloc0_U___Callable_obj_V_lambda0___A0x6781d855___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 [0x4cd7cc]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [esp + 0xc]
mov ecx, eax
call fcn.00402620
mov dword [esp + 0x38], 0xffffffff
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x451e89
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 0x451e89
cmp byte [esi + 0x25], 0
jne 0x451e59
fadd qword [0x4ace48]
fstp dword [esp + 8]
fld dword [esp + 8]
fst dword [esi + 0x3c]
fld dword [esi + 0x30]
fcompp
fnstsw ax
test ah, 0x41
jp 0x451e82
fld dword [esi + 0x30]
mov byte [esi + 0x25], 1
fstp dword [esi + 0x3c]
jmp 0x451e82
fsub qword [0x4ace48]
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 0x451e80
fstp dword [esi + 0x3c]
mov byte [esi + 0x25], 0
jmp 0x451e82
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.0046ca85
mov esp, ebp
pop ebp
ret
Function at 0x451f10
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x495198
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4c31d0]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
push edi
mov eax, dword [0x4c31d0]
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.00452740
cmp byte [esi + 0x24], 0
jne 0x451fe2
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 0x452016
lea eax, [esp + 0x14]
mov byte [esi + 0x26], cl
mov dword [esp + 0x14], vtable.._AV___Impl_no_alloc0_U___Callable_obj_V_lambda1___A0x6781d855___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 [0x4cd7cc]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [esp + 0x14]
mov ecx, eax
call fcn.00402620
mov dword [esp + 0x40], 0xffffffff
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x452016
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 0x452016
cmp byte [esi + 0x25], 0
jne 0x452006
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 0x452016
dec eax
mov byte [esi + 0x25], cl
jmp 0x452013
dec dword [esi + 0x38]
mov eax, dword [esi + 0x38]
jns 0x452016
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.0046ca85
mov esp, ebp
pop ebp
ret