joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40763d
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x4075c9
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x4075e7
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
push esp
invalid
invalid
push dword [ebx]
ror byte [ecx - 0x3e7443bb], cl
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x407645
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x40762c
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x407635
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x40763f
add ecx, eax
or byte [ecx], 4
invalid
invalid
or dword [eax + eax*2], eax
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x407621
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x4075ab
mov dword [ebp + 8], esi
xor edi, edi

Function at 0x407776
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [esp + edi*8 - 0x39bb0001], edi
test dword [ebp + 0x55fffffc], edi
push ebp
Function at 0x407782
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.00406f02
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00406eb7
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.00406f02
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00406eb7
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.00406f02
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00406eb7
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.00406ef2
jae 0x407981
push edi
jb 0x4078e5
movsd dword es:[edi], dword [esi]
int3
test eax, edx
cli
invalid
Function at 0x40cbc7
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
mov eax, 0x41a2f8
call fcn.00413724
push ecx
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], 8
mov dword [esi], 0x41b69c
mov dword [ebp - 4], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], 1
mov dword [esi + 0x14], 0x41b754
push 4
mov ebx, 0x41b68c
pop eax
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x28], ebx
lea ecx, [esi + 0x3c]
push eax
mov byte [ebp - 4], 2
call fcn.00403291
mov dword [esi + 0x3c], 0x41b804
push 4
mov dword [esi + 0x54], edi
pop eax
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], eax
mov dword [esi + 0x50], ebx
lea edi, [esi + 0x64]
push eax
mov ecx, edi
mov byte [ebp - 4], al
call fcn.00403291
mov dword [edi], 0x41b80c
lea edi, [esi + 0x78]
mov byte [ebp - 4], 5
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0040b761
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 6
call fcn.0040c1be
lea edi, [esi + 0xa0]
mov byte [ebp - 4], 7
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0040b761
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 8
call fcn.0040c1be
lea edi, [esi + 0xc8]
mov byte [ebp - 4], 9
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0040b761
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 0xa
call fcn.0040c1be
mov byte [ebp - 4], 0xb
lea edi, [esi + 0xf0]
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0040b761
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 0xc
call fcn.0040c1be
lea ecx, [esi + 0x118]
mov byte [ebp - 4], 0xd
call fcn.0040c1be
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x412ff0
Capabilities:
Create thread

Disassembly:
push esi
lea eax, [esp + 8]
push eax
push 0
mov esi, ecx
mov ecx, dword [esp + 0x10]
push ecx
push edx
push 0
push 0
call fcn.0041468e
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x413018
xor eax, eax
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x413027
mov eax, 1
ret 4

Function at 0x404e80
Capabilities:
Encode data using xor

