joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403e30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a1f35
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4c76b8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
xor eax, eax
mov ecx, 0xf
mov dword [esi + 0x18], ecx
mov dword [esi + 0x14], eax
mov byte [esi + 4], al
mov dword [esi + 0x34], ecx
mov dword [esi + 0x30], eax
mov dword [esp + 0x14], eax
mov byte [esi + 0x20], al
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x68], ecx
mov dword [esi + 0x64], eax
mov byte [esi + 0x54], al
mov dword [esi + 0x84], ecx
mov dword [esi + 0x80], eax
mov byte [esi + 0x70], al
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], eax
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], eax
mov dword [esi + 0x9c], eax
mov dword [esi + 0xb8], ecx
mov dword [esi + 0xb4], eax
mov byte [esi + 0xa4], al
mov dword [esi + 0xbc], eax
mov dword [esi + 0xc0], eax
mov dword [esi + 0xc4], eax
mov dword [esi + 0xc8], eax
mov dword [esi + 0xcc], eax
mov dword [esi + 0xe8], ecx
mov dword [esi + 0xe4], eax
mov byte [esi + 0xd4], al
mov dword [esi + 0xec], eax
mov dword [esi + 0xf0], eax
mov dword [esi + 0xf4], eax
mov dword [esi + 0xf8], eax
lea ecx, [esi + 0x100]
mov byte [esp + 0x14], 5
mov dword [esi + 0xfc], eax
call fcn.004594a0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x409790
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4a2705
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x4c76b8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi], 0x4af708
mov dword [esp + 0x18], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov eax, dword [0x4c6104]
mov dword [esi + 0x3c], eax
mov ecx, dword [0x4c6104]
mov dword [esi + 0x40], ecx
lea ecx, [esi + 0x44]
mov byte [esp + 0x18], 6
call fcn.0046e420
lea ecx, [esi + 0x8c]
mov byte [esp + 0x18], 7
call fcn.0046e420
mov byte [esi + 0x38], bl
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x40a220
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4a5868
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x4c76b8]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
xor edi, edi
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], edi
mov word [esp + 0x20], di
call fcn.00409a40
mov edx, dword [esp + 0x44]
mov eax, edx
mov dword [esp + 0x34], edi
lea esi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x40a280
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.00409c40
mov esi, dword [esp + 0x3c]
push 0xffffffffffffffff
push edi
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push eax
mov ecx, esi
mov word [esi + 4], di
call fcn.00409a40
cmp dword [esp + 0x28], 8
jb 0x40a2cb
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00471a59
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x2c
ret

