joyce8/EMBER2024-capa huggingface dataset:
Function at 0x102ab7e1
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 2]
mov dword [esp + 0x10], ebp
push esp
mov byte [esp + 1], cl
mov word [esp], sp
push word [esp + 2]
jmp 0x102aa521
mov byte [esp], dh
push word [esp]
push word [esp + 1]
jmp 0x102aa6b8
jae 0x102aa6a6
mov dword [esp + 0xc], esp
push dx
jmp 0x102aa5ad
mov dword [esp + 0xc], esp
push dx
mov byte [esp], dh
push word [esp]
push word [esp + 1]
push dword [esp + 5]
jmp 0x102aa575
mov byte [esp], ch
push dword [esp + 2]
jmp 0x102aa641

Function at 0x102af473
Capabilities:
Execute anti-debugging instructions

Disassembly:
pushfd
call 0x102af473
int1
lea esp, [esp]
jmp 0x102af5a0
lea esp, [esp + 5]
lea esp, [esp + 3]
push eax
push ecx
call fcn.102af4be

Function at 0x102b7499
Capabilities:
Encode data using xor

Disassembly:
jmp 0x102b74ee
push esi
lea esp, [esp + 4]
jmp 0x1029d062

Function at 0x105af1ee
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov si, word [esp + 7]
lea esi, [ebx + ebp]
add ah, dl
mov ax, bp
xchg dword [esp + 5], eax
jmp 0x105af2ca
clc
rdtsc
mov byte [esp + 4], ah
sub esp, 0xc
neg esi
mov ax, word [esp + 5]
sete dh
rdtsc
lea esp, [esp + 0x12]
jmp 0x105af243
xchg si, ax
mov eax, dword [esp + 8]
xchg word [esp + 4], dx
neg dl
xchg si, ax
mov esi, dword [esp + 0xe]
jmp 0x105af26a

Function at 0x105af319
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x105af35a
lea eax, [ebx + edi]
mov al, cl
mov eax, ecx
mov esi, eax
lea esp, [esp + 3]
mov dx, 0x13d4
jmp 0x105af344

Function at 0x105af726
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x105af75e
mov si, sp
xchg dx, ax
pop dword [esp + 5]
not ah
inc ax
mov esi, 0x85732365
jmp 0x105af7a1
lea eax, [esp + ecx]
mov dword [esp], edi
mov al, bh
seto dl
mov word [esp + 0xa], bp
add esp, 0
jmp 0x105af728
cld
clc
bswap edx
lea esi, [ecx + ebx]
bswap esi
push dword [esp + 1]
jmp 0x105af7bb
mov word [esp + 5], di
not edx
mov dx, word [esp + 9]
adc dx, 0x4135
mov eax, 0x85177573
xchg esi, eax
jmp 0x105af78b
xchg ah, al
push dword [esp]
mov esi, 0x91efba1a
sub esp, 0xf
not dl
bswap esi
jmp 0x105afa16
lea eax, [ebx + esi]
xchg esi, edx
sub esp, 0x14
lea esp, [esp + 0xc]
lea esi, reloc.MSVCRT.dll_strncpy
jmp 0x105af81d
mov si, word [esp]
rdtsc
setg dl
cmp dx, bx
cmc
mov byte [esp], ch
jmp 0x105af7f2
mov dh, cl
push dword [esp + 1]
pop esi
bsf edx, ebx
pop ax
bswap eax
jmp 0x105af875
mov si, word [esp + 1]
neg si
xchg dword [esp], eax
xchg word [esp + 3], dx
xchg byte [esp + 3], al
lea esp, [esp + 5]
jmp 0x105af80b
sub esp, 0x12
mov dx, di
pop eax
push word [esp + 0xa]
mov word [esp + 0x15], dx
mov dword [esp + 8], ecx
jmp 0x105af89c
xchg ah, dl
pushfd
mov eax, 0x8419bcdb
std
rdtsc
mov edx, dword [esp + 6]
jmp 0x105af856
mov dx, di
call fcn.105af886
ljmp 0x89
xchg dword [esp + 2], eax
mov si, 0x4a09
add esp, 9
rdtsc
mov eax, dword [esp + 4]
rdtsc
jmp 0x105af83c
lea esp, [esp + 0x14]
rdtsc
mov dl, ch
not eax
push dword [esp]
pop si
jmp 0x105af8b5
Function at 0x105af947
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov si, word [esp + 0x1e]
xchg dx, ax
pop ax
jmp 0x105af96e
xchg word [esp + 0x22], si
mov si, 0xa7e0
mov byte [esp + 0x13], dh
rol ax, 8
mov dword [esp + 2], edi
mov dh, 0xed
jmp 0x105af9d4
lea esp, [esp + 0x27]
bswap edx
pop ax
mov ax, 0x5f70
xchg edx, eax
pop eax
jmp 0x105af9a1
sub esp, 2
rdtsc
xchg al, dl
bswap eax
cld
lea edx, reloc.MSVCRT.dll_strncpy
jmp 0x105af9b7

Function at 0x105afdd4
Capabilities:
Packed with generic packer

Disassembly:
pushfd
call 0x105afda3
test byte [ebx], dl
and esi, 0x15
cld
sbb dl, byte [edx + ecx - 0x738d6393]
add dword [ecx + reloc.MSVCRT.dll_strncpy], edx
add edi, dword [edx + reloc.MSVCRT.dll_strncpy]
lea esp, [esp + 0x23]
lea esp, [esp + 0x23]
jmp 0x105afdb9

Function at 0x105c6661
Capabilities:
Access peb ldr_data

Disassembly:
inc dword [eax + 0x1029106d]
sub dword [eax], edx
pushfd
std
clc
call fcn.105aed48
mov ax, word [esp + 0x18]
seto al
call fcn.105aee6d
jo 0x105aede7
xor dword [eax - 0x6a], reloc.MSVCRT.dll_strncpy
and al, 0x24
cld
xchg si, ax
sub esp, 0x1b
lea esi, [esi - 0xfe]
lea eax, reloc.MSVCRT.dll_strncpy
jmp 0x105aedf1
jmp 0x105af05d
call 0x105af062
jmp 0x105afc71
call 0x105af1ba
jmp 0x105c6706
pop eax
sub eax, 0x105af062
cmp dword [eax + reloc.MSVCRT.dll_strncpy], 0
jmp 0x105afccc
je 0x105aede3
lea esp, [esp + 8]
popal
jmp 0x105afdda
mov byte [esp + 0xe], dl
push word [esp + 8]
mov dword [esp + 0x15], esi
push word [esp + 0x17]
push word [esp + 0x18]
call fcn.105afdd4
lodsd eax, dword [esi]
sub byte [esi - 0x323ed727], bh
inc ebp
aad 0xbc
dec edi
scasd eax, dword es:[edi]
je 0x105afded
mov fs, word [esi - 0x71]
inc esp
and al, 9
pop word [esp + 9]
mov byte [esp + 0x11], bh
mov word [esp + 0x10], di
push dword [esp + 5]
mov dword [esp + 0xf], ebp
push dword [esp + 5]
jmp 0x105afd5c
cmp dword [esp + 8], 0
jmp 0x105afe3f
mov bh, 0x9e
invalid
pop word [esp]
pushal
lea esp, [esp + 5]
pop dword [esp + 9]
pop dword [esp + 0xd]
mov dword [esp + 9], edx
jmp 0x105afd87
jne fcn.10037753
pushal
mov dword [esp + 0x1b], ebp
mov byte [esp + 0x1b], ch
call fcn.105afe29
adc byte [esi], 0x84
jecxz 0x105afe76
stosd dword es:[edi], eax
adc cl, byte [ebx + 0x228d7e1b]
scasb al, byte es:[edi]
push dword [esp + 5]
mov byte [esp], al
mov word [esp + 6], sp
pop dword [esp + 1]
mov word [esp + 5], cx
lea esp, [esp + 4]
jmp 0x105afe0f
and al, 4
jmp 0x105c668c
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], esi
push cx
pushal
mov dword [esp], eax
lea esp, [esp + 2]
jmp 0x105c6758
push eax
jmp 0x105af1b5
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
jmp 0x105c66bc
pop eax
sub eax, 0x5af1ba
push eax
jmp 0x105aeeb0
mov dword [esp + 0x70], edi
lea esp, [esp + 0x70]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
jmp 0x105c66d2
Function at 0x408112
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x408133
jl 0x40812a
test edi, edi
jne 0x408133
xor eax, eax
xor edx, edx
jmp 0x4081f4
cmp dword [ebx + 0x38], 0
je 0x408148
push eax
push edi
push dword [ebp + 8]
call fcn.004081fa
jmp 0x4081f4
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x40818f
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x40818f
cmp eax, edi
jb 0x408169
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.0040aff0
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x408195
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x4081e9
mov ecx, ebx
call fcn.0040795a
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x4081d4
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.004161b1
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x4081e9
jmp 0x4081a7
test edx, edx
je 0x4081e9
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.004161b1
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc

Function at 0x40ac3c
Capabilities:
Parse pe header

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

Function at 0x41d11d
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42f6f8
push 0x42f6f0
push str.FlsAlloc
push 0x1e
call fcn.0041cf8a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41d151
push dword [ebp + 8]
mov ecx, esi
call dword [0x42b148]
call esi
jmp 0x41d157
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x41d19b
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42f708
push 0x42f700
push str.FlsGetValue
push 0x20
call fcn.0041cf8a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41d1d2
push dword [ebp + 8]
mov ecx, esi
call dword [0x42b148]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x41f386
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041f028

Function at 0x41f391
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041f1b7

Function at 0x41f78b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040afa0
mov eax, dword [0x468500]
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.0041c994
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41f7cd
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41f929
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00429640
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 + 0x46a158]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0042095b
mov ecx, dword [esi*4 + 0x46a158]
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 0x41f922
cmp eax, dword [edi + ecx + 0x24]
jne 0x41f922
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 0x41f922
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0042095b
add esp, 0x14
test edx, edx
jl 0x41f922
jg 0x41f898
test eax, eax
jb 0x41f922
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41f922
jl 0x41f8b2
cmp dword [ebp - 0x1008], eax
ja 0x41f922
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41f8d0
test ebx, ebx
je 0x41f909
cmp ecx, edi
jae 0x41f909
mov al, byte [ecx]
cmp al, 0xd
jne 0x41f8ea
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41f8f6
cmp byte [ecx + 1], 0xa
jne 0x41f8f6
inc ecx
jmp 0x41f8f6
movzx eax, al
movsx eax, byte [eax + 0x4687c8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41f8d0
cmp edx, ebx
jne 0x41f8d0
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41f927
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040a419
leave
ret
Function at 0x41fdf9
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 + 0x46a158]
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 0x41fe39
cmp byte [ebx], 0xa
jne 0x41fe39
or byte [eax + edi + 0x28], 4
jmp 0x41fe3e
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41ff3c
mov al, byte [edx]
cmp al, 0x1a
je 0x41ff1e
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41fe6d
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41fe92
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41fe9c
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 0x41fe4f
jmp 0x41ff3c
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 0x41ff19
cmp dword [ebp - 0xc], 0
je 0x41ff19
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x46a158]
test byte [eax + edi + 0x28], 0x48
je 0x41fef3
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41fede
mov byte [esi], dl
jmp 0x41feef
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x46a158]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41ff3c
cmp byte [ebp - 1], 0xa
jne 0x41ff02
cmp esi, ebx
jne 0x41ff02
mov byte [esi], 0xa
jmp 0x41ff3b
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00420979
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41ff3c
mov byte [esi], 0xd
jmp 0x41ff3b
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x46a158]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41ff38
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41ff3c
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41ff45
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 + 0x46a158]
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 0x41ff88
cmp word [esi], dx
jne 0x41ff88
or byte [edi + eax + 0x28], 4
jmp 0x41ff8d
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 0x4200e0
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 0x4200c0
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41ffcf
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x420005
cmp eax, edx
jae 0x420011
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 0x41ffa7
jmp 0x4200e0
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 0x4200bc
cmp dword [ebp - 0x14], 0
je 0x4200bc
mov eax, dword [ebx*4 + 0x46a158]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x420094
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x42005d
mov word [esi], cx
jmp 0x420090
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x46a158]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x46a158]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x46a158]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x4200e0
pop ebx
cmp word [ebp - 4], bx
jne 0x4200a5
cmp esi, dword [ebp + 0xc]
jne 0x4200a5
mov word [esi], bx
jmp 0x4200dd
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00420979
add esp, 0x10
cmp word [ebp - 4], bx
je 0x4200e0
push 0xd
jmp 0x4200d9
mov ecx, dword [ebx*4 + 0x46a158]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4200d7
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4200e0
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 0x4221d0
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 0x42226d
push ebx
push esi
call fcn.00422199
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.00420e1e
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x42221a
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x42226c
push edi
push eax
call fcn.0041baee
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x42223a
call fcn.0041b886
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x42226b
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00420e1e
add esp, 0x20
test eax, eax
jne 0x422259
push edi
call fcn.0041b886
jmp 0x422261
push ebx
call fcn.0041b886
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 0x429440
Capabilities:
Parse pe header

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

