joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410ea2
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x410ed0
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x410ed7
cmp ebx, dword [eax + 4]
jae 0x410ed7
xor eax, eax
jmp 0x4110c7
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x410ee8
xor eax, eax
inc eax
jmp 0x4110c6
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x410efe
cmp ecx, edx
jae 0x411043
cmp dword [eax + 4], 0
je 0x410f07
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x410eef
cmp dword [ebp + 8], 0
je 0x410f29
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x411043
cmp eax, esi
jae 0x411043
mov eax, dword [0x419ed0]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x410f4e
cmp dword [esi*4 + 0x419ed8], edi
je 0x411047
inc esi
cmp esi, eax
jl 0x410f3c
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4110c3
cmp dword [ebp - 8], 0x1000000
jne 0x4110c3
test byte [ebp - 0xc], 0xcc
je 0x410fcc
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x4110c3
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x4110c3
cmp word [eax + 0x18], 0x10b
jne 0x4110c3
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x4110c3
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x410fcc
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x410fcc
test byte [ecx + 0x27], 0x80
jne 0x411043
push 1
push 0x419f18
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x410ee0
mov ecx, dword [0x419ed0]
test ecx, ecx
mov edx, ecx
jle 0x411000
lea eax, [ecx*4 + 0x419ed4]
cmp dword [eax], edi
je 0x411000
dec edx
sub eax, 4
test edx, edx
jg 0x410ff4
test edx, edx
jne 0x411031
push 0xf
pop ebx
cmp ecx, ebx
jg 0x41100d
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x411025
lea eax, [edx*4 + 0x419ed8]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x411013
cmp ecx, 0x10
jge 0x411031
inc ecx
mov dword [0x419ed0], ecx
push 0
push 0x419f18
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x410ee0
xor eax, eax
jmp 0x4110c6
test esi, esi
jle 0x410ee0
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x419f18
call ebx
test eax, eax
jne 0x410ee0
cmp dword [esi*4 + 0x419ed8], edi
je 0x41109d
mov eax, dword [0x419ed0]
lea esi, [eax - 1]
test esi, esi
jl 0x41108b
cmp dword [esi*4 + 0x419ed8], edi
je 0x411087
dec esi
jns 0x41107b
test esi, esi
jge 0x41109b
cmp eax, 0x10
jge 0x411096
inc eax
mov dword [0x419ed0], eax
lea esi, [eax - 1]
jmp 0x41109d
je 0x4110b5
xor ecx, ecx
test esi, esi
jl 0x4110b5
lea eax, [ecx*4 + 0x419ed8]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x4110a3
push 0
push 0x419f18
call ebx
jmp 0x410ee0
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4110d4
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x4176c8
call fcn.0040f964
xor edi, edi
xor ebx, ebx
inc ebx
cmp dword [0x419f1c], edi
jne 0x411118
push edi
push edi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x411103
mov dword [0x419f1c], ebx
jmp 0x411118
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x411118
mov dword [0x419f1c], 2
mov eax, dword [0x419f1c]
cmp eax, ebx
jne 0x411138
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x4111fb
cmp eax, 2
je 0x411141
cmp eax, edi
jne 0x411169
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x24], edi
cmp dword [ebp + 0x18], edi
jne 0x411154
mov eax, dword [0x419c6c]
mov dword [ebp + 0x18], eax
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov dword [ebp - 0x20], eax
cmp eax, edi
jne 0x411170
xor eax, eax
jmp 0x4111fb
mov dword [ebp - 4], edi
add eax, 3
and eax, 0xfffffffc
call fcn.0040fac0
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [ebp - 0x28], esi
or dword [ebp - 4], 0xffffffff
jmp 0x4111a3
cmp esi, edi
jne 0x4111b9
push dword [ebp - 0x20]
call fcn.0040911e
pop ecx
mov esi, eax
cmp esi, edi
je 0x411169
mov dword [ebp - 0x24], ebx
push dword [ebp - 0x20]
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x4111ec
cmp dword [ebp + 0x14], edi
jne 0x4111d6
push edi
push edi
jmp 0x4111dc
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push esi
push ebx
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x24], edi
je 0x4111f8
push esi
call fcn.00409130
pop ecx
mov eax, dword [ebp - 0x1c]
lea esp, [ebp - 0x34]
call fcn.0040f99f
ret
Function at 0x411204
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x4176d8
call fcn.0040f964
xor esi, esi
cmp dword [0x419f20], esi
jne 0x411248
push esi
push esi
xor edi, edi
inc edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x411233
mov dword [0x419f20], edi
jmp 0x411248
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x411248
mov dword [0x419f20], 2
mov eax, dword [0x419f20]
cmp eax, 2
je 0x411329
cmp eax, esi
je 0x411329
cmp eax, 1
jne 0x41128d
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
cmp dword [ebp + 0x18], esi
jne 0x411276
mov eax, dword [0x419c6c]
mov dword [ebp + 0x18], eax
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ebx, eax
mov dword [ebp - 0x24], ebx
cmp ebx, esi
jne 0x411294
xor eax, eax
jmp 0x41133b
mov dword [ebp - 4], esi
lea eax, [ebx + ebx]
add eax, 3
and eax, 0xfffffffc
call fcn.0040fac0
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0x28], edi
or dword [ebp - 4], 0xffffffff
jmp 0x4112ca
cmp edi, esi
jne 0x4112e5
lea eax, [ebx + ebx]
push eax
call fcn.0040911e
pop ecx
mov edi, eax
cmp edi, esi
je 0x41128d
mov dword [ebp - 0x20], 1
push ebx
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x411318
push esi
push esi
cmp dword [ebp + 0x14], esi
jne 0x411302
push esi
push esi
jmp 0x411308
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push edi
push esi
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], esi
je 0x411324
push edi
call fcn.00409130
pop ecx
mov eax, dword [ebp - 0x1c]
jmp 0x41133b
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea esp, [ebp - 0x34]
call fcn.0040f99f
ret
Function at 0x411491
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.0040fac0
mov eax, dword [0x419620]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
cmp ebx, dword [0x426c28]
mov dword [ebp - 4], eax
jae 0x4115d4
mov eax, ebx
sar eax, 5
mov eax, dword [eax*4 + 0x426c40]
mov ecx, ebx
and ecx, 0x1f
test byte [eax + ecx*8 + 4], 1
je 0x4115d4
push 1
push esi
push ebx
call fcn.0040e62a
add esp, 0xc
cmp eax, 0xffffffff
mov dword [ebp - 0x1008], eax
je 0x4115de
push 2
push esi
push ebx
call fcn.0040e62a
add esp, 0xc
cmp eax, 0xffffffff
je 0x4115de
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x41157e
push 0x1000
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.0040a300
push 0x8000
push ebx
call fcn.004116bc
add esp, 0x14
mov dword [ebp + 8], eax
mov eax, 0x1000
cmp edi, eax
jge 0x41153d
mov eax, edi
push eax
lea eax, [ebp - 0x1004]
push eax
push ebx
call fcn.0040e3e3
add esp, 0xc
cmp eax, 0xffffffff
je 0x41155b
sub edi, eax
test edi, edi
jg 0x411532
jmp 0x411571
cmp dword [0x419bc8], 5
jne 0x41156e
mov dword [0x419bc4], 0xd
or esi, 0xffffffff
push dword [ebp + 8]
push ebx
call fcn.004116bc
pop ecx
pop ecx
jmp 0x4115be
jge 0x4115be
push 0
push dword [ebp + 0xc]
push ebx
call fcn.0040e62a
push ebx
call fcn.0040a596
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, 0xffffffff
jne 0x4115be
mov dword [0x419bc4], 0xd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x419bc8], eax
push 0
push dword [ebp - 0x1008]
push ebx
call fcn.0040e62a
add esp, 0xc
mov eax, esi
pop edi
jmp 0x4115e1
mov dword [0x419bc4], 9
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.0040ceeb
leave
ret
Function at 0x411b8c
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [ebp - 0x10], ebx
jne 0x411ba5
or eax, 0xffffffff
jmp 0x411c06
push esi
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 4], esi
je 0x411c02
push 0x3d
push esi
call fcn.00411d8c
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x411c02
cmp esi, eax
je 0x411c02
xor ecx, ecx
cmp byte [eax + 1], bl
mov eax, dword [0x419bf0]
sete cl
cmp eax, dword [0x419bf4]
mov dword [ebp - 8], ecx
jne 0x411be8
mov edi, eax
call fcn.00411b2b
mov dword [0x419bf0], eax
cmp eax, ebx
jne 0x411c41
cmp dword [ebp + 0xc], ebx
je 0x411c0a
cmp dword [0x419bf8], ebx
je 0x411c0a
call fcn.0041162c
test eax, eax
je 0x411c41
or eax, 0xffffffff
pop esi
pop edi
pop ebx
leave
ret
cmp dword [ebp - 8], ebx
je 0x411c13
xor eax, eax
jmp 0x411c05
push 4
call fcn.0040911e
cmp eax, ebx
pop ecx
mov dword [0x419bf0], eax
je 0x411c02
mov dword [eax], ebx
cmp dword [0x419bf8], ebx
jne 0x411c41
push 4
call fcn.0040911e
cmp eax, ebx
pop ecx
mov dword [0x419bf8], eax
je 0x411c02
mov dword [eax], ebx
mov edi, dword [ebp - 0xc]
sub edi, dword [ebp - 4]
push dword [ebp - 4]
mov esi, dword [0x419bf0]
call fcn.00411ade
mov edi, eax
cmp edi, ebx
pop ecx
jl 0x411ca2
cmp dword [esi], ebx
je 0x411ca2
lea esi, [esi + edi*4]
push dword [esi]
call fcn.00409130
cmp dword [ebp - 8], ebx
pop ecx
jne 0x411c85
mov eax, dword [ebp - 4]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
jmp 0x411ce3
mov eax, dword [esi + 4]
mov dword [esi], eax
inc edi
add esi, 4
cmp dword [esi], ebx
jne 0x411c7c
mov eax, edi
shl eax, 2
push eax
push dword [0x419bf0]
call fcn.0040a8a8
cmp eax, ebx
pop ecx
pop ecx
je 0x411ce3
jmp 0x411cde
cmp dword [ebp - 8], ebx
jne 0x411d4e
cmp edi, ebx
jge 0x411cb1
neg edi
lea eax, [edi*4 + 8]
push eax
push dword [0x419bf0]
call fcn.0040a8a8
cmp eax, ebx
pop ecx
pop ecx
je 0x411c02
mov edx, dword [ebp - 4]
lea ecx, [eax + edi*4]
mov dword [ecx], edx
mov dword [ecx + 4], ebx
mov ecx, dword [ebp + 8]
mov dword [ecx], ebx
mov dword [0x419bf0], eax
cmp dword [ebp + 0xc], ebx
je 0x411d38
push dword [ebp - 4]
call fcn.00409640
inc eax
inc eax
push eax
call fcn.0040911e
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x411d38
push dword [ebp - 4]
push esi
call fcn.0040a7b0
mov eax, esi
sub eax, dword [ebp - 4]
pop ecx
add eax, dword [ebp - 0xc]
pop ecx
mov ecx, dword [ebp - 8]
mov byte [eax], bl
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x411d31
or dword [ebp - 0x10], 0xffffffff
push esi
call fcn.00409130
pop ecx
cmp dword [ebp - 8], ebx
je 0x411d46
push dword [ebp - 4]
call fcn.00409130
pop ecx
mov eax, dword [ebp - 0x10]
jmp 0x411c05
push dword [ebp - 4]
call fcn.00409130
mov eax, dword [ebp + 8]
pop ecx
mov dword [eax], ebx
jmp 0x411c0f
Function at 0x411f0b
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x411f38
test byte [esp + 8], 0x80
je 0x411f26
and eax, 0xfffffffe
jmp 0x411f29
or eax, 1
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x411f49
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040f243
pop ecx
or eax, 0xffffffff
ret
xor eax, eax
ret
Function at 0x412c10
Capabilities:
Get common file path

