joyce8/EMBER2024-capa huggingface dataset:
Function at 0x717e00
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x72d8f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov ecx, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x24]
lea eax, [esp + 4]
push edi
xor edi, edi
push eax
push 0x20019
push edi
push esi
push ecx
mov dword [esp + 0x1c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x717ed2
lea edx, [esp + 0x24]
push eax
push edx
call fcn.007147a0
add esp, 8
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1c], edi
cmp eax, edi
je 0x717e61
mov edx, dword [eax]
jmp 0x717e63
xor edx, edx
xor ecx, ecx
push edi
xor eax, eax
push edx
push ecx
mov ecx, dword [esp + 0x38]
push eax
lea eax, [esp + 0x1c]
mov edx, dword [ecx + 4]
push eax
push esi
push 2
push edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
call fcn.00716050
mov eax, dword [esp + 0x44]
add esp, 0x20
cmp eax, edi
mov dword [esp + 0x1c], 0xffffffff
je 0x717ebf
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x717ebf
cmp esi, edi
je 0x717ebf
mov ecx, esi
call fcn.0070fa00
push esi
call fcn.0071d1c8
add esp, 4
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
push edi
lea eax, [esp + 0x2c]
push edi
push eax
call fcn.00714990
add esp, 0xc
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], 1
cmp eax, edi
je 0x717ef5
mov eax, dword [eax]
jmp 0x717ef7
xor eax, eax
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x2c]
push ebx
push esi
push eax
push ecx
push edx
call fcn.00713640
add esp, 0x10
mov bl, al
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0x717f25
mov eax, dword [eax]
jmp 0x717f27
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x20], 0xffffffff
cmp esi, edi
je 0x717f76
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x717f76
cmp esi, edi
je 0x717f76
mov eax, dword [esi]
cmp eax, edi
je 0x717f5d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, edi
je 0x717f6d
push eax
call fcn.0071d1c8
add esp, 4
push esi
call fcn.0071d1c8
add esp, 4
mov ecx, dword [esp + 0x18]
mov al, bl
pop ebx
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x717f90
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x208
lea eax, [esp]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push ebp
push esi
push edi
xor edi, edi
push 0x104
push eax
push edi
push SysStringLen
call ebx
mov esi, dword [esp + 0x21c]
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x717ffb
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0x718035
lea edx, [esp + 0x10]
push esi
push edx
push SysStringLen
call fcn.00717e00
add esp, 0xc
lea eax, [esp + 0x10]
inc edi
push 0x104
push eax
push edi
push SysStringLen
call ebx
test eax, eax
je 0x717fc5
mov edi, 0x7328b0
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0x718035
mov edx, dword [edi]
push esi
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00717e00
add edi, 4
add esp, 0xc
cmp edi, 0x7328c0
jb 0x718000
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x208
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x208
ret

