joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41345a
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
push ecx
push edx
push esi
lea eax, [ebp - 4]
push eax
push 0x2001f
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.advapi32.dll_RegOpenKeyExA
or eax, eax
jne 0x41349d
push dword [ebp + 0x10]
push dword [ebp - 4]
call sub.advapi32.dll_RegDeleteValueA
push eax
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey
pop eax
or eax, eax
jne 0x41349d
mov eax, 1
jmp 0x41349f
xor eax, eax
pop esi
pop edx
pop ecx
leave
ret 0xc

Function at 0x4134a6
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
push ecx
push edx
push esi
lea eax, [ebp - 4]
push eax
push 0x2001f
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.advapi32.dll_RegOpenKeyExW
or eax, eax
jne 0x4134e9
push dword [ebp + 0x10]
push dword [ebp - 4]
call sub.advapi32.dll_RegDeleteValueW
push eax
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey
pop eax
or eax, eax
jne 0x4134e9
mov eax, 1
jmp 0x4134eb
xor eax, eax
pop esi
pop edx
pop ecx
leave
ret 0xc

Function at 0x414073
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ecx
push edx
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jl 0x414105
cmp dword [ebp + 8], 0x80000006
jg 0x414105
mov dword [ebp - 8], 1
mov dword [ebp - 0xc], 0x104
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.advapi32.dll_RegOpenKeyExA
or eax, eax
jne 0x414105
cmp dword [ebp + 0x14], 0
je 0x4140dc
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call sub.advapi32.dll_RegQueryValueExA
jmp 0x4140f2
push 0
push dword [ebp + 0x14]
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call sub.advapi32.dll_RegQueryValueExA
or eax, eax
jne 0x4140fd
mov dword [ebp - 4], 1
push dword [ebp - 0x10]
call sub.advapi32.dll_RegCloseKey
mov eax, dword [ebp - 4]
pop edx
pop ecx
leave
ret 0x10

Function at 0x41410e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ecx
push edx
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jl 0x4141a0
cmp dword [ebp + 8], 0x80000006
jg 0x4141a0
mov dword [ebp - 8], 1
mov dword [ebp - 0xc], 0x208
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.advapi32.dll_RegOpenKeyExW
or eax, eax
jne 0x4141a0
cmp dword [ebp + 0x14], 0
je 0x414177
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call sub.advapi32.dll_RegQueryValueExW
jmp 0x41418d
push 0
push dword [ebp + 0x14]
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call sub.advapi32.dll_RegQueryValueExW
or eax, eax
jne 0x414198
mov dword [ebp - 4], 1
push dword [ebp - 0x10]
call sub.advapi32.dll_RegCloseKey
mov eax, dword [ebp - 4]
pop edx
pop ecx
leave
ret 0x10
Function at 0x414ced
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ecx
push edx
push esi
mov dword [ebp - 4], 0
mov esi, dword [ebp + 0xc]
or esi, esi
je 0x414d6e
cmp byte [esi], 0
je 0x414d6e
cmp dword [ebp + 8], 0x80000000
jl 0x414d6e
cmp dword [ebp + 8], 0x80000006
jg 0x414d6e
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x2001f
push 0
push str.REG_SZ
push 0
push esi
push dword [ebp + 8]
call sub.advapi32.dll_RegCreateKeyExA
cmp eax, 0
jne 0x414d6e
push dword [ebp + 0x14]
call sub.kernel32.dll_lstrlenA
inc eax
push eax
push dword [ebp + 0x14]
push 1
push 0
push dword [ebp + 0x10]
push dword [ebp - 8]
call sub.advapi32.dll_RegSetValueExA
or eax, eax
jne 0x414d66
mov dword [ebp - 4], 1
push dword [ebp - 8]
call sub.advapi32.dll_RegCloseKey
mov eax, dword [ebp - 4]
pop esi
pop edx
pop ecx
leave
ret 0x10

Function at 0x414d78
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ecx
push edx
push esi
mov dword [ebp - 4], 0
mov esi, dword [ebp + 0xc]
or esi, esi
je 0x414df9
cmp word [esi], 0
je 0x414df9
cmp dword [ebp + 8], 0x80000000
jl 0x414df9
cmp dword [ebp + 8], 0x80000006
jg 0x414df9
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push esi
push dword [ebp + 8]
call sub.advapi32.dll_RegCreateKeyExW
cmp eax, 0
jne 0x414df9
push dword [ebp + 0x14]
call sub.kernel32.dll_lstrlenW
inc eax
shl eax, 1
push eax
push dword [ebp + 0x14]
push 1
push 0
push dword [ebp + 0x10]
push dword [ebp - 8]
call sub.advapi32.dll_RegSetValueExW
or eax, eax
jne 0x414df1
mov dword [ebp - 4], 1
push dword [ebp - 8]
call sub.advapi32.dll_RegCloseKey
mov eax, dword [ebp - 4]
pop esi
pop edx
pop ecx
leave
ret 0x10

Function at 0x4153b7
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
push ebx
push ecx
push edx
push esi
mov esi, dword [ebp + 0xc]
push dword [ebp + 0xc]
call sub.kernel32.dll_lstrlenA
mov ebx, eax
add esi, eax
or eax, eax
jne 0x4153e0
mov esi, 2
jmp 0x415464
cmp eax, 1
jne 0x4153fc
cmp byte [esi - 1], 0xd
je 0x4153f1
cmp byte [esi - 1], 0xa
jne 0x4153fc
mov byte [esi - 1], 0
mov esi, 2
jmp 0x415464
cmp byte [esi - 1], 0xa
jne 0x415408
cmp byte [esi - 2], 0xd
je 0x415414
cmp byte [esi - 1], 0xd
jne 0x415418
cmp byte [esi - 2], 0xa
jne 0x415418
xor esi, esi
jmp 0x41542a
cmp byte [esi - 1], 0xd
jne 0x415425
mov esi, 1
jmp 0x41542a
mov esi, 2
push 0
lea eax, [ebp - 4]
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.kernel32.dll_WriteFile
or eax, eax
je 0x415479
or esi, esi
je 0x415479
cmp esi, 1
jne 0x415464
mov edx, 0x4223c0
add edx, 1
push 0
lea eax, [ebp - 4]
push eax
push 1
push edx
push dword [ebp + 8]
call sub.kernel32.dll_WriteFile
jmp 0x415479
push 0
lea eax, [ebp - 4]
push eax
push 2
push 0x4223c3
push dword [ebp + 8]
call sub.kernel32.dll_WriteFile
pop esi
pop edx
pop ecx
pop ebx
leave
ret 8
Function at 0x415481
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
push ebx
push ecx
push edx
push esi
mov esi, dword [ebp + 0xc]
push dword [ebp + 0xc]
call sub.kernel32.dll_lstrlenW
shl eax, 1
mov ebx, eax
add esi, eax
or eax, eax
jne 0x4154ac
mov esi, 2
jmp 0x415539
cmp eax, 2
jne 0x4154cc
cmp word [esi - 2], 0xd
je 0x4154bf
cmp word [esi - 2], 0xa
jne 0x4154cc
mov word [esi - 2], 0
mov esi, 2
jmp 0x415539
cmp word [esi - 2], 0xa
jne 0x4154da
cmp word [esi - 4], 0xd
je 0x4154e8
cmp word [esi - 2], 0xd
jne 0x4154ec
cmp word [esi - 4], 0xa
jne 0x4154ec
xor esi, esi
jmp 0x4154ff
cmp word [esi - 2], 0xd
jne 0x4154fa
mov esi, 1
jmp 0x4154ff
mov esi, 2
push 0
lea eax, [ebp - 4]
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.kernel32.dll_WriteFile
or eax, eax
je 0x41554e
or esi, esi
je 0x41554e
cmp esi, 1
jne 0x415539
mov edx, 0x4223c8
add edx, 2
push 0
lea eax, [ebp - 4]
push eax
push 2
push edx
push dword [ebp + 8]
call sub.kernel32.dll_WriteFile
jmp 0x41554e
push 0
lea eax, [ebp - 4]
push eax
push 4
push 0x4223d0
push dword [ebp + 8]
call sub.kernel32.dll_WriteFile
pop esi
pop edx
pop ecx
pop ebx
leave
ret 8
Function at 0x1518058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.015181a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x151807e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x151806a
add dl, dl
jne 0x1518089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x15180dc
xor eax, eax
add dl, dl
jne 0x1518096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x151817d
add dl, dl
jne 0x15180a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x15180b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x15180bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x15180c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x15180d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1518075
mov eax, 1
add dl, dl
jne 0x15180ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x15180f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x15180e1
sub eax, ebx
mov ebx, 1
jne 0x1518128
mov ecx, 1
add dl, dl
jne 0x151810e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1518119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1518105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1518075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x151813f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x151814a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1518136
cmp eax, 0x7d00
jae 0x151816d
cmp eax, 0x500
jb 0x1518168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1518075
cmp eax, 0x7f
ja 0x1518170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1518075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x151819e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1518075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x10007cac
Capabilities:
Read file on windows

Disassembly:
push ecx
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
push 2
push 0xffffffffffffffff
push 0xffffffffffffffea
push ebp
call fcn.10023543
mov ebx, edx
add esp, 0x10
mov esi, eax
test ebx, ebx
jl 0x10007e1f
jg 0x10007cdb
test esi, esi
jb 0x10007e1f
mov edi, dword [esp + 0x20]
push 0x16
push edi
push ebp
call fcn.10017328
add esp, 0xc
test eax, eax
js 0x10007e1f
movzx ecx, byte [edi + 3]
movzx eax, byte [edi + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi]
shl ecx, 8
or ecx, eax
cmp ecx, 0x6054b50
jne 0x10007d3d
push edi
call fcn.1000822e
pop ecx
test eax, eax
je 0x10007d34
push ebx
push esi
push edi
push ebp
call fcn.10023543
add esp, 0x10
mov esi, eax
mov ebx, edx
mov eax, esi
mov edx, ebx
jmp 0x10007e24
push 2
xor ebx, ebx
push ebx
push ebx
push ebp
call fcn.10023543
mov ebp, eax
add esp, 0x10
mov eax, edx
mov dword [esp + 0x14], eax
cmp eax, ebx
jl 0x10007e1f
jg 0x10007d66
cmp ebp, ebx
jb 0x10007e1f
mov ecx, 0x10015
cmp eax, ebx
jg 0x10007d7b
jl 0x10007d75
cmp ebp, ecx
jae 0x10007d7b
mov esi, ebp
mov ecx, eax
jmp 0x10007d7f
mov esi, ecx
mov ecx, ebx
mov eax, esi
neg eax
push 2
adc ecx, ebx
neg ecx
push ecx
push eax
push dword [esp + 0x28]
call fcn.10023543
add esp, 0x10
cmp edx, ebx
jl 0x10007e1f
jg 0x10007da5
cmp eax, ebx
jb 0x10007e1f
push 0x10015
call fcn.10023543
mov ebx, eax
pop ecx
test ebx, ebx
je 0x10007e1f
push esi
push ebx
push dword [esp + 0x24]
call fcn.10017328
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
js 0x10007e18
lea edx, [ebx + eax]
lea esi, [edx - 0x16]
jmp 0x10007e14
cmp byte [esi], 0x50
jne 0x10007e13
movzx ecx, byte [esi + 3]
movzx eax, byte [esi + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 1]
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, 0x50
cmp ecx, 0x6054b50
jne 0x10007e13
movzx ecx, byte [esi + 0x15]
movzx eax, byte [esi + 0x14]
shl ecx, 8
or ecx, eax
lea eax, [esi + 0x16]
add eax, ecx
cmp eax, edx
je 0x10007e2b
dec esi
cmp esi, ebx
jae 0x10007dd4
push ebx
call fcn.10023543
pop ecx
or eax, 0xffffffff
or edx, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
push 0x16
push esi
push edi
call fcn.1000a190
push ebx
call fcn.10023543
mov eax, dword [esp + 0x20]
add eax, ebx
sub eax, esi
mov esi, dword [esp + 0x24]
cdq
sub ebp, eax
push edi
sbb esi, edx
call fcn.1000822e
add esp, 0x14
test eax, eax
je 0x10007e6b
push esi
push ebp
push edi
push dword [esp + 0x28]
call fcn.10023543
add esp, 0x10
mov ebp, eax
mov esi, edx
mov eax, ebp
mov edx, esi
jmp 0x10007e24
Function at 0x10023543
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x10023552
pop dword [ebp - 0x40]
mov eax, 0x4d36d625
sub eax, 0x3d34a0d3
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x5aa605
add dword [ebp - 0x50], 0x4df79f46
mov dword [ebp - 0x4c], 0xf488dab6
add dword [ebp - 0x4c], 0x3daa718f
mov dword [ebp - 0x48], 0x91f1e975
add dword [ebp - 0x48], 0xba5a5ab9
mov dword [ebp - 0x44], 0xccddbde7
add dword [ebp - 0x44], 0x33224219
lea eax, [ebp - 0x50]
push eax
mov eax, 0xc82b1d3b
add eax, 0x47d73315
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0x7eb33585
add dword [ebp - 0x50], 0xf5bf33d1
mov dword [ebp - 0x4c], 0x54bcfd01
add dword [ebp - 0x4c], 0xecaf6474
mov dword [ebp - 0x48], 0xe385e282
add dword [ebp - 0x48], 0x7fe989ea
mov dword [ebp - 0x44], 0x3e49ae52
sub dword [ebp - 0x44], 0x3e49ae52
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0xdce731bc
sub eax, 0xcce4e168
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x3a667
push 0
call eax
mov ecx, 0xffadf5e5
sub ecx, 0xffadbb3c
mov esi, eax
mov edx, 0x36d5e697
sub edx, 0x26d28c97
add edx, dword [ebp - 0x40]
mov edi, 0xb7b4e643
add dword [ebp - 0x28], edi
mov ebx, dword [edx]
mov dword [ebp - 0x34], 0xcdd3cce8
add ebx, edi
add dword [ebp - 4], edi
mov dword [esi], ebx
xor dword [ebp - 0x10], 0x93fd23b9
add esi, 0x99d0e5bf
add esi, 0x662f1a45
add edx, 0x6018afec
add edx, 0x9fe75018
loop 0x1002366e
add eax, 0xd554272d
add eax, 0x2aacb64a
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xc4fc11b6
add ecx, 0x4b03ee4a
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x10059686
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x100596c5
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100596c5
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100596c5
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x100596c5
cmp dword [ecx + 0x74], 0xe
jbe 0x100596c5
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x1005aa00
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1005aa2d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1005aa2d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x1005ad50
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10065620
push 0x10065618
push str.FlsAlloc
push 0x1f
call fcn.1005b033
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1005ad84
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
jmp 0x1005ad8a
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1005adce
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10065630
push 0x10065628
push str.FlsGetValue
push 0x21
call fcn.1005b033
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1005ae05
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1005ae0d
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10065638
push 0x10065630
push str.FlsSetValue
push 0x22
call fcn.1005b033
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1005ae47
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1005dd0e
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 0x1005ddab
push ebx
push esi
call fcn.1005ddae
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.1005dc12
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1005dd58
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1005ddaa
push edi
push eax
call fcn.1005e00c
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1005dd78
call fcn.1005c300
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1005dda9
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1005dc12
add esp, 0x20
test eax, eax
jne 0x1005dd97
push edi
call fcn.1005c300
jmp 0x1005dd9f
push ebx
call fcn.1005c300
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 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x3f12356a
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4330d2
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x1c7f2abe
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x408770
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40890e
sub esp, 0x38
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
call fcn.00408a50
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
mov ecx, eax
shr eax, 0x14
and eax, 0x7ff
mov edx, eax
add eax, 0xfffffc01
shr ecx, 0xf
and ecx, 0x1f
mov ebp, ecx
add ecx, 1
add edx, 0xfffffc01
mov edx, 0xffffffff
adc edx, 0
mov esi, dword [esp + 8]
mov dword [esp + 0x18], esi
lea edi, [0x6c2260]
lea ebp, [edi + ebp*8]
mov esi, dword [ebp]
mov dword [esp + 0x34], esi
mov ebp, dword [ebp + 4]
mov dword [esp + 0x30], ebp
lea ecx, [edi + ecx*8]
mov edi, dword [ecx]
mov dword [esp + 0x2c], edi
mov ecx, dword [ecx + 4]
mov dword [esp + 0x28], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044d560
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 4], eax
mov dword [esp], ecx
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 8], ecx
call fcn.0044ba70
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x28]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [esp], edx
mov edx, dword [esp + 0x30]
xor edx, 0x80000000
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 8], edx
call fcn.0044ba70
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x30], ecx
mov dword [esp + 4], 0
mov edx, dword [esp + 0x1c]
shl edx, 5
mov ebx, dword [esp + 0x18]
shr ebx, 0x1b
or ebx, edx
and ebx, 0xfffff
mov dword [esp], ebx
call fcn.0044d710
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.0044bf70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [esp + 4], eax
mov dword [esp], ecx
mov dword [esp + 0xc], 0x3eb00000
mov dword [esp + 8], 0
call fcn.0044bf70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x20]
mov dword [esp], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
call fcn.0044ba70
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
add esp, 0x38
ret
call fcn.00462e70
jmp fcn.00408770
Function at 0x4172e0
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4174ba
sub esp, 0x18
mov eax, dword [0x7179a4]
test eax, eax
jne 0x4174a3
lea eax, [0x71798c]
mov dword [esp], eax
call fcn.0040a480
mov eax, dword [0x717990]
test eax, eax
je 0x417328
cmp dword [eax + 8], 0xcc
jne 0x41739e
mov eax, dword [0x717984]
test eax, eax
jne 0x417380
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x7196b8]
mov dword [esp + 8], eax
call fcn.0040ca50
mov eax, dword [esp + 0xc]
mov dword [0x717984], eax
mov ecx, dword [0x717940]
mov dword [eax], ecx
mov eax, dword [0x717984]
mov dword [0x717940], eax
movzx eax, byte [0x717ee0]
test al, al
jne 0x417380
xor eax, eax
jmp 0x417497
mov eax, dword [0x717984]
mov ecx, dword [eax + 4]
mov dword [0x717984], ecx
mov ecx, dword [0x717990]
mov dword [eax + 4], ecx
mov dword [0x717990], eax
mov eax, dword [0x717990]
mov dword [esp + 0x14], eax
mov ecx, dword [eax + 8]
mov dword [esp + 0x10], ecx
lea edx, [eax + 8]
mov dword [esp], edx
mov dword [esp + 4], 1
call fcn.004022e0
mov eax, dword [esp + 0x10]
lea eax, [eax + eax*4]
mov ecx, dword [esp + 0x14]
lea edi, [ecx + eax*4 + 0x10]
mov edx, dword [0x717c00]
lea ebx, [ecx + eax*4 + 0x1c]
lea ebp, [ecx + eax*4 + 0x20]
lea esi, [ecx + eax*4 + 0x14]
test edx, edx
jne 0x4173f1
mov edx, dword [esp + 0x20]
mov dword [ecx + eax*4 + 0x10], edx
jmp 0x4173fe
mov edx, eax
mov eax, dword [esp + 0x20]
call fcn.00464240
mov eax, edx
mov edx, dword [esp + 0x24]
mov dword [ecx + eax*4 + 0x18], edx
mov edx, dword [0x717c00]
test edx, edx
jne 0x41742a
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 0x41744b
mov edi, ebx
mov eax, dword [esp + 0x28]
call fcn.00464240
mov edi, ebp
mov eax, dword [esp + 0x2c]
call fcn.00464240
mov edi, esi
mov eax, dword [esp + 0x1c]
call fcn.00464240
mov byte [0x7178d1], 1
lea eax, [0x71798c]
mov dword [esp], eax
call fcn.0040a680
add esp, 0x18
ret
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
lea ecx, [0x6bc334]
movzx ebx, byte [ecx + ebx]
lea ebp, [0x717ee0]
mov byte [ebp + edx], bl
lea eax, [edx + 1]
cmp eax, 0x80
jl 0x417464
jmp 0x417380
lea eax, [0x5d788b]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.004376f0
nop
call fcn.00462e70
jmp fcn.004172e0