Disassembly:
push 0x120
push 0x417738
call fcn.0040f964
mov eax, dword [0x419620]
mov dword [ebp - 0x1c], eax
lea edi, [ebp - 0x124]
and dword [ebp - 0x128], 0
mov eax, edi
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov esi, eax
mov dword [ebp - 0x12c], esi
cmp esi, 0x104
jle 0x412cb4
and dword [ebp - 4], 0
lea eax, [esi + 1]
add eax, 3
and eax, 0xfffffffc
call fcn.0040fac0
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0x130], edi
jmp 0x412ca1
or dword [ebp - 4], 0xffffffff
test esi, esi
je 0x412cb4
push edi
inc esi
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov esi, eax
xor ebx, ebx
test esi, esi
je 0x412ccf
cmp byte [edi + 1], 0x3a
jne 0x412ccf
movzx eax, byte [edi]
push eax
call fcn.004130c4
pop ecx
mov ebx, eax
sub ebx, 0x40
cmp dword [ebp - 0x128], 0
je 0x412cdf
push edi
call fcn.00409130
pop ecx
mov eax, ebx
lea esp, [ebp - 0x13c]
mov ecx, dword [ebp - 0x1c]
call fcn.0040ceeb
call fcn.0040f99f
ret

Function at 0x412f93
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x412fc1
add al, 0x40
mov byte [ebp + 8], al
lea eax, [ebp + 8]
push eax
mov byte [ebp + 9], 0x3a
mov byte [ebp + 0xa], 0x5c
mov byte [ebp + 0xb], 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
test eax, eax
je 0x412fc6
cmp eax, 1
je 0x412fc6
xor eax, eax
inc eax
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x412fca
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x419620]
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
mov dword [ebp - 4], eax
je 0x413040
push ebx
call fcn.00412f93
test eax, eax
pop ecx
jne 0x41300f
mov dword [0x419bc8], 0xf
mov dword [0x419bc4], 0xd
xor eax, eax
mov ecx, dword [ebp - 4]
pop ebx
call fcn.0040ceeb
leave
ret
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x108]
push eax
push 0x104
lea eax, [ebp + 8]
add bl, 0x40
push eax
mov byte [ebp + 8], bl
mov byte [ebp + 9], 0x3a
mov byte [ebp + 0xa], 0x2e
mov byte [ebp + 0xb], 0
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
jmp 0x413052
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x413002
inc eax
cmp eax, 0x104
ja 0x413002
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x413089
cmp eax, dword [ebp + 0x10]
jg 0x41306d
mov eax, dword [ebp + 0x10]
push eax
call fcn.0040911e
pop ecx
mov ecx, eax
test ecx, ecx
jne 0x41309d
mov dword [0x419bc4], 0xc
jmp 0x413002
cmp eax, dword [ebp + 0x10]
jle 0x41309d
mov dword [0x419bc4], 0x22
jmp 0x413002
lea eax, [ebp - 0x108]
push eax
push ecx
call fcn.0040a7b0
pop ecx
pop ecx
jmp 0x413004