Function at 0x40a7c0
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [sym.imp.WS2_32.dll_ntohl]
push esi
push edi
mov edi, eax
mov eax, dword [edi]
push eax
call ebp
mov ecx, dword [edi + 4]
push ecx
mov esi, eax
call ebp
mov edi, eax
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x14]
xor ebx, ebx
sub eax, edx
mov dword [esp + 0x10], eax
jmp 0x40a7f4
mov eax, dword [esp + 0x10]
lea eax, [eax + ebx*4]
mov ecx, dword [esp + eax + 0x14]
push ecx
call ebp
mov dword [esp + ebx*4 + 0x14], eax
add ebx, 1
cmp ebx, 4
jl 0x40a7f0
xor eax, eax
lea ecx, [eax + 0x10]
nop
mov edx, edi
shr edx, 5
add edx, dword [esp + 0x18]
mov ebx, edi
shl ebx, 4
add ebx, dword [esp + 0x14]
sub eax, 0x61c88647
xor edx, ebx
lea ebx, [eax + edi]
xor edx, ebx
add esi, edx
mov edx, esi
shr edx, 5
add edx, dword [esp + 0x20]
mov ebx, esi
shl ebx, 4
add ebx, dword [esp + 0x1c]
xor edx, ebx
lea ebx, [eax + esi]
xor edx, ebx
add edi, edx
sub ecx, 1
jne 0x40a810
push esi
mov esi, dword [sym.imp.WS2_32.dll_htonl]
call esi
mov ebx, dword [esp + 0x2c]
push edi
mov dword [ebx], eax
call esi
pop edi
pop esi
pop ebp
mov dword [ebx + 4], eax
pop ebx
add esp, 0x14
ret
Function at 0x40a870
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [sym.imp.WS2_32.dll_ntohl]
push esi
mov esi, eax
mov eax, dword [esi]
push edi
push eax
call ebp
mov ecx, dword [esi + 4]
push ecx
mov edi, eax
call ebp
mov esi, eax
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x14]
xor ebx, ebx
sub eax, edx
mov dword [esp + 0x10], eax
jmp 0x40a8a4
mov eax, dword [esp + 0x10]
lea eax, [eax + ebx*4]
mov ecx, dword [esp + eax + 0x14]
push ecx
call ebp
mov dword [esp + ebx*4 + 0x14], eax
add ebx, 1
cmp ebx, 4
jl 0x40a8a0
mov ecx, dword [esp + 0x20]
mov eax, 0xe3779b90
mov dword [esp + 0x10], 0x10
jmp 0x40a8d0
mov ebx, edi
shl ebx, 4
add ebx, dword [esp + 0x1c]
mov edx, edi
shr edx, 5
add edx, ecx
xor edx, ebx
lea ebx, [eax + edi]
xor edx, ebx
sub esi, edx
mov edx, esi
shr edx, 5
add edx, dword [esp + 0x18]
mov ebx, esi
shl ebx, 4
add ebx, dword [esp + 0x14]
xor edx, ebx
lea ebx, [eax + esi]
xor edx, ebx
sub edi, edx
add eax, 0x61c88647
sub dword [esp + 0x10], 1
jne 0x40a8d0
push edi
mov edi, dword [sym.imp.WS2_32.dll_htonl]
call edi
mov ebx, dword [esp + 0x2c]
push esi
mov dword [ebx], eax
call edi
pop edi
pop esi
pop ebp
mov dword [ebx + 4], eax
pop ebx
add esp, 0x14
ret

Function at 0x40c840
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4a2973
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4c76b8]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov dword [esi], 0x4afbf0
xor ebx, ebx
mov dword [esi + 4], 0x65
mov dword [esi + 8], 0x12dd668
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], 1
mov dword [esi + 0x14], 0x34
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
xor eax, eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x24], ebx
mov dword [esi + 0x58], eax
call fcn.0040c590
mov ecx, dword [eax]
mov dword [esi + 0x48], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x4c], edx
mov ecx, dword [eax + 8]
mov dword [esi + 0x50], ecx
mov edx, dword [eax + 0xc]
mov ecx, dword [esi + 0x58]
mov dword [esi + 0x54], edx
call fcn.00443330
lea edi, [eax + 4]
push edi
mov dword [esp + 0x18], 0x4afbec
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esi + 0x58]
push esi
mov byte [esp + 0x28], 1
call fcn.00443560
push edi
mov dword [esi + 0x5c], eax
mov byte [esp + 0x28], bl
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esi + 0x58]
push esi
call fcn.00445610
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret 8
Function at 0x40cb20
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x40cb40
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
push edi
mov edi, ecx
jne 0x40cb56
push 0x80004005
call fcn.00408aa0
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
lea eax, [eax + eax + 2]
push eax
mov eax, dword [edi]
push esi
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
ret 0xc

Function at 0x40cb80
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
mov dword [esp + 4], ecx
jne 0x40cb98
push 0x80004005
call fcn.00408aa0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
add eax, 1
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x40cba5
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret 8

Function at 0x40d2f0
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x4c76b8]
xor eax, esp
mov dword [esp + 0x190], eax
push esi
mov esi, dword [esp + 0x19c]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp eax, 1
jne 0x40d33f
xor ecx, ecx
mov ch, byte [esp + 0x1a4]
lea eax, [esp + 4]
push eax
mov cl, byte [esp + 0x1a4]
push ecx
call dword [sym.imp.WS2_32.dll_WSAStartup]
push eax
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [esp + 0x194]
pop esi
xor ecx, esp
call fcn.00471a20
add esp, 0x194
ret
Function at 0x40de90
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x21c
mov eax, dword [0x4c76b8]
xor eax, esp
mov dword [esp + 0x218], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x22c]
mov ebp, ecx
mov eax, dword [ebp]
lea ecx, [esp + 0x14]
push ecx
push 0x2001f
push 0
push edi
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0xc]
mov esi, eax
test esi, esi
jne 0x40defe
test ecx, ecx
je 0x40def0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov ecx, dword [esp + 0x14]
mov esi, eax
mov dword [esp + 0xc], ecx
je 0x40df0c
test ecx, ecx
je 0x40dfb1
push ecx
jmp 0x40dfab
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x38]
push edx
push 0
push ecx
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
jne 0x40df7e
jmp 0x40df40
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x10]
call fcn.0040de90
mov edi, eax
test edi, edi
jne 0x40dfcd
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x10]
push eax
push eax
push eax
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x38]
push eax
push edi
push ecx
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
je 0x40df40
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x40df95
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], 0
mov edx, dword [ebp]
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x40dfb1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x224]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00471a20
add esp, 0x21c
ret 4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x40dfdc
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x40dfb3

Function at 0x40e5f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a2a4b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4c76b8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
lea esi, [edi + 0xc]
mov dword [edi + 4], 0
mov ecx, esi
mov dword [edi], 0x4b015c
call fcn.0041e8d0
mov eax, dword [esp + 0x20]
mov dword [esi], 0x4b00f0
mov dword [esi + 4], 0x4b00dc
mov dword [esi + 8], 0x4b00bc
mov dword [esi + 0x30], 0x4b0080
mov dword [esi + 0x34], 0x4b0058
mov dword [esi + 0x38], 0x4b0038
mov dword [esi + 0x3c], 0x4b000c
mov dword [esi + 0x40], eax
mov ecx, dword [0x4c9acc]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
mov dword [esp + 0x18], 0
call eax
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x412840
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x4a2ff0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4c76b8]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov eax, dword [ebp + 0x418]
mov edi, dword [ebp + 0x410]
mov ebx, dword [ebp + 0x414]
mov dword [ebp - 0x14], eax
call dword [0x4c9678]
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], eax
mov dword [ebp], eax
push 2
push eax
push edi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
mov dword [ebp - 0x18], edi
jne 0x4128cd
call fcn.0040ca10
mov esi, eax
jmp 0x4129b5
mov ecx, dword [ebp - 0x14]
push ecx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x4128e9
call fcn.0040ca10
jmp 0x4129ac
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 0x20], eax
jne 0x412902
call fcn.0040ca10
jmp 0x4129ac
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
mov dword [ebp - 0x14], esi
jae 0x412938
lea edx, [ebp + 4]
cmp dword [ebp], edx
je 0x412926
lea ecx, [ebp]
call fcn.0040d480
lea ecx, [ebp - 0x1c]
call fcn.0040d3c0
mov eax, 0x8007000e
jmp 0x4129d2
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.0040f150
mov dword [ebp - 4], 1
jmp 0x412961
mov ebx, dword [ebp]
test ebx, ebx
jne 0x41296f
mov esi, 0x8007000e
jmp 0x4129ae
call dword [0x4c9678]
mov ecx, dword [ebp - 0x20]
push esi
push ebx
push esi
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x412990
call fcn.0040ca10
jmp 0x4129ac
mov edx, dword [ebp]
mov word [edx + eax*2], 0
mov eax, dword [ebp + 0x41c]
mov ecx, dword [ebp]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.004116f0
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [ebp + 4]
cmp dword [ebp], edx
je 0x4129d0
lea ecx, [ebp]
call fcn.0040d480
jmp 0x4129d0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.00471a20
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0x10
Function at 0x412f50
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4a4508
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4c76b8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.00404840
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x2c]
xor edx, edx
mov dword [esi + 0x2c], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x30]
lea eax, [edi + 0x30]
push edx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], edx
push eax
mov dword [esp + 0x24], edx
mov byte [ecx + 4], dl
call fcn.00404190
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

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

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x413c92
cmp word [eax], 0
je 0x413c92
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x413c92
and al, 0x10
cmp al, 0x10
setne al
ret
xor al, al
ret
Function at 0x41d620
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4a3f19
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4c76b8]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x2c]
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], edi
mov dword [esi], 0x4b0708
mov dword [esp + 0x24], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
lea ecx, [esi + 0x30]
mov byte [esp + 0x24], 3
mov dword [esi + 0x2c], edi
call fcn.004172b0
mov ebx, eax
mov dword [esp + 0x14], ebx
call fcn.004a06c0
neg ebx
sbb ebx, ebx
test ebx, fcn.004a0680
mov dword [esp + 0x18], eax
je 0x41d6b4
push str.mutex
lea ecx, [esp + 0x18]
push ecx
call fcn.00413710
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret 4

Function at 0x41d6e0
Capabilities:
Terminate thread

Disassembly:
sub esp, 8
push esi
push 0xffffffffffffffff
push 0
mov esi, ecx
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
lea edx, [esp + 0xc]
push edx
push 2
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x4c9be8
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test eax, eax
push 0
je 0x41d731
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop esi
add esp, 8
ret
mov edx, dword [esi + 4]
push edx
push 0x4546c0
call dword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov eax, dword [esi + 4]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop esi
add esp, 8
ret
Function at 0x41e680
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x4a4248
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c76b8]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
push edi
lea eax, [esi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test eax, eax
jne 0x41e6d5
mov ecx, esi
call fcn.0041d9c0
xor esi, esi
call fcn.004a06c0
mov ecx, dword [esp + 0x2c]
mov dword [ecx + 4], eax
mov dword [ecx], esi
xor eax, eax
jmp 0x41e739
mov ecx, dword [0x4c9ba8]
push ecx
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea edx, [esp + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [0x4c9ba8]
push edx
push eax
call ebp
mov ebx, dword [esp + 0x2c]
push ebx
push 1
mov ecx, esi
mov dword [esp + 0x2c], edi
call fcn.0041dee0
test eax, eax
je 0x41e729
cmp edi, 0xffffffff
je 0x41e71b
add edi, 1
push ebx
push 1
mov ecx, esi
call fcn.0041dee0
test eax, eax
jne 0x41e713
mov ecx, dword [esp + 0x18]
mov edx, dword [0x4c9ba8]
push ecx
push edx
call ebp
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4

Function at 0x423e00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a4508
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4c76b8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.00404840
test edi, edi
mov dword [esp + 0x18], 0
je 0x423e44
add edi, 0x28
jmp 0x423e46
xor edi, edi
mov dword [esi + 0x28], vtable.boost::exception.0
mov ecx, dword [edi + 4]
test ecx, ecx
mov dword [esi + 0x2c], ecx
je 0x423e5e
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x38], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_std::runtime_error_.1.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_class_std::runtime_error_.0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x425dd0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4a4808
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4c76b8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, dword [esp + 0x20]
xor eax, eax
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x24]
push 0xffffffffffffffff
mov dword [edi], ecx
lea esi, [edi + 8]
push eax
lea edx, [esp + 0x30]
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], eax
push edx
mov ecx, esi
mov dword [esp + 0x24], eax
mov word [esi + 4], ax
call fcn.00409a40
cmp dword [esp + 0x40], 8
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x50]
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], edx
mov dword [esi + 0x28], eax
jb 0x425e57
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00471a59
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x426f90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a49a8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4c76b8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.004046d0
mov dword [esi], vtable.boost::gregorian::bad_day_of_month.0
test edi, edi
mov dword [esp + 0x18], 0
je 0x426fda
add edi, 0x28
jmp 0x426fdc
xor edi, edi
mov dword [esi + 0x28], vtable.boost::exception.0
mov ecx, dword [edi + 4]
test ecx, ecx
mov dword [esi + 0x2c], ecx
je 0x426ff4
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x38], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_day_of_month_.1.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_day_of_month_.0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4