joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10064cab
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x1015aac0]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x10064cf1
cmp word [ebx], dx
jne 0x10064cf1
or byte [eax + edi + 0x28], 4
jmp 0x10064cf6
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x10064e59
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x10064e39
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x10064d37
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x10064d6d
cmp eax, edx
jae 0x10064d7b
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x10064d12
jmp 0x10064e59
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10064e34
cmp dword [ebp - 0x18], 0
je 0x10064e34
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x1015aac0]
test byte [eax + edi + 0x28], 0x48
je 0x10064e0a
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x10064dce
mov word [esi], cx
jmp 0x10064e05
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x1015aac0]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x1015aac0]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x1015aac0]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x10064e59
pop eax
cmp word [ebp - 4], ax
jne 0x10064e1a
cmp esi, ebx
jne 0x10064e1a
mov word [esi], ax
jmp 0x10064e56
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.1006587e
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x10064e59
push 0xd
pop eax
jmp 0x10064e15
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x1015aac0]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x10064e53
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x10064e59
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x1006888d
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1006892a
push ebx
push esi
call fcn.10068856
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.100675c9
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100688d7
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10068929
push edi
push eax
call fcn.1005f6b9
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100688f7
call fcn.1005f67f
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10068928
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100675c9
add esp, 0x20
test eax, eax
jne 0x10068916
push edi
call fcn.1005f67f
jmp 0x1006891e
push ebx
call fcn.1005f67f
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1006c55c
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.10060a86
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1006c5cb
cmp esi, dword [ebp - 4]
je 0x1006c5c6
cmp dword [ebp + 0xc], 0
je 0x1006c5c6
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1006c5a3
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.1006c0ae
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x1006c5cd
xor eax, eax
inc eax
jmp 0x1006c5cd
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x1006c632
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10093940]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.10060a86
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.10060a86
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x1006c6a9
cmp word [ecx], dx
je 0x1006c6a9
mov eax, dword [0x100873bc]
push edi
dec eax
push eax
push 0x100872a8
call fcn.1006c5d1
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x1006c71c
cmp word [eax], dx
je 0x1006c71c
mov eax, dword [edi]
test eax, eax
je 0x1006c6cd
cmp word [eax], dx
je 0x1006c6cd
lea eax, [ebp - 0x10]
push eax
call fcn.1006bfb4
jmp 0x1006c6d6
lea eax, [ebp - 0x10]
push eax
call fcn.1006c04f
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x1006c746
mov eax, dword [0x100872a4]
push dword [ebp - 0x14]
dec eax
push eax
push 0x10086f98
call fcn.1006c5d1
add esp, 0xc
test al, al
je 0x1006c746
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x1006c711
cmp word [eax], di
je 0x1006c711
lea eax, [ebp - 0x10]
push eax
call fcn.1006bfb4
pop ecx
jmp 0x1006c748
lea eax, [ebp - 0x10]
push eax
call fcn.1006c04f
jmp 0x1006c70e
mov eax, dword [edi]
test eax, eax
je 0x1006c733
cmp word [eax], dx
je 0x1006c733
lea eax, [ebp - 0x10]
push eax
call fcn.1006bf69
pop ecx
jmp 0x1006c746
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x1006c811
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.1006c456
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1006c811
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x1006c811
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x1006c811
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1006c79e
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.100637c8
test ebx, ebx
je 0x1006c80c
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.100637c8
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1006c811
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1006c811
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.10070ac2
add esp, 0x10
xor eax, eax
inc eax
jmp 0x1006c813
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10049b12
leave
ret
Function at 0x10070e91
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.10070e0d
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x10071000
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x10071000
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x10070fb5
jg 0x10070eed
test eax, eax
je 0x10070fab
push 1
push 0x1000
call fcn.1005f622
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10070f10
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x10070fa2
push 0x8000
push ebx
call fcn.10070d3e
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x10070f39
jg 0x10070f34
cmp ecx, 0x1000
jb 0x10070f39
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.1006640d
add esp, 0x10
cmp eax, 0xffffffff
je 0x10070f7e
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x10070f34
jl 0x10070f65
test ecx, ecx
jne 0x10070f26
push dword [ebp - 0xc]
push ebx
call fcn.10070d3e
push esi
call fcn.1005f67f
add esp, 0xc
xor ebx, ebx
jmp 0x1007100e
cmp byte [edi + 0x24], 0
je 0x10070f95
cmp dword [edi + 0x20], 5
jne 0x10070f95
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x10070fa0
mov ebx, dword [edi + 0x18]
jmp 0x10070fa2
xor ebx, ebx
push esi
call fcn.1005f67f
pop ecx
jmp 0x1007100e
test ecx, ecx
jg 0x10070f77
jl 0x10070fb5
test eax, eax
jae 0x10070f77
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1006587e
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x10070fd5
cmp byte [edi + 0x1c], 0
je 0x10070f77
jmp 0x10071006
push ebx
call fcn.1006cbec
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x10070f77
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1007100e
cmp byte [edi + 0x1c], 0
je 0x1007100b
mov ebx, dword [edi + 0x18]
jmp 0x1007100e
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.1006587e
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10073a00
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10073a2d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10073a2d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10f2790
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov dword [esi + 4], eax
call fcn.013720ff
aas
sub byte [ebp + 0x24], 0xe4
pop edi
pop ss
call 0x99033ba9
push dword [eax + 0x27c4243d]
dec edi
enter 0x44c5, 0xffffffffffffff84
out dx, eax
xchg eax, edi
adc eax, 0x87cf34f4
xor byte [esi - 0x6b], dh
mov ecx, 0x37fc633d
invalid

