joyce8/EMBER2024-capa huggingface dataset:
Function at 0x61cb40
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00406a84
cmp dword [ebp - 4], 0x10
je 0x61cc1c
cmp dword [ebp - 4], 0x11
je 0x61cc1c
cmp dword [ebp - 4], 0x12
je 0x61cc1c
cmp dword [ebp - 4], 0x2c
jne 0x61cb8d
mov eax, dword [ebp - 8]
mov edx, 0x61cc2c
call fcn.00406e48
jmp 0x61cc1c
cmp dword [ebp - 4], 0x90
jne 0x61cba5
mov eax, dword [ebp - 8]
mov edx, 0x61cc50
call fcn.00406e48
jmp 0x61cc1c
cmp dword [ebp - 4], 0x13
jne 0x61cbba
mov eax, dword [ebp - 8]
mov edx, 0x61cc6c
call fcn.00406e48
jmp 0x61cc1c
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_GetKeyboardLayout
push eax
push 0
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_MapVirtualKeyExW
shl eax, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 4], 0x21
jbe 0x61cbea
cmp dword [ebp - 4], 0x2f
jae 0x61cbea
or dword [ebp - 0xc], 0x1000000
cmp dword [ebp - 0xc], 0
je 0x61cc1c
push pe_nt_image_headers32
lea eax, [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetKeyNameTextW
test eax, eax
je 0x61cc1c
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x20c]
mov ecx, pe_nt_image_headers32
call fcn.00407728
mov esp, ebp
pop ebp
ret

Function at 0x61eb60
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
xor edx, edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x14], edx
mov word [ebp - 2], ax
xor eax, eax
push ebp
push 0x61ec1f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xffffffff
lea eax, [ebp - 0x2c]
mov dx, word [ebp - 2]
call fcn.00407694
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x14]
mov ecx, 0x61ec3c
call fcn.0040786c
mov eax, dword [ebp - 0x14]
call fcn.0040767c
push eax
call sub.kernel32.dll_GetDriveTypeW
cmp eax, 3
jne 0x61ec01
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x14]
call fcn.0040767c
push eax
call sub.kernel32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x61ec01
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x61ec26
lea eax, [ebp - 0x2c]
call fcn.00406a84
lea eax, [ebp - 0x14]
call fcn.00406a84
ret
Function at 0x633330
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
mov esi, eax
push ebx
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x63341e
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GlobalLock
xor edx, edx
push ebp
push 0x63340d
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, edi
mov ecx, ebx
call fcn.00404c50
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
jne 0x6333b2
push 0x633448
call sub.kernel32.dll_GetLastError_2
mov ecx, eax
mov eax, dword [0x653d30]
mov eax, dword [eax]
mov dl, 2
call fcn.0043f1c0
call fcn.00406244
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x633436
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 4]
push eax
movzx eax, si
push eax
call sub.user32.dll_SetClipboardData
test eax, eax
jne 0x6333f1
push 0x633448
call sub.kernel32.dll_GetLastError_2
mov ecx, eax
mov eax, dword [0x653d30]
mov eax, dword [eax]
mov dl, 2
call fcn.0043f1c0
call fcn.00406244
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x633436
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x633414
call sub.user32.dll_CloseClipboard
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x633970
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov ebx, ecx
mov esi, edx
mov edi, eax
xor eax, eax
push ebp
push 0x633a3f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00406a84
mov eax, dword [0x6547c4]
cmp dword [eax], 0
je 0x6339f1
mov edx, 0x65390c
mov eax, esi
mov ecx, 0x10
call fcn.0041ad44
test al, al
jne 0x6339f1
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0
push 0x4000
push esi
mov eax, dword [0x6547c4]
mov eax, dword [eax]
call eax
test eax, eax
jne 0x6339f1
cmp dword [ebp - 8], 0
je 0x6339f1
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.004076d4
mov eax, dword [ebp - 8]
push eax
call sub.ole32.dll_CoTaskMemFree
jmp 0x633a29
lea eax, [ebp - 4]
mov edx, 0x105
call fcn.00407794
mov eax, dword [ebp - 4]
call fcn.0040767c
push eax
push 0
push 0
push edi
push 0
call sub.shell32.dll_SHGetFolderPathW
test eax, eax
jne 0x633a29
lea eax, [ebp - 4]
call fcn.00431d20
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00406e48
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x633a46
lea eax, [ebp - 4]
call fcn.00406a84
ret
Function at 0x6340d0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x6341a0
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 4]
xor edx, edx
mov eax, ebx
call fcn.006341c0
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x63417e
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 8]
mov edx, 0x105
call fcn.00407794
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x634139
sub ebx, 4
mov ebx, dword [ebx]
push 0
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push esi
push ebx
mov eax, dword [ebp - 8]
call fcn.0040767c
push eax
mov eax, dword [ebp - 4]
call fcn.0040767c
push eax
call sub.kernel32.dll_GetVolumeInformationW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 9], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x634185
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x634640
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd4c
push ebx
push esi
mov ebx, ecx
mov esi, edx
mov eax, ebx
call fcn.00406a84
lea eax, [ebp - 0x2b4]
xor ecx, ecx
mov edx, 0x2b4
call fcn.00405058
push 0x200
push 0x2b4
lea eax, [ebp - 0x2b4]
push eax
push 0
mov eax, esi
call fcn.0040767c
push eax
call sub.shell32.dll_SHGetFileInfoW
test eax, eax
je 0x63469e
mov eax, ebx
lea edx, [ebp - 0x2a8]
mov ecx, 0x104
call fcn.00407728
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x634820
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
push ebx
xor ecx, ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x6349ec
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
cmp dword [ebp - 0x14], 0
je 0x6349bc
lea eax, [ebp - 4]
call fcn.0042ee50
xor eax, eax
push ebp
push 0x634961
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.0042ed70
xor eax, eax
push ebp
push 0x6348b4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.0040767c
push eax
call sub.kernel32.dll_SetCurrentDirectoryW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x19], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6348bb
lea eax, [ebp - 8]
call fcn.00406a84
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6349f3
lea eax, [ebp - 0x64]
mov edx, 3
call fcn.00406ae4
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00406ae4
lea eax, [ebp - 4]
call fcn.00406a84
ret
Function at 0x634b60
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
movzx ebx, byte [0x634bbc]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x634b7a
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x634b89
or bl, 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x634b98
or bl, 2
push 0x5b
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x634ba7
or bl, 8
push 0x5c
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x634bb6
or bl, 8
mov eax, ebx
pop ebx
pop ebp
ret

Function at 0x634c90
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, edx
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
jne 0x634cbe
push 0x634d38
call sub.kernel32.dll_GetLastError_2
mov ecx, eax
mov eax, dword [0x653d30]
mov eax, dword [eax]
mov dl, 2
call fcn.0043f1c0
jmp 0x634d25
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x634d1e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xd
call sub.user32.dll_GetClipboardData
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x634cf5
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.004076d4
jmp 0x634cfc
mov eax, ebx
call fcn.00406a84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x634d25
call sub.user32.dll_CloseClipboard
cmp dword [ebp - 4], 0
je 0x634d1d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x1e0262b0
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x432024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
nop
mov ecx, 0x2a8f281b
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x40b400
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
lea esi, [esi]
lea edi, [edi]
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.0040b340
mov dword [esp], eax
mov dword [esp + 8], esi
mov dword [esp + 4], edi
call sym._read
cmp eax, 0xffffffff
mov ebx, eax
jne 0x40b44c
call sym.__errno
cmp dword [eax], 4
je 0x40b420
add esp, 0x1c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x40d500
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov edx, eax
je 0x40d530
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov eax, dword [ebp + 0xc]
mov dword [esp], edx
mov dword [esp + 4], eax
call sym.___mingwthr_key_dtor
leave
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
leave
ret

