joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45f000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, ecx
mov ecx, dword [esp + 4]
movzx edx, byte [ecx]
mov byte [eax], dl
movzx edx, byte [ecx + 1]
mov byte [eax + 1], dl
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
fld dword [ecx + 0x10]
fstp dword [eax + 0x10]
fld dword [ecx + 0x14]
fstp dword [eax + 0x14]
fld dword [ecx + 0x18]
fstp dword [eax + 0x18]
fld dword [ecx + 0x1c]
fstp dword [eax + 0x1c]
fld dword [ecx + 0x20]
fstp dword [eax + 0x20]
fld dword [ecx + 0x24]
fstp dword [eax + 0x24]
fld dword [ecx + 0x28]
fstp dword [eax + 0x28]
fld dword [ecx + 0x2c]
fstp dword [eax + 0x2c]
fld dword [ecx + 0x30]
fstp dword [eax + 0x30]
fld dword [ecx + 0x34]
fstp dword [eax + 0x34]
fld dword [ecx + 0x38]
fstp dword [eax + 0x38]
fld dword [ecx + 0x3c]
fstp dword [eax + 0x3c]
fld dword [ecx + 0x40]
fstp dword [eax + 0x40]
fld dword [ecx + 0x44]
fstp dword [eax + 0x44]
fld dword [ecx + 0x48]
fstp dword [eax + 0x48]
fld dword [ecx + 0x4c]
fstp dword [eax + 0x4c]
fld dword [ecx + 0x50]
fstp dword [eax + 0x50]
fld dword [ecx + 0x54]
fstp dword [eax + 0x54]
fld dword [ecx + 0x58]
fstp dword [eax + 0x58]
fld dword [ecx + 0x5c]
fstp dword [eax + 0x5c]
fld dword [ecx + 0x60]
fstp dword [eax + 0x60]
fld dword [ecx + 0x64]
fstp dword [eax + 0x64]
fld dword [ecx + 0x68]
fstp dword [eax + 0x68]
fld dword [ecx + 0x6c]
fstp dword [eax + 0x6c]
fld dword [ecx + 0x70]
fstp dword [eax + 0x70]
fld dword [ecx + 0x74]
fstp dword [eax + 0x74]
fld dword [ecx + 0x78]
fstp dword [eax + 0x78]
fld dword [ecx + 0x7c]
fstp dword [eax + 0x7c]
ret 4
Function at 0x45f0d0
Capabilities:
Execute anti-debugging instructions
Get thread local storage value

Disassembly:
push ecx
mov eax, dword [0x4c6074]
push ebx
push ebp
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 0xc]
jae 0x45f10b
mov dword [ecx], str.LtNarrowPhase
mov dword [ecx + 0xc], str.StPostCollide
rdtsc
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x10]
mov dword [ecx + 4], edx
add ecx, 0x10
mov dword [esi + 4], ecx
mov ebx, dword [esp + 0x20]
mov esi, dword [ebx + 4]
mov edi, dword [esp + 0x18]
mov ecx, dword [edi]
push esi
call fcn.00440230
mov eax, dword [ebx + 0x10]
mov edx, dword [eax]
xor ebp, ebp
test edx, edx
mov dword [esp + 0x10], edx
jle 0x45f1c0
mov eax, dword [ebx + 0x10]
movsx ecx, bp
mov edi, dword [eax + ecx*4 + 0xc]
mov eax, dword [edi]
mov ecx, dword [esi + 8]
cmp ecx, eax
jle 0x45f146
mov eax, ecx
mov dword [esi + 8], eax
mov ecx, dword [edi + 4]
add dword [esi + 0xc], ecx
mov eax, dword [edi + 8]
add dword [esi + 0x10], eax
mov ecx, dword [edi + 0xc]
add dword [esi + 0x14], ecx
mov eax, dword [edi + 0x14]
test eax, eax
je 0x45f1b1
mov edx, dword [0x4c6074]
shr eax, 4
push edx
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 0xc]
jae 0x45f191
fild dword [esp + 0x20]
mov dword [ecx], str.MinumCmds
add ecx, 8
fstp dword [ecx - 4]
mov dword [eax + 4], ecx
mov edx, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
lea eax, [edi + 0x10]
push ecx
add edx, eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
push edx
push ecx
call fcn.00464da0
mov edx, dword [esp + 0x1c]
add esp, 0xc
add ebp, 1
cmp ebp, edx
jl 0x45f131
mov edi, dword [esp + 0x18]
mov ecx, dword [ebx + 0x10]
call fcn.004621e0
mov ecx, dword [edi]
push esi
call fcn.0043f080
mov edx, dword [0x4c6074]
push edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
mov esi, dword [ecx + 4]
cmp esi, dword [ecx + 0xc]
jae 0x45f200
mov dword [esi], 0x4b3398
rdtsc
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 4], eax
add esi, 0xc
mov dword [ecx + 4], esi
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x45f21c
mov edx, dword [edi + 8]
push 0
push edi
push ebx
push ebx
push edx
call fcn.0046ae50
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
pop ecx
ret
Function at 0x45fff0
Capabilities:
Execute anti-debugging instructions
Get thread local storage value

Disassembly:
push ecx
mov eax, dword [0x4c6074]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push esi
push edi
push eax
call ebx
mov esi, eax
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 0xc]
jae 0x460025
mov dword [ecx], str.TtSplitIsle
rdtsc
mov dword [esp + 0xc], eax
mov edx, dword [esp + 0xc]
mov dword [ecx + 4], edx
add ecx, 0xc
mov dword [esi + 4], ecx
mov edi, dword [esp + 0x1c]
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
add eax, 0x5c
push eax
push ecx
call fcn.0045ffa0
mov edx, dword [0x4c6074]
add esp, 8
push edx
call ebx
mov ecx, eax
mov esi, dword [ecx + 4]
cmp esi, dword [ecx + 0xc]
jae 0x460068
mov dword [esi], 0x4b2454
rdtsc
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 4], eax
add esi, 0xc
mov dword [ecx + 4], esi
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
push 0
push eax
push edi
push edi
push ecx
mov ecx, dword [esp + 0x2c]
call fcn.0046ae50
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x460090
Capabilities:
Execute anti-debugging instructions
Get thread local storage value

Disassembly:
push ecx
mov eax, dword [0x4c6074]
push ebx
push ebp
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 0xc]
jae 0x4600cb
mov dword [ecx], str.LtIntegrate
mov dword [ecx + 0xc], str.StIntegrateMotions
rdtsc
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x10]
mov dword [ecx + 4], edx
add ecx, 0x10
mov dword [esi + 4], ecx
mov esi, dword [esp + 0x20]
movzx ecx, word [esi + 0x26]
mov edx, dword [esi + 8]
movzx edi, word [esi + 0x24]
mov ebp, dword [esp + 0x18]
lea eax, [ecx + 1]
shl eax, 7
add eax, dword [edx + 0x30]
mov edx, dword [edx + 0x50]
push 0xd0
lea ebx, [edx + ecx*4]
mov ecx, dword [ebp]
push edi
push ebx
push eax
lea eax, [ecx + 0x190]
push eax
add ecx, 0x1a0
push ecx
call fcn.0045cb70
mov dword [esi + 0x28], eax
mov ecx, dword [ebp]
mov edx, dword [ecx + 0x6c]
push edi
push ebx
push edx
call fcn.00456ef0
mov eax, dword [0x4c6074]
add esp, 0x24
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
mov edi, dword [ecx + 4]
cmp edi, dword [ecx + 0xc]
jae 0x46014e
mov dword [edi], 0x4b3398
rdtsc
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x20]
mov dword [edi + 4], edx
add edi, 0xc
mov dword [ecx + 4], edi
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x1c]
push 0
push 0
push esi
push esi
push eax
call fcn.0046ae50
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x460170
Capabilities:
Execute anti-debugging instructions
Get thread local storage value

