joyce8/EMBER2024-capa huggingface dataset:
Function at 0x440a30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x496088
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4ce4e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [edi + 0x44], 0
je 0x440b38
cmp byte [edi + 0x49], 0
je 0x440b38
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, edi
call edx
cmp eax, 0xffffffff
je 0x440b2c
lea esi, [ebp - 0x2c]
call fcn.00440610
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
mov edx, eax
cmp ebx, 0x10
jae 0x440aa3
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
push edx
push eax
lea eax, [edi + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x440acc
dec eax
je 0x440ad0
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x440b27
jmp 0x440b33
mov byte [edi + 0x49], 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x440ae0
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x440b09
cmp ebx, 0x10
jae 0x440aef
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.00477db5
add esp, 0x10
cmp esi, eax
jne 0x440b24
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x440b30
test esi, esi
jne 0x440a97
push esi
lea ebx, [esi + 8]
lea esi, [ebp - 0x2c]
call fcn.00438cd0
jmp 0x440a91
lea ecx, [ebp - 0x2c]
call fcn.00405f90
xor al, al
jmp 0x440b3a
lea ecx, [ebp - 0x2c]
call fcn.00405f90
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004739b2
mov esp, ebp
pop ebp
ret
Function at 0x440df0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x496088
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4ce4e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [edi + 0x44], 0
je 0x440f03
cmp byte [edi + 0x4a], 0
je 0x440f03
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffff
mov ecx, edi
call edx
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
je 0x440ef7
lea esi, [ebp - 0x2c]
call fcn.00440610
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
mov edx, eax
cmp ebx, 0x10
jae 0x440e6e
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
push edx
mov edx, dword [esi + 0x18]
push eax
lea eax, [edi + 0x4c]
push eax
call edx
sub eax, 0
je 0x440e97
dec eax
je 0x440e9b
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x440ef2
jmp 0x440efe
mov byte [edi + 0x4a], 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x440eab
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x440ed4
cmp ebx, 0x10
jae 0x440eba
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.00477db5
add esp, 0x10
cmp esi, eax
jne 0x440eef
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x4a], 0
je 0x440efb
test esi, esi
jne 0x440e62
push esi
lea ebx, [esi + 8]
lea esi, [ebp - 0x2c]
call fcn.00438cd0
jmp 0x440e5c
lea ecx, [ebp - 0x2c]
call fcn.00405f90
xor al, al
jmp 0x440f05
lea ecx, [ebp - 0x2c]
call fcn.00405f90
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004739b2
mov esp, ebp
pop ebp
ret