Function at 0x40d6e0
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, dword [0x44b550]
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x40d720
mov dword [ebx + 0x30], eax
xor eax, eax
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
call sym.___mingwthr_key_dtor
test eax, eax
sete al
movzx eax, al
mov dword [ebx + 0x2c], eax
add esp, 0x14
pop ebx
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
sete al
movzx eax, al
mov dword [ebx + 0x2c], eax
add esp, 0x14
pop ebx
pop ebp
ret
Function at 0x40dad0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov eax, dword [0x44b550]
mov edi, dword [ebp + 8]
test eax, eax
je 0x40dbac
mov ecx, dword [eax + 0x2c]
test ecx, ecx
js 0x40dbc1
mov edx, dword [eax + 0x2c]
test edx, edx
jne 0x40db80
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x10], eax
lea ebx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
jmp 0x40db18
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
xor ecx, ecx
test eax, eax
mov edx, 5
je 0x40db28
mov ecx, dword [eax + 0x18]
xor edx, edx
cmp edx, 5
je 0x40db73
test edx, edx
jne 0x40db66
test ecx, ecx
je 0x40db10
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edi
mov eax, dword [edi]
mov edx, dword [edi + 4]
mov dword [esp], 1
mov dword [esp + 8], eax
mov eax, 1
mov dword [esp + 0xc], edx
mov dword [esp + 4], eax
call ecx
cmp eax, 6
je 0x40dbd0
cmp eax, 8
je 0x40db10
mov eax, 3
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea esp, [ebp - 0xc]
mov eax, 5
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [eax + 0x30]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
sub esp, 4
jmp 0x40db02
call sym.___w32_sharedptr_initialize
mov eax, dword [0x44b550]
mov ecx, dword [eax + 0x2c]
test ecx, ecx
jns 0x40daf4
call sym._fc_key_init_once
mov eax, dword [0x44b550]
jmp 0x40daf4
mov dword [edi + 0xc], 0
mov eax, dword [ebp - 0x14]
mov edx, ebx
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, edi
call sym.__Unwind_RaiseException_Phase2
cmp eax, 7
jne 0x40db6b
mov eax, dword [0x44b550]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x40dc23
mov edi, dword [eax + 0x2c]
test edi, edi
js 0x40dc4e
mov esi, dword [eax + 0x2c]
test esi, esi
jne 0x40dc2f
mov dword [eax + 0x28], ebx
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0x20]
mov ecx, dword [edx + 4]
mov ebp, dword [eax + 0x20]
mov esp, dword [edx + 8]
jmp ecx
call sym.___w32_sharedptr_initialize
mov eax, dword [0x44b550]
jmp 0x40dc01
mov eax, dword [eax + 0x30]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x40dc12
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40dc12
call sym._fc_key_init_once
mov eax, dword [0x44b550]
jmp 0x40dc08
Function at 0x40dd50
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
mov eax, dword [0x44b550]
test eax, eax
je 0x40ddb0
mov esi, dword [eax + 0x2c]
test esi, esi
js 0x40ddd0
mov ebx, dword [eax + 0x2c]
test ebx, ebx
jne 0x40ddf0
mov eax, dword [eax + 0x28]
lea edx, [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x10], eax
mov eax, edi
call sym.__Unwind_ForcedUnwind_Phase2
cmp eax, 7
je 0x40de40
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
call sym.___w32_sharedptr_initialize
mov eax, dword [0x44b550]
mov esi, dword [eax + 0x2c]
test esi, esi
jns 0x40dd72
jmp 0x40ddd0
call sym._fc_key_init_once
mov eax, dword [0x44b550]
mov ebx, dword [eax + 0x2c]
test ebx, ebx
je 0x40dd79
jmp 0x40ddf0
mov ebx, dword [eax + 0x30]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
lea edx, [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
sub esp, 4
mov dword [edi + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x10], eax
mov eax, edi
call sym.__Unwind_ForcedUnwind_Phase2
cmp eax, 7
jne 0x40dda1
lea esi, [esi]
mov eax, dword [0x44b550]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x40de8d
mov ecx, dword [eax + 0x2c]
test ecx, ecx
js 0x40de99
mov edx, dword [eax + 0x2c]
test edx, edx
jne 0x40de6e
mov dword [eax + 0x28], ebx
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0x20]
mov ecx, dword [edx + 4]
mov ebp, dword [eax + 0x20]
mov esp, dword [edx + 8]
jmp ecx
mov eax, dword [eax + 0x30]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x40de5d
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40de5d
call sym.___w32_sharedptr_initialize
mov eax, dword [0x44b550]
jmp 0x40de4c
call sym._fc_key_init_once
mov eax, dword [0x44b550]
jmp 0x40de53
Function at 0x40deb0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov eax, dword [0x44b550]
mov edi, dword [ebp + 8]
test eax, eax
je 0x40df44
mov esi, dword [eax + 0x2c]
test esi, esi
js 0x40df60
mov ebx, dword [eax + 0x2c]
test ebx, ebx
jne 0x40df80
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x10], eax
mov ecx, dword [edi + 0xc]
mov dword [ebp - 0x14], eax
test ecx, ecx
jne 0x40df38
lea edx, [ebp - 0x14]
mov eax, edi
call sym.__Unwind_RaiseException_Phase2
cmp eax, 7
jne 0x40dfff
mov eax, dword [0x44b550]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x40dfd6
mov edx, dword [eax + 0x2c]
test edx, edx
js 0x40dff0
mov edi, dword [eax + 0x2c]
test edi, edi
jne 0x40dfb0
mov dword [eax + 0x28], ebx
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0x20]
mov ecx, dword [edx + 4]
mov ebp, dword [eax + 0x20]
mov esp, dword [edx + 8]
jmp ecx
lea edx, [ebp - 0x14]
mov eax, edi
call sym.__Unwind_ForcedUnwind_Phase2
jmp 0x40def5
call sym.___w32_sharedptr_initialize
mov eax, dword [0x44b550]
mov esi, dword [eax + 0x2c]
test esi, esi
jns 0x40ded0
lea esi, [esi]
call sym._fc_key_init_once
mov eax, dword [0x44b550]
mov ebx, dword [eax + 0x2c]
test ebx, ebx
je 0x40dedb
lea esi, [esi]
lea edi, [edi]
mov ebx, dword [eax + 0x30]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
sub esp, 4
jmp 0x40dede
mov eax, dword [eax + 0x30]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x40df27
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40df27
call sym.___w32_sharedptr_initialize
mov eax, dword [0x44b550]
mov edx, dword [eax + 0x2c]
test edx, edx
jns 0x40df19
nop
lea esi, [esi]
call sym._fc_key_init_once
mov eax, dword [0x44b550]
jmp 0x40df19
call sym._abort
lea esi, [esi]
lea edi, [edi]
Function at 0x40e010
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
mov esi, dword [edi + 0xc]
test esi, esi
je 0x40e0a2
mov eax, dword [0x44b550]
test eax, eax
je 0x40e096
mov ebx, dword [eax + 0x2c]
test ebx, ebx
js 0x40e111
mov ecx, dword [eax + 0x2c]
test ecx, ecx
jne 0x40e0b7
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov eax, edi
call sym.__Unwind_ForcedUnwind_Phase2
cmp eax, 7
jne 0x40e12f
mov eax, dword [0x44b550]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x40e102
mov edx, dword [eax + 0x2c]
test edx, edx
js 0x40e120
mov edi, dword [eax + 0x2c]
test edi, edi
jne 0x40e0e3
mov dword [eax + 0x28], ebx
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0x20]
mov ecx, dword [edx + 4]
mov ebp, dword [eax + 0x20]
mov esp, dword [edx + 8]
jmp ecx
call sym.___w32_sharedptr_initialize
mov eax, dword [0x44b550]
jmp 0x40e032
mov dword [esp], edi
call sym.__Unwind_SjLj_RaiseException
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov ebx, dword [eax + 0x30]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
sub esp, 4
jmp 0x40e047
mov eax, dword [eax + 0x30]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x40e085
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40e085
call sym.___w32_sharedptr_initialize
mov eax, dword [0x44b550]
jmp 0x40e070
call sym._fc_key_init_once
mov eax, dword [0x44b550]
jmp 0x40e03d
call sym._fc_key_init_once
mov eax, dword [0x44b550]
jmp 0x40e07b
call sym._abort
lea esi, [esi]
lea edi, [edi]
Function at 0x416310
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp sym.___do_sjlj_init

Function at 0x416c80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 8], ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], esi
mov esi, dword [ebp + 0xc]
mov eax, dword [ebx + 0x20]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], esi
mov dword [esp + 8], eax
mov eax, 1
mov dword [esp + 4], eax
call sym._fread
test eax, eax
mov edx, eax
jle 0x416cd0
movzx eax, byte [esi + eax - 1]
mov dword [ebx + 0x24], eax
mov ebx, dword [ebp - 8]
mov eax, edx
mov esi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov dword [ebx + 0x24], 0xffffffff
mov eax, edx
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret