joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414660
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b66a7
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x4e54c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
test cl, cl
je 0x414752
xor eax, eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x218]
push eax
push 0
push 0xffffffffffffffff
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x4146bf
xor al, al
jmp 0x414879
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00403840
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x248]
call fcn.00409db0
mov byte [ebp - 4], 1
cmp esi, eax
je 0x4146fe
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.004033d0
cmp dword [ebp - 0x234], 8
jb 0x414715
push dword [ebp - 0x248]
call fcn.0048fa72
add esp, 4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x21c], 8
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
jb 0x414764
push dword [ebp - 0x230]
call fcn.0048fa72
add esp, 4
jmp 0x414764
mov ecx, 0x6c
call fcn.0040bef0
test al, al
je 0x4146b8
lea eax, [ebp - 0x268]
mov dword [ebp - 0x268], str.Microsoft
push eax
lea eax, [ebp - 0x230]
mov dword [ebp - 0x264], 9
push eax
mov ecx, esi
call fcn.0040aac0
mov dword [ebp - 4], 2
cmp esi, eax
je 0x4147a4
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.004033d0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x21c], 8
jb 0x4147c2
push dword [ebp - 0x230]
call fcn.0048fa72
add esp, 4
lea eax, [ebp - 0x268]
mov dword [ebp - 0x268], str.Internet_Explorer
push eax
lea eax, [ebp - 0x230]
mov dword [ebp - 0x264], 0x11
push eax
mov ecx, esi
call fcn.0040aac0
mov dword [ebp - 4], 3
cmp esi, eax
je 0x414802
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.004033d0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x21c], 8
jb 0x414820
push dword [ebp - 0x230]
call fcn.0048fa72
add esp, 4
lea eax, [ebp - 0x268]
mov dword [ebp - 0x268], str.Quick_Launch
push eax
lea eax, [ebp - 0x260]
mov dword [ebp - 0x264], 0xc
push eax
mov ecx, esi
call fcn.0040aac0
mov dword [ebp - 4], 4
cmp esi, eax
je 0x414860
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.004033d0
cmp dword [ebp - 0x24c], 8
jb 0x414877
push dword [ebp - 0x260]
call fcn.0048fa72
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004906bc
mov esp, ebp
pop ebp
ret
Function at 0x4157e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10008
call fcn.004988e0
mov eax, dword [0x4e54c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, edx
mov edi, ecx
call fcn.0040ac50
test al, al
je 0x415818
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004906bc
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.0040da20
mov edi, eax
test edi, edi
je 0x415806
push edi
push 0x10000
lea eax, [ebp - 0x10008]
push 1
push eax
call fcn.004947c2
add esp, 0x10
test eax, eax
je 0x41586e
test esi, esi
je 0x415853
push eax
lea eax, [ebp - 0x10008]
mov ecx, esi
push eax
call fcn.00406bc0
push edi
push 0x10000
lea eax, [ebp - 0x10008]
push 1
push eax
call fcn.004947c2
add esp, 0x10
test eax, eax
jne 0x415840
push edi
call fcn.00494f54
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
mov al, 1
pop edi
pop esi
call fcn.004906bc
mov esp, ebp
pop ebp
ret
Function at 0x416150
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b69ce
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x4e54c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x134], 0
mov dword [esi], 0
mov dword [esi + 0x18], 3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push str.IsWow64Process
push str.kernel32.dll
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4161e3
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x134], 0
push ecx
push edi
call eax
test eax, eax
jne 0x4161d8
mov eax, 2
jmp 0x4161e3
xor eax, eax
cmp dword [ebp - 0x134], eax
setne al
mov dword [esi + 0x24], eax
mov dword [esi + 0x3c], 0xf
mov dword [esi + 0x38], 0
mov byte [esi + 0x28], 0
push 0x118
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x130], 0x11c
push 0
push eax
call fcn.00491b10
add esp, 0xc
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov edx, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x128]
mov eax, dword [ebp - 0x124]
mov dword [esi + 4], edx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
cmp edx, 5
jne 0x416256
test ecx, ecx
jle 0x41628a
xor eax, eax
cmp ecx, 1
setne al
inc eax
mov dword [esi], eax
jmp 0x41628a
cmp edx, 6
jne 0x416282
sub ecx, 0
je 0x41627a
dec ecx
je 0x416272
dec ecx
je 0x41626a
mov dword [esi], edx
jmp 0x41628a
mov dword [esi], 5
jmp 0x41628a
mov dword [esi], 4
jmp 0x41628a
mov dword [esi], 3
jmp 0x41628a
jle 0x41628a
mov dword [esi], 7
movzx eax, word [ebp - 0x1c]
xorps xmm0, xmm0
mov dword [esi + 0x10], eax
movzx eax, word [ebp - 0x1a]
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x158]
push eax
mov dword [ebp - 0x158], 0
movdqu xmmword [ebp - 0x154], xmm0
movdqu xmmword [ebp - 0x144], xmm0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [ebp - 0x158]
test eax, eax
je 0x4162e9
cmp eax, 6
je 0x4162e0
cmp eax, 9
jne 0x4162f0
mov dword [esi + 0x18], 1
jmp 0x4162f0
mov dword [esi + 0x18], 2
jmp 0x4162f0
mov dword [esi + 0x18], 0
mov ecx, dword [ebp - 0x144]
mov eax, esi
mov dword [esi + 0x1c], ecx
mov ecx, dword [ebp - 0x13c]
mov dword [esi + 0x20], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004906bc
mov esp, ebp
pop ebp
ret
Function at 0x4170e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6b72
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4e54c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ebx, [esi + 8]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
call fcn.00416bc0
mov dword [esi + 0x24], eax
mov byte [ebp - 4], 1
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.00417d00
mov dword [esi + 0x2c], eax
mov byte [ebp - 4], 2
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
call fcn.00417d30
mov dword [esi + 0x34], eax
lea eax, [esi + 0x3c]
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov byte [ebp - 4], 4
lea edi, [esi + 0x54]
push 8
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
call fcn.00490738
add esp, 4
test eax, eax
jne 0x4171d1
call fcn.0048fcd7
mov dword [edi], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [edi]
mov dword [eax], edi
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 5
mov dword [esi + 0x6c], 0xffffffff
cmp ebx, eax
je 0x417202
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.004024b0
mov ecx, esi
call fcn.00417400
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x417270
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6bd2
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
push ebx
push esi
push edi
mov eax, dword [0x4e54c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x1c], 0xf
mov dword [esi + 0x18], 0
mov byte [esi + 8], 0
mov dword [ebp - 4], 0
mov ebx, dword [ebp + 8]
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
call fcn.00416bc0
mov dword [esi + 0x24], eax
mov byte [ebp - 4], 1
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.00417d00
mov dword [esi + 0x2c], eax
mov byte [ebp - 4], 2
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
call fcn.00417d30
mov dword [esi + 0x34], eax
lea eax, [esi + 0x3c]
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov byte [ebp - 4], 4
lea edi, [esi + 0x54]
push 8
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
call fcn.00490738
add esp, 4
test eax, eax
jne 0x417361
call fcn.0048fcd7
mov dword [edi], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [edi]
mov dword [eax], edi
mov byte [ebp - 4], 5
mov dword [esi + 0x6c], 0xffffffff
mov dword [ebp + 8], 0
mov dword [ebp - 0x14], ebx
test ebx, ebx
jg 0x4173c5
push str.thread_number___0
lea edx, [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.0040c8b0
add esp, 4
test eax, eax
je 0x4173c5
push eax
push 0xfe
push str.tracked_objects.cc
lea ecx, [ebp - 0xcc]
call fcn.00411de0
lea ecx, [ebp - 0xcc]
call fcn.00411ec0
push ebx
lea eax, [esi + 8]
push str.WorkerThread__d
push eax
call fcn.00412e10
add esp, 0xc
mov ecx, esi
call fcn.00417400
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4174a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4c9b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4e54c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00417900
test al, al
je 0x417541
push dword [0x4e68fc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
test ecx, ecx
jne 0x4174e8
call fcn.004237b0
mov ecx, eax
mov eax, dword [0x4eb0d4]
cmp dword [ecx + eax*4], 0
jne 0x417541
push 0x70
call fcn.00490738
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x417517
push esi
mov ecx, eax
call fcn.004170e0
mov esi, eax
jmp 0x417519
xor esi, esi
mov dword [ebp - 4], 0xffffffff
push dword [0x4e68fc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
test ecx, ecx
jne 0x417539
call fcn.004237b0
mov ecx, eax
mov eax, dword [0x4eb0d4]
mov dword [ecx + eax*4], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x417560
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6bfb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4e54c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x4eb0d0], 0
jne 0x4175a3
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [0x4e68fc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
test ecx, ecx
jne 0x4175bc
call fcn.004237b0
mov ecx, eax
mov eax, dword [0x4eb0d4]
mov eax, dword [ecx + eax*4]
test eax, eax
jne 0x41765d
mov ecx, 0x4eb0b0
xor edi, edi
xor ebx, ebx
call fcn.00416ad0
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x4eb0cc]
test ecx, ecx
je 0x4175fc
mov eax, dword [ecx + 4]
mov edi, ecx
mov dword [0x4eb0cc], eax
mov dword [ecx + 4], ebx
jmp 0x417609
mov ebx, dword [0x4eb0e0]
inc ebx
mov dword [0x4eb0e0], ebx
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
jne 0x41763d
push 0x70
call fcn.00490738
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], edi
test eax, eax
je 0x417634
push ebx
mov ecx, eax
call fcn.00417270
mov edi, eax
jmp 0x417636
xor edi, edi
mov dword [ebp - 4], 0xffffffff
push dword [0x4e68fc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x417652
call fcn.004237b0
mov ecx, dword [0x4eb0d4]
mov dword [eax + ecx*4], edi
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b70d6
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4e54c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 8]
call fcn.0041fe90
mov dword [ebp - 4], 0
lea eax, [esi + 0x18]
push 0x7d0
mov dword [esi], vtable.base::internal::IncomingTaskQueue.0
push eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov byte [ebp - 4], 1
lea edi, [esi + 0x30]
push 8
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
call fcn.00490738
add esp, 4
test eax, eax
jne 0x41b2a8
call fcn.0048fcd7
mov dword [edi], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [edi]
mov dword [eax], edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x44], eax
mov eax, esi
mov dword [esi + 0x48], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x41bec0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b72a3
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4e54c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [ebp - 4], 0
xor eax, eax
push 4
mov dword [esi], vtable.base::MessagePumpForUI.0
mov word [esi + 0x30], ax
call fcn.00490738
add esp, 4
test eax, eax
je 0x41bf58
mov dword [eax], vtable.base::MessagePumpForUI::MessageFilter.0
jmp 0x41bf5a
xor eax, eax
mov dword [esi + 0x38], eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0041c2c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41c5e0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], 0
call fcn.0040fff0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 1
mov al, byte [eax + 0x66]
test al, al
je 0x41c644
push 0xf
push 0xf
push 0
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x41c640
push 1
push 0x113
push 0x113
push eax
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x41c640
xor bl, bl
jmp 0x41c65c
mov bl, 1
jmp 0x41c65c
mov ecx, dword [esi + 0x38]
lea edx, [esp + 0x10]
push 0
push 0
push 0
mov eax, dword [ecx]
push edx
Function at 0x41c690
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b7389
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4e54c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [ebp - 4], 0
mov dword [esi], vtable.base::MessagePumpForIO.0
mov dword [esi + 0x30], 0
push 0
mov byte [ebp - 4], 1
push 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
call fcn.0041cc70
mov dword [esi + 0x34], eax
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
push 1
push 0
push 0
push 0xffffffffffffffff
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov edi, eax
cmp dword [esi + 0x30], edi
je 0x41c7aa
lea ecx, [esi + 0x30]
call fcn.0040dc60
test edi, edi
je 0x41c7aa
cmp edi, 0xffffffff
je 0x41c7aa
mov dword [esi + 0x30], edi
call fcn.00409610
push eax
mov eax, dword [ebp + 4]
lea edx, [esi + 0x30]
push eax
mov ecx, edi
call fcn.004163b0
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41d890
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b74b1
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4e54c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov ebx, dword [ebp + 8]
lea esi, [edi + 0x30]
push 0x405ca0
push fcn.0041fe90
push 2
mov eax, dword [ebx]
mov dword [edi], eax
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov eax, dword [ebx + 8]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x10]
push 4
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x14]
push esi
mov dword [edi + 0x14], eax
call fcn.004954eb
mov dword [ebp - 4], 0
mov eax, dword [ebx + 0x38]
mov dword [edi + 0x38], eax
mov eax, dword [ebx + 0x3c]
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], 0
mov byte [ebp - 4], 1
mov eax, dword [ebx + 0x44]
mov dword [edi + 0x44], eax
mov al, byte [ebx + 0x48]
mov byte [edi + 0x48], al
mov al, byte [ebx + 0x49]
mov byte [edi + 0x49], al
mov eax, dword [ebx + 0x40]
mov dword [ebp + 8], eax
test eax, eax
je 0x41d93b
lea ecx, [eax + 4]
call fcn.004402e0
mov eax, dword [edi + 0x40]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov dword [edi + 0x40], ecx
test eax, eax
je 0x41d96b
lea ecx, [eax + 4]
call fcn.00440300
test al, al
je 0x41d96b
mov ecx, dword [ebp - 0x14]
add ecx, 4
je 0x41d96b
add ecx, 0xfffffffc
je 0x41d96b
mov eax, dword [ecx]
push 1
call dword [eax + 8]
sub ebx, dword [ebp - 0x10]
lea ecx, [edi + 0x4a]
mov edx, 0xffffffb6
mov dword [ebp + 8], ecx
add edi, 0x18
sub edx, dword [ebp - 0x10]
mov dword [ebp - 0x18], edx
mov eax, dword [ebx + edi]
mov dword [edi], eax
mov eax, dword [ebx + edi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + ebx - 8]
mov dword [esi - 8], eax
mov al, byte [ebx + ecx]
mov byte [ecx], al
cmp al, 8
jne 0x41d9d1
mov eax, dword [ebx + esi]
mov dword [ebp - 0x14], eax
mov dword [ebx + esi], 0
test eax, eax
je 0x41d9b3
cmp eax, dword [esi]
je 0x41da19
mov edx, dword [esi]
mov dword [esi], 0
test edx, edx
je 0x41d9cd
mov eax, dword [edx]
mov ecx, edx
push 1
call dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
jmp 0x41d9ee
mov edx, dword [esi]
mov dword [esi], 0
test edx, edx
je 0x41d9e8
mov eax, dword [edx]
mov ecx, edx
push 1
call dword [eax]
mov ecx, dword [ebp + 8]
mov dword [esi], 0
mov eax, dword [ebp - 0x18]
inc ecx
add eax, ecx
mov dword [ebp + 8], ecx
add edi, 8
add esi, 4
cmp eax, 2
jl 0x41d982
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.00491bdb
int3
Function at 0x41df00
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b755b
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4e54c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov edi, dword [ebp + 8]
mov dword [esi], vtable.base::debug::TraceLog::ThreadLocalEventBuffer.0
mov dword [esi + 4], edi
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov byte [ebp - 4], 1
mov eax, 0x66666667
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 8]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0x40
jae 0x41df9b
push 0x40
lea ecx, [esi + 8]
call fcn.00420f70
call fcn.0040fff0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x14], eax
mov dword [ebp + 8], esi
mov ecx, dword [eax + 0x54]
lea edx, [eax + 0x50]
mov eax, dword [edx]
cmp eax, ecx
je 0x41dfd8
lea ebx, [ebx]
cmp dword [eax], esi
je 0x41dfcb
add eax, 4
cmp eax, ecx
jne 0x41dfc0
cmp eax, ecx
je 0x41dfd8
mov dword [ebp - 4], 1
jmp 0x41dfe3
lea eax, [ebp + 8]
mov ecx, edx
push eax
call fcn.00410730
push edi
mov dword [ebp + 8], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 5
lea ecx, [edi + 0x174]
movzx eax, byte [0x4ec18b]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00421ad0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41e710
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b7751
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4e54c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x7d0
push esi
mov dword [ebp - 0x2c], esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov dword [ebp - 4], 0
lea ecx, [esi + 0x28]
push 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
call fcn.00440240
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov byte [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x5c], 0xf
mov dword [esi + 0x58], 0
mov byte [esi + 0x48], 0
sub esp, 8
mov byte [ebp - 4], 4
lea ecx, [esi + 0x60]
call fcn.00420840
sub esp, 8
mov byte [ebp - 4], 5
lea ecx, [esi + 0x84]
mov dword [esi + 0x80], 0
call fcn.00420910
sub esp, 8
mov byte [ebp - 4], 6
lea ecx, [esi + 0xa4]
call fcn.00420840
sub esp, 8
mov byte [ebp - 4], 7
lea ecx, [esi + 0xc4]
call fcn.004209c0
sub esp, 8
mov byte [ebp - 4], 8
lea ecx, [esi + 0xe4]
call fcn.00420a90
mov dword [esi + 0x108], 0
mov dword [esi + 0x10c], 0
mov dword [esi + 0x110], 0
mov dword [esi + 0x118], 0
mov dword [esi + 0x11c], 0
mov dword [esi + 0x120], 0
mov dword [esi + 0x138], 0xf
mov dword [esi + 0x134], 0
mov byte [esi + 0x124], 0
mov dword [esi + 0x13c], 1
mov dword [esi + 0x140], 0
mov byte [ebp - 4], 0xb
xor ecx, ecx
mov dword [esi + 0x144], 0
mov eax, 0xe
mov dword [esi + 0x148], 0
cmp byte [str._Debug__Test], cl
mov dword [ebp - 0x14], 0xf
cmove eax, ecx
mov dword [ebp - 0x18], 0
push eax
push str._Debug__Test
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x28], 0
call fcn.00402820
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x28]
push eax
lea ecx, [esi + 0x14c]
call fcn.0041f970
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x14], 0x10
jb 0x41e8e6
push dword [ebp - 0x28]
call fcn.0048fa72
add esp, 4
lea ecx, [esi + 0x170]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov dword [ecx], 0
call fcn.0040e200
sub esp, 8
mov byte [ebp - 4], 0xf
lea ecx, [esi + 0x174]
call fcn.00420d30
lea ecx, [esi + 0x194]
mov byte [ebp - 4], 0x10
push 0
call fcn.00440240
mov dword [esi + 0x19c], 0
mov byte [ebp - 4], 0x12
mov dword [esi + 0x1a0], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esi + 0x110], eax
push 0x100
cdq
push 0x1b3
xor edx, 0xcbf29ce4
xor eax, 0x84222325
push edx
push eax
call fcn.0049c660
mov ecx, esi
mov dword [esi + 0x108], eax
mov dword [esi + 0x10c], edx
call fcn.0041ebd0
mov edi, eax
test edi, edi
je 0x41e990
cmp edi, dword [esi + 0x30]
jne 0x41e990
call fcn.00491bdb
mov ecx, dword [esi + 0x30]
mov dword [esi + 0x30], 0
test ecx, ecx
je 0x41e9a4
mov edx, dword [ecx]
push 1
call dword [edx]
mov dword [esi + 0x30], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004906bc
mov esp, ebp
pop ebp
ret