Function at 0x718070
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x250
push esi
push edi
mov edi, dword [esp + 0x25c]
push 0x5c
push edi
call fcn.0071e082
mov esi, eax
add esp, 8
test esi, esi
je 0x718107
lea eax, [esp + 8]
mov word [esi], 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x718102
push ebx
lea ebx, [esi + 2]
push ebp
lea ecx, [esp + 0x3c]
push ebx
push ecx
call fcn.0071d946
add esp, 8
test eax, eax
je 0x7180e3
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea edx, [esp + 0x10]
push edx
push edi
call ebp
test eax, eax
je 0x7180e8
lea eax, [esp + 0x3c]
push ebx
push eax
call fcn.0071d946
add esp, 8
test eax, eax
jne 0x7180c5
mov word [esi], 0x5c
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp word [esi], 0
pop ebp
pop ebx
je 0x718102
pop edi
mov al, 1
pop esi
add esp, 0x250
ret
mov word [esi], 0x5c
pop edi
xor al, al
pop esi
add esp, 0x250
ret
Function at 0x718f10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x72d9fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x10], eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0x719002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.0071cdff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x719002
lea edx, [esp + 0x14]
push edx
push str.Mounting__s_n
call fcn.007146e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.0071d20b
push 0x10
call fcn.0071d1d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0x718fc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.007091c0
jmp 0x718fc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.00718b80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0x718ff0
mov ecx, edi
call fcn.007092c0
push edi
call fcn.0071d1c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x719021
inc ebx
cmp ebx, 0x20
jb 0x718f3e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x71a250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x72e808
push 0x71e288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x24], bl
mov dword [ebp - 4], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], 5
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x71a329
lea edx, [ebp - 0x28]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x71a329
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 1
mov ecx, dword [ebp - 0x28]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call edi
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0071d1d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0x71a329
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push esi
push 1
mov edx, dword [ebp - 0x28]
push edx
call edi
test eax, eax
je 0x71a329
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x24], al
jmp 0x71a32c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.0071a351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x71b000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x71b131
push esi
call fcn.0071e145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.0070d080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x71b131
push 0
push ebp
call fcn.0070d3a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.0070d260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x71b08b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.0070d2f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x71b121
push 0x733918
push edi
call fcn.0071c3f0
push eax
push ebx
push esi
call fcn.0071af60
push 0x7338f8
push edi
call fcn.0071c3f0
push eax
push ebx
push esi
call fcn.0071af60
push 0x7338d8
push edi
call fcn.0071c3f0
push eax
push ebx
push esi
call fcn.0071af60
push 0x7338c0
push edi
call fcn.0071c3f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.0071af60
push 0x7338a0
push edi
call fcn.0071c3f0
push eax
push ebx
push esi
call fcn.0071af60
push 0x733888
push edi
call fcn.0071c3f0
push eax
push ebx
push esi
call fcn.0071af60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x71c1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.0071c140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.0071c140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.0071c140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.0071c140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x71cbfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x71cc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x72e87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x71cc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x71cc52
xor eax, eax
pop esi
leave
ret 4
Function at 0x817510
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x33f000]
push edi
jmp 0x81752a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x817531
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x817520
mov eax, 1
add ebx, ebx
jne 0x817543
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x817554
jne 0x817573
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x817573
dec eax
add ebx, ebx
jne 0x817560
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x817538
add ebx, ebx
jne 0x81756f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x8175c5
xor ecx, ecx
sub eax, 3
jb 0x81758b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x8175fa
sar eax, 1
mov ebp, eax
jmp 0x817596
add ebx, ebx
jne 0x817596
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x817564
inc ecx
add ebx, ebx
jne 0x8175a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x817564
add ebx, ebx
jne 0x8175b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x8175a6
jne 0x8175c2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x8175a6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x8175e4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x8175d6
jmp 0x817526
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x8175e4
add edi, ecx
jmp 0x817526
pop esi
mov edi, esi
mov ecx, 0xaa6d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x817602
cmp byte [edi], 0x26
jne 0x817602
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x817607
lea edi, [esi + 0x414000]
mov eax, dword [edi]
or eax, eax
je 0x81767f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x486a6c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x486b98]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x817634
mov ecx, edi
jns 0x817663
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x486b9c]
or eax, eax
je 0x817679
mov dword [ebx], eax
add ebx, 4
jmp 0x817651
call dword [esi + 0x486bac]
mov ebp, dword [esi + 0x486ba0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x31f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x8176b3
sub esp, 0xffffff80
jmp 0x401590
Function at 0x416db0
Capabilities:
Encode data using xor

Disassembly:
jmp dword [ebp - 0x6a737c53]
inc ebp
dec ebx
cli
xor al, byte [ebx + 0x7f]
fidiv word [ebx - 0x34]
jae 0x416d22
in al, 0x42
inc edi
adc byte es:[edi + 0xc], ah
adc word [esi], sp
and eax, 0xcb49c482
clc
inc ebp
jl 0x416d4d
xor byte [edi], ch
dec ecx
invalid
je 0x416d54
ljmp 0x590a:0x35de7e0a

Function at 0x57d0c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
push 0xd
push 0
lea eax, [ebp - 0x18]
push eax
call 0x58d63a
add esp, 0xc
not eax
not eax
add esp, 0
jns 0x57d0ed
pushf
test dword [esp], eax
popf
nop
js 0x57d0ed
mov ebp, 0x48e845c6
mov byte [ebp - 0x18], 0x48
mov byte [ebp - 0x17], 0x66
mov byte [ebp - 0x16], 0x75
mov byte [ebp - 0x15], 0x4d
mov byte [ebp - 0x14], 0x62
mov byte [ebp - 0x13], 0x74
mov byte [ebp - 0x12], 0x75
mov byte [ebp - 0x11], 0x46
mov byte [ebp - 0x10], 0x73
mov byte [ebp - 0xf], 0x73
mov byte [ebp - 0xe], 0x70
mov byte [ebp - 0xd], 0x73
mov byte [ebp - 0xc], 0
call fcn.0057d126
Function at 0x430b10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
push edi
push ebx
push ebp
sub esp, 0x24
mov esi, dword [esp + 0x48]
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x4c]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
movsd xmm0, qword [eax]
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], edi
mov eax, dword [0x21e9fa0]
mov edi, dword [esp + 0x58]
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x18], edi
lea eax, [eax*8 + 0x5e4e230]
mov edi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x1c], edi
mov dword [esp + 8], ecx
mov ebp, dword [esp + 0x44]
mov edi, dword [esp + 0x60]
push 0x4fa4e0
push eax
subsd xmm0, qword [esi]
movsd qword [ebx], xmm0
call fcn.00416e10
add esp, 8
fstp qword [esp]
movsd xmm0, qword [ebx]
movsd xmm1, qword [esp]
comisd xmm0, xmm1
jbe 0x430ba5
mov dword [edi], 1
add esp, 0x24
pop ebp
pop ebx
pop edi
pop esi
ret
mov dword [esp + 0x64], 0xc
mov edx, ebx
mov dword [esp + 0x60], edi
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], esi
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ebp
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
add esp, 0x24
pop ebp
pop ebx
pop edi
pop esi
jmp fcn.00430c0c