Disassembly:
call 0x404d2f
xor ecx, ecx
sub cx, 0xff7a
call 0x404e80
rcr byte [esi - 0x7f], 0x76
push cs
inc esi
sbb edx, dword [ecx]
in eax, dx
xor dword [esi + 0xe], 0xed111b46
sub esi, 0xfffffffc
loop 0x404e83
adc al, 0x4a
inc edi
mov ebp, 0x99c8d29d
invalid
Function at 0x401a50
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2ec
mov esi, dword [ebp + 8]
nop
mov ebx, dword [esi]
mov dword [esp], ebx
call sub.KERNEL32.dll_SuspendThread
sub esp, 4
inc eax
mov ecx, 0xffffffff
je 0x401ab1
mov dword [esp], ebx
mov edx, 0x10003
lea eax, [ebp - 0x2e8]
mov dword [ebp - 0x2e8], edx
mov edi, 0xffffffff
mov dword [esp + 4], eax
call sub.KERNEL32.dll_GetThreadContext
sub esp, 8
test eax, eax
je 0x401aa4
mov edi, dword [ebp - 0x230]
mov dword [esp], ebx
call sub.KERNEL32.dll_ResumeThread
sub esp, 4
mov ecx, edi
mov eax, dword [esi + 0xc]
cmp eax, ecx
ja 0x401ae0
cmp dword [esi + 0x10], ecx
jbe 0x401ae0
sub ecx, eax
mov ebx, dword [esi + 8]
shr ecx, 1
mov eax, ecx
mul dword [esi + 0x14]
mov ecx, eax
shrd ecx, edx, 0x10
movzx edi, word [ebx + ecx*2]
inc edi
mov word [ebx + ecx*2], di
nop
lea esi, [esi]
mov dword [esp], 0xa
call sub.KERNEL32.dll_Sleep
sub esp, 4
jmp 0x401a60
Function at 0x401b00
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 8], esi
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp + 0x10]
cmp esi, 0x10000
mov dword [ebp - 4], edi
ja 0x401cf7
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
test eax, eax
jne 0x401b47
mov edx, dword [ebp + 8]
mov eax, dword [edx]
test eax, eax
jne 0x401b80
xor eax, eax
test esi, esi
jne 0x401ba0
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov dword [esp], eax
xor edi, edi
mov dword [esp + 4], edi
call sub.KERNEL32.dll_TerminateThread
mov ecx, dword [ebp + 8]
sub esp, 8
mov eax, dword [ecx + 4]
mov dword [esp], eax
call sub.KERNEL32.dll_CloseHandle
mov edx, dword [ebp + 8]
sub esp, 4
mov eax, dword [edx]
test eax, eax
je 0x401b34
lea esi, [esi]
lea edi, [edi]
mov dword [esp], eax
call sub.KERNEL32.dll_CloseHandle
sub esp, 4
xor eax, eax
test esi, esi
je 0x401b3a
jmp 0x401ba0
mov dword [esp + 8], ebx
xor ecx, ecx
shr ebx, 1
mov dword [esp + 4], ecx
mov edx, dword [ebp + 0xc]
mov dword [esp], edx
call sym._memset
cld
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, 6
xor edx, edx
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 0xc]
mov eax, ebx
mov ecx, dword [ebp + 0x14]
shl eax, 0x10
mov dword [0x444048], edi
xor edi, edi
shld edi, ebx, 0x10
mov dword [0x44404c], ecx
mov dword [esp + 8], esi
mov dword [esp + 4], edi
xor edi, edi
mov dword [esp + 0xc], edx
mov dword [esp], eax
call sym.___udivdi3
mov dword [0x444054], esi
mov ebx, dword [ebp + 0x14]
add eax, eax
add eax, ebx
mov dword [0x444050], eax
call sub.KERNEL32.dll_GetCurrentProcess
mov esi, eax
call sub.KERNEL32.dll_GetCurrentThread
mov ebx, eax
call sub.KERNEL32.dll_GetCurrentProcess
mov dword [esp + 0x10], edi
xor edx, edx
mov ecx, 2
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
mov ecx, dword [ebp + 8]
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp + 0xc], ecx
mov dword [esp], eax
call sub.KERNEL32.dll_DuplicateHandle
sub esp, 0x1c
test eax, eax
jne 0x401c70
call sym.__errno
mov dword [eax], 3
mov eax, 0xffffffff
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
xor esi, esi
lea ebx, [ebp - 0x10]
mov edx, sym._profthr_func_4
mov dword [esp + 0x14], ebx
xor eax, eax
mov ebx, 0xf
mov dword [esp + 0x10], esi
mov ecx, dword [ebp + 8]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp + 0xc], ecx
mov dword [esp], 0
call sub.KERNEL32.dll_CreateThread
mov edi, dword [ebp + 8]
sub esp, 0x18
mov dword [edi + 4], eax
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.KERNEL32.dll_SetThreadPriority
mov edx, dword [ebp + 8]
sub esp, 8
xor eax, eax
mov esi, dword [edx + 4]
test esi, esi
jne 0x401b3a
mov eax, dword [edx]
mov dword [esp], eax
call sub.KERNEL32.dll_CloseHandle
mov edi, dword [ebp + 8]
sub esp, 4
mov dword [edi], 0
call sym.__errno
mov dword [eax], 0xb
mov eax, 0xffffffff
jmp 0x401c5f
call sym.__errno
mov dword [eax], 0x16
mov eax, 0xffffffff
jmp 0x401c5f
Function at 0x409b90
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 0x409bc6
mov dword [0x4485a0], 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 [0x4400a0], eax
leave
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
sete al
movzx eax, al
mov dword [0x4400a0], eax
leave
ret

Function at 0x409cb0
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], 0x43f000
mov dword [ebp - 0x1c], 0x409d70
mov dword [ebp - 0x18], esp
mov dword [esp], eax
call sym.__Unwind_SjLj_Register
cmp dword [0x4400a0], 0
mov dword [ebp - 0x44], 0x4485b0
je 0x409d50
jl 0x409d90
mov dword [ebp - 0x3c], 1
mov eax, dword [0x4485a0]
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 0x409e33
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 [0x448b90]
mov eax, 0xffffffff
test edx, edx
je 0x409daa
mov eax, dword [0x4400a4]
test eax, eax
je 0x409dea
xor eax, eax
test eax, eax
jne 0x409de0
mov edi, dword [0x4400a0]
test edi, edi
js 0x409de0
mov dword [ebp - 0x44], 0x4485b0
mov ebx, dword [0x4400a0]
test ebx, ebx
je 0x409d50
jmp 0x409cfe
xor esi, esi
mov dword [0x4400a0], esi
jmp 0x409db8
mov dword [esp], 0x4400a8
mov dword [ebp - 0x3c], 1
call sub.KERNEL32.dll_InterlockedIncrement
sub esp, 4
test eax, eax
je 0x409e71
mov eax, dword [0x4400a4]
test eax, eax
jne 0x409da8
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 [0x4400a4]
test eax, eax
je 0x409e0d
jmp 0x409da8
mov dword [esp], 8
call sym._malloc
mov dword [ebp - 0x48], eax
test eax, eax
je 0x409e65
mov dword [esp + 4], eax
mov eax, dword [0x4485a0]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
xor edx, edx
test eax, eax
je 0x409e9a
test edx, edx
je 0x409e85
mov dword [ebp - 0x3c], 1
call method.std.terminate__
call sym.get_globals_init__
mov eax, 1
mov dword [0x4400a4], eax
jmp 0x409da8
mov eax, dword [ebp - 0x48]
mov dword [eax], 0
mov dword [eax + 4], 0
jmp 0x409d46
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
jmp 0x409e61
Function at 0x40b970
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.0040b950
mov dword [esp], eax
mov dword [esp + 8], esi
mov dword [esp + 4], edi
call sym._read
cmp eax, 0xffffffff
mov ebx, eax
jne 0x40b9bc
call sym.__errno
cmp dword [eax], 4
je 0x40b990
add esp, 0x1c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x40dac0
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, dword [0x448be0]
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x40db00
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 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, 0x2c
mov eax, dword [0x448be0]
mov edi, dword [ebp + 8]
test eax, eax
je 0x40df8c
mov ecx, dword [eax + 0x30]
test ecx, ecx
js 0x40dfa1
mov edx, dword [eax + 0x30]
test edx, edx
jne 0x40df60
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x10], eax
lea ebx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
jmp 0x40def8
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
xor ecx, ecx
test eax, eax
mov edx, 5
je 0x40df08
mov ecx, dword [eax + 0x18]
xor edx, edx
cmp edx, 5
je 0x40df53
test edx, edx
jne 0x40df46
test ecx, ecx
je 0x40def0
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 0x40dfb0
cmp eax, 8
je 0x40def0
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 0x40dee2
call sym.___w32_sharedptr_initialize
mov eax, dword [0x448be0]
mov ecx, dword [eax + 0x30]
test ecx, ecx
jns 0x40ded4
call sym._fc_key_init_once
mov eax, dword [0x448be0]
jmp 0x40ded4
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 0x40df4b
mov eax, dword [0x448be0]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x40e003
mov edi, dword [eax + 0x30]
test edi, edi
js 0x40e02e
mov esi, dword [eax + 0x30]
test esi, esi
jne 0x40e00f
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 [0x448be0]
jmp 0x40dfe1
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 0x40dff2
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40dff2
call sym._fc_key_init_once
mov eax, dword [0x448be0]
jmp 0x40dfe8
Function at 0x40e130
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 [0x448be0]
test eax, eax
je 0x40e190
mov esi, dword [eax + 0x30]
test esi, esi
js 0x40e1b0
mov ebx, dword [eax + 0x30]
test ebx, ebx
jne 0x40e1d0
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 0x40e220
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 [0x448be0]
mov esi, dword [eax + 0x30]
test esi, esi
jns 0x40e152
jmp 0x40e1b0
call sym._fc_key_init_once
mov eax, dword [0x448be0]
mov ebx, dword [eax + 0x30]
test ebx, ebx
je 0x40e159
jmp 0x40e1d0
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 0x40e181
lea esi, [esi]
mov eax, dword [0x448be0]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x40e26d
mov ecx, dword [eax + 0x30]
test ecx, ecx
js 0x40e279
mov edx, dword [eax + 0x30]
test edx, edx
jne 0x40e24e
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 0x40e23d
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40e23d
call sym.___w32_sharedptr_initialize
mov eax, dword [0x448be0]
jmp 0x40e22c
call sym._fc_key_init_once
mov eax, dword [0x448be0]
jmp 0x40e233
Function at 0x40e290
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 [0x448be0]
mov edi, dword [ebp + 8]
test eax, eax
je 0x40e324
mov esi, dword [eax + 0x30]
test esi, esi
js 0x40e340
mov ebx, dword [eax + 0x30]
test ebx, ebx
jne 0x40e360
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x10], eax
mov ecx, dword [edi + 0xc]
mov dword [ebp - 0x14], eax
test ecx, ecx
jne 0x40e318
lea edx, [ebp - 0x14]
mov eax, edi
call sym.__Unwind_RaiseException_Phase2
cmp eax, 7
jne 0x40e3df
mov eax, dword [0x448be0]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x40e3b6
mov edx, dword [eax + 0x30]
test edx, edx
js 0x40e3d0
mov edi, dword [eax + 0x30]
test edi, edi
jne 0x40e390
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 0x40e2d5
call sym.___w32_sharedptr_initialize
mov eax, dword [0x448be0]
mov esi, dword [eax + 0x30]
test esi, esi
jns 0x40e2b0
lea esi, [esi]
call sym._fc_key_init_once
mov eax, dword [0x448be0]
mov ebx, dword [eax + 0x30]
test ebx, ebx
je 0x40e2bb
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 0x40e2be
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 0x40e307
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40e307
call sym.___w32_sharedptr_initialize
mov eax, dword [0x448be0]
mov edx, dword [eax + 0x30]
test edx, edx
jns 0x40e2f9
nop
lea esi, [esi]
call sym._fc_key_init_once
mov eax, dword [0x448be0]
jmp 0x40e2f9
call sym._abort
lea esi, [esi]
lea edi, [edi]
Function at 0x40e3f0
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 0x40e482
mov eax, dword [0x448be0]
test eax, eax
je 0x40e476
mov ebx, dword [eax + 0x30]
test ebx, ebx
js 0x40e4f1
mov ecx, dword [eax + 0x30]
test ecx, ecx
jne 0x40e497
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 0x40e50f
mov eax, dword [0x448be0]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x40e4e2
mov edx, dword [eax + 0x30]
test edx, edx
js 0x40e500
mov edi, dword [eax + 0x30]
test edi, edi
jne 0x40e4c3
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 [0x448be0]
jmp 0x40e412
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 0x40e427
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 0x40e465
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40e465
call sym.___w32_sharedptr_initialize
mov eax, dword [0x448be0]
jmp 0x40e450
call sym._fc_key_init_once
mov eax, dword [0x448be0]
jmp 0x40e41d
call sym._fc_key_init_once
mov eax, dword [0x448be0]
jmp 0x40e45b
call sym._abort
lea esi, [esi]
lea edi, [edi]

Function at 0x40e6c0
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 0x40e6f0
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