joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41dfcc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00414bbb
and dword [ebp - 0x14], 0
cmp dword [0x430600], 0
mov dword [ebp - 0x18], eax
jne 0x41e07f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41e127
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x42a0a4
push ebx
call edi
test eax, eax
je 0x41e127
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x430600], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x430604], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x430608], eax
call edi
push eax
call esi
mov dword [0x430610], eax
test eax, eax
je 0x41e07f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x43060c], eax
mov eax, dword [0x43060c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41e0d8
cmp dword [0x430610], ecx
je 0x41e0d8
push eax
call esi
push dword [0x430610]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41e0d8
test ebx, ebx
je 0x41e0d8
call edi
test eax, eax
je 0x41e0cf
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41e0cf
test byte [ebp - 8], 1
jne 0x41e0d8
or dword [ebp + 0x10], 0x200000
jmp 0x41e10b
mov eax, dword [0x430604]
cmp eax, dword [ebp - 0x18]
je 0x41e10b
push eax
call esi
test eax, eax
je 0x41e10b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41e10b
mov eax, dword [0x430608]
cmp eax, dword [ebp - 0x18]
je 0x41e10b
push eax
call esi
test eax, eax
je 0x41e10b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x430600]
call esi
test eax, eax
je 0x41e127
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41e129
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040fd17
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0xdc730c
Capabilities:
Encode data using xor

Disassembly:
jmp 0xdc7316
pushal
call 0xdc731c
pop ebp
sub ebp, 0x10
sub ebp, 0x9c730c
jmp 0xdc7332
mov eax, 0x9c730c
add eax, ebp
add eax, 0x4c
mov ecx, 0x5d4
mov edx, 0x5ddbb64b
xor byte [eax], dl
inc eax
dec ecx
jne 0xdc7349
jmp 0xdc735c
rol byte [esi + 0x4b77c2c0], 0x4b
dec ebx
retf 0xb38a
Function at 0x10001540
Capabilities:
Enumerate process modules

Disassembly:
mov al, byte [esp + 0x10]
sub esp, 0x244
test al, al
push ebp
push esi
je 0x10001554
xor ebp, ebp
jmp 0x10001572
push 0x1c
lea eax, [esp + 0x10]
push eax
push fcn.10001540
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov ebp, eax
mov eax, dword [esp + 0x10]
neg ebp
sbb ebp, ebp
and ebp, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea ecx, [esp + 0x28]
mov esi, eax
push ecx
push esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x30], 0x224
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x100015de
mov esi, dword [esp + 0x258]
push ebx
mov ebx, dword [esp + 0x254]
push edi
mov edi, dword [esp + 0x25c]
mov eax, dword [esp + 0x4c]
cmp eax, ebp
je 0x100015c5
push eax
push esi
push edi
push ebx
call fcn.10001300
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x30]
push edx
push eax
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x100015b4
mov esi, dword [esp + 0x10]
pop edi
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebp
add esp, 0x244
ret 0x10

Function at 0x10001640
Capabilities:
Get system information on windows

Disassembly:
mov eax, dword [0x10003044]
sub esp, 0x24
push esi
mov esi, ecx
mov dword [esi], eax
mov eax, dword [0x10003040]
test eax, eax
mov dword [0x10003044], esi
jne 0x10001671
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [esp + 0x10]
mov dword [0x10003040], edx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
push edi
mov edi, dword [esp + 0x34]
push eax
mov dword [esi + 4], eax
mov dword [esi + 8], edi
mov dword [esi + 0x10], ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0xc], eax
mov byte [esi + 0x14], cl
cmp eax, dword [0x10003040]
pop edi
jbe 0x100016b4
cmp byte [eax], 0x68
jne 0x100016b4
mov edx, dword [eax + 1]
mov dword [esi + 0xc], edx
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 4]
push ecx
mov ecx, dword [esi + 0xc]
push eax
push ecx
push edx
call fcn.10001540
pop esi
add esp, 0x24
ret 0x10
Function at 0x401207
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x834
mov eax, dword [0x4182d8]
xor edx, edx
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x2c], eax
mov eax, dword [0x4182dc]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x10], edx
mov esi, dword [edi]
mov ebx, dword [edi + 4]
mov dword [ebp - 4], esi
mov dword [ebp - 0x28], 0x9e3779b9
mov dword [ebp - 0x34], eax
call fcn.00401200
add dword [ebp - 0x10], 0x23f
cmp dword [0xec3364], 0x14
jne 0x401263
push edx
lea eax, [ebp - 0x834]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
mov eax, dword [0x4182e4]
mov edi, dword [0x4182e0]
push 0x20
pop edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], 2
add dword [ebp - 0x1c], 3
mov eax, esi
mov dword [ebp - 0xc], 0xedeb2e40
shl eax, 4
add eax, edi
cmp dword [0xec3364], 0xfa9
mov dword [ebp - 8], eax
mov eax, dword [0xec3360]
cmove eax, dword [ebp - 0xc]
and dword [ebp - 0xc], 0
cmp dword [0xec3364], 0x3eb
mov dword [0xec3360], eax
mov eax, dword [0xec32b8]
cmove eax, dword [ebp - 0xc]
mov dword [0xec32b8], eax
mov eax, dword [ebp - 0x10]
add eax, esi
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
shr eax, 5
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
and dword [ebp - 0x14], 0
mov dword [0xec335c], 0xf4ea3dee
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
xor eax, dword [ebp - 4]
sub ebx, eax
mov dword [ebp - 0x18], eax
mov eax, ebx
shl eax, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
add eax, ebx
and dword [ebp - 4], 0
mov dword [ebp - 0xc], eax
mov eax, ebx
shr eax, cl
add eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
add dword [ebp - 4], eax
mov eax, dword [ebp - 4]
xor dword [ebp - 0x14], eax
cmp dword [0xec3364], 0xb03
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
jne 0x401362
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x20]
xor eax, dword [ebp - 0x18]
sub esi, eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x28]
sub dword [ebp - 0x10], eax
dec edx
mov dword [ebp - 0x20], edx
jne 0x401277
mov edi, dword [ebp - 0x30]
mov dword [edi], esi
mov dword [edi + 4], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40c062
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x417f10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00407f6c
mov dword [ebp - 0x14], eax
cmp dword [0x81eb54], esi
jne 0x40c155
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40c0e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40c235
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40c235
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40c235
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x81eb54], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x81eb58], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x81eb5c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x81eb64], eax
test eax, eax
je 0x40c152
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x81eb60], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40c17a
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40c16d
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40c18f
push 4
pop eax
jmp 0x40c237
cmp dword [ebp - 0x14], esi
je 0x40c18f
push dword [0x81eb54]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40c174
mov eax, dword [0x81eb60]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40c1ed
cmp dword [0x81eb64], edi
je 0x40c1ed
push eax
call ebx
push dword [0x81eb64]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40c1ed
test eax, eax
je 0x40c1ed
call ecx
test eax, eax
je 0x40c1e2
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40c1e2
test byte [ebp - 8], 1
jne 0x40c1ed
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40c21d
mov eax, dword [0x81eb58]
cmp eax, edi
je 0x40c21a
push eax
call ebx
test eax, eax
je 0x40c21a
call eax
mov esi, eax
test esi, esi
je 0x40c21a
mov eax, dword [0x81eb5c]
cmp eax, edi
je 0x40c21a
push eax
call ebx
test eax, eax
je 0x40c21a
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x81eb54]
call ebx
test eax, eax
je 0x40c235
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40c237
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004040a8
mov esp, ebp
pop ebp
ret
Function at 0x40161c
Capabilities:
Execute command
Hide graphical window
Self delete

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x57c
and esp, 0xfffffff0
mov eax, 0
add eax, 0xf
add eax, 0xf
shr eax, 4
shl eax, 4
mov dword [ebp - 0x56c], eax
mov eax, dword [ebp - 0x56c]
call fcn.0040e09c
mov dword [ebp - 0x53c], sym.___gxx_personality_sj0
mov dword [ebp - 0x538], 0x4403ec
lea eax, [ebp - 0x534]
lea edx, [ebp - 0x18]
mov dword [eax], edx
mov edx, 0x40180f
mov dword [eax + 4], edx
mov dword [eax + 8], esp
lea eax, [ebp - 0x554]
mov dword [esp], eax
call sym.__Unwind_SjLj_Register
call sym.___main
mov dword [ebp - 0x550], 0xffffffff
call sym._AllocConsole_0
mov dword [esp + 4], 0
mov dword [esp], str.ConsoleWindowClass
call sym._FindWindowA_8
sub esp, 8
mov dword [ebp - 0x1c], eax
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym._ShowWindow_8
sub esp, 8
mov dword [esp + 8], 8
mov dword [esp + 4], str.lag.nfo
lea eax, [ebp - 0x128]
mov dword [esp], eax
mov dword [ebp - 0x550], 0xffffffff
call method.std::basic_ifstream_char__std::char_traits_char___.basic_ifstream_char_const__std::_Ios_Openmode_
mov dword [ebp - 0x51c], 1
mov dword [ebp - 0x520], 0
mov dword [esp + 8], 0x3e8
lea eax, [ebp - 0x518]
mov dword [esp + 4], eax
lea eax, [ebp - 0x128]
mov dword [esp], eax
mov dword [ebp - 0x550], 1
call method.std::istream.getline_char__int_
mov edx, dword [eax]
sub edx, 0xc
add eax, dword [edx]
mov dword [esp], eax
call method.std::basic_ios_char__std::char_traits_char___.operator_void___const
test eax, eax
je 0x401776
lea eax, [ebp - 0x518]
mov dword [esp], eax
call sym._system
test eax, eax
jne 0x40176c
mov dword [ebp - 0x520], 1
mov eax, dword [ebp - 0x51c]
mov dword [esp], eax
call sym.remove_int_
lea eax, [ebp - 0x51c]
inc dword [eax]
jmp 0x401705
mov dword [ebp - 0x51c], 1
mov dword [esp + 4], 0x443027
lea eax, [ebp - 0x518]
mov dword [esp], eax
mov dword [ebp - 0x550], 1
call sym._strcpy
cmp dword [ebp - 0x520], 1
jne 0x4017d9
lea eax, [ebp - 0x128]
mov dword [esp], eax
call method.std::basic_ifstream_char__std::char_traits_char___.close__
mov dword [esp], str.del_lag.nfo
call sym._system
mov dword [esp], str.rename_lag_dup.txt_lag.nfo
call sym._system
mov dword [ebp - 0x520], 0
mov dword [esp], 0x927c0
mov dword [ebp - 0x550], 1
call sym._Sleep_4
sub esp, 4
lea eax, [ebp - 0x128]
mov dword [esp], eax
mov dword [ebp - 0x550], 0xffffffff
call fcn.00436c84
jmp 0x4016c9

Function at 0x40a04c
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 method.std::__basic_file_char_.fd__
mov dword [esp], eax
mov dword [esp + 8], esi
mov dword [esp + 4], edi
call sym._read
cmp eax, 0xffffffff
mov ebx, eax
jne 0x40a098
call sym.__errno
cmp dword [eax], 4
je 0x40a06c
add esp, 0x1c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x40d53c
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, dword [0x44b540]
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x40d57c
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 0x40d92c
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 [0x44b540]
mov edi, dword [ebp + 8]
test eax, eax
je 0x40da08
mov ecx, dword [eax + 0x2c]
test ecx, ecx
js 0x40da1d
mov edx, dword [eax + 0x2c]
test edx, edx
jne 0x40d9dc
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x10], eax
lea ebx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
jmp 0x40d974
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
xor ecx, ecx
test eax, eax
mov edx, 5
je 0x40d984
mov ecx, dword [eax + 0x18]
xor edx, edx
cmp edx, 5
je 0x40d9cf
test edx, edx
jne 0x40d9c2
test ecx, ecx
je 0x40d96c
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 0x40da2c
cmp eax, 8
je 0x40d96c
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 0x40d95e
call sym.___w32_sharedptr_initialize
mov eax, dword [0x44b540]
mov ecx, dword [eax + 0x2c]
test ecx, ecx
jns 0x40d950
call sym._fc_key_init_once
mov eax, dword [0x44b540]
jmp 0x40d950
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 0x40d9c7
mov eax, dword [0x44b540]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x40da7f
mov edi, dword [eax + 0x2c]
test edi, edi
js 0x40daaa
mov esi, dword [eax + 0x2c]
test esi, esi
jne 0x40da8b
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 [0x44b540]
jmp 0x40da5d
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 0x40da6e
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40da6e
call sym._fc_key_init_once
mov eax, dword [0x44b540]
jmp 0x40da64
Function at 0x40dbac
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 [0x44b540]
test eax, eax
je 0x40dc0c
mov esi, dword [eax + 0x2c]
test esi, esi
js 0x40dc2c
mov ebx, dword [eax + 0x2c]
test ebx, ebx
jne 0x40dc4c
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 0x40dc9c
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 [0x44b540]
mov esi, dword [eax + 0x2c]
test esi, esi
jns 0x40dbce
jmp 0x40dc2c
call sym._fc_key_init_once
mov eax, dword [0x44b540]
mov ebx, dword [eax + 0x2c]
test ebx, ebx
je 0x40dbd5
jmp 0x40dc4c
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 0x40dbfd
lea esi, [esi]
mov eax, dword [0x44b540]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x40dce9
mov ecx, dword [eax + 0x2c]
test ecx, ecx
js 0x40dcf5
mov edx, dword [eax + 0x2c]
test edx, edx
jne 0x40dcca
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 0x40dcb9
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40dcb9
call sym.___w32_sharedptr_initialize
mov eax, dword [0x44b540]
jmp 0x40dca8
call sym._fc_key_init_once
mov eax, dword [0x44b540]
jmp 0x40dcaf
Function at 0x40dd0c
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 [0x44b540]
mov edi, dword [ebp + 8]
test eax, eax
je 0x40dda0
mov esi, dword [eax + 0x2c]
test esi, esi
js 0x40ddbc
mov ebx, dword [eax + 0x2c]
test ebx, ebx
jne 0x40dddc
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x10], eax
mov ecx, dword [edi + 0xc]
mov dword [ebp - 0x14], eax
test ecx, ecx
jne 0x40dd94
lea edx, [ebp - 0x14]
mov eax, edi
call sym.__Unwind_RaiseException_Phase2
cmp eax, 7
jne 0x40de5b
mov eax, dword [0x44b540]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x40de32
mov edx, dword [eax + 0x2c]
test edx, edx
js 0x40de4c
mov edi, dword [eax + 0x2c]
test edi, edi
jne 0x40de0c
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 0x40dd51
call sym.___w32_sharedptr_initialize
mov eax, dword [0x44b540]
mov esi, dword [eax + 0x2c]
test esi, esi
jns 0x40dd2c
lea esi, [esi]
call sym._fc_key_init_once
mov eax, dword [0x44b540]
mov ebx, dword [eax + 0x2c]
test ebx, ebx
je 0x40dd37
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 0x40dd3a
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 0x40dd83
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40dd83
call sym.___w32_sharedptr_initialize
mov eax, dword [0x44b540]
mov edx, dword [eax + 0x2c]
test edx, edx
jns 0x40dd75
nop
lea esi, [esi]
call sym._fc_key_init_once
mov eax, dword [0x44b540]
jmp 0x40dd75
call sym._abort
lea esi, [esi]
lea edi, [edi]
Function at 0x40de6c
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 0x40defe
mov eax, dword [0x44b540]
test eax, eax
je 0x40def2
mov ebx, dword [eax + 0x2c]
test ebx, ebx
js 0x40df6d
mov ecx, dword [eax + 0x2c]
test ecx, ecx
jne 0x40df13
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 0x40df8b
mov eax, dword [0x44b540]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x40df5e
mov edx, dword [eax + 0x2c]
test edx, edx
js 0x40df7c
mov edi, dword [eax + 0x2c]
test edi, edi
jne 0x40df3f
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 [0x44b540]
jmp 0x40de8e
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 0x40dea3
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 0x40dee1
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40dee1
call sym.___w32_sharedptr_initialize
mov eax, dword [0x44b540]
jmp 0x40decc
call sym._fc_key_init_once
mov eax, dword [0x44b540]
jmp 0x40de99
call sym._fc_key_init_once
mov eax, dword [0x44b540]
jmp 0x40ded7
call sym._abort
lea esi, [esi]
lea edi, [edi]

Function at 0x40e16c
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 0x40e19c
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