Function at 0x13884e1
Capabilities:
Authenticate hmac

Disassembly:
not byte [esp + 4]
push 0x99b94e3c
lea esp, [esp + 0x1c]
jae fcn.0171412c
mov dword [esp + 4], 0x98005dad
sub dl, 0x36
push 0x1982561a
ror dl, 1
mov dword [esp + 4], 0xb0b78e97
xor bl, dl
ror dword [esp + 0xc], 0x84
lea edx, [esp + edx + 0x10]
push 0x362a7427
push 0x7ca8e6b8
mov dword [edx], ecx
jae 0x10c3d43

Function at 0x13b1424
Capabilities:
Encode data using xor

Disassembly:
call fcn.0132b2bb
mov cs, ecx
inc esp
cmp eax, 0x41a6ee1d
pop ebp
stc
mov ch, byte [ecx + 0x50]
adc dword [edx + ecx*4 - 0x12357d27], 0x20
mov dword [ecx - 0x66], ecx
shl byte [ebp + 0x7a498948], cl
lcall 0x7a49, 0x8948a5d2
xor ah, byte [ebp - 0x78]
cdq
jns 0x13b14a7
enter 0x5f46, 0x7a
dec eax
dec edx
push ecx
mov bl, 0x3d
fld xword [eax - 0x7d]
dec ebx
dec ecx
dec edx
push ecx
mov bl, 0x3d
js 0x13b1440
shl byte [0xca14d050], 0x5a
pushfd
push ss
push es
outsd dx, dword [esi]
mov ecx, fs
adc eax, 0x169c5aca
fiadd dword [0x8f876b8d]
mov cl, 0x5e
mov bh, 0xd0
adc al, 0xca
pop edx
pushfd
push ss
aam 0x16
push ss
mov bh, 0xe5
fidivr word [ecx + 0x31]
jns 0x13b14bb
xor ecx, esp
adc eax, 0x169c5aca
xor esi, dword [edx - 0x47f05f]
insb byte es:[edi], dx
invalid
loope 0x13b14a1
retf 0x9c5a
out 0xb4, eax
jo 0x13b1488
out 0x3a, al
fsub st(5)
jne 0x13b1489
cmp bl, al
in eax, 0x75
loop 0x13b151a
jb 0x13b14c0
pop ss
adc byte [edi + 0x21a6c224], cl
jp 0x13b148a
pop esi
jl 0x13b1532
retf 0x9c5a
sbb dl, byte [edx + 0x1a3a01b1]
cmpsb byte [esi], byte es:[edi]
ret
sbb ah, byte [esi + 0x7582abc3]
sbb byte [edi], bh
xor ecx, esp
dec ebx
movsb byte es:[edi], byte [esi]
test eax, 0x47ee6b7b
dec ebp
jg 0x13b149e
pop edx
pushfd
push ss
shl bh, cl
mov edi, 0x9d446fb1
push ecx
adc al, 0xcb
xor bl, dl
sub ah, byte [ecx + 0x1d]
add eax, 0xec91e834
loop 0x13b1518
popal
sbb eax, 0x65e83405
ljmp 0x1acb
shr dword [edx], cl
popal
sbb eax, 0x8c7d3405
daa
sub eax, 0x41f04504
loop 0x13b1553
popal
sbb eax, 0xa4ba3405
and esi, dword [edi - 0x452728da]
btc dword [esi + 0x61], eax
fdivr dword [edx - 0x19bb44f1]
popal
sbb eax, 0x965d3405
pop ebp
xchg esi, eax
sub eax, dword [esp + ecx*8 - 0x11]
cmp dl, cl
int1
pushfd
fbstp tbyte [edi + 0x7e155e9e]
jb 0x13b1518
lds edx, [ebp + 0x75d4e209]
out 0x61, eax
jne 0x13b153c
popal
sbb eax, 0xf2de3405
push 0x9520a75
pop edx
inc esp
out 0x61, al
sbb eax, 0xd2813405
xchg ebp, eax
add ebx, dword [edx - 0x323fc6fb]
add eax, 0x1d61c281
add eax, 0x6bdc8834
inc ebp
sar byte [ebx - 0x4132ce8], cl
push 0x5f1a51c1
add byte [edx + edx*8 - 0x13], 0x7e
retf
Function at 0x401840
Capabilities:
Check for debugger via api
Create http request
Execute anti-debugging instructions
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x403535
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
rdtsc
push 1
mov esi, eax
mov edi, edx
call dword [sym.imp.KERNEL32.dll_Sleep]
rdtsc
sub eax, esi
sbb edx, edi
mov dword [ebp - 0x14], edx
jne 0x401a0a
jb 0x401897
cmp eax, 0x989680
jae 0x401a0a
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x401a0a
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
cmp dword [ebp - 0x14], 0
jne 0x401a0a
lea eax, [ebp - 0x60]
mov ecx, ebx
push eax
call fcn.00401230
lea eax, [ebp - 0x60]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00401400
push 0
push 0
push 0
push 1
push str.Mozilla_5.0
mov byte [ebp - 4], 1
call dword [sym.imp.WININET.dll_InternetOpenA]
mov esi, eax
test esi, esi
jne 0x401906
xor bl, bl
jmp 0x40198e
cmp dword [ebp - 0x1c], 0xf
lea eax, [ebp - 0x30]
push 0
cmova eax, dword [ebp - 0x30]
push 0x80800000
push 0
push 0
push eax
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
test eax, eax
je 0x401931
push eax
call edi
push esi
call edi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebx + 0x10]
call fcn.00401230
mov edi, dword [ebp - 0x34]
lea ecx, [ebp - 0x48]
mov esi, dword [ebp - 0x48]
cmp edi, 0xf
mov eax, dword [ebp - 0x38]
cmova ecx, esi
inc eax
push eax
push ecx
push dword [ebx + 0x2c]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov bl, 1
cmp edi, 0xf
jbe 0x40198e
lea ecx, [edi + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x401984
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4019f6
push ecx
push esi
call fcn.004025cf
add esp, 8
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xf
jbe 0x4019be
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4019b4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4019f6
push ecx
push edx
call fcn.004025cf
add esp, 8
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
cmp ecx, 0xf
jbe 0x401a06
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4019fc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4019fc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004025cf
add esp, 8
mov al, bl
jmp 0x401a0c
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040258c
mov esp, ebp
pop ebp
ret
Function at 0x4029b7
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
jmp 0x4029ec
mov ecx, dword [edx + 0xc]
cmp dword [ebp + 0xc], ecx
jb 0x4029e9
mov eax, dword [edx + 8]
add eax, ecx
cmp dword [ebp + 0xc], eax
jb 0x4029f5
add edx, 0x28
cmp edx, esi
jne 0x4029d7
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x4029f2

Function at 0x402e3a
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x402e79
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x402e79
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x402e79
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x402e79
cmp dword [ecx + 0x74], 0xe
jbe 0x402e79
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x40b4f0
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40b6be
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40b51b
mov eax, 0x7000000
jmp 0x40b523
test eax, eax
je 0x40b699
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.0045e8f0
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, [0x7f61c0]
movsd xmm0, qword [ebx + ebp*8]
test esi, esi
jne 0x40b6b1
cmp ecx, 0x21
jae 0x40b6a5
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.00459440
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.00459510
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 [0x6a451c]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x6a45fc]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40b674
xorps xmm0, xmm0
mov eax, dword [esp + 0x14]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x6a465c]
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.0045e9d0
mov eax, ecx
mov ecx, 0x21
call fcn.0045eaa0
nop
call fcn.0045d530
jmp fcn.0040b4f0
Function at 0x414830
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x414a44
sub esp, 0x18
mov eax, dword [0x84c34c]
test eax, eax
jne 0x414a2d
nop
lea eax, [0x84c334]
mov dword [esp], eax
call fcn.00409320
mov eax, dword [0x84c338]
test eax, eax
je 0x414879
cmp dword [eax + 8], 0xcc
jne 0x4148ef
mov edx, dword [0x84c32c]
test edx, edx
jne 0x4148d1
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x84fe78]
mov dword [esp + 8], eax
call fcn.0040b6d0
mov eax, dword [esp + 0xc]
mov dword [0x84c32c], eax
mov ecx, dword [0x84c2e8]
mov dword [eax], ecx
mov eax, dword [0x84c32c]
mov dword [0x84c2e8], eax
movzx eax, byte [0x84c880]
test al, al
jne 0x4148d1
xor eax, eax
jmp 0x4149d9
mov edx, dword [0x84c32c]
mov ebx, dword [edx + 4]
mov dword [0x84c32c], ebx
mov ebx, dword [0x84c338]
mov dword [edx + 4], ebx
mov dword [0x84c338], edx
mov edx, dword [0x84c338]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x4149c1
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.00401d60
mov eax, dword [esp + 0x10]
lea eax, [eax + eax*4]
mov ecx, dword [esp + 0x14]
lea edi, [ecx + eax*4 + 0x10]
mov edx, dword [0x84c5a0]
lea ebx, [ecx + eax*4 + 0x1c]
lea ebp, [ecx + eax*4 + 0x20]
lea esi, [ecx + eax*4 + 0x14]
test edx, edx
jne 0x41494d
mov edx, dword [esp + 0x20]
mov dword [ecx + eax*4 + 0x10], edx
jmp 0x41495a
mov edx, eax
mov eax, dword [esp + 0x20]
call fcn.0045e940
mov eax, edx
mov edx, dword [esp + 0x24]
mov dword [ecx + eax*4 + 0x18], edx
mov edx, dword [0x84c5a0]
test edx, edx
jne 0x414986
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 0x4149a7
mov edi, ebx
mov eax, dword [esp + 0x28]
call fcn.0045e940
mov edi, ebp
mov eax, dword [esp + 0x2c]
call fcn.0045e940
mov edi, esi
mov eax, dword [esp + 0x1c]
call fcn.0045e940
mov byte [0x84c291], 1
nop
lea eax, [0x84c334]
mov dword [esp], eax
call fcn.00409520
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.0045e9d0
lea esi, [0x84c880]
xchg ebp, eax
mov byte [esi + ebx], al
xchg ebp, eax
lea eax, [ebx + 1]
cmp eax, 0x80
jge 0x4148d1
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 0x414a23
lea edx, [0x7ef850]
movzx ebp, byte [edx + eax]
cmp ebx, 0x80
jb 0x4149cb
mov eax, ebx
mov ecx, pe_nt_image_headers32
call fcn.0045e9c0
mov ecx, 5
call fcn.0045e9c0
lea eax, [0x64aae0]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.00434350
nop
call fcn.0045d530
jmp fcn.00414830