joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435b05
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0x20
mov eax, 0x445c4b
call fcn.0043edd6
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
mov edi, dword [ebp + 0x10]
and dword [ebp - 4], 0
push 8
pop esi
cmp dword [edi + 0x14], esi
jb 0x435b29
mov eax, dword [edi]
jmp 0x435b2b
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x435b90
cmp dword [edi + 0x14], esi
jb 0x435b3f
mov eax, dword [edi]
jmp 0x435b41
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x435b90
lea ecx, [ebp - 0x18]
call fcn.00432127
mov byte [ebp - 4], 1
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
cmp dword [edi + 0x14], esi
jb 0x435b6b
mov edi, dword [edi]
mov ecx, dword [ebx]
mov eax, dword [ecx]
call dword [eax + 0xc]
push dword [ebp - 0x14]
push edi
push str.Failed_to_delete_fileName__S_:__S
push eax
call fcn.00402357
add esp, 0x10
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00402409
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x14], esi
jb 0x435b9c
mov eax, dword [edi]
jmp 0x435b9e
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x435c03
cmp dword [edi + 0x14], esi
jb 0x435bb2
mov eax, dword [edi]
jmp 0x435bb4
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x435c03
lea ecx, [ebp - 0x14]
call fcn.00432127
mov byte [ebp - 4], 2
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
cmp dword [edi + 0x14], esi
jb 0x435bde
mov edi, dword [edi]
mov ecx, dword [ebx]
mov eax, dword [ecx]
call dword [eax + 0xc]
push dword [ebp - 0x18]
push edi
push str.Failed_to_delete_path__S_:__S
push eax
call fcn.00402357
add esp, 0x10
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.00402409
xor edx, edx
cmp byte [ebx + 4], dl
push 0
sete dl
push 0
push str.SoftwareRobloxRegETags
lea ecx, [ebp - 0x28]
add edx, 0x80000001
call fcn.00432263
mov eax, dword [ebp + 8]
add esp, 0xc
cmp dword [eax + 0x14], esi
jb 0x435c2f
mov eax, dword [eax]
push 1
push 0x448158
push eax
lea ecx, [ebp - 0x28]
call fcn.0040d93b
cmp dword [ebp - 0x28], 0
je 0x435c4e
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.0043ed3b
ret 0xc

Function at 0x436605
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push edi
mov edi, ecx
push 0
push dword [edi + 0x48]
mov byte [edi + 0x30], 1
call esi
push 0
push dword [edi + 0x40]
call esi
push 0
push dword [edi + 0x44]
call esi
push 0x436478
push 0x12c
push 1
push dword [edi + 0x58]
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
ret
Function at 0x436947
Capabilities:
Create new key via cryptacquirecontext
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push 0x24
mov eax, 0x445f54
call fcn.0043ee0c
mov esi, ecx
xor ebx, ebx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov dword [ebp - 0x30], esi
mov byte [esi], bl
push str.Failed_CryptAcquireContext
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.0040221e
push 0xf0000000
push 1
push ebx
push ebx
lea edi, [esi + 0x18]
push edi
mov byte [ebp - 4], 1
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x436999
lea ecx, [ebp - 0x2c]
call fcn.00432100
lea ecx, [ebp - 0x2c]
call fcn.00402286
push str.Failed_CryptCreateHash
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.0040221e
lea eax, [esi + 0x1c]
push eax
push ebx
push ebx
push 0x8003
mov byte [ebp - 4], 3
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x4369d5
lea ecx, [ebp - 0x2c]
call fcn.00432100
lea ecx, [ebp - 0x2c]
call fcn.00402286
mov eax, esi
call fcn.0043ed5e
ret

Function at 0x436a1b
Capabilities:
Hash data via wincrypt

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x445f84
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x466034]
xor eax, esp
mov dword [esp + 0x428], eax
push ebx
push esi
push edi
mov eax, dword [0x466034]
xor eax, esp
push eax
lea eax, [esp + 0x440]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
xor esi, esi
mov eax, dword [edi]
push esi
mov ecx, dword [eax + 4]
push esi
add ecx, edi
call dword [sym.imp.MSVCP110.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
push esi
push esi
push esi
mov ecx, edi
call dword [sym.imp.MSVCP110.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int_]
push esi
push 0x400
lea eax, [esp + 0x3c]
push eax
mov ecx, edi
call dword [sym.imp.MSVCP110.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::read_char___long_long___int64__]
mov eax, dword [edi + 0xc]
mov esi, dword [edi + 8]
push str.Failed_CryptHashData
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], eax
call fcn.0040221e
and dword [esp + 0x448], 0
push 0
push esi
lea eax, [esp + 0x3c]
push eax
push dword [ebx + 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x436acd
lea ecx, [esp + 0x1c]
call fcn.00432100
or dword [esp + 0x448], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.00402286
xor esi, esi
cmp dword [edi + 0xc], esi
jg 0x436a7c
jl 0x436aec
cmp dword [edi + 8], esi
ja 0x436a7c
mov ecx, dword [esp + 0x440]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x428]
xor ecx, esp
call fcn.0043b9da
mov esp, ebp
pop ebp
ret 4
Function at 0x436cb2
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x466034]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x436d0c
cmp dword [ebp - 0x108], 2
jne 0x436d0c
cmp dword [ebp - 0x114], 6
jb 0x436d0c
mov al, 1
jmp 0x436d0e
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043b9da
leave
ret
Function at 0x4377b1
Capabilities:
Enumerate process modules
Get process image filename

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44619e
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x183c
call fcn.0043ed10
mov eax, dword [0x466034]
xor eax, esp
mov dword [esp + 0x1838], eax
push ebx
push esi
push edi
mov eax, dword [0x466034]
xor eax, esp
push eax
lea eax, [esp + 0x1850]
mov dword fs:[0], eax
mov dword [esp + 0x10], ecx
lea eax, [esp + 0x24]
push eax
push 0x1000
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
mov edi, dword [esp + 0x24]
xor ebx, ebx
and dword [esp + 0x20], ebx
xor esi, esi
shr edi, 2
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ebx
and dword [esp + 0x1858], ebx
test edi, edi
je 0x437911
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x44]
mov dword [esp + 0x14], eax
push dword [eax]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [esp + 0x28], esi
push 0x400
lea eax, [esp + 0x1048]
push eax
push esi
mov byte [esp + 0x1864], 1
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x4378e4
xor eax, eax
and dword [esp + 0x3c], eax
mov word [esp + 0x1842], ax
mov word [esp + 0x2c], ax
lea eax, [esp + 0x1044]
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x44], 7
call fcn.0040b98c
lea eax, [ebx + 0x5c]
mov byte [esp + 0x1858], 2
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4378b8
mov eax, dword [eax]
push ecx
push 0
push eax
lea ecx, [esp + 0x38]
call fcn.0040ba0b
cmp eax, 0xffffffff
je 0x4378d7
push dword [esp + 0x14]
lea ecx, [esp + 0x1c]
call fcn.00419f90
push 0
push 1
lea ecx, [esp + 0x34]
call fcn.0040253d
mov byte [esp + 0x1858], 0
test esi, esi
je 0x4378f7
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
add eax, 4
mov dword [esp + 0x14], eax
dec edi
jne 0x437841
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov edi, esi
mov byte [eax + 0x58], 0
cmp esi, ebx
je 0x437939
mov esi, eax
push dword [edi]
mov ecx, esi
call fcn.00437512
add edi, 4
cmp edi, ebx
jne 0x437921
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov bl, byte [eax + 0x58]
test esi, esi
je 0x437948
push esi
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
pop ecx
mov al, bl
mov ecx, dword [esp + 0x1850]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1838]
xor ecx, esp
call fcn.0043b9da
mov esp, ebp
pop ebp
ret
Function at 0x4381ef
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov ebx, ecx
test esi, esi
je 0x43824d
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x43824d
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43821d
shr eax, 4
and eax, 1
jmp 0x43824f
push esi
call dword [sym.imp.SHLWAPI.dll_StrDupW]
push 0x5c
mov edi, eax
push 0
push edi
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
test eax, eax
je 0x438269
xor ecx, ecx
mov word [eax], cx
push edi
mov ecx, ebx
call fcn.004381ef
push edi
test eax, eax
jne 0x438256
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x43824d
xor eax, eax
inc eax
jmp 0x43824f
Function at 0x43826e
Capabilities:
Timestomp file

Disassembly:
push 0x4c
mov eax, 0x446300
call fcn.0043eda0
mov edi, dword [ebp + 8]
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push ebx
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x48], esi
push edi
lea eax, [ebp - 0x2c]
push str.SetFileModTime_couldnt_open__S
push eax
mov dword [ebp - 4], ebx
call fcn.0040ec9a
add esp, 0xc
mov byte [ebp - 4], 1
cmp esi, 0xffffffff
jne 0x4382bb
mov ecx, eax
call fcn.00432100
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00402286
push edi
lea eax, [ebp - 0x2c]
push str.SetFileModTime_failed_GetFileTime:__S
push eax
call fcn.0040ec9a
add esp, 0xc
mov ebx, eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x58]
push eax
push esi
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
jne 0x4382fc
mov ecx, ebx
call fcn.00432100
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.00402286
push edi
lea eax, [ebp - 0x2c]
push str.SetFileModTime_failed_DosDateTimeToFileTime:__S
push eax
call fcn.0040ec9a
add esp, 0xc
mov ebx, eax
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x44]
push eax
push ecx
shr ecx, 0x10
push ecx
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
test eax, eax
jne 0x43833d
mov ecx, ebx
call fcn.00432100
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.00402286
push edi
lea eax, [ebp - 0x2c]
push str.SetFileModTime_failed_LocalFileTimeToFileTime:__S
push eax
call fcn.0040ec9a
add esp, 0xc
mov ebx, eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
test eax, eax
jne 0x43837a
mov ecx, ebx
call fcn.00432100
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.00402286
push edi
lea eax, [ebp - 0x2c]
push str.SetFileModTime_failed_SetFileTime:__S
push eax
call fcn.0040ec9a
add esp, 0xc
mov edi, eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x34]
push eax
push esi
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x4383bc
mov ecx, edi
call fcn.00432100
lea ecx, [ebp - 0x2c]
call fcn.00402286
test esi, esi
je 0x4383cf
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0043ed4f
ret 8

Function at 0x43847e
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov ebx, 0xff
mov esi, dword [edi]
mov eax, esi
xor eax, dword [ebp + 8]
mov ecx, dword [edi + 8]
and eax, ebx
shr esi, 8
mov eax, dword [edx + eax*4]
xor eax, esi
mov dword [edi], eax
movzx eax, al
add eax, dword [edi + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [edi + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, ebx
shr ecx, 8
xor ecx, dword [edx + eax*4]
mov eax, dword [ebp + 8]
mov dword [edi + 8], ecx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x43e750
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x43f168
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x466034]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov eax, dword [0x4660ec]
cmp eax, 0xffffffff
jne 0x43e789
xor ebp, ebp
mov dword [esp + 0x14], ebp
jmp 0x43e796
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ebp
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [esp + 0x2c], 0
test ebp, ebp
je 0x43e7fd
jmp 0x43e7cc
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp + 0x14], 0
mov edi, dword [ebp + 0xc]
jne 0x43e83a
test edi, edi
jne 0x43e840
push 0x43db60
push 0x46eadc
call fcn.0043d8f0
mov eax, dword [0x4660ec]
add esp, 8
cmp eax, 0xffffffff
je 0x43e7fd
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esp + 0x2c], 0xffffffff
test ebp, ebp
je 0x43e826
lea eax, [ebp + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x43e826
mov eax, dword [ebp]
push 0
mov ecx, ebp
call dword [eax]
push ebp
push 0
call esi
push eax
call ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
test edi, edi
je 0x43e878
mov edi, edi
mov eax, dword [edi + 4]
mov dword [ebp + 0xc], eax
mov ecx, dword [edi]
test ecx, ecx
je 0x43e869
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [edi]
push 0
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0
call esi
push eax
call ebx
push edi
push 0
call esi
push eax
call ebx
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x43e840
mov ebx, dword [ebp + 0x10]
lea eax, [ebp + 0x10]
mov esi, dword [ebx]
mov dword [esp + 0x18], eax
cmp esi, ebx
je 0x43e7c0
mov ebp, eax
mov edi, edi
cmp byte [esi + 0xd], 0
mov edi, esi
jne 0x43e8d7
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x43e8bc
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x43e8d7
jmp 0x43e8b0
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x43e8b0
jmp 0x43e8d7
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x43e8d5
cmp esi, dword [eax + 8]
jne 0x43e8d5
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x43e8c5
mov esi, eax
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x43e8eb
mov edx, dword [edi + 0x1c]
test edx, edx
je 0x43e8eb
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push edi
lea eax, [esp + 0x24]
push eax
mov ecx, ebp
call fcn.0042c4c2
cmp esi, ebx
jne 0x43e890
mov ebp, dword [esp + 0x14]
jmp 0x43e7c0
Function at 0x43e910
Capabilities:
Create thread
Resume thread

Disassembly:
push ebx
push esi
mov esi, ecx
mov edx, dword [esi]
lea eax, [edx + 0x18]
push eax
push 4
push edx
push 0x43e980
push 0
push 0
call dword [sym.imp.MSVCR110.dll__beginthreadex]
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x43e93a
pop esi
xor al, al
pop ebx
ret
mov ecx, dword [esi]
push edi
add ecx, 4
mov eax, 1
lock xadd dword [ecx], eax
mov edi, dword [esi]
mov eax, dword [edi + 8]
test eax, eax
je 0x43e95e
cmp eax, 0xffffffff
je 0x43e95e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 8], ebx
mov eax, dword [esi]
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
pop esi
mov al, 1
pop ebx
ret
Function at 0x10013bbd
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x10013c5a
push ebx
push esi
call fcn.10013b86
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10013acf
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10013c07
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10013c59
push edi
push eax
call fcn.10012685
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10013c27
call fcn.10012761
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10013c58
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10013acf
add esp, 0x20
test eax, eax
jne 0x10013c46
push edi
call fcn.10012761
jmp 0x10013c4e
push ebx
call fcn.10012761
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x10013ec5
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001d180
push 0x1001d178
push str.FlsAlloc
push 0x1e
call fcn.10013de3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10013ef9
push dword [ebp + 8]
mov ecx, esi
call dword [0x1001b12c]
call esi
jmp 0x10013eff
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10013f43
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001d190
push 0x1001d188
push str.FlsGetValue
push 0x20
call fcn.10013de3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10013f7a
push dword [ebp + 8]
mov ecx, esi
call dword [0x1001b12c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x9a9058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.009a91a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x9a907e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9a906a
add dl, dl
jne 0x9a9089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9a90dc
xor eax, eax
add dl, dl
jne 0x9a9096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9a917d
add dl, dl
jne 0x9a90a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9a90b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9a90bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9a90c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x9a90d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x9a9075
mov eax, 1
add dl, dl
jne 0x9a90ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9a90f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9a90e1
sub eax, ebx
mov ebx, 1
jne 0x9a9128
mov ecx, 1
add dl, dl
jne 0x9a910e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9a9119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9a9105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9a9075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x9a913f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9a914a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9a9136
cmp eax, 0x7d00
jae 0x9a916d
cmp eax, 0x500
jb 0x9a9168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9a9075
cmp eax, 0x7f
ja 0x9a9170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9a9075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x9a919e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x9a9075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x593d00
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x11c000]
push edi
jmp 0x593d1a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x593d21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x593d10
mov eax, 1
add ebx, ebx
jne 0x593d33
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x593d44
jne 0x593d63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x593d63
dec eax
add ebx, ebx
jne 0x593d50
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x593d28
add ebx, ebx
jne 0x593d5f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x593db5
xor ecx, ecx
sub eax, 3
jb 0x593d7b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x593dea
sar eax, 1
mov ebp, eax
jmp 0x593d86
add ebx, ebx
jne 0x593d86
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x593d54
inc ecx
add ebx, ebx
jne 0x593d94
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x593d54
add ebx, ebx
jne 0x593da1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x593d96
jne 0x593db2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x593d96
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x593dd4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x593dc6
jmp 0x593d16
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x593dd4
add edi, ecx
jmp 0x593d16
pop esi
mov edi, esi
mov ecx, 0x40f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x593df2
cmp byte [edi], 0x11
jne 0x593df2
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 0x593df7
lea edi, [esi + 0x18c000]
mov eax, dword [edi]
or eax, eax
je 0x593e6f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2284f4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x228670]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x593e24
mov ecx, edi
jns 0x593e53
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 + 0x228674]
or eax, eax
je 0x593e69
mov dword [ebx], eax
add ebx, 4
jmp 0x593e41
call dword [esi + 0x228684]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x593ea0
cmp al, 0xef
ja 0x593e93
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x593e75
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x593e82
mov ebp, dword [esi + 0x228678]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x593ed4
sub esp, 0xffffff80
jmp 0x420577