joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10065c71
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.10065bed
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x10065de0
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x10065de0
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x10065d95
jg 0x10065ccd
test eax, eax
je 0x10065d8b
push 1
push 0x1000
call fcn.10056457
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10065cf0
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x10065d82
push 0x8000
push ebx
call fcn.10065b1e
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x10065d19
jg 0x10065d14
cmp ecx, 0x1000
jb 0x10065d19
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.1005a2bf
add esp, 0x10
cmp eax, 0xffffffff
je 0x10065d5e
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 0x10065d14
jl 0x10065d45
test ecx, ecx
jne 0x10065d06
push dword [ebp - 0xc]
push ebx
call fcn.10065b1e
push esi
call fcn.10054f22
add esp, 0xc
xor ebx, ebx
jmp 0x10065dee
cmp byte [edi + 0x24], 0
je 0x10065d75
cmp dword [edi + 0x20], 5
jne 0x10065d75
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x10065d80
mov ebx, dword [edi + 0x18]
jmp 0x10065d82
xor ebx, ebx
push esi
call fcn.10054f22
pop ecx
jmp 0x10065dee
test ecx, ecx
jg 0x10065d57
jl 0x10065d95
test eax, eax
jae 0x10065d57
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1005b699
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x10065db5
cmp byte [edi + 0x1c], 0
je 0x10065d57
jmp 0x10065de6
push ebx
call fcn.100593e8
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x10065d57
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 0x10065dee
cmp byte [edi + 0x1c], 0
je 0x10065deb
mov ebx, dword [edi + 0x18]
jmp 0x10065dee
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.1005b699
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10066d50
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10066d7d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10066d7d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401259
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 0x40128e
mov ecx, dword [edx + 0xc]
cmp dword [ebp + 0xc], ecx
jb 0x40128b
mov eax, dword [edx + 8]
add eax, ecx
cmp dword [ebp + 0xc], eax
jb 0x401297
add edx, 0x28
cmp edx, esi
jne 0x401279
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x401294

Function at 0x4016dc
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40171b
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40171b
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40171b
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40171b
cmp dword [ecx + 0x74], 0xe
jbe 0x40171b
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x401318
Capabilities:
Create process on windows

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push ebx
push ecx
sub esp, 0x9c
call fcn.00413490
mov dword [ebp - 0x1c], str.sudachi.exe__.gamesLife_is_Strange_Double_Exposure__0100B2301F4A8000___v65536___1G1U_.xci_
lea ebx, [ebp - 0x70]
mov al, 0
mov edx, 0x44
mov edi, ebx
mov ecx, edx
rep stosb byte es:[edi], al
mov dword [ebp - 0x70], 0x44
mov dword [ebp - 0x44], 1
mov word [ebp - 0x40], 0
lea ebx, [ebp - 0x2c]
mov al, 0
mov edx, 0x10
mov edi, ebx
mov ecx, edx
rep stosb byte es:[edi], al
lea eax, [ebp - 0x2c]
mov dword [esp + 0x24], eax
lea eax, [ebp - 0x70]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x8000000
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov dword [esp], 0
call sub.KERNEL32.dll_CreateProcessA
sub esp, 0x28
test eax, eax
setne al
test al, al
je 0x401423
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call sub.KERNEL32.dll_WaitForSingleObject
sub esp, 8
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sub.KERNEL32.dll_CloseHandle
sub esp, 4
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call sub.KERNEL32.dll_CloseHandle
sub esp, 4
mov dword [esp + 4], str.Command_executed_successfully.
mov dword [esp], 0x4740c0
call fcn.004696f8
mov dword [esp + 4], 0x467618
mov dword [esp], eax
call fcn.004483fc
jmp 0x40145a
call sub.KERNEL32.dll_GetLastError
mov ebx, eax
mov dword [esp + 4], str.Failed_to_execute_command._Error_code:
mov dword [esp], 0x474160
call fcn.004696f8
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.004486e0
mov dword [esp + 4], 0x467618
mov dword [esp], eax
call fcn.004483fc
mov eax, 0
lea esp, [ebp - 0xc]
add esp, 0
pop ecx
pop ebx
pop edi
leave
lea esp, [ecx - 4]
ret

