joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48135e
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
push dword [0xd93c44]
call fcn.0048afd1
mov esi, eax
test esi, esi
je 0x481438
cmp dword [ebp + 0xc], 0
je 0x4813aa
push 4
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x48139b
cmp dword [esi + 0x1c], 0
jne 0x48139b
push eax
call dword [sym.imp.USER32.dll_SetActiveWindow]
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x481438
test byte [ebp + 0x10], 3
je 0x4813c5
push 4
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindow]
push eax
push dword [ebp + 0x10]
push dword [esi]
call fcn.004ef4d8
cmp dword [esi + 0x3c], 0xffffffff
push ebx
je 0x4813ea
xor ebx, ebx
cmp dword [esi + 0x3c], 0x1000000
sete bl
xor ecx, ecx
cmp dword [esi + 0x3c], 0x20000000
sete cl
or dword [esi + 0x3c], 0xffffffff
jmp 0x4813fe
push dword [esi]
call dword [sym.imp.USER32.dll_IsZoomed]
push dword [esi]
mov ebx, eax
call dword [sym.imp.USER32.dll_IsIconic]
mov ecx, eax
test dword [ebp + 0x10], 0x2000000
je 0x48141b
test ebx, ebx
je 0x48140f
push 8
jmp 0x481421
neg ecx
sbb ecx, ecx
and ecx, 3
add ecx, 4
jmp 0x48142e
test ebx, ebx
je 0x481424
push 3
pop ecx
jmp 0x48142e
xor eax, eax
test ecx, ecx
setne al
lea ecx, [eax + 1]
push ecx
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebx
pop esi
pop ebp
ret 0xc

Function at 0x481cbd
Capabilities:
Copy file

Disassembly:
cmp dword [esp + 4], 0
je 0x481cdd
cmp dword [esp + 8], 0
je 0x481cdd
push 0
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x481cdf
xor eax, eax
ret 8

Function at 0x481ce2
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
cmp dword [ebp + 8], 0
je 0x481d5a
push 0x104
push dword [ebp + 8]
lea eax, [ebp - 0x20c]
push eax
call fcn.00494783
xor eax, eax
mov word [ebp - 4], ax
lea eax, [ebp - 0x20c]
push eax
call fcn.004937db
lea ecx, [ebp - 0x20c]
add esp, 0x10
lea eax, [ecx + eax*2]
jmp 0x481d3b
movzx ecx, word [eax - 2]
cmp ecx, 0x20
je 0x481d38
cmp ecx, 0x5c
je 0x481d38
cmp ecx, 0x2f
jne 0x481d45
add eax, 0xfffffffe
lea ecx, [ebp - 0x20c]
cmp eax, ecx
ja 0x481d25
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x20c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x481d5c
xor eax, eax
leave
ret 4
Function at 0x48209d
Capabilities:
Delete file
Set file attributes

Disassembly:
cmp dword [esp + 4], 0
je 0x4820c6
test byte [esp + 8], 2
je 0x4820ba
push 0x80
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x4820c8
xor eax, eax
ret 8

Function at 0x4821ab
Capabilities:
Check if file exists

