joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403b4d
Capabilities:
Hide graphical window

Disassembly:
call fcn.00402a80
push 0x417df0
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
push 0x4142a2
push dword [0x419274]
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 5
push dword [0x419280]
call dword [sym.imp.USER32.dll_ShowWindow]
ret
call fcn.00402a80
push 0x417df0
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
push 0
push dword [0x419280]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 2
push dword [0x419280]
call dword [sym.imp.USER32.dll_SendMessageW]
ret
dec ecx
cmp ecx, 3
ja case.default.0x403b46
jmp dword [ecx*4 + 0x403b90]
jmp 0x402c40
push 0
push 0
push 0
push 0x4024e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x417dbc], eax
ret
jmp 0x402c00
push 0x417df0
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
push 5
push dword [0x419280]
call dword [sym.imp.USER32.dll_ShowWindow]
ret

Function at 0x403b52
Capabilities:
Create thread

Disassembly:
call fcn.00402a80
push 0x417df0
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
push 0x4142a2
push dword [0x419274]
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 5
push dword [0x419280]
call dword [sym.imp.USER32.dll_ShowWindow]
ret
call fcn.00402a80
push 0x417df0
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
push 0
push dword [0x419280]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 2
push dword [0x419280]
call dword [sym.imp.USER32.dll_SendMessageW]
ret
dec ecx
cmp ecx, 3
ja case.default.0x403b46
jmp dword [ecx*4 + 0x403b90]
jmp 0x402c40
push 0
push 0
push 0
push 0x4024e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x417dbc], eax
ret
jmp 0x402c00
push 0x417df0
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
push 5
push dword [0x419280]
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x403ba0
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x214]
push ecx
push 8
push eax
mov dword [ebp - 0x214], eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x403c20
lea eax, [ebp - 0x21c]
push eax
push 4
lea eax, [ebp - 0x218]
push eax
push 0x14
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x403c0f
cmp dword [ebp - 0x21c], 4
jne 0x403c0f
cmp dword [ebp - 0x218], esi
mov eax, 1
cmovne esi, eax
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
pop esi
jne 0x403c91
push 0x105
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x3c
lea eax, [ebp - 0x258]
push 0
push eax
call fcn.004074f0
lea eax, [ebp - 0x210]
mov dword [ebp - 0x248], eax
mov eax, dword [0x417dec]
add esp, 0xc
mov dword [ebp - 0x244], eax
lea eax, [ebp - 0x258]
push eax
mov dword [ebp - 0x258], 0x3c
mov dword [ebp - 0x24c], str.runas
mov dword [ebp - 0x23c], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404657
mov esp, ebp
pop ebp
ret
Function at 0x40cd72
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [section..data]
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
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.004077d8
mov dword [ebp - 0x14], eax
cmp dword [0x417d88], edi
jne 0x40ce63
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x40cdf0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40cf43
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x40cf43
push 0x413d84
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40cf43
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x417d88], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x417d8c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x417d90], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x417d98], eax
test eax, eax
je 0x40ce60
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x417d94], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40ce88
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40ce7b
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x40ce9d
push 4
pop eax
jmp 0x40cf45
cmp dword [ebp - 0x14], edi
je 0x40ce9d
push dword [0x417d88]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40ce82
mov eax, dword [0x417d94]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x40cefb
cmp dword [0x417d98], esi
je 0x40cefb
push eax
call ebx
push dword [0x417d98]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40cefb
test eax, eax
je 0x40cefb
call ecx
test eax, eax
je 0x40cef0
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 0x40cef0
test byte [ebp - 8], 1
jne 0x40cefb
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x40cf2b
mov eax, dword [0x417d8c]
cmp eax, esi
je 0x40cf28
push eax
call ebx
test eax, eax
je 0x40cf28
call eax
mov edi, eax
test edi, edi
je 0x40cf28
mov eax, dword [0x417d90]
cmp eax, esi
je 0x40cf28
push eax
call ebx
test eax, eax
je 0x40cf28
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x417d88]
call ebx
test eax, eax
je 0x40cf43
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x40cf45
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404657
leave
ret
Function at 0x409b40
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 0x409b76
mov dword [0x447570], 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 0x409c60
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], 0x43e858
mov dword [ebp - 0x1c], 0x409d20
mov dword [ebp - 0x18], esp
mov dword [esp], eax
call sym.__Unwind_SjLj_Register
cmp dword [0x43f040], 0
mov dword [ebp - 0x44], 0x447580
je 0x409d00
jl 0x409d40
mov dword [ebp - 0x3c], 1
mov eax, dword [0x447570]
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 0x409de3
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 0x409d5a
mov eax, dword [0x43f044]
test eax, eax
je 0x409d9a
xor eax, eax
test eax, eax
jne 0x409d90
mov edi, dword [0x43f040]
test edi, edi
js 0x409d90
mov dword [ebp - 0x44], 0x447580
mov ebx, dword [0x43f040]
test ebx, ebx
je 0x409d00
jmp 0x409cae
xor esi, esi
mov dword [0x43f040], esi
jmp 0x409d68
mov dword [esp], 0x43f048
mov dword [ebp - 0x3c], 1
call sub.KERNEL32.dll_InterlockedIncrement
sub esp, 4
test eax, eax
je 0x409e21
mov eax, dword [0x43f044]
test eax, eax
jne 0x409d58
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 0x409dbd
jmp 0x409d58
mov dword [esp], 8
call sym._malloc
mov dword [ebp - 0x48], eax
test eax, eax
je 0x409e15
mov dword [esp + 4], eax
mov eax, dword [0x447570]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
xor edx, edx
test eax, eax
je 0x409e4a
test edx, edx
je 0x409e35
mov dword [ebp - 0x3c], 1
call method.std.terminate__
call sym.get_globals_init__
mov eax, 1
mov dword [0x43f044], eax
jmp 0x409d58
mov eax, dword [ebp - 0x48]
mov dword [eax], 0
mov dword [eax + 4], 0
jmp 0x409cf6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
jmp 0x409e11
Function at 0x40b290
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.0040b270
mov dword [esp], eax
mov dword [esp + 8], esi
mov dword [esp + 4], edi
call sym._read
cmp eax, 0xffffffff
mov ebx, eax
jne 0x40b2dc
call sym.__errno
cmp dword [eax], 4
je 0x40b2b0
add esp, 0x1c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x40d2b0
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 0x40d2f0
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 0x40d6a0
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 0x40d77c
mov ecx, dword [eax + 0x30]
test ecx, ecx
js 0x40d791
mov edx, dword [eax + 0x30]
test edx, edx
jne 0x40d750
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x10], eax
lea ebx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
jmp 0x40d6e8
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
xor ecx, ecx
test eax, eax
mov edx, 5
je 0x40d6f8
mov ecx, dword [eax + 0x18]
xor edx, edx
cmp edx, 5
je 0x40d743
test edx, edx
jne 0x40d736
test ecx, ecx
je 0x40d6e0
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 0x40d7a0
cmp eax, 8
je 0x40d6e0
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 0x40d6d2
call sym.___w32_sharedptr_initialize
mov eax, dword [0x447ba0]
mov ecx, dword [eax + 0x30]
test ecx, ecx
jns 0x40d6c4
call sym._fc_key_init_once
mov eax, dword [0x447ba0]
jmp 0x40d6c4
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 0x40d73b
mov eax, dword [0x447ba0]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x40d7f3
mov edi, dword [eax + 0x30]
test edi, edi
js 0x40d81e
mov esi, dword [eax + 0x30]
test esi, esi
jne 0x40d7ff
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 0x40d7d1
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 0x40d7e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40d7e2
call sym._fc_key_init_once
mov eax, dword [0x447ba0]
jmp 0x40d7d8
Function at 0x40d920
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 0x40d980
mov esi, dword [eax + 0x30]
test esi, esi
js 0x40d9a0
mov ebx, dword [eax + 0x30]
test ebx, ebx
jne 0x40d9c0
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 0x40da10
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 0x40d942
jmp 0x40d9a0
call sym._fc_key_init_once
mov eax, dword [0x447ba0]
mov ebx, dword [eax + 0x30]
test ebx, ebx
je 0x40d949
jmp 0x40d9c0
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 0x40d971
lea esi, [esi]
mov eax, dword [0x447ba0]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x40da5d
mov ecx, dword [eax + 0x30]
test ecx, ecx
js 0x40da69
mov edx, dword [eax + 0x30]
test edx, edx
jne 0x40da3e
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 0x40da2d
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40da2d
call sym.___w32_sharedptr_initialize
mov eax, dword [0x447ba0]
jmp 0x40da1c
call sym._fc_key_init_once
mov eax, dword [0x447ba0]
jmp 0x40da23
Function at 0x40da80
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 0x40db14
mov esi, dword [eax + 0x30]
test esi, esi
js 0x40db30
mov ebx, dword [eax + 0x30]
test ebx, ebx
jne 0x40db50
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x10], eax
mov ecx, dword [edi + 0xc]
mov dword [ebp - 0x14], eax
test ecx, ecx
jne 0x40db08
lea edx, [ebp - 0x14]
mov eax, edi
call sym.__Unwind_RaiseException_Phase2
cmp eax, 7
jne 0x40dbcf
mov eax, dword [0x447ba0]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x40dba6
mov edx, dword [eax + 0x30]
test edx, edx
js 0x40dbc0
mov edi, dword [eax + 0x30]
test edi, edi
jne 0x40db80
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 0x40dac5
call sym.___w32_sharedptr_initialize
mov eax, dword [0x447ba0]
mov esi, dword [eax + 0x30]
test esi, esi
jns 0x40daa0
lea esi, [esi]
call sym._fc_key_init_once
mov eax, dword [0x447ba0]
mov ebx, dword [eax + 0x30]
test ebx, ebx
je 0x40daab
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 0x40daae
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 0x40daf7
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40daf7
call sym.___w32_sharedptr_initialize
mov eax, dword [0x447ba0]
mov edx, dword [eax + 0x30]
test edx, edx
jns 0x40dae9
nop
lea esi, [esi]
call sym._fc_key_init_once
mov eax, dword [0x447ba0]
jmp 0x40dae9
call sym._abort
lea esi, [esi]
lea edi, [edi]
Function at 0x40dbe0
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 0x40dc72
mov eax, dword [0x447ba0]
test eax, eax
je 0x40dc66
mov ebx, dword [eax + 0x30]
test ebx, ebx
js 0x40dce1
mov ecx, dword [eax + 0x30]
test ecx, ecx
jne 0x40dc87
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 0x40dcff
mov eax, dword [0x447ba0]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x40dcd2
mov edx, dword [eax + 0x30]
test edx, edx
js 0x40dcf0
mov edi, dword [eax + 0x30]
test edi, edi
jne 0x40dcb3
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 0x40dc02
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 0x40dc17
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 0x40dc55
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40dc55
call sym.___w32_sharedptr_initialize
mov eax, dword [0x447ba0]
jmp 0x40dc40
call sym._fc_key_init_once
mov eax, dword [0x447ba0]
jmp 0x40dc0d
call sym._fc_key_init_once
mov eax, dword [0x447ba0]
jmp 0x40dc4b
call sym._abort
lea esi, [esi]
lea edi, [edi]

Function at 0x40deb0
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 0x40dee0
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 0x410bd0
Capabilities:
Contain obfuscated stackstrings

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

Function at 0x411540
Capabilities:
Read file on windows

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

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp sym.___do_sjlj_init
Function at 0x409d30
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
inc ebp
add esp, 4
pop esi
cmp dword [ebp - 0x15dc], 0
jne 0x409d4d
mov dword [ebp - 0x31c], 0
jmp 0x40a009
mov eax, dword [ebp - 0x15dc]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0xc98], edx
push esi
push edx
add esp, 4
xor esi, 0x752c
add esi, 0x3099
and esi, 0x6426
pop esi
push edi

Function at 0x409d31
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
inc ebp
add esp, 4
pop esi
cmp dword [ebp - 0x15dc], 0
jne 0x409d4d
mov dword [ebp - 0x31c], 0
jmp 0x40a009
mov eax, dword [ebp - 0x15dc]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0xc98], edx
push esi
push edx
add esp, 4
xor esi, 0x752c
add esi, 0x3099
and esi, 0x6426
pop esi
push edi

Function at 0x409d78
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push edi
add esp, 4
jmp 0x409d84
xor edi, 0x48a6
or edi, 0x20e6
pop edi
cmp dword [ebp - 0xc98], 0
jne 0x409da9
mov dword [ebp - 0x31c], 0
jmp 0x40a009
mov eax, dword [ebp - 0xc98]
mov dword [ebp - 0x504], eax
push esi
sub esi, 0x28bf
xor esi, 0xb8f0
xor esi, 0x641b
and esi, 0x1152e
pop esi
push esi
push edx
add esp, 4
and esi, 0x9db8
pop esi
push edx
push edi
add esp, 4
and edx, 0x4b88
pop edx
lea ecx, [ebp - 0x173c]
mov dword [ebp - 0xc94], ecx
mov edx, dword [ebp - 0x504]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0xc90], eax
xor ecx, ecx
mov word [ebp - 0x210], cx
xor edx, edx
mov word [ebp - 0x10c], dx
push eax
push ebx
add esp, 4
jmp 0x409e21
sub eax, 0x13595
sub eax, 0x35d6
xor eax, 0x146c2
pop eax
push edx
push ebx
add esp, 4
and edx, 0xe3d4
sub edx, 0xacdc
pop edx
mov eax, dword [ebp - 0xc90]
mov cx, word [eax]
mov word [ebp - 0x1032], cx
mov edx, dword [ebp - 0xc90]
add edx, 2
mov dword [ebp - 0xc90], edx
mov ax, word [ebp - 0x1032]
mov word [ebp - 0x210], ax
mov ecx, dword [ebp - 0xc94]
mov dx, word [ecx]
mov word [ebp - 0x1034], dx
mov eax, dword [ebp - 0xc94]
add eax, 2
mov dword [ebp - 0xc94], eax
mov cx, word [ebp - 0x1034]
mov word [ebp - 0x10c], cx
push edx
add edx, 0xb5f7
and edx, 0xdb29
pop edx
push eax
add eax, 0x10beb
and eax, 0x8617
jmp 0x409ec2
call 0x409ece
add byte [esi + 0x39], cl
dec edi
inc ebp
dec edi
cmp al, 0x83
les eax, [eax + ebx*2]
movzx edx, word [ebp - 0x10c]
test edx, edx
jne 0x409ef5
movzx eax, word [ebp - 0x210]
movzx ecx, word [ebp - 0x10c]
sub eax, ecx
mov dword [ebp - 0x15e4], eax
jmp 0x409f58
invalid
mov bh, 0x95