joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10bf28d
Capabilities:
Get hostname

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x10de03c]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 4]
mov dword [ebp - 4], eax
mov dword [ebp - 0x38], reloc.KERNEL32.dll_LoadLibraryW
cmp dword [ebx + 0x18], 0
lea eax, [ebp - 0x30]
push 0x1004528
push eax
jne 0x10bf2e3
call dword [sym.imp.msvcrt.dll_wcscpy]
pop ecx
pop ecx
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
lea eax, [ebp + eax*2 - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
jmp 0x10bf2fc
call dword [sym.imp.msvcrt.dll_wcscpy]
mov eax, dword [ebx + 0x18]
push dword [eax + 0x34]
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.msvcrt.dll_wcscat]
add esp, 0x10
and dword [esi + 0x38], 0
and dword [esi + 0x3c], 0
lea eax, [ebp - 0x34]
push eax
push reloc.KERNEL32.dll_WaitForSingleObject
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryW]
test eax, eax
jne 0x10bf3d7
mov eax, dword [ebx + 0x5c]
mov eax, dword [eax]
cmp eax, 5
jne 0x10bf380
mov eax, dword [edi + 0x14]
cmp word [eax + 0x1a], 0
jne 0x10bf36f
mov ebx, 0x100205c
push ebx
mov edi, 0x10125c8
push edi
push 0x1012548
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x34]
call fcn.010bf0fa
add dword [esi + 0x38], eax
push ebx
push edi
adc dword [esi + 0x3c], edx
push 0x10124c0
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x34]
call fcn.010bf0fa
add dword [esi + 0x38], eax
adc dword [esi + 0x3c], edx
push 0x10124a0
push 0x1012488
push 0x1012408
jmp 0x10bf3bc
cmp eax, 6
jne 0x10bf3ce
mov eax, dword [edi + 0x14]
cmp word [eax + 0x1a], 0
mov edi, 0x1012390
jne 0x10bf3b1
push 0x100205c
push 0x101236c
push edi
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x34]
call fcn.010bf0fa
add dword [esi + 0x38], eax
adc dword [esi + 0x3c], edx
push 0x10124a0
push 0x101233c
push edi
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x34]
call fcn.010bf0fa
add dword [esi + 0x38], eax
adc dword [esi + 0x3c], edx
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01075bbb
leave
ret 8

Function at 0x10bf60b
Capabilities:
Query service status
Start service

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x10bf62b
mov si, 0xfe05
jmp 0x10bf660
xor esi, esi
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x10bf644
cmp dword [ebp - 0x18], 2
jne 0x10bf65d
call fcn.01075adf
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0xb4
jl 0x10bf62d
xor si, si
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ax, si
pop esi
leave
ret 4
Function at 0x10c0821
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x66c
mov eax, dword [0x10de03c]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
test eax, eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x14]
je 0x10c08d3
push esi
push eax
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.msvcrt.dll_wcscpy]
mov esi, dword [sym.imp.msvcrt.dll_wcscat]
lea eax, [ebp - 0x41c]
push 0x1004204
push eax
call esi
lea eax, [ebp - 0x41c]
push edi
push eax
call esi
add esp, 0x18
lea eax, [ebp - 0x66c]
push eax
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
jmp 0x10c08cd
test byte [ebp - 0x66c], 0x10
jne 0x10c08b1
mov edx, dword [ebp - 0x64c]
mov ecx, dword [ebp - 0x650]
xor eax, eax
xor edi, edi
or eax, edx
or ecx, edi
add dword [ebx], eax
adc dword [ebx + 4], ecx
lea eax, [ebp - 0x66c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10c08cd
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
or esi, 0xffffffff
cmp esi, 0xffffffff
jne 0x10c088f
pop esi
mov ecx, dword [ebp - 4]
pop edi
pop ebx
call fcn.01075bbb
leave
ret 0x10
Function at 0x10c2797
Capabilities:
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
mov esi, eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esi + 0x7c]
push dword [eax + 0x18]
mov dword [ebp - 4], ebx
push dword [edi + 0xc]
push edi
call fcn.010b5387
test ax, ax
je 0x10c27ca
or ax, reloc.ADVAPI32.dll_RegDeleteValueW
jmp 0x10c2853
push ebx
push 0x2000080
push 3
push ebx
push 1
push WaitForSingleObject
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [esi + 0x80], eax
je 0x10c2842
mov ecx, dword [edi + 0x14]
mov ebx, 0x4000000
test dword [ecx + 0x9c], ebx
jne 0x10c2811
lea ecx, [esi + 0x70]
push ecx
lea ecx, [esi + 0x68]
push ecx
lea ecx, [esi + 0x60]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [esi + 0x80]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esi + 0x40]
test esi, esi
jne 0x10c2829
mov esi, 0x80
mov eax, dword [edi + 0x14]
test dword [eax + 0x9c], ebx
jne 0x10c2849
push esi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x10c2849
mov dword [ebp - 4], 0xfffffe05
push edi
call fcn.010b4ca9
mov ax, word [ebp - 4]
pop esi
pop ebx
leave
ret

Function at 0x10c285c
Capabilities:
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
push edi
push edi
mov esi, eax
mov eax, dword [esi + 0x7c]
mov eax, dword [eax + 0x18]
lea ecx, [ebp - 4]
push ecx
push edi
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
call fcn.010b5387
test ax, ax
je 0x10c288c
or ax, reloc.ADVAPI32.dll_RegDeleteValueW
jmp 0x10c28bd
mov eax, dword [ebp - 4]
cmp word [eax + 6], di
je 0x10c28b2
mov esi, dword [esi + 0x40]
cmp esi, edi
jne 0x10c28a1
mov esi, 0x80
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x10c28b2
mov edi, 0xfffffe05
push dword [ebp + 8]
call fcn.010b4ca9
mov ax, di
pop edi
pop esi
leave
ret 4

Function at 0x10c2cdb
Capabilities:
Delete file
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push 0
push 0
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x7c]
push dword [eax + 0x18]
push dword [esi + 0xc]
push esi
call fcn.010b5387
test ax, ax
je 0x10c2d0a
or ax, reloc.ADVAPI32.dll_RegDeleteValueW
jmp 0x10c2d3f
push edi
push dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call edi
test eax, eax
jne 0x10c2d34
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [ebp + 8]
call edi
test eax, eax
jne 0x10c2d34
mov dword [ebp - 4], 0xfffffe05
push esi
call fcn.010b4ca9
mov ax, word [ebp - 4]
pop edi
leave
ret 4
Function at 0x10c2d48
Capabilities:
Delete directory
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [eax + 0x7c]
mov eax, dword [eax + 0x18]
push esi
xor esi, esi
push esi
push esi
lea ecx, [ebp - 4]
push ecx
push esi
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
call fcn.010b5387
test ax, ax
je 0x10c2d75
or ax, reloc.ADVAPI32.dll_RegDeleteValueW
jmp 0x10c2da9
push edi
push dword [ebp - 4]
mov edi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
call edi
test eax, eax
jne 0x10c2d9d
push esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [ebp - 4]
call edi
test eax, eax
jne 0x10c2d9d
mov esi, 0xfffffe05
push dword [ebp + 8]
call fcn.010b4ca9
mov ax, si
pop edi
pop esi
leave
ret 4

