joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b1920
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6adda0
push 0x4c1eec
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
rdtsc
mov esi, eax
mov edi, edx
call ebx
rdtsc
pop ebx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0xffffffff
xor esi, esi
mov edi, dword [ebp - 0x20]
push 1
push esi
push esi
mov eax, dword [ebp - 0x28]
push eax
call fcn.004c0950
sub eax, esi
sbb edx, edi
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
sbb edx, esi
mov ecx, dword [ebp - 0x24]
add eax, ecx
adc edx, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4b1ad0
Capabilities:
Check os version

Disassembly:
sub esp, 0xa0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push edi
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x9c
push eax
call esi
test eax, eax
jne 0x4b1b11
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x94
push ecx
call esi
test eax, eax
je 0x4b1b7e
cmp dword [esp + 0x1c], 2
jne 0x4b1b7e
cmp dword [esp + 0x10], 5
jne 0x4b1b7e
cmp dword [esp + 0x14], 1
jne 0x4b1b7e
push str.kernel32
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4b1b68
push str.IsWow64Process
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4b1b59
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
jmp 0x4b1b61
mov dword [esp + 8], 0
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 8]
test eax, eax
je 0x4b1b7e
pop edi
mov eax, 1
pop esi
add esp, 0xa0
ret
pop edi
xor eax, eax
pop esi
add esp, 0xa0
ret
Function at 0x4b6000
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
sub esp, 0x348
push ebx
push esi
push edi
mov edi, ecx
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov esi, eax
lea eax, [esp + 0xc]
push 7
and esi, 0xffff
push eax
push 0x1004
push esi
call ebx
lea ecx, [esp + 0xc]
push ecx
call fcn.004c0858
add esp, 4
lea edx, [esp + 0x14c]
mov dword [edi + 4], eax
push 0x104
push edx
push 0x1002
push esi
call ebx
lea eax, [esp + 0x14c]
lea ecx, [edi + 0xc]
push eax
call fcn.004d3d70
lea ecx, [esp + 0xc]
push 7
push ecx
push 5
push esi
call ebx
lea edx, [esp + 0xc]
push edx
call fcn.004c0858
add esp, 4
mov dword [edi + 0x10], eax
lea eax, [esp + 0x3c]
push 0x64
push eax
push 0x1003
push esi
call ebx
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [edi + 0x14]
call fcn.004d3d70
lea edx, [esp + 0x3c]
push 0x64
push edx
push 0x20
push esi
call ebx
lea eax, [esp + 0x3c]
lea ecx, [edi + 8]
push eax
call fcn.004d3d70
lea ecx, [esp + 0x14]
push 7
push ecx
push 0x14
push esi
call ebx
lea edx, [esp + 0x14]
lea ecx, [edi + 0x18]
push edx
call fcn.004d3d70
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
lea ecx, [esp + 0x250]
push 0x104
and eax, 0xffff
push ecx
push eax
call sub.VERSION.dll_VerLanguageNameA
cmp eax, 0x104
ja 0x4b6104
lea edx, [esp + 0x250]
lea ecx, [edi + 0x1c]
push edx
call fcn.004d3d70
lea eax, [esp + 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
cmp eax, 0xffffffff
je 0x4b613f
lea ecx, [esp + 0xa4]
lea edx, [esp + 0x1c]
push ecx
push 0x6c96c8
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [esp + 0x1c]
lea ecx, [edi + 0x20]
push eax
call fcn.004d3d70
pop edi
pop esi
pop ebx
add esp, 0x348
ret
Function at 0x4bcc50
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x6c9878]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x4bcc63
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x4bcca4
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x6c9920]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x4bccd6
mov bl, byte [esp + ecx + 0x4c]
jmp 0x4bccda
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x4bcccb
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x4bccf8
mov bl, byte [esp + ecx + 0x4c]
jmp 0x4bccfc
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x4bcced
xor ecx, ecx
mov eax, 0x6c9888
xor ebx, ebx
mov bl, byte [ecx + 0x6c9930]
cmp byte [esp + ebx + 0x14], 0
je 0x4bcd27
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x6c9948]
cmp byte [esp + ebx + 0x14], 0
je 0x4bcd3e
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x4bcd0e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x4bcc97
lea edx, [esp + 0x84]
push edx
call fcn.004bcd80
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x4d6001
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4d6039
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004d408e
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004d4066
jmp 0x4d6045
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4d76f6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4d7738
call fcn.004dd4b4
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4d7738
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4d772f
xor eax, eax
jmp 0x4d7740
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004d7746
pop edi
pop esi
pop ebx
ret 4

Function at 0x4dd9e4
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4dda12
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4dda30
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004dd94a
jmp 0x4dda30
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4dda30
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004dd94a
test edi, edi
mov eax, edi
jne 0x4dda1a
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0xb7d4a9
Capabilities:
Execute anti-debugging instructions

Disassembly:
clc
js 0xb7d4e0
mov cl, 0xca
xchg dword [esp], eax
call fcn.00b7d4ab
jmp 0xb7d492
sub esp, 0xbc
jmp 0xb7d5f7
mov cl, 0xca
xchg dword [esp], eax
jmp 0xb7d4c6
xchg ebx, edx
mov ax, word [esp]
mov ebx, esi
xor dl, ch
jmp 0xb7d6e9
lea ecx, [edx + edi]
jmp 0xb7d5c6
mov ebp, esp
and edx, ecx
jp 0xb7d5dc
lea ecx, [edx + edi]
xchg ebx, edx
mov ax, word [esp]
call fcn.00b7d5e1
pushal
jmp [edi + 0xa]
lea ecx, [eax*4]
inc dl
xchg ah, ch
jmp 0xb7d2a1
jge 0xb7d689
lea ecx, [eax*4]
inc dl
jmp 0xb7d6cb

Function at 0xb988f3
Capabilities:
Encode data using xor

Disassembly:
mov word [esp], bx
jmp 0xb97737

Function at 0xcb2f21
Capabilities:
Parse pe header

Disassembly:
call fcn.00cb2016
pop word [esp + 3]
lea esp, [esp + 0xb]
jmp 0xcb2f65
lea esp, [esp + 3]
mov dword [esp + 0x78], edi
lea esp, [esp + 0x78]
jmp 0xcb301f
mov eax, dword [eax + 8]
push eax
jmp 0xcb2011
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
jmp 0xcb2fbb
mov eax, dword fs:[0x30]
jmp 0xcb2fe4
Function at 0x4013ca
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
push edi
sub esp, 0x74
and esp, 0xfffffff0
mov eax, 0
add eax, 0xf
add eax, 0xf
shr eax, 4
shl eax, 4
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
call fcn.0040d640
call sym.___main
lea edi, [ebp - 0x38]
cld
mov edx, 0
mov eax, 9
mov ecx, eax
mov eax, edx
rep stosd dword es:[edi], eax
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x4c], 1
mov dword [esp], str.color_73
call sym._system
mov dword [esp], 0x1f4
call sub.KERNEL32.dll_Sleep
sub esp, 4
call sym._kbhit
test eax, eax
je 0x4014ab
call sym._getch
mov byte [ebp - 0x41], al
lea eax, [ebp - 0x41]
sub byte [eax], 0x30
movsx eax, byte [ebp - 0x41]
cmp dword [ebp + eax*4 - 0x38], 0
je 0x40147f
cmp byte [ebp - 0x41], 8
jg 0x40147f
movsx eax, byte [ebp - 0x41]
mov dword [esp + 4], eax
mov dword [esp], 0x440009
call sym._printf
mov dword [esp], 0x3e8
call sub.KERNEL32.dll_Sleep
sub esp, 4
jmp 0x4014ab
cmp byte [ebp - 0x41], 8
jle 0x40149b
movsx eax, byte [ebp - 0x41]
mov dword [esp + 4], eax
mov dword [esp], 0x440018
call sym._printf
jmp 0x4014ab
movsx edx, byte [ebp - 0x41]
mov eax, dword [ebp - 0x48]
mov dword [ebp + edx*4 - 0x38], eax
lea eax, [ebp - 0x48]
inc dword [eax]
mov dword [ebp - 0x3c], 1
cmp dword [ebp - 0x3c], 8
jg 0x401423
mov eax, dword [ebp - 0x3c]
cmp dword [ebp + eax*4 - 0x38], 1
jne 0x401525
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp], eax
call sym.print_int__int_
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x38], 0
lea eax, [ebp - 0x48]
dec dword [eax]
mov dword [ebp - 0x40], 1
cmp dword [ebp - 0x40], 8
jg 0x401423
mov eax, dword [ebp - 0x40]
cmp dword [ebp + eax*4 - 0x38], 0
je 0x40151e
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x40]
mov edx, dword [ebp + edx*4 - 0x38]
dec edx
mov dword [ebp + eax*4 - 0x38], edx
lea eax, [ebp - 0x40]
inc dword [eax]
jmp 0x4014fb
lea eax, [ebp - 0x3c]
inc dword [eax]
jmp 0x4014b2

Function at 0x409720
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x409756
mov dword [0x447560], eax
mov edx, sym.get_globals_dtor_void_
mov dword [esp + 4], edx
mov dword [esp], eax
call sym.___mingwthr_key_dtor
test eax, eax
sete al
movzx eax, al
mov dword [0x43f040], eax
leave
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
sete al
movzx eax, al
mov dword [0x43f040], eax
leave
ret
Function at 0x409840
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp - 0xc]
sub esp, 0x68
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
mov dword [ebp - 4], edi
mov dword [ebp - 0x28], sym.___gxx_personality_sj0
mov dword [ebp - 0x24], 0x43e8b8
mov dword [ebp - 0x1c], 0x409900
mov dword [ebp - 0x18], esp
mov dword [esp], eax
call sym.__Unwind_SjLj_Register
cmp dword [0x43f040], 0
mov dword [ebp - 0x44], 0x447570
je 0x4098e0
jl 0x409920
mov dword [ebp - 0x3c], 1
mov eax, dword [0x447560]
mov dword [ebp - 0x4c], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x54]
sub esp, 4
test eax, eax
mov dword [ebp - 0x48], eax
je 0x4099c3
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x44], eax
lea esi, [esi]
lea eax, [ebp - 0x40]
mov dword [esp], eax
call sym.__Unwind_SjLj_Unregister
mov eax, dword [ebp - 0x44]
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov edx, dword [0x447b50]
mov eax, 0xffffffff
test edx, edx
je 0x40993a
mov eax, dword [0x43f044]
test eax, eax
je 0x40997a
xor eax, eax
test eax, eax
jne 0x409970
mov edi, dword [0x43f040]
test edi, edi
js 0x409970
mov dword [ebp - 0x44], 0x447570
mov ebx, dword [0x43f040]
test ebx, ebx
je 0x4098e0
jmp 0x40988e
xor esi, esi
mov dword [0x43f040], esi
jmp 0x409948
mov dword [esp], 0x43f048
mov dword [ebp - 0x3c], 1
call sub.KERNEL32.dll_InterlockedIncrement
sub esp, 4
test eax, eax
je 0x409a01
mov eax, dword [0x43f044]
test eax, eax
jne 0x409938
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x3c], 1
call eax
sub esp, 4
mov eax, dword [0x43f044]
test eax, eax
je 0x40999d
jmp 0x409938
mov dword [esp], 8
call sym._malloc
mov dword [ebp - 0x48], eax
test eax, eax
je 0x4099f5
mov dword [esp + 4], eax
mov eax, dword [0x447560]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
xor edx, edx
test eax, eax
je 0x409a2a
test edx, edx
je 0x409a15
mov dword [ebp - 0x3c], 1
call method.std.terminate__
call sym.get_globals_init__
mov eax, 1
mov dword [0x43f044], eax
jmp 0x409938
mov eax, dword [ebp - 0x48]
mov dword [eax], 0
mov dword [eax + 4], 0
jmp 0x4098d6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
jmp 0x4099f1
Function at 0x40b650
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.0040b630
mov dword [esp], eax
mov dword [esp + 8], esi
mov dword [esp + 4], edi
call sym._read
cmp eax, 0xffffffff
mov ebx, eax
jne 0x40b69c
call sym.__errno
cmp dword [eax], 4
je 0x40b670
add esp, 0x1c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x40d670
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, dword [0x447ba0]
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x40d6b0
mov dword [ebx + 0x2c], eax
xor eax, eax
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x2c]
mov dword [esp], eax
call sym.___mingwthr_key_dtor
test eax, eax
sete al
movzx eax, al
mov dword [ebx + 0x30], 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 + 0x30], eax
add esp, 0x14
pop ebx
pop ebp
ret
Function at 0x40da60
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 [0x447ba0]
mov edi, dword [ebp + 8]
test eax, eax
je 0x40db3c
mov ecx, dword [eax + 0x30]
test ecx, ecx
js 0x40db51
mov edx, dword [eax + 0x30]
test edx, edx
jne 0x40db10
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x10], eax
lea ebx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
jmp 0x40daa8
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
xor ecx, ecx
test eax, eax
mov edx, 5
je 0x40dab8
mov ecx, dword [eax + 0x18]
xor edx, edx
cmp edx, 5
je 0x40db03
test edx, edx
jne 0x40daf6
test ecx, ecx
je 0x40daa0
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 0x40db60
cmp eax, 8
je 0x40daa0
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 + 0x2c]
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 0x40da92
call sym.___w32_sharedptr_initialize
mov eax, dword [0x447ba0]
mov ecx, dword [eax + 0x30]
test ecx, ecx
jns 0x40da84
call sym._fc_key_init_once
mov eax, dword [0x447ba0]
jmp 0x40da84
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 0x40dafb
mov eax, dword [0x447ba0]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x40dbb3
mov edi, dword [eax + 0x30]
test edi, edi
js 0x40dbde
mov esi, dword [eax + 0x30]
test esi, esi
jne 0x40dbbf
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 [0x447ba0]
jmp 0x40db91
mov eax, dword [eax + 0x2c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x40dba2
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40dba2
call sym._fc_key_init_once
mov eax, dword [0x447ba0]
jmp 0x40db98
Function at 0x40dce0
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 [0x447ba0]
test eax, eax
je 0x40dd40
mov esi, dword [eax + 0x30]
test esi, esi
js 0x40dd60
mov ebx, dword [eax + 0x30]
test ebx, ebx
jne 0x40dd80
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 0x40ddd0
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 [0x447ba0]
mov esi, dword [eax + 0x30]
test esi, esi
jns 0x40dd02
jmp 0x40dd60
call sym._fc_key_init_once
mov eax, dword [0x447ba0]
mov ebx, dword [eax + 0x30]
test ebx, ebx
je 0x40dd09
jmp 0x40dd80
mov ebx, dword [eax + 0x2c]
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 0x40dd31
lea esi, [esi]
mov eax, dword [0x447ba0]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x40de1d
mov ecx, dword [eax + 0x30]
test ecx, ecx
js 0x40de29
mov edx, dword [eax + 0x30]
test edx, edx
jne 0x40ddfe
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 + 0x2c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x40dded
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40dded
call sym.___w32_sharedptr_initialize
mov eax, dword [0x447ba0]
jmp 0x40dddc
call sym._fc_key_init_once
mov eax, dword [0x447ba0]
jmp 0x40dde3
Function at 0x40de40
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 [0x447ba0]
mov edi, dword [ebp + 8]
test eax, eax
je 0x40ded4
mov esi, dword [eax + 0x30]
test esi, esi
js 0x40def0
mov ebx, dword [eax + 0x30]
test ebx, ebx
jne 0x40df10
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x10], eax
mov ecx, dword [edi + 0xc]
mov dword [ebp - 0x14], eax
test ecx, ecx
jne 0x40dec8
lea edx, [ebp - 0x14]
mov eax, edi
call sym.__Unwind_RaiseException_Phase2
cmp eax, 7
jne 0x40df8f
mov eax, dword [0x447ba0]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x40df66
mov edx, dword [eax + 0x30]
test edx, edx
js 0x40df80
mov edi, dword [eax + 0x30]
test edi, edi
jne 0x40df40
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 0x40de85
call sym.___w32_sharedptr_initialize
mov eax, dword [0x447ba0]
mov esi, dword [eax + 0x30]
test esi, esi
jns 0x40de60
lea esi, [esi]
call sym._fc_key_init_once
mov eax, dword [0x447ba0]
mov ebx, dword [eax + 0x30]
test ebx, ebx
je 0x40de6b
lea esi, [esi]
lea edi, [edi]
mov ebx, dword [eax + 0x2c]
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 0x40de6e
mov eax, dword [eax + 0x2c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x40deb7
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40deb7
call sym.___w32_sharedptr_initialize
mov eax, dword [0x447ba0]
mov edx, dword [eax + 0x30]
test edx, edx
jns 0x40dea9
nop
lea esi, [esi]
call sym._fc_key_init_once
mov eax, dword [0x447ba0]
jmp 0x40dea9
call sym._abort
lea esi, [esi]
lea edi, [edi]
Function at 0x40dfa0
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 0x40e032
mov eax, dword [0x447ba0]
test eax, eax
je 0x40e026
mov ebx, dword [eax + 0x30]
test ebx, ebx
js 0x40e0a1
mov ecx, dword [eax + 0x30]
test ecx, ecx
jne 0x40e047
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 0x40e0bf
mov eax, dword [0x447ba0]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x40e092
mov edx, dword [eax + 0x30]
test edx, edx
js 0x40e0b0
mov edi, dword [eax + 0x30]
test edi, edi
jne 0x40e073
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 [0x447ba0]
jmp 0x40dfc2
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 + 0x2c]
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 0x40dfd7
mov eax, dword [eax + 0x2c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x40e015
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40e015
call sym.___w32_sharedptr_initialize
mov eax, dword [0x447ba0]
jmp 0x40e000
call sym._fc_key_init_once
mov eax, dword [0x447ba0]
jmp 0x40dfcd
call sym._fc_key_init_once
mov eax, dword [0x447ba0]
jmp 0x40e00b
call sym._abort
lea esi, [esi]
lea edi, [edi]

Function at 0x40e270
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 0x40e2a0
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