Function at 0x406c10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov eax, dword [eax + 0x10]
mov dword [esp], eax
call sub.msvcrt.dll__read
mov ebx, eax
cmp eax, 0xffffffff
je 0x406c48
mov eax, ebx
add esp, 0x1c
pop ebx
pop esi
pop edi
leave
ret
call sub.msvcrt.dll__errno
cmp dword [eax], 4
je 0x406c1f
mov eax, ebx
add esp, 0x1c
pop ebx
pop esi
pop edi
leave
ret
Function at 0x413180
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
test ecx, ecx
mov dword [ebp - 0xc], ebx
mov ebx, eax
mov dword [ebp - 8], esi
mov esi, edx
mov dword [ebp - 4], edi
mov edi, ecx
jne 0x4131a6
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x38]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.KERNEL32.dll_VirtualQuery
sub esp, 0xc
test eax, eax
je 0x41323a
mov eax, dword [ebp - 0x24]
cmp eax, 4
je 0x4131f5
cmp eax, 0x40
je 0x4131f5
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x24]
cmp eax, 4
je 0x413199
cmp eax, 0x40
je 0x413199
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
jmp 0x413199
mov dword [esp + 8], 0x34
mov dword [esp + 4], str..._.._runtime_pseudo_reloc.c
mov dword [esp], str.VirtualQuery__addr__b__sizeof_b__
call sub.msvcrt.dll__assert
lea esi, [esi]
lea edi, [edi]

Function at 0x413768
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, dword [0x47a058]
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x4137a4
mov dword [ebx + 0x24], eax
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.0041ca30
test eax, eax
sete al
movzx eax, al
mov dword [ebx + 0x28], eax
add esp, 0x14
pop ebx
leave
ret
call sub.KERNEL32.dll_GetLastError
jmp 0x413792
Function at 0x4138c8
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
mov ebx, eax
mov esi, edx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x20], eax
mov edx, dword [ebx + 0x10]
mov dword [ebp - 0x1c], edx
mov eax, dword [esi]
jmp 0x4138f1
mov dword [eax + 0x20], edi
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [esi], eax
test eax, eax
je 0x4139b8
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x2c], eax
xor edi, edi
mov eax, 0xa
mov ecx, dword [ebp - 0x1c]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
mov edx, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 4], eax
mov dword [esp], 1
call dword [ebp - 0x20]
test eax, eax
jne 0x4139dc
cmp edi, 5
je 0x4139e1
mov edx, dword [ebp - 0x2c]
test edx, edx
je 0x41397b
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
mov eax, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 4], 0xa
mov dword [esp], 1
call dword [ebp - 0x2c]
mov edi, eax
cmp eax, 7
je 0x4139e1
cmp eax, 8
jne 0x4139dc
mov eax, dword [esi]
mov edi, dword [eax]
mov eax, dword [0x47a058]
mov edx, dword [eax + 0x28]
test edx, edx
js 0x4139cc
test edx, edx
je 0x4138e8
mov dword [esp + 4], edi
mov eax, dword [eax + 0x24]
mov dword [esp], eax
call sub.KERNEL32.dll_TlsSetValue
sub esp, 8
test eax, eax
jne 0x4138eb
call sub.KERNEL32.dll_GetLastError
jmp 0x4138eb
mov dword [ebp - 0x2c], 0
mov edi, 5
mov al, 0x1a
jmp 0x413906
call fcn.004137ac
mov eax, dword [0x47a058]
mov edx, dword [eax + 0x28]
jmp 0x41398b
mov edi, 2
mov eax, edi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret
Function at 0x413bbc
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
mov ebx, dword [ebp + 8]
mov eax, dword [0x47a058]
mov edx, dword [eax + 0x28]
test edx, edx
js 0x413ca1
test edx, edx
jne 0x413c40
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
test eax, eax
je 0x413c33
lea esi, [ebp - 0x20]
jmp 0x413bf3
mov dword [ebp - 0x20], eax
mov eax, dword [eax + 0x18]
test eax, eax
je 0x413c2a
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
mov edx, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 4], 1
mov dword [esp], 1
call eax
cmp eax, 6
je 0x413c68
cmp eax, 8
jne 0x413c94
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
test eax, eax
jne 0x413bf0
mov eax, 5
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret
mov edi, dword [eax + 0x24]
call sub.KERNEL32.dll_GetLastError
mov esi, eax
mov dword [esp], edi
call sub.KERNEL32.dll_TlsGetValue
push edi
mov dword [esp], esi
mov dword [ebp - 0x2c], eax
call sub.KERNEL32.dll_SetLastError
push ecx
mov eax, dword [ebp - 0x2c]
jmp 0x413bdf
mov dword [ebx + 0xc], 0
mov eax, dword [ebp - 0x20]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov edx, esi
mov eax, ebx
call fcn.00413824
cmp eax, 7
jne 0x413c38
lea eax, [ebp - 0x1c]
mov edx, esi
call fcn.004139ec
nop
mov eax, 3
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret
call fcn.004137ac
mov eax, dword [0x47a058]
mov edx, dword [eax + 0x28]
jmp 0x413bd8
Function at 0x413cb4
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + 0xc]
test ecx, ecx
jne 0x413cd8
mov dword [esp], ebx
call fcn.00413bbc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret
mov eax, dword [0x47a058]
mov edx, dword [eax + 0x28]
test edx, edx
js 0x413d2c
test edx, edx
jne 0x413d08
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
lea esi, [ebp - 0x20]
mov edx, esi
mov eax, ebx
call fcn.004138c8
cmp eax, 7
je 0x413d3c
call sub.msvcrt.dll_abort
nop
mov edi, dword [eax + 0x24]
call sub.KERNEL32.dll_GetLastError
mov esi, eax
mov dword [esp], edi
call sub.KERNEL32.dll_TlsGetValue
push edx
mov dword [esp], esi
mov dword [ebp - 0x2c], eax
call sub.KERNEL32.dll_SetLastError
push eax
mov eax, dword [ebp - 0x2c]
jmp 0x413ceb
call fcn.004137ac
mov eax, dword [0x47a058]
mov edx, dword [eax + 0x28]
jmp 0x413ce4
lea eax, [ebp - 0x1c]
mov edx, esi
call fcn.004139ec
nop
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov edi, dword [ebp + 8]
mov eax, dword [0x47a058]
mov edx, dword [eax + 0x28]
test edx, edx
js 0x413dc8
test edx, edx
jne 0x413da4
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x1c], eax
lea esi, [ebp - 0x1c]
jmp 0x413d7d
cmp ebx, 5
je 0x413d9a
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
cmp eax, 1
sbb ebx, ebx
and ebx, 5
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov dword [esp], esi
call edi
test eax, eax
je 0x413d70
mov ebx, 3
mov eax, ebx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret
mov esi, dword [eax + 0x24]
call sub.KERNEL32.dll_GetLastError
mov ebx, eax
mov dword [esp], esi
call sub.KERNEL32.dll_TlsGetValue
push esi
mov dword [esp], ebx
mov dword [ebp - 0x2c], eax
call sub.KERNEL32.dll_SetLastError
push ebx
mov eax, dword [ebp - 0x2c]
jmp 0x413d67
call fcn.004137ac
mov eax, dword [0x47a058]
mov edx, dword [eax + 0x28]
jmp 0x413d60

Function at 0x413dd8
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov ebx, dword [ebp + 8]
mov eax, dword [0x47a058]
mov edx, dword [eax + 0x28]
test edx, edx
js 0x413e5c
test edx, edx
jne 0x413e38
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov edi, dword [ebx + 0xc]
test edi, edi
jne 0x413e1c
lea esi, [ebp - 0x20]
mov edx, esi
mov eax, ebx
call fcn.00413824
cmp eax, 7
je 0x413e2d
call sub.msvcrt.dll_abort
nop
lea esi, [ebp - 0x20]
mov edx, esi
mov eax, ebx
call fcn.004138c8
cmp eax, 7
jne 0x413e15
lea eax, [ebp - 0x1c]
mov edx, esi
call fcn.004139ec
nop
mov edi, dword [eax + 0x24]
call sub.KERNEL32.dll_GetLastError
mov esi, eax
mov dword [esp], edi
call sub.KERNEL32.dll_TlsGetValue
push edx
mov dword [esp], esi
mov dword [ebp - 0x2c], eax
call sub.KERNEL32.dll_SetLastError
push eax
mov eax, dword [ebp - 0x2c]
jmp 0x413df7
call fcn.004137ac
mov eax, dword [0x47a058]
mov edx, dword [eax + 0x28]
jmp 0x413df0
Function at 0x5ac560
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x146000]
push edi
or ebp, 0xffffffff
jmp 0x5ac582
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5ac589
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5ac578
mov eax, 1
add ebx, ebx
jne 0x5ac59b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5ac5ac
jne 0x5ac5cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5ac5cb
dec eax
add ebx, ebx
jne 0x5ac5b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5ac590
add ebx, ebx
jne 0x5ac5c7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5ac61d
xor ecx, ecx
sub eax, 3
jb 0x5ac5e3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5ac652
sar eax, 1
mov ebp, eax
jmp 0x5ac5ee
add ebx, ebx
jne 0x5ac5ee
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5ac5bc
inc ecx
add ebx, ebx
jne 0x5ac5fc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5ac5bc
add ebx, ebx
jne 0x5ac609
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5ac5fe
jne 0x5ac61a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5ac5fe
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5ac63c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5ac62e
jmp 0x5ac57e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5ac63c
add edi, ecx
jmp 0x5ac57e
pop esi
mov edi, esi
mov ecx, 0x1a18
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5ac65a
cmp byte [edi], 0x25
jne 0x5ac65a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x5ac65f
lea edi, [esi + 0x1a9000]
mov eax, dword [edi]
or eax, eax
je 0x5ac6d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1baac0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1bab74]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5ac68c
mov ecx, edi
jns 0x5ac6bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1bab78]
or eax, eax
je 0x5ac6d1
mov dword [ebx], eax
add ebx, 4
jmp 0x5ac6a9
call dword [esi + 0x1bab88]
mov ebp, dword [esi + 0x1bab7c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1e7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x5ac70b
sub esp, 0xffffff80
jmp 0x40d4a8

Function at 0x40c006
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ecx, 0xcbf
mov ebx, edx
xor word [eax], dx
lea edx, [ebx + edx]
xchg dh, dl
lea eax, [eax + 2]
loop 0x40c00e
pop ebx
ret
Function at 0xaee390
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x697000]
push edi
jmp 0xaee3aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xaee3b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xaee3a0
mov eax, 1
add ebx, ebx
jne 0xaee3c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xaee3d4
jne 0xaee3f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xaee3f3
dec eax
add ebx, ebx
jne 0xaee3e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xaee3b8
add ebx, ebx
jne 0xaee3ef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xaee445
xor ecx, ecx
sub eax, 3
jb 0xaee40b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xaee47a
sar eax, 1
mov ebp, eax
jmp 0xaee416
add ebx, ebx
jne 0xaee416
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xaee3e4
inc ecx
add ebx, ebx
jne 0xaee424
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xaee3e4
add ebx, ebx
jne 0xaee431
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xaee426
jne 0xaee442
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xaee426
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xaee464
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xaee456
jmp 0xaee3a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xaee464
add edi, ecx
jmp 0xaee3a6
pop esi
mov edi, esi
mov ecx, 0x3ee5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xaee482
cmp byte [edi], 0x11
jne 0xaee482
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0xaee487
lea edi, [esi + 0x6e7000]
mov eax, dword [edi]
or eax, eax
je 0xaee4ff
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd03eb0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd0402c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xaee4b4
mov ecx, edi
jns 0xaee4e3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xd04030]
or eax, eax
je 0xaee4f9
mov dword [ebx], eax
add ebx, 4
jmp 0xaee4d1
call dword [esi + 0xd04040]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0xaee530
cmp al, 0xef
ja 0xaee523
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0xaee505
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0xaee512
mov ebp, dword [esi + 0xd04034]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0xaee564
sub esp, 0xffffff80
jmp 0x427f4a
Function at 0x4013e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
mov edi, ecx
push 1
push 0
lea ebx, [edi + 8]
push ebx
push dword [edi + 0x508]
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 4
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x401460
lea eax, [ebp - 8]
push eax
lea eax, [edi + 0x50c]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [edi + 0x408]
push eax
push dword [ebp - 4]
call esi
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x40145a
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 4]
push eax
push 1
push 0
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4014a4
lea eax, [ebp - 8]
push eax
lea eax, [edi + 0x50c]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [edi + 0x408]
push eax
push dword [ebp - 4]
call esi
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x40144e
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4014b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
mov edi, ecx
push 1
push 0
lea ebx, [edi + 8]
push ebx
push dword [edi + 0x508]
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 3
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x401530
lea eax, [ebp - 8]
push eax
lea eax, [edi + 0x50c]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [edi + 0x408]
push eax
push dword [ebp - 4]
call esi
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x40152a
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 4]
push eax
push 1
push 0
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x401574
lea eax, [ebp - 8]
push eax
lea eax, [edi + 0x50c]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [edi + 0x408]
push eax
push dword [ebp - 4]
call esi
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x40151e
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret