joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4afcb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4afd03
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4afcea
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4b66a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e332e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.004b6fc0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x53069c
call fcn.004d5171
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x4b6733
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004d5171
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4b672c
push 0
mov ecx, eax
call fcn.004ad820
mov dword [esi + 0xc], eax
jmp 0x4b6735
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4b6735
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x4d77bd
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4d77f5
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004d588b
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004d5863
jmp 0x4d7801
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4d8eaf
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4d8ef1
call fcn.004de828
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
cmp eax, edi
je 0x4d8ef1
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
cmp eax, edi
jne 0x4d8ee8
xor eax, eax
jmp 0x4d8ef9
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004d8eff
pop edi
pop esi
pop ebx
ret 4
Function at 0x4ded58
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4ded86
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
test eax, eax
je 0x4deda4
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004decbe
jmp 0x4deda4
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4deda4
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004decbe
test edi, edi
mov eax, edi
jne 0x4ded8e
pop edi
push ebx
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x1001316
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
xor ebx, ebx
push ebx
push ebx
push 1
push ebx
mov dword [ebp - 0x218], eax
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
mov edi, 0x80004005
mov dword [ebp - 0x210], ebx
cmp esi, ebx
je 0x10014c8
lea eax, [ebp - 0x214]
push eax
push esi
mov dword [ebp - 0x214], ebx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
cmp esi, ebx
je 0x10014db
cmp dword [ebp - 0x214], 1
jne 0x1001398
push dword [esi]
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.010012a7
mov edi, eax
jmp 0x10013df
cmp dword [ebp - 0x214], 2
jne 0x10013df
push dword [esi]
call dword [sym.imp.msvcrt.dll__wtoi64]
pop ecx
push dword [esi + 4]
mov dword [ebp - 0x210], eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.010012a7
mov edi, eax
cmp edi, ebx
jl 0x10013df
push dword [ebp - 0x210]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x10013df
mov edi, 0x80070057
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp edi, ebx
jl 0x10014db
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, 0x100114c
push edi
mov dword [ebp - 0x21c], 0x80070057
call esi
mov ebx, eax
lea eax, [ebp - 0x20c]
push eax
call esi
cmp eax, ebx
jle 0x10014d5
push edi
call esi
push eax
push edi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpNW]
test eax, eax
jne 0x10014d5
push edi
call esi
mov edi, eax
jmp 0x100144f
movzx eax, word [ebp + edi*2 - 0x20c]
push eax
call dword [sym.imp.msvcrt.dll_iswdigit]
pop ecx
test eax, eax
je 0x100148a
inc edi
lea eax, [ebp - 0x20c]
push eax
call esi
cmp edi, eax
jl 0x100143a
push 0x424
mov edi, 0x8007000e
call fcn.01001265
xor ebx, ebx
pop ecx
cmp eax, ebx
je 0x1001491
lea ecx, [ebp - 0x20c]
push ecx
push dword [ebp - 0x218]
mov ecx, eax
call fcn.010016bc
mov esi, eax
jmp 0x1001493
mov edi, 0x80070057
jmp 0x10014db
xor esi, esi
cmp esi, ebx
je 0x10014db
mov ecx, esi
mov edi, 0x80070057
call fcn.0100174b
test eax, eax
je 0x10014bf
push dword [ebp - 0x210]
mov ecx, esi
mov edi, 0x80004005
call fcn.01001a26
test eax, eax
je 0x10014bf
xor edi, edi
push esi
call fcn.01001283
pop ecx
jmp 0x10014cd
mov edi, 0x80070057
cmp edi, ebx
jl 0x10014db
xor eax, eax
jmp 0x10014dd
mov edi, dword [ebp - 0x21c]
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01001edd
leave
ret 0x10
Function at 0x1001ece
Capabilities:
Terminate process

Disassembly:
push 0x5c
push 0x1002590
call fcn.01002084
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x20], ebx
mov edi, 0x1003394
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x1001c89
cmp eax, esi
jne 0x1001c7c
xor esi, esi
inc esi
mov dword [ebp - 0x20], esi
jmp 0x1001c8c
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1001c63
xor esi, esi
inc esi
mov eax, dword [0x1003390]
cmp eax, esi
jne 0x1001c9f
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x1001cce
mov eax, dword [0x1003390]
test eax, eax
jne 0x1001cc8
mov dword [0x1003390], esi
push 0x1001120
push 0x1001114
call fcn.01001bc5
pop ecx
pop ecx
test eax, eax
je 0x1001cce
jmp 0x1001df2
mov dword [0x100304c], esi
mov eax, dword [0x1003390]
cmp eax, esi
jne 0x1001cf2
push 0x1001110
push 0x1001108
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x1003390], 2
cmp dword [ebp - 0x20], ebx
jne 0x1001cff
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x1003398], ebx
je 0x1001d20
push 0x1003398
call fcn.01001ff9
pop ecx
test eax, eax
je 0x1001d20
push ebx
push 2
push ebx
call dword [0x1003398]
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
cmp dword [eax], ebx
je 0x1001df2
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
movzx ecx, word [eax]
cmp cx, 0x20
ja 0x1001d8a
cmp cx, bx
je 0x1001d45
cmp dword [ebp - 0x1c], ebx
jne 0x1001d8a
movzx ecx, word [eax]
cmp cx, bx
je 0x1001d5a
cmp cx, 0x20
ja 0x1001d5a
inc eax
inc eax
mov dword [ebp - 0x24], eax
jmp 0x1001d45
test byte [ebp - 0x40], 1
je 0x1001d66
movzx ecx, word [ebp - 0x3c]
jmp 0x1001d69
push 0xa
pop ecx
push ecx
push eax
push ebx
push 0x1000000
call main
mov dword [0x1003048], eax
cmp dword [0x100303c], ebx
jne 0x1001dcf
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp cx, 0x22
jne 0x1001d9b
xor ecx, ecx
cmp dword [ebp - 0x1c], ebx
sete cl
mov dword [ebp - 0x1c], ecx
inc eax
inc eax
jmp 0x1001d2f
cmp dword [0x100304c], ebx
jne 0x1001ddd
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1003048]
jmp 0x1001dfe
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.010020c9
ret
call fcn.010021d1
jmp 0x1001c26
Function at 0x1002359
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push dword [ebp + 0x10]
shr eax, 4
inc eax
movzx eax, ax
push eax
push 6
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x10023db
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10023db
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x10023d4
and dword [ebp + 0xc], 0xf
jbe 0x10023a7
mov ecx, dword [ebp + 0xc]
dec ecx
movzx edx, word [eax]
lea eax, [eax + edx*2 + 2]
jne 0x100239d
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x10023c3
push esi
movzx esi, word [eax]
neg esi
sbb esi, esi
lea edx, [eax + 2]
and esi, edx
mov dword [ecx], esi
mov ecx, dword [ebp + 0x18]
pop esi
jmp 0x10023ca
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x10023d0
mov ax, word [eax]
mov word [ecx], ax
xor eax, eax
jmp 0x10023e0
mov eax, 0x80004005
jmp 0x10023e0
call fcn.010024fa
pop ebp
ret 0x14
Function at 0x911c22
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x909571]
jne 0x911c2c
repz ret
jmp fcn.00914e72

Function at 0x9153fc
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0090f94a
xor ebx, ebx
cmp dword [0x90c11d], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x9154d1
push 0x90b239
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x91543c
xor eax, eax
jmp 0x915595
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x90b22d
push edi
call esi
cmp eax, ebx
je 0x915435
push eax
call fcn.0090f8e7
mov dword [esp], 0x90b21d
push edi
mov dword [0x90c11d], eax
call esi
push eax
call fcn.0090f8e7
mov dword [esp], 0x90b209
push edi
mov dword [0x90c121], eax
call esi
push eax
call fcn.0090f8e7
mov dword [0x90c125], eax
lea eax, [ebp - 8]
push eax
call fcn.0090f6a8
test eax, eax
pop ecx
pop ecx
je 0x91549f
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0090f26e
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x9154d1
push 0x90b1ed
push edi
call esi
push eax
call fcn.0090f8e7
cmp eax, ebx
pop ecx
mov dword [0x90c12d], eax
je 0x9154d1
push 0x90b1d5
push edi
call esi
push eax
call fcn.0090f8e7
pop ecx
mov dword [0x90c129], eax
mov eax, dword [0x90c129]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x91554a
cmp dword [0x90c12d], esi
je 0x91554a
push eax
call fcn.0090f953
pop ecx
call eax
cmp eax, ebx
je 0x915517
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x90c12d]
call fcn.0090f953
pop ecx
call eax
test eax, eax
je 0x915517
test byte [ebp - 0x18], 1
jne 0x91554a
lea eax, [ebp - 0xc]
push eax
call fcn.0090f6df
test eax, eax
pop ecx
je 0x915532
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0090f26e
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x915541
or dword [ebp + 0x10], 0x200000
jmp 0x91557b
or dword [ebp + 0x10], 0x40000
jmp 0x91557b
mov eax, dword [0x90c121]
cmp eax, esi
je 0x91557b
push eax
call fcn.0090f953
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x91557b
mov eax, dword [0x90c125]
cmp eax, esi
je 0x91557b
push dword [ebp - 4]
push eax
call fcn.0090f953
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x90c11d]
call fcn.0090f953
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ecc
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x33ba12e5
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x4b2760ee
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x405690
Capabilities:
Hash data using murmur3

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4058d0
sub esp, 0x20
movzx eax, byte [0x5d39e3]
test al, al
jne 0x4058a8
mov eax, dword [0x5d3b60]
mov ecx, dword [esp + 0x2c]
imul eax, ecx
mov edx, dword [esp + 0x28]
add eax, edx
mov ebx, dword [esp + 0x24]
jmp 0x405762
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], ebx
lea edx, [ebx + 4]
lea ecx, [ebx + 8]
add ebx, 0xc
mov edi, dword [esp + 0x1c]
mov edi, dword [edi]
xor eax, edi
imul eax, eax, 0xbce2d621
rol eax, 0xf
imul eax, eax, 0xc70f85e1
mov edx, dword [edx]
xor ebp, edx
imul ebp, ebp, 0xc70f85e1
rol ebp, 0xf
imul ebp, ebp, 0x319bca41
mov ecx, dword [ecx]
xor esi, ecx
imul esi, esi, 0x319bca41
rol esi, 0xf
imul esi, esi, 0x8b421a21
mov edi, dword [ebx]
mov ecx, dword [esp + 0x10]
xor edi, ecx
imul edi, edi, 0x8b421a21
rol edi, 0xf
imul edi, edi, 0xbce2d621
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
mov edx, dword [esp + 0x14]
lea ebx, [edx + 0x10]
mov edx, dword [esp + 0x28]
cmp ecx, 0x10
jae 0x4056d4
xor eax, ebp
xor eax, esi
xor eax, edi
test ecx, ecx
je 0x4058a1
cmp ecx, 4
jb 0x40586a
je 0x405855
cmp ecx, 8
jbe 0x405827
cmp ecx, 0x10
jbe 0x4057a4
mov ebp, dword [0x5d3b64]
imul ebp, edx
mov esi, dword [0x5d3b68]
imul esi, edx
mov edi, dword [0x5d3b6c]
imul edi, edx
jmp 0x405753
mov edx, ebx
lea ebp, [ebx + 4]
lea esi, [ecx + ebx - 8]
lea ecx, [ecx + ebx - 4]
mov edx, dword [edx]
xor eax, edx
imul eax, eax, 0xbce2d621
rol eax, 0xf
imul eax, eax, 0xc70f85e1
mov edx, dword [ebp]
xor edx, eax
imul edx, edx, 0xbce2d621
rol edx, 0xf
imul edx, edx, 0xc70f85e1
mov eax, dword [esi]
xor eax, edx
imul eax, eax, 0xbce2d621
rol eax, 0xf
imul eax, eax, 0xc70f85e1
mov ecx, dword [ecx]
xor ecx, eax
imul ecx, ecx, 0xbce2d621
rol ecx, 0xf
imul ecx, ecx, 0xc70f85e1
mov eax, ecx
shr ecx, 0x11
xor eax, ecx
imul eax, eax, 0x319bca41
mov ecx, eax
shr eax, 0xd
xor eax, ecx
imul eax, eax, 0x8b421a21
mov ecx, eax
shr eax, 0x10
xor eax, ecx
mov dword [esp + 0x30], eax
add esp, 0x20
ret
mov edx, ebx
lea ebx, [ecx + ebx - 4]
mov ecx, dword [edx]
xor ecx, eax
imul ecx, ecx, 0xbce2d621
rol ecx, 0xf
imul ecx, ecx, 0xc70f85e1
mov eax, dword [ebx]
xor ecx, eax
imul ecx, ecx, 0xbce2d621
rol ecx, 0xf
imul ecx, ecx, 0xc70f85e1
jmp 0x4057fe
mov ecx, dword [ebx]
xor ecx, eax
imul ecx, ecx, 0xbce2d621
rol ecx, 0xf
imul ecx, ecx, 0xc70f85e1
jmp 0x4057fe
mov edx, ecx
shr ecx, 1
mov ebp, ebx
lea esi, [ecx + ebx]
lea edx, [edx + ebx - 1]
movzx ecx, byte [ebp]
xor ecx, eax
movzx eax, byte [esi]
shl eax, 8
xor ecx, eax
movzx eax, byte [edx]
shl eax, 0x10
xor ecx, eax
imul ecx, ecx, 0xbce2d621
rol ecx, 0xf
imul ecx, ecx, 0xc70f85e1
jmp 0x4057fe
mov ecx, eax
jmp 0x4057fe
mov eax, dword [esp + 0x24]
mov dword [esp], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
call fcn.00449a70
mov eax, dword [esp + 0xc]
mov dword [esp + 0x30], eax
add esp, 0x20
ret
call fcn.004486e0
jmp fcn.00405690
Function at 0x40d260
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40d428
sub esp, 0x34
mov eax, dword [esp + 0x38]
cmp eax, 0x7000000
jle 0x40d40d
mov eax, 0x7000000
mov dword [esp + 0x38], eax
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x94]
mov ebx, dword [ecx + 0x98]
mov dword [ecx + 0x94], ebx
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
mov dword [ecx + 0x98], ebp
lea ecx, [ebp + ebx]
and ecx, 0x3ffffff
inc ecx
mov dword [esp], ecx
call fcn.0044a050
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x24], xmm0
mov eax, dword [esp + 0x28]
mov ecx, eax
shr eax, 0x14
and eax, 0x7ff
mov edx, eax
add eax, 0xfffffc01
mov ebx, ecx
shr ecx, 0xf
and ecx, 0x1f
mov ebp, ecx
add ecx, 1
mov esi, dword [esp + 0x24]
shr esi, 0x1b
shl ebx, 5
or esi, ebx
mov ebx, ebp
add ebp, 1
mov ebp, 0
adc ebp, 0
test ebp, ebp
jne 0x40d421
cmp ecx, 0x21
jae 0x40d421
mov dword [esp + 0x10], esi
lea ebp, [0x5b3200]
movsd xmm0, qword [ebp + ebx*8]
movsd qword [esp + 0x14], xmm0
movsd xmm1, qword [ebp + ecx*8]
movsd qword [esp + 0x1c], xmm1
mov dword [esp], eax
add edx, 0xfffffc01
mov eax, 0xffffffff
adc eax, 0
mov dword [esp + 4], eax
call fcn.004452c0
mov eax, dword [esp + 0x10]
and eax, 0xfffff
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x2c], xmm0
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.004453b0
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 xmm2, xmm1
movsd xmm1, qword [0x53a9d8]
mulsd xmm1, xmm2
addsd xmm0, xmm1
movsd xmm1, qword [0x53aa48]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40d3e8
xorps xmm0, xmm0
mov eax, dword [esp + 0x38]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x53aa88]
mulsd xmm1, xmm2
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
inc eax
mov dword [esp + 0x3c], eax
add esp, 0x34
ret
test eax, eax
jne 0x40d28d
mov dword [esp + 0x3c], 0
add esp, 0x34
ret
call fcn.00424360
ud2
call fcn.004486e0
jmp fcn.0040d260
Function at 0x411220
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x411461
sub esp, 0x24
mov eax, dword [0x5d3a4c]
test eax, eax
jne 0x411449
lea eax, [0x5d3a3c]
mov dword [esp], eax
call fcn.0040b420
mov eax, dword [0x5c296c]
test eax, eax
je 0x41126d
mov eax, dword [eax + 8]
cmp eax, 0xcc
jne 0x411334
mov eax, dword [0x5c2964]
test eax, eax
jne 0x411316
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x5d4cb8]
mov dword [esp + 8], eax
call fcn.0040d440
mov eax, dword [esp + 0xc]
mov dword [0x5c2964], eax
mov ecx, dword [0x5c2940]
mov dword [eax], ecx
mov eax, dword [0x5c2964]
mov dword [0x5c2940], eax
movzx eax, byte [0x5d3d20]
test al, al
jne 0x411316
xor eax, eax
jmp 0x4112d3
lea ebp, [0x5d3d20]
mov byte [ebp + edx], bl
lea eax, [edx + 1]
cmp eax, 0x80
jge 0x411316
mov ecx, eax
mov eax, 0xcccccccd
imul ecx
add edx, ecx
sar edx, 2
mov ebx, ecx
sar ecx, 0x1f
sub edx, ecx
lea ecx, [edx + edx*4]
mov edx, ebx
sub ebx, ecx
cmp ebx, 5
jae 0x411442
lea ecx, [0x5af0f8]
movzx ebx, byte [ecx + ebx]
cmp edx, 0x80
jb 0x4112c6
jmp 0x411442
mov eax, dword [0x5c2964]
mov ecx, dword [eax + 4]
mov dword [0x5c2964], ecx
mov ecx, dword [0x5c296c]
mov dword [eax + 4], ecx
mov dword [0x5c296c], eax
mov eax, dword [0x5c296c]
mov ecx, dword [eax + 8]
lea edx, [eax + 8]
cmp ecx, 0xcc
jae 0x41143b
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], ecx
mov dword [esp], edx
mov dword [esp + 4], 1
call fcn.00401550
mov eax, dword [esp + 0x14]
lea eax, [eax + eax*4]
mov ecx, dword [esp + 0x20]
lea edx, [ecx + eax*4 + 0x10]
mov ebx, dword [0x5d3b70]
test ebx, ebx
jne 0x41141a
mov edx, dword [esp + 0x2c]
mov dword [ecx + eax*4 + 0x10], edx
mov edx, dword [esp + 0x30]
mov dword [ecx + eax*4 + 0x18], edx
mov edx, dword [0x5d3b70]
lea ebx, [ecx + eax*4 + 0x1c]
lea ebp, [ecx + eax*4 + 0x20]
lea esi, [ecx + eax*4 + 0x14]
test edx, edx
jne 0x4113d8
mov edx, dword [esp + 0x34]
mov dword [ecx + eax*4 + 0x1c], edx
mov edx, dword [esp + 0x38]
mov dword [ecx + eax*4 + 0x20], edx
mov edx, dword [esp + 0x28]
mov dword [ecx + eax*4 + 0x14], edx
mov byte [0x5d39cc], 1
lea eax, [0x5d3a3c]
mov dword [esp], eax
call fcn.0040b5f0
add esp, 0x24
ret
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], esi
mov dword [esp], ebx
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call fcn.0040d8c0
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
call fcn.0040d8c0
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
call fcn.0040d8c0
jmp 0x4113bf
mov dword [esp + 0x10], eax
mov dword [esp], edx
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
call fcn.0040d8c0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
jmp 0x411389
call fcn.00424360
ud2
call fcn.00424360
ud2
lea eax, [0x52578a]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.004258c0
ud2
call fcn.004486e0
jmp fcn.00411220
Function at 0x41f820
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41f93c
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 1
je 0x41f8b0
cmp cl, 2
jne 0x41f924
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.00420490
lea eax, [0x5c7a34]
mov dword [esp], eax
call fcn.0040b420
lea eax, [0x5c7a10]
test byte [eax], al
mov eax, dword [0x5c7a28]
mov ecx, dword [0x5c7a10]
sub eax, ecx
mov dword [0x5c7a28], eax
mov eax, dword [0x5c7a1c]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x5c7a1c], ecx
lea eax, [0x5c7a34]
mov dword [esp], eax
call fcn.0040b5f0
add esp, 0x14
ret
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
mov ebp, dword [eax + 0x14]
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x1c]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.00411220
lea eax, [0x5c7a34]
mov dword [esp], eax
call fcn.0040b420
lea eax, [0x5c79ec]
test byte [eax], al
mov eax, dword [0x5c7a04]
mov ecx, dword [0x5c79ec]
sub eax, ecx
mov dword [0x5c7a04], eax
mov eax, dword [0x5c79f8]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x5c79f8], ecx
lea eax, [0x5c7a34]
mov dword [esp], eax
call fcn.0040b5f0
jmp 0x41f8ac
lea eax, [0x522908]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.004258c0
ud2
call fcn.004486e0
jmp fcn.0041f820