Function at 0x10c300f
Capabilities:
Terminate thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebx + 0x10]
mov edx, dword [ebx + 0x14]
push esi
mov esi, dword [eax + 0x270]
xor ecx, ecx
push edi
push ecx
push 1
push dword [esi + 0xc]
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
mov word [esi + 8], 1
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], ecx
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x10c305f
push 0
push dword [esi]
call edi
test eax, eax
je 0x10c306d
call fcn.01075adf
push 0x64
push dword [esi + 0x10]
call edi
cmp eax, reloc.KERNEL32.dll_CompareStringW
je 0x10c3050
push 0x1388
push dword [esi]
call edi
cmp eax, reloc.KERNEL32.dll_CompareStringW
jne 0x10c3089
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x10c309f
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 8], 0
je 0x10c30a6
mov dword [ebp - 4], 0xfffffe36
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_CloseEncryptedFileRaw]
push dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [esi + 0xc]
call edi
push dword [esi + 0x10]
call edi
push esi
call dword [sym.imp.msvcrt.dll_free]
mov eax, dword [ebp - 0xc]
and dword [eax + 0x270], 0
cmp word [ebp - 4], 0
pop ecx
pop edi
pop esi
jne 0x10c30fb
mov eax, dword [ebp - 0x10]
cmp byte [eax], 9
push 1
push eax
push ebx
push dword [ebx]
jne 0x10c30f3
call fcn.010ae3a8
jmp 0x10c30f8
call fcn.010add5f
mov dword [ebp - 4], eax
mov ax, word [ebp - 4]
leave
ret
Function at 0x10c3243
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 0x14]
push ebx
mov ebx, eax
mov eax, dword [ebx]
push esi
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
xor ecx, ecx
push edi
xor edi, edi
mov dword [ebx], edi
inc ecx
mov dword [eax], ecx
cmp dword [edx], edi
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0xc], edi
mov esi, dword [eax + 0x270]
mov dword [ebp - 4], edi
mov dword [ebp + 0x10], eax
je 0x10c32d0
cmp dword [esi], edi
jne 0x10c32bc
mov ebx, dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
push edi
push ecx
push edi
push edi
call ebx
push edi
push 1
push edi
push edi
mov dword [esi + 0xc], eax
call ebx
mov dword [esi + 0x10], eax
lea eax, [ebp - 0xc]
push eax
push edi
push esi
push 0x10c2fef
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
mov dword [esi], eax
jne 0x10c32bc
mov ax, 0xfe30
jmp 0x10c3367
mov eax, dword [ebp + 0x14]
cmp dword [eax], 0x4445544e
je 0x10c3363
jmp 0x10c3358
xor ecx, ecx
mov dword [ebp + 0x14], ecx
cmp ecx, dword [ebp - 8]
je 0x10c3337
mov eax, dword [ebp + 0xc]
add eax, ecx
push edi
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 8]
push 1
push dword [esi + 0xc]
sub eax, ecx
mov dword [esi + 0x18], eax
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
push 0x64
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, reloc.KERNEL32.dll_CompareStringW
jne 0x10c331c
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10c332a
call fcn.01075adf
jmp 0x10c32f6
mov eax, dword [esi + 0x18]
add dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
jmp 0x10c32d5
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 4], 0xfffffe30
cmp word [ebp - 4], di
mov dword [ebx], ecx
jne 0x10c3363
test byte [eax + 0x228], 4
je 0x10c3363
mov edx, dword [eax + 0x238]
sub edx, dword [eax + 0x230]
cmp ecx, edx
jne 0x10c3363
mov ebx, dword [ebp + 8]
call fcn.010c300f
mov dword [ebp - 4], eax
mov ax, word [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x10c938e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x23e0], 0
jg 0x10c93b2
mov dword [ebp - 4], 0xfffffdf3
jmp 0x10c94a6
push esi
mov esi, dword [ebp + 0xc]
push edi
push dword [ebx]
mov edi, dword [sym.imp.msvcrt.dll_fread]
push 1
push 0x11
push esi
call edi
add esp, 0x10
cmp eax, 1
jne 0x10c9416
movzx eax, word [esi + 0xc]
lea ecx, [ebx + 0x2040]
cmp eax, dword [ecx]
jbe 0x10c93f6
push eax
push ecx
lea eax, [ebx + 0x2044]
push eax
call fcn.010c8c53
test ax, ax
mov dword [ebp - 4], eax
jne 0x10c94a4
push dword [ebx]
movzx ecx, word [esi + 0xc]
mov eax, dword [ebx + 0x2044]
push ecx
push 1
push eax
mov dword [ebp - 8], eax
call edi
movzx ecx, word [esi + 0xc]
add esp, 0x10
cmp ecx, eax
je 0x10c9422
mov dword [ebp - 4], 0xfffffdf3
jmp 0x10c94a4
movzx eax, word [esi + 0xe]
cmp eax, 1
lea edx, [ebx + 0x2058]
mov ecx, dword [edx]
mov edi, ecx
mov dword [ebp + 8], edi
jle 0x10c9448
dec eax
jmp 0x10c943c
inc edi
cmp byte [edi], 0
jne 0x10c943b
inc edi
dec eax
jne 0x10c943c
mov dword [ebp + 8], edi
mov eax, edi
sub eax, ecx
lea ecx, [ebx + 0x2054]
mov dword [ecx], eax
movzx edi, word [esi + 0xc]
lea eax, [edi + eax + 1]
mov dword [ecx], eax
lea ecx, [ebx + 0x205c]
cmp eax, dword [ecx]
jbe 0x10c9478
push eax
push ecx
push edx
call fcn.010c8c53
test ax, ax
mov dword [ebp - 4], eax
jne 0x10c94a4
movzx ecx, word [esi + 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp + 0xc]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
movzx eax, word [eax + 0xc]
mov ecx, dword [ebp + 8]
mov byte [eax + ecx], 0
dec dword [ebx + 0x23e0]
pop edi
pop esi
mov ax, word [ebp - 4]
pop ebx
leave
ret 8
Function at 0x10cab4e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ax, word [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
cmp word [esi + reloc.ADVAPI32.dll_RegDeleteValueW], ax
mov ebx, dword [esi + 0xf0]
push edi
mov dword [ebp + 8], ebx
jae 0x10cabdd
mov dx, word [esi + reloc.ADVAPI32.dll_RegDeleteValueW]
add dx, 0x200
cmp dx, ax
mov cx, dx
jb 0x10cab76
movzx eax, cx
push 1
push eax
mov word [esi + reloc.ADVAPI32.dll_RegDeleteValueW], dx
call dword [sym.imp.msvcrt.dll_calloc]
mov ebx, eax
test ebx, ebx
pop ecx
pop ecx
jne 0x10caba7
mov ax, 0xfdfc
jmp 0x10cac5b
mov ax, word [esi + reloc.ADVAPI32.dll_RegDeleteValueW]
test ax, ax
je 0x10cabc7
movzx eax, ax
push eax
push dword [esi + 0x398]
push ebx
call dword [sym.imp.msvcrt.dll_memmove]
add esp, 0xc
lea edi, [esi + 0x390]
push dword [edi]
call dword [sym.imp.msvcrt.dll_free]
mov dword [edi], ebx
mov ebx, dword [ebp + 8]
pop ecx
jmp 0x10cac02
mov ax, word [esi + reloc.ADVAPI32.dll_RegDeleteValueW]
test ax, ax
je 0x10cac02
movzx eax, ax
push eax
push dword [esi + 0x398]
push dword [esi + 0x390]
call dword [sym.imp.msvcrt.dll_memmove]
add esp, 0xc
movzx eax, word [esi + reloc.ADVAPI32.dll_RegDeleteValueW]
movzx edi, word [esi + reloc.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [esi + 0x390]
push ebx
sub edi, eax
push edi
add ecx, eax
push 1
push ecx
mov dword [esi + 0x398], ecx
call dword [sym.imp.msvcrt.dll_fread]
add esp, 0x10
cmp eax, edi
je 0x10cac45
mov ebx, dword [ebx + 0xc]
test bl, 0x20
jne 0x10cac3f
test bl, 0x10
jne 0x10cac45
mov ax, 0xfde7
jmp 0x10cac5b
mov ecx, dword [esi + 0x390]
add word [esi + reloc.ADVAPI32.dll_RegDeleteValueW], ax
mov dword [esi + 0x398], ecx
xor ax, ax
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x10cb30b
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push 0x1012fbc
push WaitForSingleObject
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10cb363
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x1009aca
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10cb356
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x10cb365
xor eax, eax
pop esi
leave
ret 4
Function at 0x406c50
Capabilities:
Encrypt data using salsa20 or chacha
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x11b78bc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x406e20
mov eax, dword [esp + 8]
mov dword [eax], 0x61707865
mov dword [eax + 4], 0x61707865
mov dword [eax + 8], 0x61707865
mov dword [eax + 0xc], 0x61707865
mov dword [eax + 0x10], 0x3320646e
mov dword [eax + 0x14], 0x3320646e
mov dword [eax + 0x18], 0x3320646e
mov dword [eax + 0x1c], 0x3320646e
mov dword [eax + 0x20], 0x79622d32
mov dword [eax + 0x24], 0x79622d32
mov dword [eax + 0x28], 0x79622d32
mov dword [eax + 0x2c], 0x79622d32
mov dword [eax + 0x30], 0x6b206574
mov dword [eax + 0x34], 0x6b206574
mov dword [eax + 0x38], 0x6b206574
mov dword [eax + 0x3c], 0x6b206574
mov ecx, dword [esp + 4]
mov edx, dword [ecx]
mov dword [eax + 0x40], edx
mov dword [eax + 0x44], edx
mov dword [eax + 0x48], edx
mov dword [eax + 0x4c], edx
mov edx, dword [ecx + 4]
mov dword [eax + 0x50], edx
mov dword [eax + 0x54], edx
mov dword [eax + 0x58], edx
mov dword [eax + 0x5c], edx
mov edx, dword [ecx + 8]
mov dword [eax + 0x60], edx
mov dword [eax + 0x64], edx
mov dword [eax + 0x68], edx
mov dword [eax + 0x6c], edx
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x70], edx
mov dword [eax + 0x74], edx
mov dword [eax + 0x78], edx
mov dword [eax + 0x7c], edx
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x80], edx
mov dword [eax + 0x84], edx
mov dword [eax + 0x88], edx
mov dword [eax + 0x8c], edx
mov edx, dword [ecx + 0x14]
mov dword [eax + 0x90], edx
mov dword [eax + 0x94], edx
mov dword [eax + 0x98], edx
mov dword [eax + 0x9c], edx
mov edx, dword [ecx + 0x18]
mov dword [eax + 0xa0], edx
mov dword [eax + 0xa4], edx
mov dword [eax + 0xa8], edx
mov dword [eax + 0xac], edx
mov ecx, dword [ecx + 0x1c]
mov dword [eax + 0xb0], ecx
mov dword [eax + 0xb4], ecx
mov dword [eax + 0xb8], ecx
mov dword [eax + 0xbc], ecx
mov ecx, dword [esp + 0xc]
mov dword [eax + 0xc0], ecx
lea edx, [ecx + 1]
mov dword [eax + 0xc4], edx
lea edx, [ecx + 2]
mov dword [eax + 0xc8], edx
add ecx, 3
mov dword [eax + 0xcc], ecx
mov dword [eax + 0xd0], 0
mov dword [eax + 0xd4], 0
mov dword [eax + 0xd8], 0
mov dword [eax + 0xdc], 0
mov dword [eax + 0xe0], 0
mov dword [eax + 0xe4], 0
mov dword [eax + 0xe8], 0
mov dword [eax + 0xec], 0
mov dword [eax + 0xf0], 0
mov dword [eax + 0xf4], 0
mov dword [eax + 0xf8], 0
mov dword [eax + 0xfc], 0
ret
call fcn.00475c40
jmp fcn.00406c50
Function at 0x40f800
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword [0x11b78bc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40f9cb
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40f829
mov eax, 0x7000000
jmp 0x40f831
test eax, eax
je 0x40f9a6
mov dword [esp + 0x34], eax
mov ecx, dword [0x11b78bc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x448]
mov ebx, dword [ecx + 0x44c]
mov ebp, edx
shl edx, 0x11
xor edx, ebp
mov ebp, ebx
xor ebx, edx
shr edx, 7
xor edx, ebx
mov ebx, ebp
shr ebp, 0x10
xor ebp, edx
lea edx, [ebp + ebx]
shr edx, 6
inc edx
mov dword [ecx + 0x448], ebx
mov dword [ecx + 0x44c], ebp
mov dword [esp], edx
call fcn.00476ff0
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x24], xmm0
mov eax, dword [esp + 0x28]
mov ecx, eax
shr ecx, 0x14
and ecx, 0x7ff
mov edx, eax
shr edx, 0xf
and edx, 0x1f
shl eax, 5
mov ebx, dword [esp + 0x24]
shr ebx, 0x1b
or ebx, eax
lea eax, [0x111c8e0]
movsd xmm0, qword [eax + edx*8]
mov ebp, ecx
add ecx, 0xfffffc01
add edx, 1
mov esi, 0
adc esi, 0
test esi, esi
jne 0x40f9be
cmp edx, 0x21
jae 0x40f9b2
movsd qword [esp + 0x14], xmm0
add ebp, 0xfffffc01
mov ebp, 0xffffffff
adc ebp, 0
and ebx, 0xfffff
mov dword [esp + 0x10], ebx
movsd xmm0, qword [eax + edx*8]
movsd qword [esp + 0x1c], xmm0
mov dword [esp], ecx
mov dword [esp + 4], ebp
call fcn.004678b0
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x2c], xmm0
mov eax, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00467980
movsd xmm0, qword [esp + 0x2c]
movsd xmm1, qword [esp + 0x14]
addsd xmm0, xmm1
movsd xmm2, qword [esp + 0x1c]
subsd xmm2, xmm1
movsd xmm1, qword [esp + 8]
mulsd xmm1, xmm2
movsd xmm2, qword [0xd345e8]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0xd34640]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40f981
xorps xmm0, xmm0
mov eax, dword [esp + 0x34]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0xd34678]
mulsd xmm1, xmm2
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
inc eax
mov dword [esp + 0x40], eax
add esp, 0x38
ret
mov dword [esp + 0x40], 0
add esp, 0x38
ret
mov eax, edx
mov ecx, 0x21
call fcn.004770d0
mov eax, edx
mov ecx, 0x21
call fcn.004771a0
nop
call fcn.00475c40
jmp fcn.0040f800
Function at 0x4177e0
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword [0x11b78bc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4179de
sub esp, 0x18
mov eax, dword [0x11b776c]
test eax, eax
jne 0x4179c7
nop
nop
lea eax, [0x11b775c]
mov dword [esp], eax
call fcn.0040de50
mov eax, dword [0x11b7760]
test eax, eax
je 0x417828
cmp dword [eax + 8], 0xcc
jne 0x41789e
mov edx, dword [0x11b7764]
test edx, edx
jne 0x417880
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x11bd330]
mov dword [esp + 8], eax
call fcn.0040f9e0
mov eax, dword [esp + 0xc]
mov dword [0x11b7764], eax
mov ecx, dword [0x11b7768]
mov dword [eax], ecx
mov eax, dword [0x11b7764]
mov dword [0x11b7768], eax
movzx eax, byte [0x11b8220]
test al, al
jne 0x417880
xor eax, eax
jmp 0x417998
mov edx, dword [0x11b7764]
mov ebx, dword [edx + 4]
mov dword [0x11b7764], ebx
mov ebx, dword [0x11b7760]
mov dword [edx + 4], ebx
mov dword [0x11b7760], edx
mov edx, dword [0x11b7760]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x417977
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
lea eax, [edx + 8]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.0047d490
mov eax, dword [0x11b7c78]
mov ecx, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
test eax, eax
jne 0x4178f0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
jmp 0x417930
call fcn.004770b0
mov eax, dword [esp + 0x20]
mov dword [edi], eax
mov edx, dword [esp + 0x14]
mov ebx, dword [edx + ecx*4 + 0x10]
mov dword [edi + 4], ebx
mov ebx, dword [esp + 0x28]
mov dword [edi + 8], ebx
mov ebp, dword [edx + ecx*4 + 0x1c]
mov dword [edi + 0xc], ebp
mov ebp, dword [esp + 0x2c]
mov dword [edi + 0x10], ebp
mov esi, dword [edx + ecx*4 + 0x20]
mov dword [edi + 0x14], esi
mov esi, dword [esp + 0x1c]
mov dword [edi + 0x18], esi
mov esi, dword [edx + ecx*4 + 0x14]
mov dword [edi + 0x1c], esi
mov dword [edx + ecx*4 + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [edx + ecx*4 + 0x18], eax
mov dword [edx + ecx*4 + 0x1c], ebx
mov dword [edx + ecx*4 + 0x20], ebp
mov eax, dword [esp + 0x1c]
mov dword [edx + ecx*4 + 0x14], eax
nop
nop
lea eax, [0x11b775c]
mov dword [esp], eax
call fcn.0040e070
nop
lea eax, [0x11b7758]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.0047d620
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.004770d0
lea edx, [0x1115834]
movzx ebx, byte [edx + eax]
lea ebp, [0x11b8220]
mov byte [ebp + ecx], bl
lea eax, [ecx + 1]
cmp eax, 0x80
jge 0x417880
mov ecx, eax
mov eax, 0xcccccccd
imul ecx
add edx, ecx
sar edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 5
jb 0x417981
mov ecx, 5
call fcn.004770c0
lea eax, [0xb07e63]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.004709c0
nop
call fcn.00475c40
jmp fcn.004177e0
Function at 0x41ca00
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x11b78bc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41ca89
sub esp, 0x10
mov eax, dword [esp + 0x14]
test byte [eax], al
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 1
call fcn.0047d340
movzx eax, byte [esp + 0xc]
test al, al
je 0x41ca6e
mov eax, dword [esp + 0x14]
movzx ecx, byte [eax + 6]
test cl, cl
jne 0x41ca72
mov dword [esp], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 8], ecx
call fcn.0041caa0
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.0041d050
add esp, 0x10
ret
add esp, 0x10
ret
lea eax, [0xb07e7b]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.004709c0
nop
call fcn.00475c40
jmp fcn.0041ca00