joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430840
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b3598
push eax
mov dword fs:[0], esp
sub esp, 0x808
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
jne 0x4308ac
mov ecx, 0x4e9108
mov dword [ebp - 0x14], 0x4e9108
call fcn.00432940
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], esi
cmp eax, 1
jne 0x43089b
push esi
push 0x4c87fe
push 0x4c87fe
push str.file___NULL
call fcn.0042d5c0
add esp, 0x10
mov ecx, 0x4e9108
mov dword [ebp - 4], 0xffffffff
call fcn.00432950
cmp dword [esi], 0xffffffff
jne 0x4308e1
push 0x43b710
push ecx
mov edx, 0x43b770
mov ecx, 0x4e73dc
call fcn.00437550
add esp, 8
mov dword [eax], 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0x14]
test edi, edi
jne 0x4308f6
push ecx
mov ecx, str.amount___NULL
call fcn.0042d880
add esp, 4
cmp dword [edi], 0
je 0x4309dc
push dword [ebp + 0x10]
lea eax, [ebp + 8]
mov byte [esi + 8], 0
push eax
push dword [edi]
push dword [ebp + 0xc]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp + 8]
mov dword [edi], ecx
test eax, eax
jne 0x4309dc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0x27
je 0x430989
cmp edi, 0x70
je 0x430989
push 0x43b710
push ecx
mov edx, 0x43b770
mov ecx, 0x4e73dc
call fcn.00437550
mov dword [eax], 6
lea eax, [ebp - 0x414]
push dword [esi + 0x54]
push edi
push str.Win32_Write___d_____s
push eax
call fcn.0043a7b0
mov ecx, 6
mov edx, eax
push 1
call fcn.00430470
add esp, 0x1c
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x43b710
push ecx
mov edx, 0x43b770
mov ecx, 0x4e73dc
call fcn.00437550
mov dword [eax], 0xb
lea eax, [ebp - 0x814]
push dword [esi + 0x54]
push edi
push str.Win32_Write___d_____s
push eax
call fcn.0043a7b0
mov ecx, 0xb
mov edx, eax
push 1
call fcn.00430470
add esp, 0x1c
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
mov al, 1
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x430a80
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x294
push ebx
push esi
push edi
mov edi, ecx
cmp byte [edi + 8], 0
je 0x430a9e
test byte [edi + 4], 8
je 0x430be6
lea eax, [ebp - 0xc]
mov byte [edi + 8], 0
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x430ac5
call esi
test eax, eax
jne 0x430be6
mov eax, dword [edi + 0x50]
test eax, eax
je 0x430ad1
cmp dword [eax], 0
jne 0x430ade
mov ecx, dword [ebp - 0xc]
xor eax, eax
or eax, ebx
mov dword [edi + 0x1c], ecx
mov dword [edi + 0x18], eax
push dword [edi + 0x10]
lea ecx, [ebp - 0x290]
call fcn.00436a40
lea ecx, [ebp - 4]
push ecx
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeW]
mov ecx, dword [ebp - 0x28c]
lea edx, [ebp - 0x288]
mov dword [ebp - 8], eax
cmp ecx, edx
je 0x430b18
push ecx
call fcn.00471372
mov eax, dword [ebp - 8]
add esp, 4
cmp eax, 0xffffffff
jne 0x430b2a
call esi
test eax, eax
jne 0x430be6
mov eax, dword [ebp - 8]
push dword [edi + 0x54]
mov dword [edi + 0x20], eax
lea ecx, [ebp - 0x290]
mov eax, dword [ebp - 4]
mov dword [edi + 0x24], eax
call fcn.00436a40
lea ecx, [ebp - 0x30]
push ecx
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
mov ecx, dword [ebp - 0x28c]
mov esi, eax
lea eax, [ebp - 0x288]
cmp ecx, eax
je 0x430b6b
push ecx
call fcn.00471372
add esp, 4
test esi, esi
je 0x430be2
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.004385e0
push dword [ebp - 0x18]
mov dword [edi + 0x30], eax
push dword [ebp - 0x1c]
mov dword [edi + 0x34], edx
call fcn.004385e0
push dword [ebp - 0x20]
mov dword [edi + 0x38], eax
push dword [ebp - 0x24]
mov dword [edi + 0x3c], edx
call fcn.004385e0
mov esi, dword [ebp - 0x30]
add esp, 0x18
mov ecx, esi
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], edx
call fcn.00430bf0
mov ecx, eax
mov dword [edi + 0x28], eax
shr ecx, 5
and cl, 1
mov byte [edi + 0x4c], cl
cmp esi, 0xffffffff
jne 0x430bd4
mov dword [edi + 0x48], 0
mov byte [edi + 8], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test al, 0x40
mov eax, 0
setne al
inc eax
mov dword [edi + 0x48], eax
mov byte [edi + 8], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x430eb0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x264
push ebx
push ecx
lea ecx, [esp + 0xc]
call fcn.00436a40
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
lea ecx, [esp + 0x10]
mov eax, dword [esp + 0xc]
cmp eax, ecx
je 0x430ee7
push eax
call fcn.00471372
add esp, 4
cmp ebx, 0xffffffff
jne 0x430ef3
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
test bl, 0x10
mov eax, 0
pop ebx
setne al
inc eax
mov esp, ebp
pop ebp
ret
Function at 0x431430
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x260
push ebx
push esi
push ecx
lea ecx, [esp + 0xc]
mov esi, edx
call fcn.00436a40
push esi
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
lea ecx, [esp + 0x10]
mov eax, dword [esp + 0xc]
sete bl
cmp eax, ecx
je 0x43146e
push eax
call fcn.00471372
add esp, 4
test bl, bl
je 0x431486
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
sete al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4322f0
Capabilities:
Get token privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, ecx
push esi
push edi
lea eax, [ebx + 4]
mov byte [ebx + 0xc], 0
push eax
push str.SeManageVolumePrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push ebx
push 0x28
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 4]
push eax
push 0
push 0
push 3
push dword [ebx]
call edi
mov esi, dword [ebp - 4]
mov eax, esi
call fcn.00471d50
mov dword [ebp - 8], esp
lea eax, [ebp - 4]
push eax
push esi
mov esi, dword [ebp - 8]
push esi
push 3
push dword [ebx]
call edi
test eax, eax
je 0x432394
xor edx, edx
cmp dword [esi], edx
jbe 0x432394
mov ecx, dword [ebx + 8]
lea eax, [esi + 4]
cmp dword [eax + 4], ecx
jne 0x43238c
mov ecx, dword [eax]
cmp ecx, dword [ebx + 4]
jne 0x432389
mov ecx, dword [eax + 8]
cmp ecx, 2
je 0x432384
cmp ecx, 1
je 0x432384
xor cl, cl
jmp 0x432386
mov cl, 1
mov byte [ebx + 0xc], cl
mov ecx, dword [ebx + 8]
inc edx
add eax, 0xc
cmp edx, dword [esi]
jb 0x432367
mov eax, ebx
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x432410
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x408
lea eax, [esp]
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0
push eax
push esi
push dword [ebp + 8]
mov edi, ecx
push dword [edi]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x432488
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x43b710
push ecx
mov edx, 0x43b770
mov ecx, 0x4e73dc
mov esi, eax
call fcn.00437550
mov dword [eax], 7
push dword [edi + 0x54]
push esi
push str.PreallocateFast_Win___SetFilePointerEx___err__d____s
lea eax, [esp + 0x24]
push eax
call fcn.0043a7b0
push 1
mov edx, eax
mov ecx, 7
call fcn.00430470
add esp, 0x1c
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push dword [edi]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x4324c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x43b710
push ecx
mov edx, 0x43b770
mov ecx, 0x4e73dc
mov esi, eax
call fcn.00437550
mov dword [eax], 7
push dword [edi + 0x54]
push esi
push str.PreallocateFast_Win___SetEndOfFile___err__d____s
jmp 0x432465
push esi
push dword [ebp + 8]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_SetFileValidData]
test eax, eax
jne 0x432503
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x43b710
push ecx
mov edx, 0x43b770
mov ecx, 0x4e73dc
mov esi, eax
call fcn.00437550
mov dword [eax], 7
push dword [edi + 0x54]
push esi
push str.PreallocateFast_Win___SetFileValidData___err__d____s
jmp 0x432465
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4327d0
Capabilities:
Get system information on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x3c
push esi
xorps xmm0, xmm0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x30]
movaps xmmword [ebp - 0x30], xmm0
push eax
movaps xmmword [ebp - 0x20], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x1c]
mov esi, 1
test ecx, ecx
cmovne esi, ecx
call fcn.00432830
cmp esi, dword [0x4e6908]
cmovl esi, dword [0x4e6908]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret

Function at 0x4350e0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
push esi
mov esi, ecx
test esi, esi
je 0x43515b
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x400
push eax
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x43512c
sub esp, 0xc
lea eax, [ebp - 0x804]
mov edx, 0x100
mov ecx, esi
push eax
call fcn.00436ab0
add esp, 0x10
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push edi
lea edi, [esi + 0xff]
mov ecx, str._unknown_
mov eax, esi
cmp esi, edi
jae 0x435150
nop
mov dl, byte [ecx]
lea ecx, [ecx + 1]
test dl, dl
je 0x435150
mov byte [eax], dl
inc eax
cmp eax, edi
jb 0x435140
mov byte [eax], 0
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4372b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4b5358
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
mov esi, edx
mov edi, ecx
call fcn.00436d40
push dword [ebp + 0xc]
mov edx, esi
mov ecx, edi
call fcn.00436fb0
mov ebx, dword [ebp + 8]
add esp, 4
mov ecx, dword [ebp + 0x14]
mov dword [ebx], eax
mov dword [eax + 0x18], 1
mov esi, dword [ebx]
test ecx, ecx
jne 0x437305
mov eax, dword [0x4e6490]
test eax, eax
cmovne ecx, eax
xor edx, edx
lea eax, [esi + 4]
push eax
test ecx, ecx
mov eax, 0x10000
cmovle eax, edx
push eax
push esi
push 0x4379b0
push ecx
push edx
call fcn.0049a8e2
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x437376
mov ecx, 0x4e9108
mov dword [ebp - 0x14], 0x4e9108
call fcn.00432940
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
cmp eax, 1
jne 0x437365
push 0
push 0x4c87fe
push 0x4c87fe
push str.thread__threadHandle___NULL
call fcn.0042d5c0
add esp, 0x10
mov ecx, 0x4e9108
mov dword [ebp - 4], 0xffffffff
call fcn.00432950
cmp dword [esi], 0
jne 0x4374d5
mov edi, dword [ebx]
mov ecx, 0x4e6498
call fcn.00432af0
mov eax, dword [0x4e6494]
test eax, eax
jne 0x4373aa
mov ecx, 0x4e6498
mov dword [ebp - 4], 1
call fcn.00432ca0
jmp 0x4374b3
mov ebx, dword [eax]
mov esi, ebx
mov ecx, dword [ebx + 4]
mov eax, ecx
cmp byte [eax + 0xd], 0
jne 0x4373e1
nop dword [eax]
mov edx, dword [eax + 0x10]
cmp edx, edi
jae 0x4373cc
mov eax, dword [eax + 8]
jmp 0x4373db
cmp byte [esi + 0xd], 0
je 0x4373d7
cmp edi, edx
cmovb esi, eax
mov ebx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x4373c0
cmp byte [esi + 0xd], 0
jne 0x4373e9
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x437404
nop
cmp edi, dword [ecx + 0x10]
jae 0x4373fb
mov esi, ecx
mov ecx, dword [ecx]
jmp 0x4373fe
mov ecx, dword [ecx + 8]
cmp byte [ecx + 0xd], 0
je 0x4373f0
mov eax, ebx
cmp ebx, esi
je 0x437450
nop word [eax + eax]
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
je 0x437436
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
jne 0x437432
cmp eax, dword [ecx + 8]
jne 0x437432
mov eax, ecx
mov ecx, dword [ecx + 4]
cmp byte [ecx + 0xd], 0
je 0x437422
mov eax, ecx
jmp 0x43744c
mov eax, ecx
mov edx, dword [eax]
cmp byte [edx + 0xd], 0
jne 0x43744c
mov ecx, dword [edx]
mov eax, edx
mov edx, ecx
cmp byte [ecx + 0xd], 0
je 0x437440
cmp eax, esi
jne 0x437410
mov ecx, dword [0x4e6494]
lea eax, [ebp + 0x14]
push esi
push ebx
push eax
call fcn.0043b590
mov esi, dword [0x4e6494]
cmp dword [esi + 4], 0
jne 0x43749f
mov eax, dword [esi]
mov ecx, esi
push eax
push dword [eax]
lea eax, [ebp + 0x14]
push eax
call fcn.0043b590
push dword [esi]
call fcn.0049885e
add esp, 4
push dword [0x4e6494]
call fcn.0049885e
add esp, 4
mov dword [0x4e6494], 0
mov ecx, 0x4e6498
mov dword [ebp - 4], 2
call fcn.00432ca0
mov ebx, dword [ebp + 8]
push edi
call fcn.0049885e
add esp, 4
mov dword [ebx], 0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
mov al, 1
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x437650
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b3598
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi]
not eax
cmp eax, 0xffffffff
jne 0x4376ba
mov ecx, 0x4e9108
mov dword [ebp - 0x14], 0x4e9108
call fcn.00432940
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
cmp eax, 1
jne 0x4376b0
push 0
push 0x4c87fe
push 0x4c87fe
push str.Blizzard::Thread::TLSSlotIsAllocated_slot_
call fcn.0042d5c0
add esp, 0x10
mov ecx, 0x4e9108
call fcn.00432950
mov eax, dword [esi]
not eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4376e0
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4b57b0
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov edi, edx
mov eax, dword [esi]
not eax
cmp eax, 0xffffffff
jne 0x437755
mov ecx, 0x4e9108
mov dword [ebp - 0x14], 0x4e9108
call fcn.00432940
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
cmp eax, 1
jne 0x437744
push 0
push 0x4c87fe
push 0x4c87fe
push str.Blizzard::Thread::TLSSlotIsAllocated_slot_
call fcn.0042d5c0
add esp, 0x10
mov ecx, 0x4e9108
mov dword [ebp - 4], 0xffffffff
call fcn.00432950
mov eax, dword [esi]
push edi
not eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp dword [esi + 4], 0
je 0x437809
test edi, edi
je 0x437809
call fcn.00436d40
mov ecx, 0x4e73fc
call fcn.00437650
test eax, eax
je 0x437794
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x437790
mov eax, dword [ecx + 0x10]
test eax, eax
jne 0x437809
mov esi, dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, 0x4e64b4
mov dword [ebp - 0x10], 0x4e64b4
mov ebx, eax
call fcn.00432af0
mov dword [ebp - 4], 1
mov edx, dword [0x4e63cc]
cmp edx, 0x10
jl 0x4377d9
push ecx
mov ecx, str.__ran_out_of_non_Core_TLS_entries_
call fcn.0042d880
add esp, 4
mov dword [ebp - 4], 2
jmp 0x4377ff
lea eax, [edx + edx*2]
inc edx
mov dword [0x4e63cc], edx
mov dword [eax*4 + 0x4e63d0], ebx
mov dword [eax*4 + 0x4e63d4], edi
mov dword [eax*4 + 0x4e63d8], esi
mov dword [ebp - 4], 3
mov ecx, 0x4e64b4
call fcn.00432ca0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x437820
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b3778
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
push edi
mov edi, edx
mov esi, ecx
call fcn.00436d40
mov eax, dword [esi]
not eax
cmp eax, 0xffffffff
je 0x437899
mov ecx, 0x4e9108
mov dword [ebp - 0x14], 0x4e9108
call fcn.00432940
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
cmp eax, 1
jne 0x437888
push 0
push 0x4c87fe
push 0x4c87fe
push str._System_Thread::TLSSlotIsAllocated_slot_
call fcn.0042d5c0
add esp, 0x10
mov ecx, 0x4e9108
mov dword [ebp - 4], 0xffffffff
call fcn.00432950
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
not eax
mov dword [esi], eax
not eax
cmp eax, 0xffffffff
jne 0x4378ca
push ecx
mov ecx, str.__failed_to_allocate_TLS_
call fcn.0042d880
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, 0x4e64b4
mov dword [esi + 4], edi
call fcn.00432af0
mov eax, dword [0x4e90f0]
mov dword [eax*4 + 0x4e8ef0], esi
inc eax
mov dword [0x4e90f0], eax
mov ecx, 0x4e64b4
mov dword [ebp - 4], 1
call fcn.00432ca0
mov ecx, dword [ebp - 0xc]
mov al, 1
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x438a70
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov al, byte [ecx]
mov edx, 0x1000193
test al, al
je 0x438a94
nop dword [eax + eax]
movzx eax, al
lea ecx, [ecx + 1]
xor eax, edx
imul edx, eax, 0x1000193
mov al, byte [ecx]
test al, al
jne 0x438a80
test edx, edx
mov eax, 1
cmovne eax, edx
ret

Function at 0x438aa0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov edx, 0x1000193
mov al, byte [ecx]
test al, al
je 0x438ac5
movzx eax, al
lea ecx, [ecx + 1]
xor eax, edx
imul edx, eax, 0x1000193
mov al, byte [ecx]
test al, al
jne 0x438ab1
test edx, edx
mov ecx, 1
cmovne ecx, edx
mov edx, dword [ebp + 0xc]
mov eax, ecx
and eax, 0x3f
mov dword [edx], eax
cmp dword [eax*8 + 0x4e61c8], 0
je 0x438afc
cmp dword [eax*8 + 0x4e61c8], ecx
je 0x438b02
inc eax
and eax, 0x3f
mov dword [edx], eax
cmp dword [eax*8 + 0x4e61c8], 0
jne 0x438ae3
xor al, al
pop ebp
ret 8
mov al, 1
pop ebp
ret 8
Function at 0x438fc0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc04
push ebx
push esi
push edi
call fcn.0043b7a0
mov eax, dword [0x4e91d0]
cmp dword [eax + 8], 0
jne 0x438fe8
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [eax + 4]
mov esi, dword [eax]
cmp esi, eax
je 0x4390f4
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop dword [eax + eax]
push 0x400
lea eax, [esp + 0x14]
push 0
push eax
call fcn.00489230
mov ecx, dword [esi + 8]
add esp, 0xc
lea eax, [ecx + 0x38]
push eax
push dword [ecx + 0x10]
lea eax, [esp + 0x418]
push dword [ecx + 0x14]
push dword [ecx + 4]
push dword [ecx]
push str.threadHandle_08X__threadId_d__threadFunc_08X__threadParam_08X__name__s_
push eax
call fcn.0043a7b0
mov ecx, eax
add esp, 0x1c
test ecx, ecx
jne 0x439047
mov byte [esp + 0x10], al
jmp 0x43906a
lea eax, [esp + 0x10]
nop dword [eax + eax]
mov dl, byte [ecx]
lea ecx, [ecx + 1]
test dl, dl
je 0x439067
mov byte [eax], dl
inc eax
lea edx, [esp + 0x40f]
cmp eax, edx
jb 0x439050
mov byte [eax], 0
push 0x4e4af0
push 0x4e3d0c
call fcn.00488ac8
lea ecx, [esp + 0x18]
push ecx
push dword [esi + 8]
push eax
lea eax, [esp + 0x824]
push str.Leaked__s__08X__s_n
push eax
call fcn.0043a7b0
mov edi, eax
add esp, 0x1c
test edi, edi
je 0x4390e2
push 2
call fcn.00491aa6
add esp, 4
push eax
push edi
call fcn.00499ec9
add esp, 8
test edi, edi
je 0x4390e2
push edi
lea ecx, [esp + 0x414]
call fcn.00436a40
push dword [eax + 4]
call ebx
mov eax, dword [esp + 0x414]
lea ecx, [esp + 0x418]
cmp eax, ecx
je 0x4390e2
push eax
call fcn.00471372
add esp, 4
mov eax, dword [0x4e91d0]
mov esi, dword [esi]
mov eax, dword [eax + 4]
cmp esi, eax
jne 0x439000
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x439100
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc04
push ebx
push esi
push edi
call fcn.0043b8e0
mov eax, dword [0x4e91d8]
cmp dword [eax + 8], 0
jne 0x439128
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [eax + 4]
mov esi, dword [eax]
cmp esi, eax
je 0x439224
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop dword [eax + eax]
push 0x400
lea eax, [esp + 0x14]
push 0
push eax
call fcn.00489230
mov eax, dword [esi + 8]
add esp, 0xc
push dword [eax + 0x54]
lea eax, [esp + 0x414]
push str.__s_
push eax
call fcn.0043a7b0
mov ecx, eax
add esp, 0xc
test ecx, ecx
jne 0x43917b
mov byte [esp + 0x10], al
jmp 0x43919a
lea eax, [esp + 0x10]
nop
mov dl, byte [ecx]
lea ecx, [ecx + 1]
test dl, dl
je 0x439197
mov byte [eax], dl
inc eax
lea edx, [esp + 0x40f]
cmp eax, edx
jb 0x439180
mov byte [eax], 0
push 0x4e4af0
push 0x4e3ce0
call fcn.00488ac8
lea ecx, [esp + 0x18]
push ecx
push dword [esi + 8]
push eax
lea eax, [esp + 0x824]
push str.Leaked__s__08X__s_n
push eax
call fcn.0043a7b0
mov edi, eax
add esp, 0x1c
test edi, edi
je 0x439212
push 2
call fcn.00491aa6
add esp, 4
push eax
push edi
call fcn.00499ec9
add esp, 8
test edi, edi
je 0x439212
push edi
lea ecx, [esp + 0x414]
call fcn.00436a40
push dword [eax + 4]
call ebx
mov eax, dword [esp + 0x414]
lea ecx, [esp + 0x418]
cmp eax, ecx
je 0x439212
push eax
call fcn.00471372
add esp, 4
mov eax, dword [0x4e91d8]
mov esi, dword [esi]
mov eax, dword [eax + 4]
cmp esi, eax
jne 0x439140
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44c940
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b5dba
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
push 0
mov dword [ebp - 0x10], esi
call fcn.0046ede3
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 6
test eax, eax
je 0x44c9cd
push eax
push esi
call fcn.0046f129
mov ecx, dword [ebp - 0xc]
add esp, 8
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push str.bad_locale_name
lea ecx, [ebp - 0x1c]
call fcn.0044c8e0
push 0x4df19c
lea eax, [ebp - 0x1c]
push eax
call fcn.00488c3e
int3
Function at 0x453260
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b3bd0
push eax
mov dword fs:[0], esp
push esi
push edi
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00471313
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.0046f022
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov ecx, dword [ebp - 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4533e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x811c9dc5
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
sub edi, ecx
xor esi, esi
and edi, 0xfffffffe
lea edx, [edi + ecx]
cmp ecx, edx
cmova edi, ebx
test edi, edi
je 0x453419
movzx edx, byte [ecx]
lea ecx, [ecx + 1]
xor edx, eax
inc esi
imul eax, edx, 0x1000193
cmp esi, edi
jne 0x453406
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x453510
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 0x811c9dc5
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
sub edi, edx
xor esi, esi
cmp edx, dword [ebp + 0xc]
cmova edi, ebx
test edi, edi
je 0x453544
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
inc esi
imul eax, ecx, 0x1000193
cmp esi, edi
jne 0x453531
pop edi
pop esi
pop ebx
pop ebp
ret 8