Disassembly:
push ecx
mov eax, dword [0x4c6074]
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push esi
push edi
push eax
call ebp
mov esi, eax
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 0xc]
jae 0x4601ad
mov dword [ecx], str.LtIntegrate
mov dword [ecx + 0xc], str.StAppGrav
rdtsc
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x10]
mov dword [ecx + 4], edx
add ecx, 0x10
mov dword [esi + 4], ecx
mov edi, dword [esp + 0x20]
mov eax, dword [edi + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [edi + 0x10]
mov edx, dword [ebx]
push eax
push ecx
add edx, 0x1a0
push edx
call fcn.004855c0
mov eax, dword [0x4c6074]
add esp, 0xc
push eax
call ebp
mov ecx, eax
mov esi, dword [ecx + 4]
cmp esi, dword [ecx + 0xc]
jae 0x4601f9
mov dword [esi], 0x4b3398
rdtsc
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x20]
mov dword [esi + 4], edx
add esi, 0xc
mov dword [ecx + 4], esi
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 0x1c]
push 0
push 0
push edi
push edi
push eax
call fcn.0046ae50
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x460220
Capabilities:
Execute anti-debugging instructions
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, dword [0x4c6074]
sub esp, 0x14
push ebx
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 0xc]
jae 0x460262
mov dword [ecx], str.LtIntegrate
mov dword [ecx + 0xc], str.StSolve
rdtsc
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x18]
mov dword [ecx + 4], edx
add ecx, 0x10
mov dword [esi + 4], ecx
mov esi, dword [ebp + 0x10]
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x18], ecx
mov ecx, dword [ebx]
mov ecx, dword [ecx + 0x2b8]
xor edi, edi
cmp dword [esi + 0x10], edi
mov dword [esp + 0x1c], edx
mov edx, dword [eax + 0x10]
mov dword [esi + 0x14], ecx
jne 0x4602b6
mov eax, dword [eax + 0x18]
add eax, 0xf
and eax, 0xfffffff0
shr eax, 4
mov ecx, eax
cmp ecx, edi
jle 0x4602b6
lea eax, [edx + 8]
mov dword [eax - 8], edi
mov dword [eax - 4], edi
mov dword [eax], edi
mov dword [eax + 4], edi
add eax, 0x10
sub ecx, 1
jne 0x4602a3
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x18]
push edx
mov edx, dword [esp + 0x1c]
push edx
mov edx, dword [esi + 0x10]
push eax
mov eax, dword [ebx]
push ecx
push edx
add eax, 0x1a0
push eax
call fcn.00493a00
mov ecx, dword [0x4c6074]
add esp, 0x18
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
mov edi, dword [ecx + 4]
cmp edi, dword [ecx + 0xc]
jae 0x460309
mov dword [edi], 0x4b3398
rdtsc
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x18]
mov dword [edi + 4], edx
add edi, 0xc
mov dword [ecx + 4], edi
mov eax, dword [ebx + 8]
mov ecx, dword [ebp + 0xc]
push 0
push 0
push esi
push esi
push eax
call fcn.0046ae50
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x460330
Capabilities:
Execute anti-debugging instructions
Get thread local storage value

Disassembly:
mov eax, dword [0x4c6074]
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call edi
mov esi, eax
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 0xc]
jae 0x46036e
mov dword [ecx], str.LtIntegrate
mov dword [ecx + 0xc], str.StIntVel
rdtsc
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x10]
mov dword [ecx + 4], edx
add ecx, 0x10
mov dword [esi + 4], ecx
mov esi, dword [esp + 0x20]
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0xf]
push eax
mov eax, dword [esi + 0x18]
push ecx
mov ecx, dword [ebx]
push edx
push eax
add ecx, 0x1a0
push ecx
mov byte [esp + 0x23], 0
call fcn.004856e0
mov dl, byte [esp + 0x23]
mov byte [esi + 0x1c], dl
mov eax, dword [0x4c6074]
add esp, 0x14
push eax
call edi
mov ecx, eax
mov edi, dword [ecx + 4]
cmp edi, dword [ecx + 0xc]
jae 0x4603cf
mov dword [edi], 0x4b3398
rdtsc
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x20]
mov dword [edi + 4], edx
add edi, 0xc
mov dword [ecx + 4], edi
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 0x1c]
push 0
push 0
push esi
push esi
push eax
call fcn.0046ae50
pop edi
pop esi
pop ebx
add esp, 8
ret