Function at 0x442300
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [0x4ce4e0]
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 0x442350
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x442350
push ecx
sub eax, esi
lea ecx, [esp + 0x14]
call fcn.004423c0
add esp, 4
lea esi, [esp + 0x10]
lea ebx, [edi + 5]
call fcn.00442480
xor esi, esi
xor ebx, ebx
jmp 0x442380
movzx eax, byte [edi + ebx + 5]
push eax
mov ecx, 0x21
push 0x4b1300
sub ecx, esi
mov edx, edi
push ecx
lea eax, [edx + esi + 0x15]
push eax
call fcn.00476efe
inc ebx
add esp, 0x10
add esi, 2
cmp ebx, 0x10
jl 0x442380
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov al, 1
call fcn.004739b2
mov esp, ebp
pop ebp
ret
Function at 0x442c40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x497a92
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x4ce4e0]
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.00478ba0
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x442d05
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x442ce7
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
mov ecx, ebx
call fcn.00401aa0
push 0xb
push str.CrashReport
call fcn.0040be20
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.004739b2
mov esp, ebp
pop ebp
ret
Function at 0x445990
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
je 0x4459df
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.0047499c
add esp, 8
test eax, eax
jne 0x4459d0
mov eax, dword [esi]
mov eax, dword [eax + 0x28]
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 0x4459a3
pop edi
pop esi
mov al, byte [ebp + 0x10]
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4944e8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x4ce4e0]
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.0044e850
mov esi, ebx
lea edi, [esp + 0xc]
mov dword [esp + 0x38], 0
call fcn.0045b030
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0xc]
test eax, eax
je 0x44d9e9
test al, 1
jne 0x44d9e9
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x44d9e9
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 0x44dac0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4944e8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x4ce4e0]
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.0044e8c0
mov esi, ebx
lea edi, [esp + 0xc]
mov dword [esp + 0x38], 0
call fcn.0045b030
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0xc]
test eax, eax
je 0x44db49
test al, 1
jne 0x44db49
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x44db49
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 0x44dce0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4944e8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x4ce4e0]
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.0044e930
mov esi, ebx
lea edi, [esp + 0xc]
mov dword [esp + 0x38], 0
call fcn.0045b030
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0xc]
test eax, eax
je 0x44dd69
test al, 1
jne 0x44dd69
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x44dd69
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 0x44dd80
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4944e8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x4ce4e0]
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.0044e9a0
mov esi, ebx
lea edi, [esp + 0xc]
mov dword [esp + 0x38], 0
call fcn.0045b030
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0xc]
test eax, eax
je 0x44de09
test al, 1
jne 0x44de09
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x44de09
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 0x450400
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4ce4e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [esi]
push ebx
mov ebx, dword [eax + 4]
push edi
call fcn.0045d870
mov edi, dword [esi]
cmp byte [edi + 0x1c], 0
je 0x45046b
push 0x114
lea ecx, [ebp - 0x118]
push 0
push ecx
call fcn.00478ba0
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 0x450465
mov ebx, dword [edi + 0xc]
call fcn.0045d870
mov eax, dword [esi]
mov byte [eax + 0x1c], 0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.004739b2
mov esp, ebp
pop ebp
ret
Function at 0x450a00
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x497953
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push edi
mov eax, dword [0x4ce4e0]
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], 0x4ad204
call fcn.00473cad
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x450a5d
push eax
call fcn.0041ad50
mov edi, eax
jmp 0x450a5f
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.0041b910
mov eax, dword [ebp - 0x10]
push edi
add eax, 8
push edi
push eax
call fcn.004659d0
fldz
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x4ad128
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 0x4559d0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4965f8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4ce4e0]
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 [0x4d9870], al
jne 0x455a14
or dword [0x4d9870], eax
call esi
mov dword [0x4d986c], eax
call esi
mov esi, eax
sub esi, dword [0x4d986c]
mov dword [0x4d986c], 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 0x4b1dc4
push eax
mov dword [ebp - 4], 0
call fcn.0040c2b0
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 0x455a8f
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 0x4560a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49d458
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4ce4e0]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x4ce4e0]
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.00457c40
test al, al
je 0x4561b3
cmp dword [esi + 0xac], 0
jne 0x456119
mov ecx, dword [esi + 0x14]
mov dword [esi + 0xac], 2
test ecx, ecx
jne 0x456114
mov edi, dword [esi + 0xc]
call fcn.0044b200
jmp 0x456119
call fcn.00450df0
push 0x14
lea edi, [ebp + 8]
lea ebx, [ebp + 0xc]
call fcn.00473cad
xor edx, edx
add esp, 4
cmp eax, edx
je 0x45618a
mov dword [eax], vtable.._AV___Impl_no_alloc0_U___Callable_obj_V_lambda0___A0x7ac6e31b___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 [0x4d91bc]
push edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [esp + 0x24]
mov ecx, eax
call fcn.00402570
mov dword [esp + 0x50], 0xffffffff
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x4561dc
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 0x4561dc
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], edx
call fcn.00473f94
push 0x4bf53c
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], vtable.std::bad_alloc.0
call fcn.00478afe
cmp dword [esi + 0xac], 0
je 0x4561dc
mov ecx, dword [esi + 0x14]
mov dword [esi + 0xac], 0
test ecx, ecx
jne 0x4561d7
mov edi, dword [esi + 0xc]
call fcn.0044b200
jmp 0x4561dc
call fcn.00450df0
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.004739b2
mov esp, ebp
pop ebp
ret 0xc
Function at 0x456200
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49d428
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4ce4e0]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
push edi
mov eax, dword [0x4ce4e0]
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.00457c40
test al, al
je 0x4562e1
cmp dword [esi + 0xac], 1
je 0x456278
mov ecx, dword [esi + 0x14]
mov dword [esi + 0xac], 1
test ecx, ecx
jne 0x456273
mov edi, dword [esi + 0xc]
call fcn.0044b200
jmp 0x456278
call fcn.00450df0
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___A0x7ac6e31b___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 [0x4d91bc]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [esp + 0xc]
mov ecx, eax
call fcn.00402570
mov dword [esp + 0x38], 0xffffffff
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x4562dd
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 0x45630c
cmp dword [esi + 0xac], 0
je 0x45630a
mov ecx, dword [esi + 0x14]
mov dword [esi + 0xac], 0
test ecx, ecx
jne 0x456305
mov edi, dword [esi + 0xc]
call fcn.0044b200
jmp 0x45630a
call fcn.00450df0
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.004739b2
mov esp, ebp
pop ebp
ret 8
Function at 0x456330
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49d3f8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4ce4e0]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x4ce4e0]
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 0x4564f1
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
push ecx
mov ecx, esi
call fcn.00457c40
mov ecx, dword [esi + 0x14]
test al, al
je 0x4564d4
mov dword [esi + 0xac], 2
test ecx, ecx
jne 0x4563ac
mov edi, dword [esi + 0xc]
call fcn.0044b200
jmp 0x4563b1
call fcn.00450df0
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___A0x7ac6e31b___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 [0x4d91bc]
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call edi
lea edx, [esp + 0x14]
mov ecx, eax
call fcn.00402570
mov dword [esp + 0x58], 0xffffffff
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x456418
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 0x4564d0
lea eax, [esp + 0x14]
mov byte [esi + 0xc0], 1
mov dword [esp + 0x14], vtable.._AV___Impl_no_alloc0_U___Callable_obj_V_lambda3___A0x7ac6e31b___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 [0x4d91bc]
push ecx
mov ebx, 0x1f4
call edi
push ebx
push eax
lea ecx, [esp + 0x1c]
call fcn.00402630
or ebx, 0xffffffff
mov dword [esp + 0x58], ebx
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x456480
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___A0x7ac6e31b___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 [0x4d91bc]
push ecx
call edi
lea edx, [esp + 0x2c]
mov ecx, eax
call fcn.00402570
mov dword [esp + 0x58], ebx
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x4564d0
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 0x4564f3
mov dword [esi + 0xac], 0
test ecx, ecx
jne 0x4564ec
mov edi, dword [esi + 0xc]
call fcn.0044b200
jmp 0x4564f1
call fcn.00450df0
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.004739b2
mov esp, ebp
pop ebp
ret 8
Function at 0x4596b0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x494548
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4ce4e0]
xor eax, esp
mov dword [esp + 0x20], eax
push edi
mov eax, dword [0x4ce4e0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
cmp byte [esi + 0xc0], bl
je 0x45977c
lea eax, [esp + 0xc]
mov byte [esi + 0xc0], bl
mov dword [esp + 0xc], vtable.._AV___Impl_no_alloc0_U___Callable_obj_V_lambda0___A0x3cb4bc99___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 [0x4d91bc]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [esp + 0xc]
mov ecx, eax
call fcn.00402570
mov dword [esp + 0x38], 0xffffffff
mov ecx, dword [esp + 0x1c]
cmp ecx, edi
je 0x459751
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 0x45977c
mov ecx, dword [esi + 0x14]
mov dword [esi + 0xac], eax
cmp ecx, edi
jne 0x459777
mov edi, dword [esi + 0xc]
call fcn.0044b200
jmp 0x45977c
call fcn.00450df0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004739b2
mov esp, ebp
pop ebp
ret