Function at 0x430c00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
Function at 0x433c30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
push edi
push ebx
push ebp
sub esp, 0x24
mov ecx, dword [esp + 0x40]
mov ebp, dword [esp + 0x44]
mov ebx, dword [esp + 0x54]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x14], ebx
mov ecx, dword [0x21e9fa0]
mov ebp, dword [esp + 0x48]
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x20], ebp
lea ecx, [ecx*8 + 0x5e4e230]
mov dword [esp + 0x18], ebx
mov ebp, dword [esp + 0x4c]
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x1c], ebx
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x50]
mov ebx, dword [esp + 0x60]
push 0x4fa5f0
push ecx
call fcn.00416e10
add esp, 8
fstp qword [esp]
movsd xmm1, qword [esi]
movsd xmm0, qword [esp]
comisd xmm1, xmm0
jbe 0x433cba
mov dword [ebx], 1
add esp, 0x24
pop ebp
pop ebx
pop edi
pop esi
ret
mov ecx, dword [esp + 0x1c]
mov eax, edi
mov edx, esi
addsd xmm1, qword [ebp]
movsd qword [edi], xmm1
mov dword [esp + 0x64], 0xc
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], ecx
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], ebp
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 8]
add esp, 0x24
pop ebp
pop ebx
pop edi
pop esi
jmp fcn.00430c0c
Function at 0x44a490
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
sub esp, 0xc
mov edi, 1
mov dword [ebp - 0x10], 0
xor esi, esi
mov edx, 0x21fa09c
mov eax, 1
xchg dword [edx], eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x44a4e3
mov eax, 0x66666667
imul edi
sar edx, 2
lea ecx, [edx + edx*4]
add ecx, ecx
cmp ecx, edi
jne 0x44a4e3
cmp edi, 0x2710
jle 0x44a4dc
mov esi, 1
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x44a4f3
inc edi
cmp edi, 0x7ffffff
jl 0x44a4a6
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x44a50d
mov dword [ebp - 0x14], 0x98
lea eax, [ebp - 0x14]
push eax
call fcn.00465d80
add esp, 4
mov eax, dword [0x21fa0a0]
test eax, eax
jne 0x44a54b
cmp dword [0x52a9a4], 1
je 0x44a64b
xor esi, esi
xor edi, edi
cmp dword [0x21fa098], 0
je 0x44a608
mov dword [0x21fa0a0], 1
cmp dword [0x52a9a4], 1
je 0x44a5f0
push dword [0x21fa094]
mov dword [0x21fa09c], 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, eax
test edx, edx
je 0x44a575
mov eax, dword [ebp + 8]
mov dword [eax], edx
xor eax, eax
lea esp, [ebp - 8]
pop edi
pop esi
pop ebp
ret
mov dword [ebp - 0x10], edx
lea eax, [ebp - 0x10]
push eax
push 0
push 0x74
call fcn.00480eb0
add esp, 0xc
test eax, eax
je 0x44a59c
mov edx, dword [ebp + 8]
mov dword [edx], 0
lea esp, [ebp - 8]
pop edi
pop esi
pop ebp
ret
mov edx, dword [ebp - 0x10]
mov eax, dword [0x52a970]
mov dword [edx + 0x70], eax
mov eax, 0x70
mov ecx, dword [eax + 0x52a8fc]
mov dword [edx + eax - 4], ecx
mov esi, dword [eax + 0x52a8f8]
mov dword [edx + eax - 8], esi
mov edi, dword [eax + 0x52a8f4]
mov dword [edx + eax - 0xc], edi
mov ecx, dword [eax + 0x52a8f0]
mov dword [edx + eax - 0x10], ecx
sub eax, 0x10
jne 0x44a5ac
push dword [ebp - 0x10]
push dword [0x21fa094]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov edx, dword [ebp - 0x10]
jmp 0x44a567
push edi
push 2
call fcn.004d1a52
push esi
push 0x16
call fcn.004d1a52
add esp, 0x10
jmp 0x44a54b
mov dword [0x21fa098], 1
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x21fa094], eax
cmp eax, 0xffffffff
jne 0x44a62f
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x44a534
push 0x44a470
call fcn.004cbc65
push 0x44a430
call fcn.004cbc65
add esp, 8
jmp 0x44a534
push 1
push 2
call fcn.004d1a52
mov edi, eax
push 1
push 0x16
call fcn.004d1a52
mov esi, eax
add esp, 0x10
jmp 0x44a527
Function at 0x44a670
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
sub esp, 0xc
mov edi, 1
mov dword [ebp - 0x10], 0
xor esi, esi
mov edx, 0x21fa09c
mov eax, 1
xchg dword [edx], eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x44a6c3
mov eax, 0x66666667
imul edi
sar edx, 2
lea ecx, [edx + edx*4]
add ecx, ecx
cmp ecx, edi
jne 0x44a6c3
cmp edi, 0x2710
jle 0x44a6bc
mov esi, 1
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x44a6d3
inc edi
cmp edi, 0x7ffffff
jl 0x44a686
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x44a6ed
mov dword [ebp - 0x14], 0x98
lea eax, [ebp - 0x14]
push eax
call fcn.00465d80
add esp, 4
mov eax, dword [0x21fa0a0]
test eax, eax
jne 0x44a72b
cmp dword [0x52a9a4], 1
je 0x44a851
xor esi, esi
xor edi, edi
cmp dword [0x21fa098], 0
je 0x44a80e
mov dword [0x21fa0a0], 1
cmp dword [0x52a9a4], 1
je 0x44a7f6
push dword [0x21fa094]
mov dword [0x21fa09c], 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
mov dword [ebp - 0x10], esi
test esi, esi
je 0x44a77e
mov eax, dword [ebp + 8]
mov dword [eax], esi
cmp dword [0x52a9a4], 1
je 0x44a761
xor eax, eax
lea esp, [ebp - 8]
pop edi
pop esi
pop ebp
ret
push 1
push 2
call fcn.004d1a52
push 1
push 0x16
mov dword [esi + 0x64], eax
call fcn.004d1a52
add esp, 0x10
mov dword [esi + 0x68], eax
jmp 0x44a758
lea eax, [ebp - 0x10]
push eax
push 0
push 0x74
call fcn.00480eb0
add esp, 0xc
test eax, eax
je 0x44a7a2
mov edx, dword [ebp + 8]
mov dword [edx], 0
lea esp, [ebp - 8]
pop edi
pop esi
pop ebp
ret
mov edx, dword [ebp - 0x10]
mov eax, dword [0x52a970]
mov dword [edx + 0x70], eax
mov eax, 0x70
mov ecx, dword [eax + 0x52a8fc]
mov dword [edx + eax - 4], ecx
mov esi, dword [eax + 0x52a8f8]
mov dword [edx + eax - 8], esi
mov edi, dword [eax + 0x52a8f4]
mov dword [edx + eax - 0xc], edi
mov ecx, dword [eax + 0x52a8f0]
mov dword [edx + eax - 0x10], ecx
sub eax, 0x10
jne 0x44a7b2
push dword [ebp - 0x10]
push dword [0x21fa094]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov esi, dword [ebp - 0x10]
jmp 0x44a74a
push edi
push 2
call fcn.004d1a52
push esi
push 0x16
call fcn.004d1a52
add esp, 0x10
jmp 0x44a72b
mov dword [0x21fa098], 1
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x21fa094], eax
cmp eax, 0xffffffff
jne 0x44a835
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x44a714
push 0x44a470
call fcn.004cbc65
push 0x44a430
call fcn.004cbc65
add esp, 8
jmp 0x44a714
push 1
push 2
call fcn.004d1a52
mov edi, eax
push 1
push 0x16
call fcn.004d1a52
mov esi, eax
add esp, 0x10
jmp 0x44a707
Function at 0x480c70
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push 0x21fa7fc
call fcn.0044a8c0
add esp, 4
mov eax, dword [0x21fa800]
test eax, eax
jne 0x480cf8
mov dword [0x21fa800], 1
lea eax, [ebp - 8]
push eax
push 0
push 0x1001
call fcn.00480eb0
add esp, 0xc
push 0x105
mov edi, dword [ebp - 8]
push edi
push str.FORT0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jbe 0x480cc7
cmp eax, 0x105
jb 0x480cce
test edi, edi
je 0x480cce
mov byte [edi], 0
mov edi, dword [ebp - 8]
cmp byte [edi], 0
je 0x480cef
push 2
call fcn.004d82c4
push eax
push 0x505bfc
push edi
call fcn.004d8494
add esp, 0x10
mov edi, dword [ebp - 8]
push edi
call fcn.00480f70
add esp, 4
mov dword [0x21fa7fc], 0
lea esp, [ebp - 4]
pop edi
pop ebp
ret