Function at 0x4603f0
Capabilities:
Execute anti-debugging instructions
Get thread local storage value

Disassembly:
push ecx
mov eax, dword [0x4c6074]
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push esi
push edi
push eax
call ebp
mov esi, eax
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 0xc]
jae 0x46042d
mov dword [ecx], str.LtIntegrate
mov dword [ecx + 0xc], str.StSolverExport
rdtsc
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x10]
mov dword [ecx + 4], edx
add ecx, 0x10
mov dword [esi + 4], ecx
mov edi, dword [esp + 0x20]
mov eax, dword [edi + 0x10]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [esp + 0x18]
mov eax, dword [eax + 0x10]
push ecx
mov ecx, dword [ebx]
push edx
push eax
add ecx, 0x1a0
push ecx
call fcn.004a59e0
mov edx, dword [0x4c6074]
add esp, 0x10
push edx
call ebp
mov ecx, eax
mov esi, dword [ecx + 4]
cmp esi, dword [ecx + 0xc]
jae 0x460481
mov dword [esi], 0x4b3398
rdtsc
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 4], eax
add esi, 0xc
mov dword [ecx + 4], esi
mov ecx, dword [ebx + 8]
push 0
push 0
push edi
push edi
push ecx
mov ecx, dword [esp + 0x30]
call fcn.0046ae50
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x4604a0
Capabilities:
Execute anti-debugging instructions
Get thread local storage value
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, dword [0x4c6074]
sub esp, 0x84
push ebx
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 0xc]
jae 0x4604e5
mov dword [ecx], str.LtIntegrate
mov dword [ecx + 0xc], str.StSolve
rdtsc
mov dword [esp + 0xc], eax
mov edx, dword [esp + 0xc]
mov dword [ecx + 4], edx
add ecx, 0x10
mov dword [esi + 4], ecx
mov edi, dword [ebp + 0x10]
mov eax, dword [edi + 0x10]
mov edx, dword [edi + 0x18]
mov esi, dword [edi + 0x1c]
mov ecx, dword [edi + 0x20]
add edx, eax
add esi, eax
add ecx, eax
mov eax, dword [edi + 0x28]
lea eax, [eax*4 + 0xf]
and eax, 0xfffffff0
shr eax, 4
mov ebx, eax
test ebx, ebx
jle 0x460543
lea eax, [ecx + 8]
jmp 0x460520
mov dword [eax - 8], 0
mov dword [eax - 4], 0
mov dword [eax], 0
mov dword [eax + 4], 0
add eax, 0x10
sub ebx, 1
jne 0x460520
mov eax, dword [ebp + 8]
push ecx
mov ecx, dword [eax]
push edx
add ecx, 0x1a0
push esi
push ecx
call fcn.0048cec0
mov esi, dword [edi + 8]
movzx edx, word [edi + 2]
mov ecx, dword [esi + 0x78]
mov eax, dword [edi + 4]
add esp, 0x10
push 0
mov dword [esp + 0x24], ecx
mov word [esp + 0x16], dx
movzx edx, word [esi + 0x54]
push 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x14]
push ecx
mov ecx, dword [ebp + 0xc]
mov word [esp + 0x1c], 0xb
mov dword [esp + 0x24], esi
mov word [esp + 0x42], 0
mov word [esp + 0x40], dx
mov dword [esp + 0x3c], eax
call fcn.0046acc0
mov edx, dword [0x4c6074]
push edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
mov ebx, dword [ecx + 4]
cmp ebx, dword [ecx + 0xc]
jae 0x4605d7
mov dword [ebx], str.StSolverExport
rdtsc
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov dword [ebx + 4], eax
add ebx, 0xc
mov dword [ecx + 4], ebx
mov ecx, dword [esi + 0x30]
mov edx, dword [esi + 0x3c]
mov ebx, dword [ebp + 8]
mov eax, dword [esi + 0x40]
push ecx
mov ecx, dword [ebx]
push edx
push eax
add ecx, 0x1a0
push ecx
call fcn.004a59e0
mov edx, dword [0x4c6074]
add esp, 0x10
push edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
mov esi, dword [ecx + 4]
cmp esi, dword [ecx + 0xc]
jae 0x460627
mov dword [esi], 0x4b3398
rdtsc
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov dword [esi + 4], eax
add esi, 0xc
mov dword [ecx + 4], esi
mov ecx, dword [ebx + 8]
push 0
push 0
push edi
push edi
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.0046ae50
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x460720
Capabilities:
Execute anti-debugging instructions
Get thread local storage value