Disassembly:
xor eax, eax
push ebp
mov ebp, eax
mov eax, dword [0xd93d80]
push esi
test eax, eax
jne 0x4821d0
push fcn.00482179
push 0x10
push 0x258
call fcn.0048b0b5
mov dword [0xd93d80], eax
push dword [esp + 0xc]
push eax
call fcn.0048af3d
mov esi, eax
test esi, esi
je 0x4822d1
push edi
mov edi, dword [esp + 0x14]
test edi, edi
jne 0x4821f2
mov edi, 0x581684
push ebx
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x482202
xor eax, eax
cmp word [ebx], ax
jne 0x482207
mov ebx, 0x580cf8
push edi
call fcn.004937db
push ebx
mov dword [esp + 0x24], eax
call fcn.004937db
add eax, dword [esp + 0x24]
pop ecx
pop ecx
lea eax, [eax*2 + 4]
push eax
xor eax, eax
push eax
push dword [0xd927c4]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esp + 0x18], eax
test eax, eax
je 0x4822b8
push edi
push eax
call fcn.004937b9
mov eax, dword [esp + 0x24]
pop ecx
pop ecx
test eax, eax
je 0x482268
cmp word [edi + eax*2 - 2], 0x5c
mov edi, dword [esp + 0x18]
je 0x48226c
push 0x57fc64
push edi
call fcn.004ae6be
pop ecx
pop ecx
jmp 0x48226c
mov edi, dword [esp + 0x18]
push ebx
push edi
call fcn.004ae6be
pop ecx
pop ecx
lea eax, [esi + 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x482290
xor eax, eax
mov ebp, esi
mov dword [esi + 4], eax
jmp 0x4822a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x4822a4
mov dword [esi + 4], 1
mov ebp, esi
xor eax, eax
push edi
push eax
push dword [0xd927c4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
test ebp, ebp
jne 0x4822cf
cmp dword [esp + 0x14], 0xffffffff
je 0x4822c3
mov esi, dword [esp + 0x14]
push esi
push dword [0xd93d80]
call fcn.0048b066
pop ebx
pop edi
pop esi
mov eax, ebp
pop ebp
ret 0xc
Function at 0x48231c
Capabilities:
Get disk information
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x45c
push esi
or esi, 0xffffffff
push edi
mov edi, esi
test eax, eax
je 0x482464
xor ecx, ecx
cmp word [eax], cx
je 0x482464
push 0x104
push eax
lea eax, [esp + 0x10]
push eax
call fcn.00494783
xor eax, eax
mov word [esp + 0x21c], ax
lea eax, [esp + 0x14]
push eax
call fcn.004937db
add esp, 0x10
lea ecx, [esp + eax*2 + 6]
cmp eax, 2
je 0x482375
cmp eax, 3
jne 0x4823af
cmp word [esp + 0xa], 0x3a
jne 0x4823af
cmp eax, 2
jne 0x482393
lea eax, [esp + 8]
push 0x57fc64
push eax
call fcn.004ae6be
pop ecx
pop ecx
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x482464
push 0xfffffffffffffffe
pop edi
jmp 0x482464
push ebx
push ebp
push 0x5c
pop ebp
push 0x2f
pop ebx
movzx eax, word [ecx]
cmp ax, bp
je 0x4823c4
cmp ax, bx
jne 0x4823ce
xor eax, eax
mov word [ecx], ax
sub ecx, 2
jmp 0x4823b7
lea eax, [esp + 0x21c]
push eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, esi
je 0x48240d
test byte [esp + 0x21c], 0x10
je 0x4823f4
push 0xfffffffffffffffe
pop edi
jmp 0x482404
mov esi, dword [esp + 0x238]
xor edi, edi
or edi, dword [esp + 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x482462
cmp word [esp + 0x10], bp
jne 0x48241b
cmp word [esp + 0x12], bp
je 0x48243a
cmp word [esp + 0x10], bx
jne 0x482429
cmp word [esp + 0x12], bx
je 0x48243a
push 0x2e
pop eax
cmp word [esp + 0x10], ax
jne 0x482462
cmp word [esp + 0x12], ax
jne 0x482462
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, esi
je 0x48244f
test al, 0x10
je 0x482462
jmp 0x48245f
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x482462
push 0xfffffffffffffffe
pop edi
pop ebp
pop ebx
mov eax, edi
mov edx, esi
pop edi
pop esi
add esp, 0x45c
ret 4

Function at 0x4824c8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp dword [esp + 4], 0
je 0x4824de
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4824e1
or eax, 0xffffffff
ret 4

Function at 0x48269d
Capabilities:
Set file attributes

Disassembly:
xor eax, eax
cmp dword [esp + 4], eax
je 0x4826ab
jmp dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
ret 8

Function at 0x482740
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
mov dword [esp + 4], 0
cmp dword [esi + 0x14], 0
jne 0x48277c
push 0
lea eax, [esp + 8]
push eax
mov eax, dword [esi + 8]
sub eax, dword [esi + 0xc]
push eax
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 4]
pop esi
pop ecx
ret 4
xor eax, eax
pop esi
pop ecx
ret 4
Function at 0x482790
Capabilities:
Write file on windows

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp edi, 0xffffffff
jne 0x4827a9
push dword [0xd93d84]
call fcn.0048b108
pop edi
ret 4
push esi
push edi
push dword [0xd93d84]
call fcn.0048afd1
mov esi, eax
test esi, esi
je 0x482813
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4827ff
cmp dword [esi + 0x14], 0
mov dword [esp + 0xc], 0
jne 0x4827ee
push 0
lea eax, [esp + 0x10]
push eax
mov eax, dword [esi + 8]
sub eax, dword [esi + 0xc]
push eax
push ecx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
push dword [esi + 4]
push 0
push dword [0xd927c4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push dword [0xd93d84]
call fcn.0048b066
pop esi
pop edi
ret 4

Function at 0x482cc0
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push esi
push dword [esp + 0x10]
mov dword [esp + 8], 0
push dword [0xd93d84]
call fcn.0048afd1
mov esi, eax
test esi, esi
je 0x482d3f
cmp dword [esi + 4], 0
je 0x482d10
push 1
lea eax, [esp + 8]
push eax
push esi
call fcn.004efec0
test eax, eax
je 0x482d04
inc dword [esi + 0xc]
xor eax, eax
pop esi
add esp, 8
ret 4
mov eax, 1
pop esi
add esp, 8
ret 4
push 0
lea eax, [esp + 0xc]
push eax
push 1
lea eax, [esp + 0x1c]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x482d4a
cmp dword [esp + 8], 0
je 0x482d4a
push 1
push 0
push 0xffffffffffffffff
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 4]
pop esi
add esp, 8
ret 4
or eax, 0xffffffff
pop esi
add esp, 8
ret 4

Function at 0x482e10
Capabilities:
Read file on windows

Disassembly:
push ecx
push dword [esp + 8]
mov byte [esp + 7], 0
push dword [0xd93d84]
call fcn.0048afd1
test eax, eax
je 0x482e5b
cmp dword [eax + 4], 0
je 0x482e45
push 1
lea ecx, [esp + 7]
push ecx
push eax
call fcn.004efec0
movzx eax, byte [esp + 3]
pop ecx
ret 4
push 0
lea ecx, [esp + 0xc]
push ecx
push 1
lea ecx, [esp + 0xf]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadFile]
movzx eax, byte [esp + 3]
pop ecx
ret 4

Function at 0x483080
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0x10]
mov dword [esp + 4], 0
test esi, esi
je 0x4830e5
push edi
mov edi, dword [esp + 0x18]
test edi, edi
je 0x4830dd
push dword [esp + 0x10]
push dword [0xd93d84]
call fcn.0048afd1
test eax, eax
je 0x4830d3
cmp dword [eax + 4], 0
je 0x4830c2
push edi
push esi
push eax
call fcn.004f04c0
pop edi
pop esi
pop ecx
ret 0xc
push 0
lea ecx, [esp + 0xc]
push ecx
push edi
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 0xc
pop edi
xor eax, eax
pop esi
pop ecx
ret 0xc
xor eax, eax
pop esi
pop ecx
ret 0xc