Function at 0x42a26f
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Spawn thread to rwx shellcode

Disassembly:
push ebx
push ebp
push esi
push edi
push 0x40
push 0x1000
mov ebx, 0x4ac
xor ebp, ebp
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push ebx
mov edi, 0x468018
mov esi, eax
push edi
call fcn.0042a1ae
push ebx
push edi
push esi
call fcn.0040aff0
add esp, 0x14
call fcn.0042a194
push ebp
push ebp
push 0x436018
lea eax, [esi + 0x188]
push eax
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x403f90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x403f9f
pop dword [ebp - 0x10]
mov eax, 0x403f9f
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x2245635
sub dword [ebp - 0x20], 0xb3d210ea
mov dword [ebp - 0x1c], 0x29545b9f
add dword [ebp - 0x1c], 0x8def0a6
mov dword [ebp - 0x18], 0xdf68451e
add dword [ebp - 0x18], 0x6ce3ff10
mov dword [ebp - 0x14], 0x869e5401
sub dword [ebp - 0x14], 0x869e5401
lea eax, [ebp - 0x20]
push eax
mov eax, 0xd2bfb91f
sub eax, 0xd27e788f
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0xedfe8121
add dword [ebp - 0x20], 0x8673e835
mov dword [ebp - 0x1c], 0x35cd4f99
sub dword [ebp - 0x1c], 0xf460ee24
mov dword [ebp - 0x18], 0xf80efb30
add dword [ebp - 0x18], 0x6b60713c
mov dword [ebp - 0x14], 0xc9b27700
add dword [ebp - 0x14], 0x364d8900
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x3a74e
push 0
call eax
mov ecx, 0x563839fd
add ecx, 0xa9c80ca2
xor esi, esi
add esi, eax
mov edi, 0x41c000
add edi, dword [ebp - 0x10]
mov edx, 0x9e4dd98a
sub edx, 0x3fd3501
add dword [ebp - 0xc], 0x36be4da0
mov ebx, dword [edi]
mov dword [ebp - 0xc], 0x2bee8a86
sub ebx, edx
xor dword [ebp - 0xc], 0xbb41a68a
mov dword [esi], ebx
xor dword [ebp - 8], 0x48c33fb3
add esi, 4
add edi, 0xd20b7531
sub edi, 0xd20b752d
loop 0x4040b3
add eax, 0x10d4f
mov ebx, eax
add eax, 0x87a31569
sub eax, 0x87a31564
mov ecx, 0xc2e49153
sub ecx, 0xc2a49153
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x410b90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 4
mov esi, ecx
call main
pop ecx
xor ecx, ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x410bac
mov dword [eax], ecx
jmp 0x410bae
mov eax, ecx
push ecx
push ecx
push esi
push 0x410c20
push ecx
push ecx
mov dword [esi + 0x10], eax
call dword [sym.imp.kernel32.dll_CreateThread]
mov ecx, dword [esi + 0x10]
pop esi
mov dword [ecx], eax
leave
ret

Function at 0x438c98
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x438a14
or eax, edx
or eax, eax
call fcn.00438cd0
or edx, edx
and edx, eax
push edx
pop eax
xor dword [esi], edi
and edx, eax
inc esi
or eax, edx
or eax, eax
mov eax, edx
cmp esi, ecx
jne fcn.00438c98
add eax, 0x72e7355a
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0xf6b058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00f6b1a8
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 0xf6b07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xf6b06a
add dl, dl
jne 0xf6b089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xf6b0dc
xor eax, eax
add dl, dl
jne 0xf6b096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xf6b17d
add dl, dl
jne 0xf6b0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xf6b0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xf6b0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xf6b0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xf6b0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xf6b075
mov eax, 1
add dl, dl
jne 0xf6b0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xf6b0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xf6b0e1
sub eax, ebx
mov ebx, 1
jne 0xf6b128
mov ecx, 1
add dl, dl
jne 0xf6b10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xf6b119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xf6b105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xf6b075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xf6b13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xf6b14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xf6b136
cmp eax, 0x7d00
jae 0xf6b16d
cmp eax, 0x500
jb 0xf6b168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xf6b075
cmp eax, 0x7f
ja 0xf6b170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xf6b075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xf6b19e
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 0xf6b075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10