Disassembly:
mov eax, dword [0x4c6074]
sub esp, 0x28
push ebx
push ebp
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 0xc]
jae 0x46075d
mov dword [ecx], str.LtIntegrate
mov dword [ecx + 0xc], str.StBuildJacobians
rdtsc
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x14]
mov dword [ecx + 4], edx
add ecx, 0x10
mov dword [esi + 4], ecx
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0x10]
mov ebx, dword [eax + 0x10]
mov esi, dword [esp + 0x3c]
mov ecx, dword [eax + 0x14]
mov ebp, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x44]
add esi, 0x80
cmp byte [ebx + 0x18], 0
lea edi, [eax + 0x18]
je 0x460795
cmp dword [eax], 0
mov byte [esp + 0x13], 1
jne 0x46079a
mov byte [esp + 0x13], 0
test ecx, ecx
mov eax, edx
mov dword [esp + 0x14], eax
jle 0x460835
mov ebx, ecx
lea ebx, [ebx]
mov eax, edi
mov ecx, dword [eax + 0xc]
mov dword [esi + 0x38], ecx
mov edx, dword [eax + 0x10]
mov dword [esi + 0x3c], edx
movzx ecx, word [eax + 0x18]
shl ecx, 7
add ecx, ebp
mov dword [esi + 0x30], ecx
movzx edx, word [eax + 0x1a]
shl edx, 7
add edx, ebp
mov dword [esi + 0x34], edx
movzx ecx, word [eax + 0x18]
mov dword [esi + 0x50], ecx
movzx edx, word [eax + 0x1a]
mov dword [esi + 0x54], edx
mov ecx, dword [eax + 4]
mov dword [esi + 0x48], ecx
mov edx, dword [eax + 8]
mov dword [esi + 0x4c], edx
mov ecx, dword [eax + 8]
mov dword [esi + 0x58], ecx
movzx ecx, word [eax + 0x14]
mov eax, dword [eax]
add edi, 0x1c
cmp word [eax], 0x16
lea edx, [esp + 0x14]
push edx
jne 0x46081d
mov byte [esp + 0x1c], 1
mov ecx, dword [esp + 0x1c]
push ecx
push esi
push eax
call fcn.004a2550
jmp 0x460825
push esi
push ecx
push eax
call fcn.0049e4e0
add esp, 0x10
sub ebx, 1
jne 0x4607b0
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x44]
cmp byte [esp + 0x13], 0
jne 0x460844
mov dword [eax], 0
jmp 0x46085e
mov ecx, dword [esp + 0x2c]
sub ecx, eax
test ecx, ecx
jle 0x46085e
fld dword [eax]
mov dword [eax + 4], ecx
fadd qword [0x4b9080]
fstp dword [eax]
mov byte [eax], 2
mov eax, dword [0x4c6074]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 0xc]
jae 0x46088d
mov dword [ecx], 0x4b3398
rdtsc
mov dword [esp + 0x44], eax
mov edx, dword [esp + 0x44]
mov dword [ecx + 4], edx
add ecx, 0xc
mov dword [esi + 4], ecx
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 8]
push 0
push 0
push ebx
push ebx
push ecx
mov ecx, dword [esp + 0x54]
call fcn.0046ae50
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x4608b0
Capabilities:
Execute anti-debugging instructions
Get thread local storage value

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0xc]
push edi
mov edi, dword [eax + 8]
add ebp, 0x80
cmp dword [edi + 0x74], 0
jle 0x4609ff
mov ecx, dword [0x4c6074]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 0xc]
jae 0x460906
mov dword [ecx], str.LtIntegrate
mov dword [ecx + 0xc], str.StConstraintCallbacks
rdtsc
mov dword [esp + 0xc], eax
mov edx, dword [esp + 0xc]
mov dword [ecx + 4], edx
add ecx, 0x10
mov dword [esi + 4], ecx
push ebx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jle 0x4609a3
mov eax, dword [edi + 0x70]
mov esi, dword [eax + ebx*4]
mov ecx, dword [esi]
mov dword [ebp + 0x48], ecx
mov edx, dword [esi + 0x1c]
mov dword [ebp + 0x4c], edx
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x90]
add ecx, dword [edi + 0x30]
mov dword [ebp + 0x30], ecx
mov edx, dword [esi + 8]
mov eax, dword [edx + 0x90]
add eax, dword [edi + 0x30]
mov dword [ebp + 0x34], eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + 0x18]
mov dword [ebp + 0x38], eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0x18]
mov eax, dword [edx + 0x18]
mov dword [ebp + 0x3c], eax
test byte [esi + 0x12], 1
je 0x460984
mov eax, dword [esi + 0xc]
cmp word [eax], 0x17
mov ecx, dword [esi]
mov ecx, dword [ecx + 0xc]
jb 0x460979
jmp 0x460970
mov eax, dword [eax + 0x14]
cmp word [eax], 0x17
jae 0x460970
push eax
push ebp
push ecx
call fcn.00462c70
add esp, 0xc
test byte [esi + 0x12], 4
je 0x460997
mov edx, dword [esi]
mov ecx, dword [edx + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax + 0x28]
push ebp
call edx
add ebx, 1
cmp ebx, dword [edi + 0x74]
jl 0x460912
mov eax, dword [0x4c6060]
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, dword [edi + 0x74]
mov ebp, dword [edi + 0x70]
push eax
call ebx
push 3
lea ecx, [esi*4]
push ecx
push ebp
mov ecx, eax
call fcn.004023e0
xor eax, eax
mov dword [edi + 0x70], eax
mov dword [edi + 0x74], eax
mov edx, dword [0x4c6074]
push edx
call ebx
mov ecx, eax
mov esi, dword [ecx + 4]
cmp esi, dword [ecx + 0xc]
pop ebx
jae 0x4609fe
mov dword [esi], 0x4b3398
rdtsc
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov dword [esi + 4], eax
add esi, 0xc
mov dword [ecx + 4], esi
pop esi
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 8]
mov ecx, dword [esp + 0x14]
push 0
push 0
push eax
push eax
push edx
call fcn.0046ae50
pop edi
pop ebp
pop ecx
ret
Function at 0x460a20
Capabilities:
Execute anti-debugging instructions
Get thread local storage value

Disassembly:
push ecx
mov eax, dword [0x4c6074]
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call edi
mov esi, eax
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 0xc]
jae 0x460a5c
mov dword [ecx], str.LtIntegrate
mov dword [ecx + 0xc], str.StBuildAccumulators
rdtsc
mov dword [esp + 0xc], eax
mov edx, dword [esp + 0xc]
mov dword [ecx + 4], edx
add ecx, 0x10
mov dword [esi + 4], ecx
mov esi, dword [esp + 0x1c]
movzx eax, word [esi + 0x14]
mov edx, dword [esi + 8]
mov ebx, dword [esp + 0x14]
lea ecx, [eax + 1]
shl ecx, 7
add ecx, dword [edx + 0x30]
mov edx, dword [esi + 0x10]
push ecx
movzx ecx, word [esi + 0x16]
push 0xd0
push ecx
lea eax, [edx + eax*4]
push eax
lea ecx, [ebx + 0x60]
push ecx
call fcn.0045c590
mov edx, dword [0x4c6074]
add esp, 0x14
push edx
call edi
mov ecx, eax
mov edi, dword [ecx + 4]
cmp edi, dword [ecx + 0xc]
jae 0x460abe
mov dword [edi], 0x4b3398
rdtsc
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov dword [edi + 4], eax
add edi, 0xc
mov dword [ecx + 4], edi
mov ecx, dword [ebx + 8]
push 0
push ebx
push esi
push esi
push ecx
mov ecx, dword [esp + 0x2c]
call fcn.0046ae50
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x462100
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x4c6060]
push ebx
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, dword [esp + 0x10]
movsx ecx, si
lea edx, [ecx*4 + 0xc]
push 4
push edx
mov ecx, eax
call fcn.00402380
mov edi, dword [esp + 0x14]
shl edi, 4
cmp esi, 4
lea ebx, [edi + 0x20]
mov dword [esp + 0x10], eax
mov dword [eax + 4], esi
mov dword [eax], esi
mov dword [eax + 8], ebx
lea edx, [eax + 0xc]
jge 0x462198
push ebp
xor ebp, ebp
test esi, esi
jle 0x462193
lea esp, [esp]
mov eax, dword [0x4c6060]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 4
push ebx
mov ecx, eax
call fcn.00402380
mov ecx, dword [esp + 0x14]
add ecx, 0xc
test eax, eax
mov dword [ecx + ebp*4], eax
je 0x462188
lea ecx, [eax + 0x10]
sub eax, ecx
add eax, 0x20
mov dword [ecx], eax
mov dword [ecx + 4], 0
mov dword [ecx + 8], edi
add ebp, 1
cmp ebp, esi
jl 0x462150
mov eax, dword [esp + 0x14]
pop ebp
pop edi
pop esi
pop ebx
ret
mov ecx, dword [0x4c606c]
mov eax, dword [ecx]
push ebx
push esi
push edx
mov edx, dword [eax + 4]
call edx
xor ebx, ebx
xor edx, edx
cmp esi, ebx
jle 0x4621d5
mov eax, dword [esp + 0x10]
add eax, 0xc
mov eax, dword [eax + edx*4]
cmp eax, ebx
je 0x4621ce
lea ecx, [eax + 0x10]
sub eax, ecx
add eax, 0x20
mov dword [ecx], eax
mov dword [ecx + 4], ebx
mov dword [ecx + 8], edi
add edx, 1
cmp edx, esi
jl 0x4621b0
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
ret

Function at 0x4621e0
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
cmp eax, 4
push edi
lea edx, [esi + 0xc]
jge 0x462221
xor edi, edi
test eax, eax
jle 0x462234
push ebp
mov ebp, dword [esi + edi*4 + 0xc]
mov ebx, dword [esi + 8]
lea eax, [esi + 0xc]
mov eax, dword [0x4c6060]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 4
push ebx
push ebp
mov ecx, eax
call fcn.004023e0
add edi, 1
cmp edi, dword [esi]
jl 0x4621f6
pop ebp
jmp 0x462234
mov ebx, dword [esi + 8]
mov ecx, dword [0x4c606c]
mov edi, dword [ecx]
push ebx
push eax
push edx
mov edx, dword [edi + 8]
call edx
movsx edi, word [esi]
mov eax, dword [0x4c6060]
push eax
lea edi, [edi*4 + 0xc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 4
push edi
push esi
mov ecx, eax
call fcn.004023e0
pop edi
pop esi
pop ebx
ret