Function at 0xc36e94
Capabilities:
Encode data using xor

Disassembly:
xor al, al
mov al, byte [edi]
xor al, bl
mov byte [edi], al
inc edi
cmp edi, ecx
jne fcn.00c36e94
ret
Function at 0x403856
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x419240]
jne 0x403860
repz ret
jmp fcn.0040506c

Function at 0x409f2c
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.0040475f
and dword [ebp - 4], 0
cmp dword [0x41b43c], 0
mov ebx, eax
jne 0x409fdd
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40a08e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40a08e
push eax
call fcn.004046ed
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x41b43c], eax
call esi
push eax
call fcn.004046ed
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x41b440], eax
call esi
push eax
call fcn.004046ed
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x41b444], eax
call esi
push eax
call fcn.004046ed
pop ecx
mov dword [0x41b44c], eax
test eax, eax
je 0x409fdd
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004046ed
pop ecx
mov dword [0x41b448], eax
mov eax, dword [0x41b448]
cmp eax, ebx
je 0x40a035
cmp dword [0x41b44c], ebx
je 0x40a035
push eax
call fcn.00404768
push dword [0x41b44c]
mov esi, eax
call fcn.00404768
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40a035
test edi, edi
je 0x40a035
call esi
test eax, eax
je 0x40a02c
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40a02c
test byte [ebp - 0xc], 1
jne 0x40a035
or dword [ebp + 0x10], 0x200000
jmp 0x40a06e
mov eax, dword [0x41b440]
cmp eax, ebx
je 0x40a06e
push eax
call fcn.00404768
pop ecx
test eax, eax
je 0x40a06e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40a06e
mov eax, dword [0x41b444]
cmp eax, ebx
je 0x40a06e
push eax
call fcn.00404768
pop ecx
test eax, eax
je 0x40a06e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x41b43c]
call fcn.00404768
pop ecx
test eax, eax
je 0x40a08e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40a090
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42e000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x40be30
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40bffe
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40be5b
mov eax, 0x7000000
jmp 0x40be63
test eax, eax
je 0x40bfd9
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.004624b0
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, [0x7e1820]
movsd xmm0, qword [ebx + ebp*8]
test esi, esi
jne 0x40bff1
cmp ecx, 0x21
jae 0x40bfe5
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.0045c410
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.0045c4e0
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 [0x68b42c]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x68b4fc]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40bfb4
xorps xmm0, xmm0
mov eax, dword [esp + 0x14]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x68b574]
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.00462590
mov eax, ecx
mov ecx, 0x21
call fcn.00462660
nop
call fcn.004610f0
jmp fcn.0040be30
Function at 0x4143c0
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4145e4
sub esp, 0x18
mov eax, dword [0x81da0c]
test eax, eax
jne 0x4145cd
nop
lea eax, [0x81d9f8]
mov dword [esp], eax
call fcn.00409c20
mov eax, dword [0x81d9fc]
test eax, eax
je 0x414409
cmp dword [eax + 8], 0xcc
jne 0x41447f
mov edx, dword [0x81d9f0]
test edx, edx
jne 0x414461
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x822310]
mov dword [esp + 8], eax
call fcn.0040c010
mov eax, dword [esp + 0xc]
mov dword [0x81d9f0], eax
mov ecx, dword [0x81d9b4]
mov dword [eax], ecx
mov eax, dword [0x81d9f0]
mov dword [0x81d9b4], eax
movzx eax, byte [0x81e020]
test al, al
jne 0x414461
xor eax, eax
jmp 0x414579
mov edx, dword [0x81d9f0]
mov ebx, dword [edx + 4]
mov dword [0x81d9f0], ebx
mov ebx, dword [0x81d9fc]
mov dword [edx + 4], ebx
mov dword [0x81d9fc], edx
mov edx, dword [0x81d9fc]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x414561
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.00402140
mov eax, dword [esp + 0x10]
lea eax, [eax + eax*4]
mov ecx, dword [esp + 0x14]
lea edi, [ecx + eax*4 + 0x10]
mov edx, dword [0x81dcc0]
lea ebx, [ecx + eax*4 + 0x1c]
lea ebp, [ecx + eax*4 + 0x20]
lea esi, [ecx + eax*4 + 0x14]
test edx, edx
jne 0x4144dd
mov edx, dword [esp + 0x20]
mov dword [ecx + eax*4 + 0x10], edx
jmp 0x4144ea
mov edx, eax
mov eax, dword [esp + 0x20]
call fcn.00462500
mov eax, edx
mov edx, dword [esp + 0x24]
mov dword [ecx + eax*4 + 0x18], edx
mov edx, dword [0x81dcc0]
test edx, edx
jne 0x414516
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 0x414537
mov edi, ebx
mov eax, dword [esp + 0x28]
call fcn.00462500
mov edi, ebp
mov eax, dword [esp + 0x2c]
call fcn.00462500
mov edi, esi
mov eax, dword [esp + 0x1c]
call fcn.00462500
nop
lea eax, [0x81d9f8]
mov dword [esp], eax
call fcn.00409e20
nop
lea eax, [0x81d9f4]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.004022c0
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.00462590
lea esi, [0x81e020]
xchg ebp, eax
mov byte [esi + ebx], al
xchg ebp, eax
lea eax, [ebx + 1]
cmp eax, 0x80
jge 0x414461
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 0x4145c3
lea edx, [0x7db72c]
movzx ebp, byte [edx + eax]
cmp ebx, 0x80
jb 0x41456b
mov eax, ebx
mov ecx, pe_nt_image_headers32
call fcn.00462580
mov ecx, 5
call fcn.00462580
lea eax, [0x63eaa2]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.00435900
nop
call fcn.004610f0
jmp fcn.004143c0