joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d2300
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
lea eax, [ebx + 0x134]
push edi
lea esi, [ebx + 0x34]
mov dword [esp + 0x14], eax
xor edi, edi
mov ecx, dword [ebx + 0x1c]
mov ebp, edi
and ebp, 0xff
mov al, byte [ecx + ebp + 1]
test al, 3
je 0x4d2330
mov byte [edi + esi], 2
jmp 0x4d2367
test al, 4
je 0x4d233a
mov byte [edi + esi], 0xd
jmp 0x4d2367
mov edx, dword [ebx + 0x240]
push edi
push ebx
call dword [edx + 4]
add esp, 8
cmp eax, 1
jle 0x4d2353
mov byte [edi + esi], 2
jmp 0x4d2367
mov eax, dword [ebx + 0x1c]
test byte [eax + ebp + 1], 0x17
jne 0x4d2363
mov byte [edi + esi], 0x19
jmp 0x4d2367
mov byte [edi + esi], 1
inc edi
cmp edi, 0x100
jb 0x4d2317
mov ecx, dword [esp + 0x14]
mov al, 7
mov byte [esi + 0x21], al
mov byte [esi + 0x3d], al
mov byte [esi + 0x3e], al
mov al, 0x10
mov byte [esi + 0x7c], al
mov byte [esi + 0x26], al
mov byte [esi + 0x24], 2
mov byte [esi + 0x5f], 2
mov byte [esi + 0x27], 9
mov byte [esi + 0x2e], 0xf
mov byte [esi + 0x3c], 8
mov byte [esi + 0x23], 0xa
mov byte [esi + 0x3b], 0x15
mov byte [esi + 0x3a], 0x16
mov byte [esi], 0x11
mov byte [esi + 0x5c], 0x12
mov byte [esi + 0x2f], 0x13
mov byte [esi + 0x2a], 0x14
mov byte [esi + 0x40], 0x17
mov byte [esi + 0x60], 0x1a
mov byte [esi + 0x22], 0x20
mov eax, esi
sub ecx, esi
mov edi, 0x100
mov dl, byte [eax]
cmp dl, 2
je 0x4d23db
cmp dl, 0xd
je 0x4d23db
xor edx, edx
jmp 0x4d23e0
mov edx, 1
mov byte [ecx + eax], dl
inc eax
dec edi
jne 0x4d23cb
mov al, 0x1d
mov byte [esi + 0x58], al
mov byte [esi + 0x78], al
mov al, 0x1f
pop edi
mov byte [esi + 0x62], 0x1e
mov byte [esi + 0x4e], al
mov byte [esi + 0x6e], al
pop esi
pop ebp
pop ebx
ret

Function at 0x4d2400
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
push ebx
push 0x4000
call fcn.004d0cc0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4d2421
pop edi
pop esi
xor al, al
pop ebx
ret
mov eax, dword [esp + 0x10]
push ebx
push 0
push eax
call fcn.004d3a50
mov edi, eax
add esp, 0xc
test edi, edi
jge 0x4d2446
push esi
call fcn.004d0d50
add esp, 4
pop edi
pop esi
mov al, 1
pop ebx
ret
push ebp
push 0x4000
push esi
push edi
call fcn.004ea701
push ebx
push edi
mov ebp, eax
call fcn.004d3ac0
push 0x4d2480
push ebp
push esi
call fcn.004d4df0
push esi
call fcn.004d0d50
add esp, 0x24
pop ebp
pop edi
pop esi
xor al, al
pop ebx
ret
Function at 0x4d3780
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebx
push esi
push 0x771180
xor bl, bl
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x7710b0]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x4d37fb
push 0x4c
push 1
call fcn.004e8315
mov esi, eax
add esp, 8
test esi, esi
jne 0x4d37c3
push 0x771180
mov bl, 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
mov al, bl
pop ebx
ret
mov ecx, dword [0x7710b0]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [0x766050]
inc eax
lea edx, [esi + 0xc]
mov dword [0x766050], eax
push edx
mov dword [esi + 0x30], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esi + 4]
push 0
push eax
call fcn.004d7290
add esp, 8
mov byte [esi + 0x3c], 1
push 0x771180
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
mov al, bl
pop ebx
ret

Function at 0x4d3c80
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x1c], edi
call fcn.004e7eed
mov ebx, dword [esp + 0x14]
mov dword [eax], 0
mov eax, dword [esp + 0x18]
push edi
push eax
push ebx
call fcn.004ea701
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x4d3d7a
call fcn.004e7eed
cmp dword [eax], 0
je 0x4d3cc7
call fcn.004e7eed
mov ebp, dword [eax]
jmp 0x4d3cca
or ebp, 0xffffffff
call fcn.004d3810
test esi, esi
mov dword [eax], ebp
jne 0x4d3cdf
call fcn.004e7eed
cmp dword [eax], 4
je 0x4d3d2f
mov eax, dword [esp + 0x20]
test al, 0x1a
je 0x4d3d12
cmp esi, 0xffffffff
je 0x4d3d54
test al, 6
je 0x4d3d12
call fcn.004d3810
mov ecx, dword [eax]
push ecx
push ebx
call fcn.004d72c0
add esp, 4
push eax
push 0x24
push 9
call fcn.004d4060
mov eax, dword [esp + 0x30]
add esp, 0x10
cmp esi, 0xffffffff
je 0x4d3d72
test al, 6
je 0x4d3d20
test ah, 2
je 0x4d3d72
test esi, esi
jbe 0x4d3d7e
test ah, 2
je 0x4d3d7e
add dword [esp + 0x18], esi
sub edi, esi
call fcn.004e7eed
mov edx, dword [esp + 0x18]
push edi
push edx
push ebx
mov dword [eax], 0
call fcn.004ea701
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x4d3d7a
jmp 0x4d3cb4
call fcn.004d3810
mov eax, dword [eax]
push eax
push ebx
call fcn.004d72c0
add esp, 4
push eax
push 0x24
push 2
call fcn.004d4060
add esp, 0x10
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret
mov eax, dword [esp + 0x20]
test al, 6
je 0x4d3d8b
xor esi, esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret
test ah, 2
je 0x4d3d94
mov esi, dword [esp + 0x1c]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret

Function at 0x4ea464
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4ea484
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004e7e7a
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x4ea4a7
test byte [esp + 8], 2
je 0x4ea4a7
call fcn.004e7eed
mov dword [eax], 0xd
call fcn.004e7ef6
mov dword [eax], 5
jmp 0x4ea480
xor eax, eax
ret
Function at 0x4fbe03
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4fbe3b
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.004f9e90
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004f9e68
jmp 0x4fbe47
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4fd4f8
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 0x4fd53a
call fcn.00502fa8
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4fd53a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4fd531
xor eax, eax
jmp 0x4fd542
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004fd548
pop edi
pop esi
pop ebx
ret 4

Function at 0x5034d8
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 0x503506
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x503524
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0050343e
jmp 0x503524
mov eax, dword [esi + 0x14]
test eax, eax
je 0x503524
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0050343e
test edi, edi
mov eax, edi
jne 0x50350e
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

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 0x404bf0
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 0x404c26
mov dword [0x447060], 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 [0x43f010], eax
leave
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
sete al
movzx eax, al
mov dword [0x43f010], eax
leave
ret

Function at 0x404d10
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], 0x43e3bc
mov dword [ebp - 0x1c], 0x404dd0
mov dword [ebp - 0x18], esp
mov dword [esp], eax
call sym.__Unwind_SjLj_Register
cmp dword [0x43f010], 0
mov dword [ebp - 0x44], 0x447070
je 0x404db0
jl 0x404df0
mov dword [ebp - 0x3c], 1
mov eax, dword [0x447060]
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 0x404e93
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 [0x447680]
mov eax, 0xffffffff
test edx, edx
je 0x404e0a
mov eax, dword [0x43f014]
test eax, eax
je 0x404e4a
xor eax, eax
test eax, eax
jne 0x404e40
mov edi, dword [0x43f010]
test edi, edi
js 0x404e40
mov dword [ebp - 0x44], 0x447070
mov ebx, dword [0x43f010]
test ebx, ebx
je 0x404db0
jmp 0x404d5e
xor esi, esi
mov dword [0x43f010], esi
jmp 0x404e18
mov dword [esp], 0x43f018
mov dword [ebp - 0x3c], 1
call sub.KERNEL32.dll_InterlockedIncrement
sub esp, 4
test eax, eax
je 0x404ed1
mov eax, dword [0x43f014]
test eax, eax
jne 0x404e08
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 [0x43f014]
test eax, eax
je 0x404e6d
jmp 0x404e08
mov dword [esp], 8
call sym._malloc
mov dword [ebp - 0x48], eax
test eax, eax
je 0x404ec5
mov dword [esp + 4], eax
mov eax, dword [0x447060]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
xor edx, edx
test eax, eax
je 0x404efa
test edx, edx
je 0x404ee5
mov dword [ebp - 0x3c], 1
call method.std.terminate__
call sym.get_globals_init__
mov eax, 1
mov dword [0x43f014], eax
jmp 0x404e08
mov eax, dword [ebp - 0x48]
mov dword [eax], 0
mov dword [eax + 4], 0
jmp 0x404da6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
jmp 0x404ec1
Function at 0x40a540
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 0x40a58c
call sym.__errno
cmp dword [eax], 4
je 0x40a560
add esp, 0x1c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x40d3a0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov eax, 0x10
mov ebp, esp
push ebx
sub esp, 0x64
and esp, 0xfffffff0
call fcn.0040e4c0
call sym.___main
call sub.KERNEL32.dll_GetCommandLineA
mov ebx, eax
lea eax, [ebp - 0x58]
mov dword [esp], eax
call sub.KERNEL32.dll_GetStartupInfoA
sub esp, 4
test ebx, ebx
jne 0x40d3d8
jmp 0x40d476
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
sete al
cmp cl, 9
sete dl
or eax, edx
test al, 1
jne 0x40d3d7
cmp cl, 0x22
je 0x40d430
cmp cl, 0x20
setne al
xor edx, edx
cmp cl, 9
setne dl
test eax, edx
je 0x40d450
lea esi, [esi]
lea edi, [edi]
test cl, cl
je 0x40d450
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
setne al
xor edx, edx
cmp cl, 9
setne dl
test eax, edx
jne 0x40d410
jmp 0x40d450
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x22
setne al
xor edx, edx
test cl, cl
setne dl
test eax, edx
jne 0x40d430
cmp cl, 0x22
je 0x40d4b2
lea esi, [esi]
cmp cl, 0x20
sete al
cmp cl, 9
sete dl
jmp 0x40d470
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
sete dl
cmp cl, 9
sete al
or eax, edx
test al, 1
jne 0x40d460
mov dword [esp], 0
call sub.KERNEL32.dll_GetModuleHandleA
sub esp, 4
test byte [ebp - 0x2c], 1
mov edx, 0xa
je 0x40d494
movzx edx, word [ebp - 0x28]
mov dword [esp + 8], ebx
xor ebx, ebx
mov dword [esp + 4], ebx
mov dword [esp + 0xc], edx
mov dword [esp], eax
call sym._WinMain_16
sub esp, 0x10
mov ebx, dword [ebp - 4]
leave
ret
inc ebx
movzx ecx, byte [ebx]
jmp 0x40d450

