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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x18], 0x12f4
cmp dword [ebp - 0x18], 0x26f2
jle 0x10008c37
rol dword [edi - 0x7b], cl
invalid
and dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0x1f
jmp 0x10008c4b
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x10008e10
mov dword [ebp - 0x1c], 0x597
cmp dword [ebp - 0x1c], 0x20c1
jle 0x10008cf0
rcr dword [ebp + 0xc3fbb3e], cl
pushfd
das
push ebx
mov al, byte [0x29ab9afd]
xor dword [ebx + 0x4c4c0685], eax
lds edx, [esi]
mov word [ecx - 0x1a], fs
ja 0x10008ce5
add al, byte [eax + edi]
movsd dword es:[edi], dword [esi]
mov cl, 0xad
jns 0x10008c6f
out 1, eax
cmp dh, bh
push dword [edx - 0x54]
mov ebp, 0xe7b697d2
rol dword [eax], cl
in al, dx
sbb ch, cl
inc ecx
pop esp
and bl, 0x2a
sub al, 0x33
jo 0x10008d16
jno 0x10008d10
xchg dword [ecx + ebp*8], eax
hlt
xchg edx, eax
shr bh, cl
dec ecx
mov edx, 0xf2bea8c8
mov cl, 0x33
rol byte [eax - 0x75], 0x4d
hlt
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
shl eax, cl
and eax, dword [ebp + 8]
je 0x10008d03
inc ebp
or byte [esi + eax - 0x3a], dh
inc ebp
inc dword [ecx]
mov byte [ebp - 1], 1
jmp 0x10008d07
mov byte [ebp - 1], 0
mov al, byte [ebp - 1]
mov byte [ebp - 3], al
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
shl eax, cl
and eax, dword [ebp + 0xc]
je 0x10008d20
inc ebp
or al, 0x74
push es
mov byte [ebp - 2], 1
jmp 0x10008d24
mov byte [ebp - 2], 0
mov al, byte [ebp - 2]
mov byte [ebp - 4], al
mov dword [ebp - 0x20], 0x1029
cmp dword [ebp - 0x20], 0x17ec
jle 0x10008dd4
xchg esi, eax
add byte [eax], al
add dl, bh
cli
push edx
mov esp, 0x9d8a3ede
shr byte es:[ecx], cl
sub dword [edi + 0x5a1ff201], edx
movsd dword es:[edi], dword [esi]
inc ebp
adc ah, byte [0xc43fe83e]
inc edx
pop ds
in eax, 0xe2
salc
xor byte [ecx + 0x5466e8a5], dh
sbb al, 0x9e
arpl word [ecx], cx
outsd dx, dword [esi]
mov al, 0x19
xor al, byte [ebp + 0x6e]
mov dword [0x160d9510], eax
fnstsw word fs:[eax - 0x72]
je 0x10008cf9
pop es
sbb ah, byte [eax - 0x56]
xor dh, byte [edi - 0x2ad0c2f1]
ficom dword [esi]
push ss
salc
or bh, cl
ja 0x10008d16
xchg esi, eax
push ecx
out dx, eax
mov esi, 0xef6270f0
mov esp, 0xa47c84c2
in al, dx
mov ebp, dword [eax + 0x1f926d58]
dec edx
xlatb
jb 0x10008d3a
jmp 0x35678e0
movzx eax, byte [ebp - 3]
movzx ecx, byte [ebp - 4]
and eax, ecx
je 0x10008de6
and dword [ebp - 0x14], 0
jmp 0x10008df3
movzx eax, byte [ebp - 3]
movzx ecx, byte [ebp - 4]
or eax, ecx
mov dword [ebp - 0x14], eax
mov al, byte [ebp - 0x14]
mov byte [ebp - 5], al
mov eax, dword [ebp - 0x10]
shl eax, 1
mov dword [ebp - 0x10], eax
movzx eax, byte [ebp - 5]
or eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
jmp 0x10008c44
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x10015066
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x10015088
push 0x1f8f
push 0
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
jmp 0x100151c5
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jl 0x1001513a
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jle 0x10015107
mov dword [ebp - 0x14], 1
jmp 0x1001510b
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jge 0x10015125
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x10015125
and dword [ebp - 0x18], 0
jmp 0x1001512c
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
jg 0x1001513a
and dword [ebp - 0x1c], 0
jmp 0x10015141
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0x1c], eax
jg 0x10015154
mov dword [ebp - 0x10], 1
jmp 0x10015158
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x20]
mov dword [eax], ecx
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
sub eax, 0x79a97a8d
cmp eax, 8
ja 0x10015185
mov dword [ebp - 0x50], 1
jmp 0x10015189
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x24]
cmp dword [eax], 0
je 0x100151a2
mov dword [ebp - 0x28], 1
jmp 0x100151a6
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
cmp dword [ebp - 0x28], eax
jge 0x100151b9
mov dword [ebp - 0x2c], 1
jmp 0x100151bd
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1002976d
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100297a8
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
add eax, dword [ecx]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov dword [ecx], eax
jmp 0x100297c8
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x100297c8
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esp, ebp
pop ebp
ret
Function at 0x1002fc53
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1002fc77
xor eax, eax
jmp 0x1002fda1
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x1002fc95
xor eax, eax
jmp 0x1002fda1
lea eax, [ebp - 8]
push eax
push 0xcbb
push 0x3e2e
push 0x416d
lea eax, [ebp - 0xc]
push eax
push 1
call fcn.1002eab4
add esp, 0x18
cmp dword [ebp - 0xc], 0
jne 0x1002fcc3
xor eax, eax
jmp 0x1002fda1
lea eax, [ebp - 4]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 8]
push dword [ebp - 0x10]
lea eax, [ebp - 0xc]
push eax
call fcn.1002e971
add esp, 0x18
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
push 1
lea eax, [ebp - 8]
push eax
call fcn.1002fb85
add esp, 0x10
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [eax + 0x34]
mov dword [ebp - 0x14], ecx
je 0x1002fd1a
push 1
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
push eax
push 0x717b
call fcn.1002fbed
add esp, 0x10
push dword [ebp - 4]
call fcn.1002e6d9
pop ecx
test eax, eax
jne 0x1002fd2b
xor eax, eax
jmp 0x1002fda1
push 0x1dcb
push 0x5efa
push 0x2771
push dword [ebp - 4]
push 0
call fcn.100297cc
add esp, 0x14
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x1002fd89
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
jne 0x1002fd66
xor eax, eax
jmp 0x1002fda1
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1002fd7f
xor eax, eax
jmp 0x1002fda1
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x1002fd9a
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x1002fd9e
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x10043746
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10043783
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov eax, dword [eax + 0x14]
sub eax, dword [ecx + 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
jmp 0x1004378d
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov esp, ebp
pop ebp
ret
Function at 0x10078262
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10080330]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.1006907c
mov dword [ebp - 0x14], eax
cmp dword [0x1066d6cc], esi
jne 0x10078355
push 0x800
push esi
push 0x1000790c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x100782e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10078435
push esi
push esi
push 0x1000790c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x10078435
push 0x10007924
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10078435
push eax
call ebx
push 0x10007930
push edi
mov dword [0x1066d6cc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007940
push edi
mov dword [0x1066d6d0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007954
push edi
mov dword [0x1066d6d4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1066d6dc], eax
test eax, eax
je 0x10078352
push 0x10007970
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1066d6d8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1007837a
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1007836d
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1007838f
push 4
pop eax
jmp 0x10078437
cmp dword [ebp - 0x14], esi
je 0x1007838f
push dword [0x1066d6cc]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10078374
mov eax, dword [0x1066d6d8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x100783ed
cmp dword [0x1066d6dc], edi
je 0x100783ed
push eax
call ebx
push dword [0x1066d6dc]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x100783ed
test eax, eax
je 0x100783ed
call ecx
test eax, eax
je 0x100783e2
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x100783e2
test byte [ebp - 8], 1
jne 0x100783ed
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x1007841d
mov eax, dword [0x1066d6d0]
cmp eax, edi
je 0x1007841a
push eax
call ebx
test eax, eax
je 0x1007841a
call eax
mov esi, eax
test esi, esi
je 0x1007841a
mov eax, dword [0x1066d6d4]
cmp eax, edi
je 0x1007841a
push eax
call ebx
test eax, eax
je 0x1007841a
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1066d6cc]
call ebx
test eax, eax
je 0x10078435
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x10078437
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100653c9
mov esp, ebp
pop ebp
ret
Function at 0x4010b0
Capabilities:
Terminate process

Disassembly:
sub esp, 0x20c
mov eax, dword [0x40e11c]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
push 0x208
lea eax, [esp + 8]
push 0
push eax
call fcn.00407100
add esp, 0xc
push 0x104
lea ecx, [esp + 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor edx, edx
mov word [esp + eax*2 - 4], dx
push str..dat
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [esp + 4]
push 0x40c340
push ecx
call fcn.00401870
mov esi, eax
add esp, 8
test esi, esi
jne 0x401121
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push edi
push 2
push 0
push esi
call fcn.00401911
push esi
call fcn.00401b33
push esi
mov edi, eax
call fcn.00401c18
add esp, 0x14
cmp edi, 2
pop edi
jge 0x40114b
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [esp + 0x20c]
pop esi
xor ecx, esp
call fcn.0040179b
add esp, 0x20c
ret

Function at 0x401490
Capabilities:
Create directory
Get common file path

Disassembly:
sub esp, 0x804
mov eax, dword [0x40e11c]
xor eax, esp
mov dword [esp + 0x800], eax
push ebp
mov ebp, dword [esp + 0x80c]
push ebp
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
jne 0x4015d5
push 0x7fe
push eax
lea ecx, [esp + 0xe]
push ecx
mov word [esp + 0x10], ax
call fcn.00407100
add esp, 0xc
lea edx, [esp + 4]
push edx
push 0x3e8
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ecx, 0x5c
dec eax
mov edx, ecx
cmp dx, word [esp + eax*2 + 4]
jne 0x401500
xor edx, edx
mov word [esp + eax*2 + 4], dx
dec eax
lea ebx, [ebx]
cmp word [esp + eax*2 + 4], cx
jne 0x4014f9
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push edi
push str.Micr
lea edx, [esp + 0x14]
xor ecx, ecx
push edx
mov word [esp + eax*2 + 0x1a], cx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str.irifmr
lea eax, [esp + 0x7e8]
push eax
call edi
push str.osoft
lea ecx, [esp + 0x14]
push ecx
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
lea edx, [esp + 0x14]
push edx
call ebx
push str.Wind
lea eax, [esp + 0x14]
push eax
call esi
push str.aassdd
lea ecx, [esp + 0x7e8]
push ecx
call edi
push 0x40c38c
lea edx, [esp + 0x14]
push edx
call esi
push 0
lea eax, [esp + 0x14]
push eax
call ebx
push 0x40c394
lea ecx, [esp + 0x14]
push ecx
call esi
push str.ireemr
lea edx, [esp + 0x7e8]
push edx
call edi
push 0x40c3ac
lea eax, [esp + 0x14]
push eax
call esi
push 0
lea ecx, [esp + 0x14]
push ecx
call ebx
push 0x40c3b4
lea edx, [esp + 0x14]
push edx
call esi
push ebp
lea eax, [esp + 0x14]
push eax
call esi
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x804]
pop ebp
xor ecx, esp
call fcn.0040179b
add esp, 0x804
ret

Function at 0x40179b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40e11c]
jne 0x4017a5
repz ret
jmp fcn.004031d2
Function at 0x404873
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004029f3
and dword [ebp - 4], 0
cmp dword [0x40fa24], 0
mov ebx, eax
jne 0x404924
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4049d5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4049d5
push eax
call fcn.00402981
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40fa24], eax
call esi
push eax
call fcn.00402981
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40fa28], eax
call esi
push eax
call fcn.00402981
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40fa2c], eax
call esi
push eax
call fcn.00402981
pop ecx
mov dword [0x40fa34], eax
test eax, eax
je 0x404924
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402981
pop ecx
mov dword [0x40fa30], eax
mov eax, dword [0x40fa30]
cmp eax, ebx
je 0x40497c
cmp dword [0x40fa34], ebx
je 0x40497c
push eax
call fcn.004029fc
push dword [0x40fa34]
mov esi, eax
call fcn.004029fc
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40497c
test edi, edi
je 0x40497c
call esi
test eax, eax
je 0x404973
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x404973
test byte [ebp - 0xc], 1
jne 0x40497c
or dword [ebp + 0x10], 0x200000
jmp 0x4049b5
mov eax, dword [0x40fa28]
cmp eax, ebx
je 0x4049b5
push eax
call fcn.004029fc
pop ecx
test eax, eax
je 0x4049b5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4049b5
mov eax, dword [0x40fa2c]
cmp eax, ebx
je 0x4049b5
push eax
call fcn.004029fc
pop ecx
test eax, eax
je 0x4049b5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40fa24]
call fcn.004029fc
pop ecx
test eax, eax
je 0x4049d5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4049d7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40b590
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40b75e
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40b5bb
mov eax, 0x7000000
jmp 0x40b5c3
test eax, eax
je 0x40b739
mov dword [esp + 0x14], 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]
shr ecx, 6
inc ecx
mov dword [esp], ecx
call fcn.0045ffc0
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x28], xmm0
mov eax, dword [esp + 0x2c]
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, 0
adc esi, 0
shl ebx, 5
mov edi, dword [esp + 0x28]
shr edi, 0x1b
or edi, ebx
lea ebx, [0x5e1c80]
movsd xmm0, qword [ebx + ebp*8]
test esi, esi
jne 0x40b751
cmp ecx, 0x21
jae 0x40b745
movsd qword [esp + 0x18], xmm0
mov dword [esp + 0x10], edi
add edx, 0xfffffc01
mov edx, 0xffffffff
adc edx, 0
movsd xmm0, qword [ebx + ecx*8]
movsd qword [esp + 0x20], xmm0
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045b510
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x30], xmm0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x10]
and eax, 0xfffff
mov dword [esp], eax
call fcn.0045b5e0
movsd xmm0, qword [esp + 0x30]
movsd xmm1, qword [esp + 0x18]
addsd xmm0, xmm1
movsd xmm2, qword [esp + 0x20]
subsd xmm2, xmm1
movsd xmm1, qword [esp + 8]
mulsd xmm1, xmm2
movsd xmm2, qword [0x548d48]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x548db8]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40b714
xorps xmm0, xmm0
mov eax, dword [esp + 0x14]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x548e10]
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, ecx
mov ecx, 0x21
call fcn.004600a0
mov eax, ecx
mov ecx, 0x21
call fcn.00460160
nop
call fcn.0045ec00
jmp fcn.0040b590
Function at 0x413fb0
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4141c4
sub esp, 0x18
mov eax, dword [0x61b708]
test eax, eax
jne 0x4141ad
nop
lea eax, [0x61b6f0]
mov dword [esp], eax
call fcn.004093e0
mov eax, dword [0x61b6f4]
test eax, eax
je 0x413ff9
cmp dword [eax + 8], 0xcc
jne 0x41406f
mov edx, dword [0x61b6e8]
test edx, edx
jne 0x414051
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x61df70]
mov dword [esp + 8], eax
call fcn.0040b770
mov eax, dword [esp + 0xc]
mov dword [0x61b6e8], eax
mov ecx, dword [0x61b6ac]
mov dword [eax], ecx
mov eax, dword [0x61b6e8]
mov dword [0x61b6ac], eax
movzx eax, byte [0x61bbc0]
test al, al
jne 0x414051
xor eax, eax
jmp 0x414159
mov edx, dword [0x61b6e8]
mov ebx, dword [edx + 4]
mov dword [0x61b6e8], ebx
mov ebx, dword [0x61b6f4]
mov dword [edx + 4], ebx
mov dword [0x61b6f4], edx
mov edx, dword [0x61b6f4]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x414141
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.004020d0
mov eax, dword [esp + 0x10]
lea eax, [eax + eax*4]
mov ecx, dword [esp + 0x14]
lea edi, [ecx + eax*4 + 0x10]
mov edx, dword [0x61b8e0]
lea ebx, [ecx + eax*4 + 0x1c]
lea ebp, [ecx + eax*4 + 0x20]
lea esi, [ecx + eax*4 + 0x14]
test edx, edx
jne 0x4140cd
mov edx, dword [esp + 0x20]
mov dword [ecx + eax*4 + 0x10], edx
jmp 0x4140da
mov edx, eax
mov eax, dword [esp + 0x20]
call fcn.00460010
mov eax, edx
mov edx, dword [esp + 0x24]
mov dword [ecx + eax*4 + 0x18], edx
mov edx, dword [0x61b8e0]
test edx, edx
jne 0x414106
mov edx, dword [esp + 0x28]
mov dword [ecx + eax*4 + 0x1c], edx
mov edx, dword [esp + 0x2c]
mov dword [ecx + eax*4 + 0x20], edx
mov edx, dword [esp + 0x1c]
mov dword [ecx + eax*4 + 0x14], edx
jmp 0x414127
mov edi, ebx
mov eax, dword [esp + 0x28]
call fcn.00460010
mov edi, ebp
mov eax, dword [esp + 0x2c]
call fcn.00460010
mov edi, esi
mov eax, dword [esp + 0x1c]
call fcn.00460010
mov byte [0x61b667], 1
nop
lea eax, [0x61b6f0]
mov dword [esp], eax
call fcn.004095e0
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.004600a0
lea esi, [0x61bbc0]
xchg ebp, eax
mov byte [esi + ebx], al
xchg ebp, eax
lea eax, [ebx + 1]
cmp eax, 0x80
jge 0x414051
mov ecx, eax
mov eax, 0xcccccccd
imul ecx
add edx, ecx
sar edx, 2
mov eax, ecx
sar ecx, 0x1f
sub edx, ecx
lea edx, [edx + edx*4]
mov ebx, eax
sub eax, edx
cmp eax, 5
jae 0x4141a3
lea edx, [0x5dd2c0]
movzx ebp, byte [edx + eax]
cmp ebx, 0x80
jb 0x41414b
mov eax, ebx
mov ecx, pe_nt_image_headers32
call fcn.00460090
mov ecx, 5
call fcn.00460090
lea eax, [0x51813e]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.00435f40
nop
call fcn.0045ec00
jmp fcn.00413fb0
Function at 0x427990
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x427b00
sub esp, 0x1c
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00425750
mov eax, dword [esp + 4]
test eax, eax
je 0x427ae9
mov dword [esp + 0xc], eax
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x18]
nop
inc dword [edx + 0x7c]
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x14], ecx
mov dword [esp], eax
call fcn.00423720
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
sub eax, dword [ecx + 0xc]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x24]
movzx ebx, byte [edx + 6]
mov byte [esp + 0xb], bl
lea ebp, [ecx + 0x48]
mov dword [esp + 0x18], ebp
nop
mov dword [esp], ebp
call fcn.004093e0
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x4c]
movzx edx, byte [esp + 0xb]
mov ebx, dword [esp + 0x10]
jmp 0x427a27
mov ecx, ebp
mov ebp, dword [ecx]
test ebp, ebp
je 0x427a8d
movzx esi, word [ebp + 4]
cmp esi, ebx
jne 0x427a3c
cmp byte [ebp + 6], dl
je 0x427a47
cmp esi, ebx
ja 0x427a8d
jne 0x427a25
cmp byte [ebp + 6], dl
jbe 0x427a25
jmp 0x427a8d
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.004095e0
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x7c]
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x427a84
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x427a84
mov dword [eax + 8], 0xfffffade
mov byte [esp + 0x28], 0
add esp, 0x1c
ret
mov edx, dword [esp + 0x24]
mov word [edx + 4], bx
mov ebx, dword [ecx]
mov dword [edx], ebx
mov dword [ecx], edx
mov dword [esp], eax
call fcn.00427890
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.004095e0
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x7c]
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x427ae0
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x427ae0
mov dword [eax + 8], 0xfffffade
mov byte [esp + 0x28], 1
add esp, 0x1c
ret
lea eax, [0x519b87]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.00435f40
nop
call fcn.0045ec00
jmp fcn.00427990