joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1007b663
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]

Function at 0x1007bd0b
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x1007bcfa
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x1007bd18
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
add dword [eax], eax
add byte [ebp + 0xf8c784], cl
add byte [eax], al
add dword [eax], eax
add byte [ebp + 0xf8c784], cl
add byte [eax], al
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x1007bd76
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x1007bd5d
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x1007bd66
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x1007bd70
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x1007bd52
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
js 0x1007bd7c
invalid
jmp dword [esi - 0x75]
dec ebp
or al, 0x66
cmp ecx, dword [eax + 6]
jbe 0x1007bcdc
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x1007bdc3
dec eax
je 0x1007bdba
sub eax, 3
je 0x1007bdb1
mov dword [ebp - 4], 0x40
jmp 0x1007bde0
mov dword [ebp - 4], 4
jmp 0x1007bdc6
mov dword [ebp - 4], 0x20
jmp 0x1007bdc6
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
invalid
xchg ebp, eax

Function at 0x1007befe
Capabilities:
Contain obfuscated stackstrings

Disassembly:
ror byte [ebp - 0x33243], 0xff
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
dec dword [edx]
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
invalid
test dword [eax - 4], edx
invalid
invalid
Function at 0x1007c2b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push eax
call fcn.1007b633
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1007b5e8
add esp, 0xc
mov dword [ebp - 0x33c], eax
call fcn.1007b623
nop
jecxz 0x1007c318
sbb byte [eax + 4], ch
add dword [eax], eax
add byte [ebp - 0x3337b], cl
call dword [eax - 1]
jne 0x1007c2ec
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x1007c317
push 0xc6fffffc
test dword [edx + edi*8 - 0x7cfe0001], edi
mov ebp, 0xfffffc68
add byte [edi + edx - 0x7d], dh
mov ebp, 0xfffffc68
add byte [edi], cl
test ah, dl
add dword [eax], eax
add byte [ebx + 0xf010c7d], al
invalid
cmp dword [ebp - 0x398], 0
je 0x1007c4e1
cmp dword [ebp + 0xc], 1
invalid
invalid

Function at 0x10091d49
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100ceddc
push 0x100cedd4
push str.FlsAlloc
push 0x1e
call fcn.10091b76
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10091d7d
push dword [ebp + 8]
mov ecx, esi
call dword [0x100a83cc]
call esi
jmp 0x10091d83
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10091dc7
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100cedec
push 0x100cede4
push str.FlsGetValue
push 0x20
call fcn.10091b76
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10091dfe
push dword [ebp + 8]
mov ecx, esi
call dword [0x100a83cc]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x10093989
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100937fa

Function at 0x10093d83
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.10078e40
mov eax, dword [0x100e5dd4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.10086401
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x10093dc5
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x10093f21
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.100786a0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x100f3ae8]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.10094401
mov ecx, dword [esi*4 + 0x100f3ae8]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x10093f1a
cmp eax, dword [edi + ecx + 0x24]
jne 0x10093f1a
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10093f1a
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10094401
add esp, 0x14
test edx, edx
jl 0x10093f1a
jg 0x10093e90
test eax, eax
jb 0x10093f1a
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x10093f1a
jl 0x10093eaa
cmp dword [ebp - 0x1008], eax
ja 0x10093f1a
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x10093ec8
test ebx, ebx
je 0x10093f01
cmp ecx, edi
jae 0x10093f01
mov al, byte [ecx]
cmp al, 0xd
jne 0x10093ee2
lea eax, [edi - 1]
cmp ecx, eax
jae 0x10093eee
cmp byte [ecx + 1], 0xa
jne 0x10093eee
inc ecx
jmp 0x10093eee
movzx eax, al
movsx eax, byte [eax + 0x100e6780]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x10093ec8
cmp edx, ebx
jne 0x10093ec8
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x10093f1f
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10077d23
leave
ret
Function at 0x100968f6
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 0x10096993
push ebx
push esi
call fcn.100968bf
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.10096808
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10096940
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10096992
push edi
push eax
call fcn.1008e8ac
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10096960
call fcn.1008e872
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10096991
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10096808
add esp, 0x20
test eax, eax
jne 0x1009697f
push edi
call fcn.1008e872
jmp 0x10096987
push ebx
call fcn.1008e872
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 0x10096996
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x100969a7
pop esi
ret
push ebx
push edi
push esi
call fcn.100968bf
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.1008e8ac
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x100969cf
push ebx
push esi
push edi
call fcn.1007b220
add esp, 0xc
push 0
call fcn.1008e872
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x10096d93
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100969e4
Function at 0x10097e47
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x100f3ae8]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x10097e87
cmp byte [ebx], 0xa
jne 0x10097e87
or byte [eax + edi + 0x28], 4
jmp 0x10097e8c
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x10097f8a
mov al, byte [edx]
cmp al, 0x1a
je 0x10097f6c
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x10097ebb
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x10097ee0
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x10097eea
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x10097e9d
jmp 0x10097f8a
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10097f67
cmp dword [ebp - 0xc], 0
je 0x10097f67
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x100f3ae8]
test byte [eax + edi + 0x28], 0x48
je 0x10097f41
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x10097f2c
mov byte [esi], dl
jmp 0x10097f3d
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x100f3ae8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x10097f8a
cmp byte [ebp - 1], 0xa
jne 0x10097f50
cmp esi, ebx
jne 0x10097f50
mov byte [esi], 0xa
jmp 0x10097f89
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.1009441f
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x10097f8a
mov byte [esi], 0xd
jmp 0x10097f89
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x100f3ae8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x10097f86
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x10097f8a
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10097f93
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x100f3ae8]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x10097fd6
cmp word [esi], dx
jne 0x10097fd6
or byte [edi + eax + 0x28], 4
jmp 0x10097fdb
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x10098114
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x100980f4
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x1009801d
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x10098053
cmp eax, edx
jae 0x1009805f
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
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 - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x10097ff5
jmp 0x10098114
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100980f0
cmp dword [ebp - 0x14], 0
je 0x100980f0
mov eax, dword [ebx*4 + 0x100f3ae8]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x100980c8
mov cx, word [ebp - 4]
pop eax
cmp cx, ax
je 0x1009810e
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x100f3ae8]
push 0xa
mov byte [edi + eax + 0x2a], cl
mov eax, dword [ebx*4 + 0x100f3ae8]
shr cx, 8
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x100f3ae8]
pop ecx
mov byte [edi + eax + 0x2c], cl
jmp 0x10098111
pop ebx
cmp word [ebp - 4], bx
jne 0x100980d9
cmp esi, dword [ebp + 0xc]
jne 0x100980d9
mov word [esi], bx
jmp 0x10098111
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.1009441f
add esp, 0x10
cmp word [ebp - 4], bx
je 0x10098114
push 0xd
jmp 0x1009810d
mov ecx, dword [ebx*4 + 0x100f3ae8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x1009810b
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x10098114
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100a00f1
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]
push dword [ebp + 0xc]
push ebx
call fcn.100a006d
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x100a0269
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x100a0269
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x100a0218
jg 0x100a014a
test eax, eax
je 0x100a020e
push 1
push 0x1000
call fcn.10091878
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x100a0170
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x100a0205
push 0x8000
push ebx
call fcn.1009ff9e
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x100a019c
jg 0x100a0197
cmp ecx, 0x1000
jb 0x100a019c
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.100935fa
add esp, 0x10
cmp eax, 0xffffffff
je 0x100a01e1
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 0x100a0197
jl 0x100a01c8
test ecx, ecx
jne 0x100a0189
push dword [ebp - 0xc]
push ebx
call fcn.1009ff9e
push esi
call fcn.1008e872
add esp, 0xc
xor edi, edi
jmp 0x100a027a
cmp byte [edi + 0x24], 0
je 0x100a01f8
cmp dword [edi + 0x20], 5
jne 0x100a01f8
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x100a0203
mov edi, dword [edi + 0x18]
jmp 0x100a0205
xor edi, edi
push esi
call fcn.1008e872
pop ecx
jmp 0x100a027a
test ecx, ecx
jg 0x100a01da
jl 0x100a0218
test eax, eax
jae 0x100a01da
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1009441f
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x100a023b
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x100a01da
jmp 0x100a0272
push ebx
call fcn.1009ddad
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x100a01da
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x100a027a
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x100a0277
mov edi, dword [edi + 0x18]
jmp 0x100a027a
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.1009441f
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x8f8058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.008f81a8
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 0x8f807e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8f806a
add dl, dl
jne 0x8f8089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8f80dc
xor eax, eax
add dl, dl
jne 0x8f8096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8f817d
add dl, dl
jne 0x8f80a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8f80b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8f80bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8f80c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x8f80d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x8f8075
mov eax, 1
add dl, dl
jne 0x8f80ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8f80f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8f80e1
sub eax, ebx
mov ebx, 1
jne 0x8f8128
mov ecx, 1
add dl, dl
jne 0x8f810e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x8f8119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8f8105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8f8075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x8f813f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x8f814a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8f8136
cmp eax, 0x7d00
jae 0x8f816d
cmp eax, 0x500
jb 0x8f8168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8f8075
cmp eax, 0x7f
ja 0x8f8170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8f8075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x8f819e
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 0x8f8075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40915c
nop
mov ecx, 0x26061164
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43104e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x431024
nop
mov eax, section..reloc
mov ebx, 0x42f3f8
nop
nop
mov ecx, 0x293e1254
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x431084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x4211c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x414015
lea edi, [esi - 0x13015]
push edi
or ebp, 0xffffffff
jmp 0x4211e2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4211e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4211d8
mov eax, 1
add ebx, ebx
jne 0x4211fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4211f0
jne 0x42120c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4211f0
xor ecx, ecx
sub eax, 3
jb 0x421220
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x421292
mov ebp, eax
add ebx, ebx
jne 0x42122b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x421238
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42125c
inc ecx
add ebx, ebx
jne 0x421248
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42123d
jne 0x421259
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42123d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42127c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42126d
jmp 0x4211de
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42127c
add edi, ecx
jmp 0x4211de
pop esi
mov edi, esi
mov ecx, 0x403
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42129a
cmp byte [edi], 7
jne 0x42129a
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 eax, ebx
loop 0x42129f
lea edi, [esi + 0x1f000]
mov eax, dword [edi]
or eax, eax
je 0x42130e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x213a0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x213f0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4212cc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x213f4]
or eax, eax
je 0x421308
mov dword [ebx], eax
add ebx, 4
jmp 0x4212e9
call dword [esi + 0x213f8]
popal
jmp section.UPX0
Function at 0x412722
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x4186e0], 0
push ebx
push esi
mov esi, 0x4186e8
jne 0x41274e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push esi
mov dword [0x418700], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x4186e0], 1
push dword [0x418700]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
jne 0x4127eb
push 0x14
push 8
push dword [0x418068]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x412815
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x4186e4]
test eax, eax
je 0x412790
mov dword [eax], ebx
push edi
push esi
mov dword [ebx + 4], eax
mov dword [0x4186e4], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edi, [ebx + 0x10]
push 0
push 0
push 0x100000
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 8
push 0xffffffffffffffff
push ebx
push 0x41281a
push dword [edi]
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
push ebx
push dword [0x418700]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
push 0xc
push 0
push dword [0x418068]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x412815
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
mov dword [ebx + 8], eax
pop esi
pop ebx
ret 8

Function at 0x438cae
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x438a14
sub edx, 0x1cd9e00d
call fcn.00438ceb
and ebx, ebx
xor dword [edi], eax
sub ebx, 0xeae5e5d2
sub edx, 0xccbf256b
or edx, edx
inc edi
add ebx, 0xc79a1f8b
sub edx, 0xcb6ace59
cmp edi, esi
jne fcn.00438cae
and ebx, edx
add ebx, 0x434fa6b6
ret