Function at 0x40d960
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, dword [0x4476e0]
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x40d9a0
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 0x40dd50
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 [0x4476e0]
mov edi, dword [ebp + 8]
test eax, eax
je 0x40de2c
mov ecx, dword [eax + 0x30]
test ecx, ecx
js 0x40de41
mov edx, dword [eax + 0x30]
test edx, edx
jne 0x40de00
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x10], eax
lea ebx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
jmp 0x40dd98
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
xor ecx, ecx
test eax, eax
mov edx, 5
je 0x40dda8
mov ecx, dword [eax + 0x18]
xor edx, edx
cmp edx, 5
je 0x40ddf3
test edx, edx
jne 0x40dde6
test ecx, ecx
je 0x40dd90
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 0x40de50
cmp eax, 8
je 0x40dd90
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 0x40dd82
call sym.___w32_sharedptr_initialize
mov eax, dword [0x4476e0]
mov ecx, dword [eax + 0x30]
test ecx, ecx
jns 0x40dd74
call sym._fc_key_init_once
mov eax, dword [0x4476e0]
jmp 0x40dd74
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 0x40ddeb
mov eax, dword [0x4476e0]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x40dea3
mov edi, dword [eax + 0x30]
test edi, edi
js 0x40dece
mov esi, dword [eax + 0x30]
test esi, esi
jne 0x40deaf
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 [0x4476e0]
jmp 0x40de81
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 0x40de92
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40de92
call sym._fc_key_init_once
mov eax, dword [0x4476e0]
jmp 0x40de88
Function at 0x40dfd0
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 [0x4476e0]
test eax, eax
je 0x40e030
mov esi, dword [eax + 0x30]
test esi, esi
js 0x40e050
mov ebx, dword [eax + 0x30]
test ebx, ebx
jne 0x40e070
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 0x40e0c0
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 [0x4476e0]
mov esi, dword [eax + 0x30]
test esi, esi
jns 0x40dff2
jmp 0x40e050
call sym._fc_key_init_once
mov eax, dword [0x4476e0]
mov ebx, dword [eax + 0x30]
test ebx, ebx
je 0x40dff9
jmp 0x40e070
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 0x40e021
lea esi, [esi]
mov eax, dword [0x4476e0]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x40e10d
mov ecx, dword [eax + 0x30]
test ecx, ecx
js 0x40e119
mov edx, dword [eax + 0x30]
test edx, edx
jne 0x40e0ee
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 0x40e0dd
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40e0dd
call sym.___w32_sharedptr_initialize
mov eax, dword [0x4476e0]
jmp 0x40e0cc
call sym._fc_key_init_once
mov eax, dword [0x4476e0]
jmp 0x40e0d3
Function at 0x40e130
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 [0x4476e0]
mov edi, dword [ebp + 8]
test eax, eax
je 0x40e1c4
mov esi, dword [eax + 0x30]
test esi, esi
js 0x40e1e0
mov ebx, dword [eax + 0x30]
test ebx, ebx
jne 0x40e200
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x10], eax
mov ecx, dword [edi + 0xc]
mov dword [ebp - 0x14], eax
test ecx, ecx
jne 0x40e1b8
lea edx, [ebp - 0x14]
mov eax, edi
call sym.__Unwind_RaiseException_Phase2
cmp eax, 7
jne 0x40e27f
mov eax, dword [0x4476e0]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x40e256
mov edx, dword [eax + 0x30]
test edx, edx
js 0x40e270
mov edi, dword [eax + 0x30]
test edi, edi
jne 0x40e230
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 0x40e175
call sym.___w32_sharedptr_initialize
mov eax, dword [0x4476e0]
mov esi, dword [eax + 0x30]
test esi, esi
jns 0x40e150
lea esi, [esi]
call sym._fc_key_init_once
mov eax, dword [0x4476e0]
mov ebx, dword [eax + 0x30]
test ebx, ebx
je 0x40e15b
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 0x40e15e
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 0x40e1a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40e1a7
call sym.___w32_sharedptr_initialize
mov eax, dword [0x4476e0]
mov edx, dword [eax + 0x30]
test edx, edx
jns 0x40e199
nop
lea esi, [esi]
call sym._fc_key_init_once
mov eax, dword [0x4476e0]
jmp 0x40e199
call sym._abort
lea esi, [esi]
lea edi, [edi]
Function at 0x40e290
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 0x40e322
mov eax, dword [0x4476e0]
test eax, eax
je 0x40e316
mov ebx, dword [eax + 0x30]
test ebx, ebx
js 0x40e391
mov ecx, dword [eax + 0x30]
test ecx, ecx
jne 0x40e337
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 0x40e3af
mov eax, dword [0x4476e0]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x40e382
mov edx, dword [eax + 0x30]
test edx, edx
js 0x40e3a0
mov edi, dword [eax + 0x30]
test edi, edi
jne 0x40e363
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 [0x4476e0]
jmp 0x40e2b2
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 0x40e2c7
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 0x40e305
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40e305
call sym.___w32_sharedptr_initialize
mov eax, dword [0x4476e0]
jmp 0x40e2f0
call sym._fc_key_init_once
mov eax, dword [0x4476e0]
jmp 0x40e2bd
call sym._fc_key_init_once
mov eax, dword [0x4476e0]
jmp 0x40e2fb
call sym._abort
lea esi, [esi]
lea edi, [edi]

Function at 0x40e590
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 0x40e5c0
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 0x411420
Capabilities:
Contain obfuscated stackstrings

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