joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10003c00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10012190
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x10020118]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.MSVCR110.dll_public:_void___thiscall_std::exception::constructor_class_std::exception_const__]
mov dword [ebp - 4], 0
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x14]
push 0xffffffffffffffff
push 0
lea eax, [edi + 0x14]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.10002440
mov dword [ebp - 4], 1
mov dword [esi + 0x2c], vtable.boost::exception.0
mov ecx, dword [edi + 0x30]
mov dword [esi + 0x30], ecx
test ecx, ecx
je 0x10003c8b
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::system::system_error_.1.0
mov dword [esi + 0x2c], vtable.boost::exception_detail::error_info_injector_class_boost::system::system_error_.0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x10004cb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100121b8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x10020118]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.MSVCR110.dll_public:_void___thiscall_std::exception::constructor_class_std::exception_const__]
mov dword [ebp - 4], 0
mov dword [edi], vtable.boost::system::system_error.0
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
lea ecx, [edi + 0x14]
push 0xffffffffffffffff
push 0
lea eax, [esi + 0x14]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.10002440
mov dword [edi + 0x2c], vtable.boost::exception.0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0xffffffff
mov dword [edi], vtable.boost::exception_detail::error_info_injector_class_boost::system::system_error_.1.0
mov dword [edi + 0x2c], vtable.boost::exception_detail::error_info_injector_class_boost::system::system_error_.0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x100057d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x10020118]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
push 0x40
lea eax, [ebp - 0x44]
xorps xmm0, xmm0
push 0
push eax
mov dword [ebp - 0x58], 0
movq qword [ebp - 0x54], xmm0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0x44
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x10005854
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000f53c
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x54]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
test ebx, ebx
je 0x10005876
mov eax, dword [ebp - 0x58]
push 0x8000
push eax
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
jmp 0x1000587b
push dword [ebp - 0x58]
call esi
test edi, edi
je 0x10005884
mov eax, dword [ebp - 0x50]
mov dword [edi], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.1000f53c
mov esp, ebp
pop ebp
ret
Function at 0x1000c4f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x10020118]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
add eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push str.SoftwareiSafe
push SysStringLen
mov dword [ebp - 0xc], 1
xor bl, bl
mov dword [ebp - 0x10], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000c562
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0xc]
push eax
push 0
push str.path
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx ebx, bl
mov ecx, 1
test eax, eax
cmove ebx, ecx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1000c570
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop esi
movzx eax, bl
xor ecx, ebp
pop ebx
call fcn.1000f53c
mov esp, ebp
pop ebp
ret

Function at 0x1000c910
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.1000c930
Function at 0x1000cc80
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
je 0x1000ccf5
mov eax, dword [esi + 8]
test eax, eax
je 0x1000cca1
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [esi + 8], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1000ccb6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
push dword [ebp + 8]
push 0x1c18
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 4], eax
test eax, eax
je 0x1000ccf5
push 0x1c18
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 8], eax
test eax, eax
jne 0x1000ccfc
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop esi
pop ebp
ret 4
mov al, 1
pop esi
pop ebp
ret 4

Function at 0x1000d140
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x1000d155
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x1000d194
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x1000d190
lea ebx, [ebx]
cmp esi, edx
jae 0x1000d194
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x1000d180
cmp esi, edx
jb 0x1000d199
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret
Function at 0x1000d340
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10020118]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [0x10022024]
test ecx, ecx
je 0x1000d4c0
cmp eax, ecx
jbe 0x1000d4c0
mov edx, dword [0x10022028]
push ebx
push esi
test edx, edx
je 0x1000d469
cmp edx, ecx
jae 0x1000d469
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
push 0
sub eax, edx
push eax
push edi
call esi
push dword [0x10022028]
call fcn.1000f43a
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x1000d3c7
push 2
push eax
push eax
push edi
call esi
pop esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000f53c
mov esp, ebp
pop ebp
ret
mov eax, dword [0x10022028]
xor esi, esi
test eax, eax
je 0x1000d3f6
push 0
lea ecx, [ebp - 8]
push ecx
sub eax, esi
push eax
lea eax, [esi + ebx]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1000d439
add esi, dword [ebp - 8]
mov eax, dword [0x10022028]
cmp esi, eax
jb 0x1000d3d2
mov eax, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
push 0
push 0
push edi
call eax
push 2
lea eax, [ebp - 0xc]
push eax
push edi
mov dword [ebp - 0xc], 0xfeff
call fcn.1000d4d0
add esp, 0xc
lea eax, [ebp - 8]
push 0
push eax
push dword [0x10022028]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call sub.MSVCR110.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp 0x1000d4b7
cmp esi, dword [0x10022028]
jae 0x1000d3f6
push ebx
call sub.MSVCR110.dll_void___cdecl_operator_delete_void__
mov eax, dword [sym.imp.KERNEL32.dll_SetFilePointer]
add esp, 4
push 2
push 0
push 0
push edi
call eax
pop esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000f53c
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test dword [0x10022020], 0x40000000
mov dword [ebp - 8], 0xfeff
je 0x1000d49d
mov al, byte [ebp - 7]
mov byte [ebp - 8], 0xa5
test al, al
je 0x1000d49d
cmp al, 0x5a
je 0x1000d49d
xor al, 0x5a
mov byte [ebp - 7], al
push 0
lea eax, [ebp - 0xc]
push eax
push 2
lea eax, [ebp - 8]
push eax
push edi
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.1000f53c
mov esp, ebp
pop ebp
ret
Function at 0x1000d4d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10020118]
xor eax, ebp
mov dword [ebp - 4], eax
test dword [0x10022020], 0x40000000
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
je 0x1000d51e
mov edx, dword [ebp + 0x10]
xor ecx, ecx
test edx, edx
je 0x1000d515
lea ecx, [ecx]
mov al, byte [ecx + esi]
test al, al
je 0x1000d510
cmp al, 0x5a
je 0x1000d510
xor al, 0x5a
mov byte [ecx + esi], al
inc ecx
cmp ecx, edx
jb 0x1000d500
push 0
lea eax, [ebp - 8]
push eax
push edx
jmp 0x1000d527
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
push esi
push edi
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1000f53c
mov esp, ebp
pop ebp
ret

Function at 0x1000d550
Capabilities:
Get file size
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10020118]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x10022018], 0
push edi
mov edi, dword [ebp + 0xc]
je 0x1000d624
push esi
push 0x80
push 0x10022054
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
push 0x80
push 4
push 0
push 0
push 0xc0000000
push 0x10022054
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000d623
mov ecx, dword [0x10022020]
and ecx, dword [ebp + 8]
test cl, 7
je 0x1000d5bd
push esi
call fcn.1000d340
add esp, 4
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test eax, eax
jne 0x1000d5ed
push 2
lea eax, [ebp - 8]
push eax
push esi
mov dword [ebp - 8], 0xfeff
call fcn.1000d4d0
add esp, 0xc
test edi, edi
jne 0x1000d5f5
xor ecx, ecx
jmp 0x1000d611
mov ecx, edi
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000d600
sub ecx, edx
sar ecx, 1
add ecx, ecx
push ecx
push edi
push esi
call fcn.1000d4d0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.1000f53c
mov esp, ebp
pop ebp
ret
Function at 0x1000d640
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x10020118]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
lea ecx, [ebp - 0x20c]
add esp, 0xc
xor edx, edx
lea esi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000d680
sub ecx, esi
sar ecx, 1
mov eax, 0x5c
je 0x1000d6d8
jmp 0x1000d6a0
cmp word [ebp + edx*2 - 0x20c], 0x2f
jne 0x1000d6b3
mov word [ebp + edx*2 - 0x20c], ax
lea eax, [ebp - 0x20c]
inc edx
lea esi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000d6c0
sub eax, esi
sar eax, 1
cmp edx, eax
mov eax, 0x5c
jb 0x1000d6a0
mov edi, dword [sym.imp.MSVCR110.dll_wcsstr]
lea eax, [ebp - 0x206]
push 0x100152e8
push eax
call edi
mov esi, eax
add esp, 8
test esi, esi
je 0x1000d72c
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea esp, [esp]
xor eax, eax
push eax
mov word [esi], ax
lea eax, [ebp - 0x20c]
push eax
call ebx
mov eax, 0x5c
mov word [esi], ax
lea eax, [esi + 2]
push 0x100152e8
push eax
call edi
mov esi, eax
add esp, 8
test esi, esi
jne 0x1000d700
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov eax, 1
pop esi
call fcn.1000f53c
mov esp, ebp
pop ebp
ret

Function at 0x1000d9a0
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x10020118]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
test ecx, ecx
jne 0x1000d9c1
test eax, eax
je 0x1000d9f1
lea edx, [ebp - 0x414]
push edx
push eax
push ecx
call fcn.1000d1c0
add esp, 0xc
lea eax, [ebp - 0x414]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000f53c
mov esp, ebp
pop ebp
ret

Function at 0x1000e360
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x1000e3d1
mov ecx, dword [ebp - 4]
cmp dword [ecx + 8], 0
je 0x1000e3d1
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
test eax, eax
jne 0x1000e3ba
jmp 0x1000e3d1
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
push 0x40
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x10011270
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x100112e0
push 0xffffffffffffffff
push 0x10011ee8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10020118]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [0x10022ca0]
test eax, eax
jne 0x10011312
xor ebx, ebx
jmp 0x1001131b
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov dword [esp + 0x14], ebx
mov ebp, dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
or ecx, 0xffffffff
mov dword [esp + 0x20], 0
test ebx, ebx
je 0x1001135f
jmp 0x10011346
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
cmp dword [ebx + 0x14], 0
mov edi, dword [ebx + 0x10]
jne 0x10011399
test edi, edi
jne 0x100113a0
push edi
call fcn.10011440
add esp, 4
or ecx, 0xffffffff
mov dword [esp + 0x20], 0xffffffff
test ebx, ebx
je 0x10011385
lea eax, [ebx + 4]
lock xadd dword [eax], ecx
dec ecx
jne 0x10011385
mov eax, dword [ebx]
push 0
mov ecx, ebx
call dword [eax]
push ebx
push 0
call esi
push eax
call ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
test edi, edi
je 0x100113d8
lea ecx, [ecx]
mov eax, dword [edi + 4]
mov dword [ebx + 0x10], eax
mov ecx, dword [edi]
test ecx, ecx
je 0x100113c9
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 ebp
push edi
push 0
call esi
push eax
call ebp
mov edi, dword [ebx + 0x10]
test edi, edi
jne 0x100113a0
mov esi, dword [ebx + 0x14]
test esi, esi
je 0x10011340
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x14], eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x100113f8
mov eax, dword [ecx]
push dword [esi + 0xc]
call dword [eax + 4]
mov edi, dword [esi + 8]
test edi, edi
je 0x10011425
lea eax, [edi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x10011425
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea eax, [edi + 8]
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x10011425
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
mov esi, dword [ebx + 0x14]
test esi, esi
jne 0x100113e3
jmp 0x10011340
Function at 0x100112e0
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x100112e0
push 0xffffffffffffffff
push 0x10011ee8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10020118]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [0x10022ca0]
test eax, eax
jne 0x10011312
xor ebx, ebx
jmp 0x1001131b
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov dword [esp + 0x14], ebx
mov ebp, dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
or ecx, 0xffffffff
mov dword [esp + 0x20], 0
test ebx, ebx
je 0x1001135f
jmp 0x10011346
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
cmp dword [ebx + 0x14], 0
mov edi, dword [ebx + 0x10]
jne 0x10011399
test edi, edi
jne 0x100113a0
push edi
call fcn.10011440
add esp, 4
or ecx, 0xffffffff
mov dword [esp + 0x20], 0xffffffff
test ebx, ebx
je 0x10011385
lea eax, [ebx + 4]
lock xadd dword [eax], ecx
dec ecx
jne 0x10011385
mov eax, dword [ebx]
push 0
mov ecx, ebx
call dword [eax]
push ebx
push 0
call esi
push eax
call ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
test edi, edi
je 0x100113d8
lea ecx, [ecx]
mov eax, dword [edi + 4]
mov dword [ebx + 0x10], eax
mov ecx, dword [edi]
test ecx, ecx
je 0x100113c9
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 ebp
push edi
push 0
call esi
push eax
call ebp
mov edi, dword [ebx + 0x10]
test edi, edi
jne 0x100113a0
mov esi, dword [ebx + 0x14]
test esi, esi
je 0x10011340
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x14], eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x100113f8
mov eax, dword [ecx]
push dword [esi + 0xc]
call dword [eax + 4]
mov edi, dword [esi + 8]
test edi, edi
je 0x10011425
lea eax, [edi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x10011425
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea eax, [edi + 8]
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x10011425
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
mov esi, dword [ebx + 0x14]
test esi, esi
jne 0x100113e3
jmp 0x10011340
Function at 0x10011440
Capabilities:
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x10011f18
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x10020118]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
push 0x100111d0
push 0x10022c98
call fcn.10010e70
mov eax, dword [0x10022ca0]
add esp, 8
test eax, eax
je 0x10011499
push dword [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
add esp, 0x1c
ret
lea ecx, [esp + 4]
call dword [sym.imp.MSVCR110.dll_public:_void___thiscall_std::exception::constructor_void_]
mov dword [esp + 0x10], 0
mov dword [esp + 4], vtable.boost::thread_resource_error.0
lea eax, [esp + 4]
push eax
mov dword [esp + 0x20], 0
call fcn.10003b60
int3
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x409e8c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x409e9b
pop dword [ebp - 0x4c]
mov eax, 0x63bb9ada
sub eax, 0x637afc3f
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0x48ae17b
add dword [ebp - 0x5c], 0x49c763d0
mov dword [ebp - 0x58], 0x9ff6964a
sub dword [ebp - 0x58], 0x6dc34a05
mov dword [ebp - 0x54], 0xb8eadb40
add dword [ebp - 0x54], 0x936168ee
mov dword [ebp - 0x50], 0x668d7983
sub dword [ebp - 0x50], 0x668d7983
lea eax, [ebp - 0x5c]
push eax
mov eax, 0xaf25cbdc
sub eax, 0xaee4fb88
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0xebdd3a90
sub dword [ebp - 0x5c], 0x776ad13a
mov dword [ebp - 0x58], 0x65d5e50c
sub dword [ebp - 0x58], 0x24698397
mov dword [ebp - 0x54], 0xb4c2e9cb
sub dword [ebp - 0x54], 0x51537d5f
mov dword [ebp - 0x50], 0x9b5d94ab
add dword [ebp - 0x50], 0x64a26b55
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, 0x61289754
add eax, 0x9f1838f8
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x39d32
push 0
call eax
mov ecx, 0x48c1
mov esi, eax
mov edi, 0x877b71ca
sub edi, 0x8739c1ca
add edi, dword [ebp - 0x4c]
mov ebx, 0x377683a2
xor dword [ebp - 0x2c], 0x8fe63852
mov edx, dword [edi]
add dword [ebp - 0x34], ecx
add edx, ebx
sub dword [ebp - 0x1c], 0x933c63c8
mov dword [esi], edx
mov dword [ebp - 0x10], 0xfaaa1880
add esi, 4
add edi, 0xe2725d6
add edi, 0xf1d8da2e
loop 0x409fb1
add eax, 0xf4ef44d2
sub eax, 0xf4ee2efb
mov ebx, eax
add eax, 5
mov ecx, 0x3497e682
add ecx, 0xcba8197e
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x433002
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x2c5c054c
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4330d2
mov ebx, 0x4304d8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x22c579a6
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x4330c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219