Function at 0x4830f0
Capabilities:
Write file on windows

Disassembly:
push dword [esp + 4]
push dword [0xd93d84]
call fcn.0048afd1
test eax, eax
je 0x48310c
mov dword [esp + 4], eax
jmp fcn.00483120
xor eax, eax
ret 0xc
Function at 0x483120
Capabilities:
Write file on windows

Disassembly:
push ecx
mov edx, dword [esp + 0xc]
mov dword [esp], 0
test edx, edx
je 0x48321f
cmp word [edx], 0
je 0x48321f
mov ecx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0xc]
test ecx, ecx
jne 0x48314e
mov ecx, dword [esi + 0x18]
push edi
cmp ecx, 0x19
jne 0x4831a4
mov ecx, edx
lea edi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x483160
sub ecx, edi
sar ecx, 1
cmp dword [esi + 4], 0
je 0x483186
lea eax, [ecx + ecx]
push eax
push edx
push esi
call fcn.004f04c0
pop edi
pop esi
pop ecx
ret 0xc
push 0
lea eax, [esp + 0xc]
push eax
lea eax, [ecx + ecx]
push eax
push edx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 0xc
lea eax, [esp + 0x14]
push eax
xor eax, eax
cmp ecx, 2
push edx
setne al
dec eax
and eax, 0xfde9
push eax
call fcn.004f05e0
mov edi, eax
test edi, edi
je 0x48319a
cmp dword [esi + 4], 0
je 0x4831f2
push dword [esp + 0x14]
push edi
push esi
call fcn.004f04c0
push edi
push 0
push dword [0xd927c4]
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 0xc
push 0
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x1c]
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
push 0
push dword [0xd927c4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 0xc
xor eax, eax
pop ecx
ret 0xc
Function at 0x484550
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
push esi
push edi
push dword [esp + 0x1c]
mov dword [esp + 0x10], 0
xor esi, esi
mov dword [esp + 0x14], 0
call fcn.004f1260
mov edi, eax
test edi, edi
je 0x484662
mov eax, dword [esp + 0x18]
test eax, eax
je 0x484662
push ebp
push esi
push 0x80
push 3
push esi
push 1
push closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x484661
push ebx
push 0x100000
push esi
push dword [0xd927c4]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x484659
push dword [esp + 0x28]
mov eax, dword [edi + 4]
call eax
mov esi, eax
test esi, esi
je 0x48464a
mov ecx, dword [edi + 8]
push 0
push esi
call ecx
push 0
push 0
push dword [esp + 0x2c]
push edi
push esi
call fcn.004f64d0
cmp dword [esp + 0x18], 0
jl 0x484610
mov eax, dword [esp + 0x14]
jg 0x4845fd
test eax, eax
je 0x484610
push 0
lea ecx, [esp + 0x1c]
push ecx
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea esp, [esp]
push 0
lea eax, [esp + 0x14]
push eax
push 0x100000
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [esp + 0x10]
mov eax, dword [edi + 0xc]
push ebx
push esi
call eax
cmp dword [esp + 0x10], 0x100000
je 0x484610
mov eax, dword [edi + 0x10]
push esi
call eax
push dword [esp + 0x24]
push edi
push esi
call fcn.004f6670
push ebx
push 0
push dword [0xd927c4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop ebp
push dword [esp + 0x24]
push esi
call fcn.004f6460
test esi, esi
je 0x484676
mov eax, dword [edi + 0x14]
push esi
call eax
pop edi
pop esi
add esp, 0xc
ret 0x10

Function at 0x484a2d
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [0xd93d98]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
mov eax, dword [ebp + 0x18]
cmp eax, dword [esi + 0xac]
je 0x484a55
push eax
push esi
mov dword [esi + 0xac], eax
call dword [esi + 0x40]
push dword [ebp + 0x14]
mov eax, dword [esi + 0x90]
push dword [ebp + 0x10]
add eax, dword [ebp + 0xc]
push eax
mov eax, dword [esi + 0x8c]
add eax, dword [ebp + 8]
push eax
push esi
call dword [esi + 4]
pop esi
pop ebp
ret 0x14

Function at 0x484a78
Capabilities:
Get thread local storage value

Disassembly:
push esi
push dword [0xd93d98]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
mov eax, dword [esi + 0xa4]
cmp eax, dword [esi + 0xac]
je 0x484aa0
push eax
push esi
mov dword [esi + 0xac], eax
call dword [esi + 0x40]
push dword [esp + 0x14]
mov eax, dword [esi + 0x90]
push dword [esp + 0x14]
add eax, dword [esp + 0x14]
push eax
mov eax, dword [esi + 0x8c]
add eax, dword [esp + 0x14]
push eax
push esi
call dword [esi + 4]
pop esi
ret 0x10

Function at 0x484ac6
Capabilities:
Get thread local storage value

Disassembly:
push dword [0xd93d98]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, eax
mov ecx, dword [edx + 0x74]
cmp ecx, 2
je 0x484aeb
cmp ecx, 3
je 0x484aeb
cmp ecx, 8
je 0x484aeb
cmp ecx, 0xc
jne 0x484af9
mov eax, dword [esp + 4]
test eax, eax
je 0x484af9
mov dword [edx + 0xb8], eax
ret 4
Function at 0x484afc
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [0xd93d98]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, eax
mov esi, dword [edx + 0x2c]
mov edi, dword [edx + 0x90]
mov ebx, dword [edx + 0x8c]
test esi, esi
je 0x484b3c
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
add ecx, edi
push 0xff
push ecx
add eax, ebx
push eax
push dword [ebp + 8]
push edx
call esi
jmp 0x484b4f
mov eax, dword [ebp + 0x10]
add eax, edi
push eax
mov eax, dword [ebp + 0xc]
add eax, ebx
push eax
push dword [ebp + 8]
push edx
call dword [edx + 0x24]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x484b56
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push dword [0xd93d98]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp dword [ebp + 0x14], 0
mov ecx, eax
jle 0x484b94
cmp dword [ebp + 0x18], 0
jle 0x484b94
push dword [ebp + 0x18]
mov eax, dword [ecx + 0x90]
push dword [ebp + 0x14]
add eax, dword [ebp + 0x10]
push eax
mov eax, dword [ecx + 0x8c]
add eax, dword [ebp + 0xc]
push eax
push dword [ebp + 8]
push ecx
call dword [ecx + 0x28]
pop ebp
ret 0x14

Function at 0x484cc8
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [0xd93d98]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
add edx, dword [eax + 0x8c]
add esi, dword [eax + 0x90]
mov ecx, dword [eax + 0x74]
cmp ecx, 2
je 0x484d01
cmp ecx, 3
je 0x484d01
cmp ecx, 8
je 0x484d01
cmp ecx, 0xc
jne 0x484d54
mov ecx, dword [ebp + 0x10]
push edi
xor edi, edi
inc edi
test ecx, ecx
jns 0x484d13
neg ecx
mov dword [ebp + 0x10], ecx
jmp 0x484d18
jne 0x484d18
mov dword [ebp + 0x10], edi
mov ecx, dword [ebp + 0x14]
test ecx, ecx
jns 0x484d26
neg ecx
mov dword [ebp + 0x14], ecx
jmp 0x484d2b
jne 0x484d2b
mov dword [ebp + 0x14], edi
fild dword [ebp + 0x10]
mov dword [eax + 0x118], edx
mov dword [eax + 0x11c], esi
mov dword [eax + 0xb4], 0x484c53
pop edi
fstp dword [eax + 0x120]
fild dword [ebp + 0x14]
fstp dword [eax + 0x124]
pop esi
pop ebp
ret 0x10

Function at 0x484d59
Capabilities:
Get thread local storage value

Disassembly:
push esi
push dword [0xd93d98]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
mov eax, dword [esp + 0x14]
cmp eax, dword [esi + 0xac]
je 0x484d7f
push eax
push esi
mov dword [esi + 0xac], eax
call dword [esi + 0x40]
push dword [esp + 0x10]
mov eax, dword [esi + 0x90]
add eax, dword [esp + 0x10]
push eax
mov eax, dword [esi + 0x8c]
add eax, dword [esp + 0x10]
push eax
push esi
call dword [esi + 0x3c]
pop esi
ret 0x10
Function at 0x484da1
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push dword [0xd93d98]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov ecx, dword [ebx + 0x74]
cmp ecx, 2
je 0x484dce
cmp ecx, 3
je 0x484dce
cmp ecx, 8
je 0x484dce
cmp ecx, 0xc
jne 0x484ea3
fldz
fld dword [ebp + 8]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x484de3
fstp st(0)
fstp dword [ebp + 8]
jmp 0x484df4
fstp st(1)
fld1
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jnp 0x484dde
fstp st(0)
push esi
mov esi, dword [ebx + 0xbc]
push edi
xor edi, edi
jmp 0x484e20
fld dword [esi + 4]
fld dword [ebp + 8]
fld st(0)
fucom st(2)
fnstsw ax
test ah, 0x44
jnp 0x484e40
fstp st(1)
fcompp
fnstsw ax
test ah, 5
jnp 0x484e26
mov edi, esi
mov esi, dword [esi]
test esi, esi
jne 0x484e00
jmp 0x484e4c
push 0x18
push 0
push dword [0xd927c4]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
test edx, edx
je 0x484e4c
mov dword [edx], esi
jmp 0x484e65
mov edx, esi
fstp st(2)
fstp st(1)
test edx, edx
jne 0x484e76
fstp st(0)
push 0x18
push 0
push dword [0xd927c4]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
test edx, edx
je 0x484ea1
and dword [edx], 0
fld dword [ebp + 8]
test edi, edi
je 0x484e70
mov dword [edi], edx
jmp 0x484e76
mov dword [ebx + 0xbc], edx
mov ecx, dword [ebp + 0xc]
movzx eax, cl
mov dword [edx + 8], eax
mov eax, ecx
sar eax, 8
movzx eax, al
mov dword [edx + 0xc], eax
mov eax, ecx
sar eax, 0x10
movzx eax, al
sar ecx, 0x18
mov dword [edx + 0x10], eax
movzx eax, cl
fstp dword [edx + 4]
mov dword [edx + 0x14], eax
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x484ec1
Capabilities:
Get thread local storage value

Disassembly:
push dword [0xd93d98]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push dword [esp + 0xc]
mov ecx, dword [eax + 0x90]
add ecx, dword [esp + 0xc]
push ecx
mov ecx, dword [eax + 0x8c]
add ecx, dword [esp + 0xc]
push ecx
push eax
call dword [eax + 0x50]
ret 0xc

Function at 0x484eee
Capabilities:
Get thread local storage value

Disassembly:
push dword [0xd93d98]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [eax + 0x90]
add ecx, dword [esp + 8]
push ecx
mov ecx, dword [eax + 0x8c]
add ecx, dword [esp + 8]
push ecx
push eax
call dword [eax + 0x54]
ret 8
Function at 0x484f50
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push ebp
push esi
push edi
push dword [0xd93d98]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, dword [esp + 0x14]
mov edi, eax
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
add eax, dword [edi + 0x90]
add ebp, dword [edi + 0x8c]
mov dword [esp + 0x18], eax
test esi, esi
jns 0x484f86
add ebp, esi
neg esi
mov ebx, dword [esp + 0x20]
test ebx, ebx
jns 0x484f96
add eax, ebx
neg ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
add eax, eax
cmp eax, esi
jle 0x484fab
mov eax, esi
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x28]
add ecx, ecx
cmp ecx, ebx
jle 0x484fc0
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
cmp eax, dword [edi + 0xac]
je 0x484fd7
push eax
push edi
mov dword [edi + 0xac], eax
call dword [edi + 0x40]
push dword [esp + 0x28]
push dword [esp + 0x28]
push ebx
push esi
push dword [esp + 0x28]
push ebp
push edi
call dword [edi + 8]
pop edi
pop esi
pop ebp
pop ebx
ret 0x1c

Function at 0x484ff1
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push ebp
push esi
push edi
push dword [0xd93d98]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, dword [esp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
add eax, dword [esi + 0x90]
add ebp, dword [esi + 0x8c]
mov dword [esp + 0x18], eax
test edi, edi
jns 0x485027
add ebp, edi
neg edi
mov ebx, dword [esp + 0x20]
test ebx, ebx
jns 0x485037
add eax, ebx
neg ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
add eax, eax
cmp eax, edi
jle 0x48504c
mov eax, edi
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x28]
add ecx, ecx
cmp ecx, ebx
jle 0x485061
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0xa4]
cmp eax, dword [esi + 0xac]
je 0x48507a
push eax
push esi
mov dword [esi + 0xac], eax
call dword [esi + 0x40]
push dword [esp + 0x28]
push dword [esp + 0x28]
push ebx
push edi
push dword [esp + 0x28]
push ebp
push esi
call dword [esi + 8]
pop edi
pop esi
pop ebp
pop ebx
ret 0x18

Function at 0x485094
Capabilities:
Set thread local storage value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
xor ebx, ebx
push edi
mov edi, ebx
test esi, esi
je 0x4850f1
push esi
call dword [esi + 0x58]
mov ecx, dword [esi + 0x80]
mov edi, eax
mov dword [esi + 0x94], ecx
mov ecx, dword [esi + 0x84]
mov dword [esi + 0x98], ecx
test edi, edi
jne 0x4850f1
mov eax, dword [esi + 0x70]
test eax, eax
je 0x4850d0
push ebx
push esi
call eax
push esi
push ebx
push dword [0xd927c4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push ebx
push dword [0xd93d98]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [0xd93d9c], ebx
mov eax, edi
pop edi
pop esi
pop ebx
ret 4