joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1019e040
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x30
call fcn.101aa130
mov eax, dword [0x102a1e64]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
push ebx
push ebp
mov ebp, dword [esp + 0x44]
push esi
push edi
mov edi, dword [esp + 0x44]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x30]
test eax, eax
je 0x1019e151
movups xmm0, xmmword [edi + 0x10]
mov ebx, dword [esp + 0x50]
lea esi, [edi + 0x10]
dec eax
mov dword [esp + 0x10], ebx
movups xmmword [esp + 0x2c], xmm0
and byte [esp + 0x38], 0x7f
lea ecx, [esp + 0x2c]
push 1
mov dword [edi + 0x30], eax
push ecx
psrldq xmm0, 8
movd eax, xmm0
push 0
push 0
and al, 0x7f
mov byte [esp + 0x44], al
mov eax, dword [edi + 0x20]
push 0
push eax
mov dword [esp + 0x30], eax
call fcn.10096550
add esp, 0x18
test eax, eax
je 0x1019e151
push dword [esp + 0x10]
lea eax, [esp + 0x14]
push dword [esp + 0x18]
push eax
push ebp
push dword [esp + 0x28]
call fcn.10096fc0
add esp, 0x14
test eax, eax
je 0x1019e151
push ebx
push ebp
lea eax, [esp + 0x24]
push eax
push edi
call fcn.1019e550
add esp, 0x10
test eax, eax
je 0x1019e151
lea eax, [esi + 0xf]
xor edx, edx
lea ecx, [esp + 0x1c]
cmp ecx, eax
ja 0x1019e123
lea eax, [esp + 0x2b]
cmp eax, esi
jb 0x1019e123
mov eax, ecx
sub esi, eax
lea ecx, [esp + 0x1c]
add ecx, edx
inc edx
mov al, byte [esi + ecx]
xor byte [ecx], al
cmp edx, 0x10
jl 0x1019e110
jmp 0x1019e133
movups xmm1, xmmword [esp + 0x1c]
movups xmm0, xmmword [esi]
xorps xmm1, xmm0
movups xmmword [esp + 0x1c], xmm1
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
or ecx, dword [esp + 0x24]
or eax, dword [esp + 0x28]
or ecx, eax
je 0x1019e166
push ebx
push ebp
call fcn.10001320
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.101a966e
add esp, 0x30
ret
mov ecx, dword [esp + 0x3c]
mov eax, ebx
mov dword [edi + 0x2c], 0
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101a966e
add esp, 0x30
ret
Function at 0x101ad9a5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.101aa130
mov eax, dword [0x102a1e64]
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.101b3652
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x101ad9e7
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x101adb43
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.101ce200
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 + 0x102a41e8]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.101bf8c0
mov ecx, dword [esi*4 + 0x102a41e8]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x101adb3c
cmp eax, dword [ecx + edi + 0x24]
jne 0x101adb3c
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x101adb3c
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.101bf8c0
add esp, 0x14
test edx, edx
jl 0x101adb3c
jg 0x101adab2
test eax, eax
jb 0x101adb3c
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x101adb3c
jl 0x101adacc
cmp dword [ebp - 0x1008], eax
ja 0x101adb3c
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x101adaea
test ebx, ebx
je 0x101adb23
cmp ecx, edi
jae 0x101adb23
mov al, byte [ecx]
cmp al, 0xd
jne 0x101adb04
lea eax, [edi - 1]
cmp ecx, eax
jae 0x101adb10
cmp byte [ecx + 1], 0xa
jne 0x101adb10
inc ecx
jmp 0x101adb10
movzx eax, al
movsx eax, byte [eax + 0x102a2030]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x101adaea
cmp edx, ebx
jne 0x101adaea
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x101adb41
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.101a966e
leave
ret

Function at 0x101baf5b
Capabilities:
Parse pe header

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x102a1e64]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x10258c60
push esi
call fcn.101c57e2
pop ecx
pop ecx
test eax, eax
jne 0x101bda35
xor al, al
jmp 0x101bdab2
push ebx
lea eax, [ebp - 0x210]
xor ebx, ebx
push eax
push 0x104
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ebx
push esi
push eax
call fcn.101bd748
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x101bda6f
push dword [ebp - 0x210]
call fcn.101b9855
xor al, al
jmp 0x101bdab0
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x101bda75
sub ecx, edi
sar ecx, 1
pop edi
cmp ecx, 3
je 0x101bda95
push edx
call fcn.101bd93e
pop ecx
test al, al
je 0x101bda60
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x101bdaa3
mov bl, 1
push dword [ebp - 0x210]
call fcn.101b9855
mov al, bl
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.101a966e
leave
ret
Function at 0x101c0031
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
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 + 0x102a41e8]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x101c0071
cmp byte [ebx], 0xa
jne 0x101c0071
or byte [edi + eax + 0x28], 4
jmp 0x101c0076
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x101c0175
mov dl, byte [eax]
cmp dl, 0x1a
je 0x101c0158
inc eax
cmp dl, 0xd
je 0x101c00a2
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x101c00c8
cmp eax, ecx
jae 0x101c00d6
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x101c008a
jmp 0x101c0175
push 0
lea eax, [ebp - 0x10]
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 0x101c0153
cmp dword [ebp - 0x10], 0
je 0x101c0153
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x102a41e8]
test byte [eax + edi + 0x28], 0x48
je 0x101c012d
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x101c0118
mov byte [esi], dl
jmp 0x101c0129
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x102a41e8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x101c0175
cmp byte [ebp - 1], 0xa
jne 0x101c013c
cmp esi, ebx
jne 0x101c013c
mov byte [esi], 0xa
jmp 0x101c0174
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.101bf8de
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x101c0175
mov byte [esi], 0xd
jmp 0x101c0174
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x102a41e8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x101c0172
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x101c0175
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x101c017e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x102a41e8]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x101c01c4
cmp word [ebx], dx
jne 0x101c01c4
or byte [eax + edi + 0x28], 4
jmp 0x101c01c9
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x101c032c
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x101c030c
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x101c020a
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x101c0240
cmp eax, edx
jae 0x101c024e
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x101c01e5
jmp 0x101c032c
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x101c0307
cmp dword [ebp - 0x18], 0
je 0x101c0307
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x102a41e8]
test byte [eax + edi + 0x28], 0x48
je 0x101c02dd
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x101c02a1
mov word [esi], cx
jmp 0x101c02d8
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x102a41e8]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x102a41e8]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x102a41e8]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x101c032c
pop eax
cmp word [ebp - 4], ax
jne 0x101c02ed
cmp esi, ebx
jne 0x101c02ed
mov word [esi], ax
jmp 0x101c0329
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.101bf8de
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x101c032c
push 0xd
pop eax
jmp 0x101c02e8
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x102a41e8]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x101c0326
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x101c032c
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x101c16d9
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x102599f0
push 0x102599e8
push str.FlsAlloc
push 0x1f
call fcn.101c1598
mov esi, eax
add esp, 0x10
test esi, esi
je 0x101c170d
push dword [ebp + 8]
mov ecx, esi
call dword [0x101d1304]
call esi
jmp 0x101c1713
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x101c1757
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10259a00
push 0x102599f8
push str.FlsGetValue
push 0x21
call fcn.101c1598
mov esi, eax
add esp, 0x10
test esi, esi
je 0x101c178e
push dword [ebp + 8]
mov ecx, esi
call dword [0x101d1304]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x101c1796
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10259a08
push 0x10259a00
push str.FlsSetValue
push 0x22
call fcn.101c1598
mov esi, eax
add esp, 0x10
test esi, esi
je 0x101c17d0
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x101d1304]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x101c6c82
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 0x101c6d1f
push ebx
push esi
call fcn.101c6c4b
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.101c6bdf
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x101c6ccc
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x101c6d1e
push edi
push eax
call fcn.101c1bea
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x101c6cec
call fcn.101c142b
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x101c6d1d
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.101c6bdf
add esp, 0x20
test eax, eax
jne 0x101c6d0b
push edi
call fcn.101c142b
jmp 0x101c6d13
push ebx
call fcn.101c142b
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 0x101c6d22
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x101c6d33
pop esi
ret
push ebx
push edi
push esi
call fcn.101c6c4b
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.101c1bea
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x101c6d5b
push ebx
push esi
push edi
call fcn.101ab3e0
add esp, 0xc
push 0
call fcn.101c142b
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x101c74b5
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.101c6fd0

Function at 0x101cc1a1
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x102a1e64]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x101cc1e4
call fcn.101ba84a
mov dword [eax], 0xf
call fcn.101ba85d
mov dword [eax], 0xd
call fcn.101b9d28
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101a966e
leave
ret
test eax, eax
jne 0x101cc1eb
inc eax
jmp 0x101cc1d8
add eax, 0x40
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
test ecx, ecx
je 0x101cc1d6
xor eax, eax
cmp ecx, 1
setne al
jmp 0x101cc1d8
Function at 0x101cd005
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.101ccf81
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x101cd174
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x101cd174
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x101cd129
jg 0x101cd061
test eax, eax
je 0x101cd11f
push 1
push 0x1000
call fcn.101c13ce
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x101cd084
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x101cd116
push 0x8000
push ebx
call fcn.101b33af
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x101cd0ad
jg 0x101cd0a8
cmp ecx, 0x1000
jb 0x101cd0ad
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.101c4aba
add esp, 0x10
cmp eax, 0xffffffff
je 0x101cd0f2
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 0x101cd0a8
jl 0x101cd0d9
test ecx, ecx
jne 0x101cd09a
push dword [ebp - 0xc]
push ebx
call fcn.101b33af
push esi
call fcn.101c142b
add esp, 0xc
xor ebx, ebx
jmp 0x101cd182
cmp byte [edi + 0x24], 0
je 0x101cd109
cmp dword [edi + 0x20], 5
jne 0x101cd109
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x101cd114
mov ebx, dword [edi + 0x18]
jmp 0x101cd116
xor ebx, ebx
push esi
call fcn.101c142b
pop ecx
jmp 0x101cd182
test ecx, ecx
jg 0x101cd0eb
jl 0x101cd129
test eax, eax
jae 0x101cd0eb
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.101bf8de
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x101cd149
cmp byte [edi + 0x1c], 0
je 0x101cd0eb
jmp 0x101cd17a
push ebx
call fcn.101c35ab
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x101cd0eb
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 0x101cd182
cmp byte [edi + 0x1c], 0
je 0x101cd17f
mov ebx, dword [edi + 0x18]
jmp 0x101cd182
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.101bf8de
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x101ce0c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x101ce0ed
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x101ce0ed
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ecc
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
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, 0x12123237
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x7a5a4642
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x40b16a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404f86
and dword [ebp - 4], 0
cmp dword [0x42a22c], 0
mov ebx, eax
jne 0x40b21b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b2cc
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40b2cc
push eax
call fcn.00404f14
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42a22c], eax
call esi
push eax
call fcn.00404f14
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42a230], eax
call esi
push eax
call fcn.00404f14
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42a234], eax
call esi
push eax
call fcn.00404f14
pop ecx
mov dword [0x42a23c], eax
test eax, eax
je 0x40b21b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404f14
pop ecx
mov dword [0x42a238], eax
mov eax, dword [0x42a238]
cmp eax, ebx
je 0x40b273
cmp dword [0x42a23c], ebx
je 0x40b273
push eax
call fcn.00404f8f
push dword [0x42a23c]
mov esi, eax
call fcn.00404f8f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b273
test edi, edi
je 0x40b273
call esi
test eax, eax
je 0x40b26a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b26a
test byte [ebp - 0xc], 1
jne 0x40b273
or dword [ebp + 0x10], 0x200000
jmp 0x40b2ac
mov eax, dword [0x42a230]
cmp eax, ebx
je 0x40b2ac
push eax
call fcn.00404f8f
pop ecx
test eax, eax
je 0x40b2ac
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b2ac
mov eax, dword [0x42a234]
cmp eax, ebx
je 0x40b2ac
push eax
call fcn.00404f8f
pop ecx
test eax, eax
je 0x40b2ac
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42a22c]
call fcn.00404f8f
pop ecx
test eax, eax
je 0x40b2cc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b2ce
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x168b5d5d
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
mov ecx, 0x54257ba2
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x767782
Capabilities:
Execute anti-debugging instructions

Disassembly:
dec esi
mov dx, cx
mov eax, 0x185abe36
lea eax, [eax + ebx]
push ecx
not dl
jmp 0x767788
lea esp, [esp + 0x14]
jmp 0x76775c
lea esp, [esp + 4]
sub esi, 0x30829c84
rdtsc
rdtsc
bsr dx, ax
jmp 0x7677f7
jb 0x76784a
bsr edx, esi
call fcn.0076779c
xor bh, 0xdb
sub esp, 5
pop dx
lea esp, [esp + 3]
push dword [esp + 0x10]
ret 0x14
not ebx
lea edx, [esp + esi]
mov ax, 0x2e9b
sub esp, 0x18
jno 0x767868
jo 0x767868
xor dword [ecx + reloc.IPHLPAPI.DLL_GetInterfaceInfo], edx
nop
adc al, byte [eax + 0x13ac12e7]
mov ah, byte [0xbd0fc754]
salc
bsr edx, esi
rol esi, 0
jmp 0x767829
add esi, dword [ebp]
setne bl
sub esp, 2
jle 0x76786a
lea esp, [esp + 1]
jmp 0x767870
jmp 0x767852
lea esp, [esp + 1]
jmp 0x7678af
lea esp, [esp + 1]
jmp 0x767899
movzx edx, byte [esi]
sub esp, 0x10
jno 0x767911
jo 0x7678df
div byte [ebp - 0x1b]
invalid
lea esp, [esp + 1]
jmp 0x767899
lea eax, [esi*4]
setp bh
jmp 0x767926
mov word [esp + 1], bx
lea ebx, [esi - 0x37]
not bx
jmp 0x7678c5
sub dl, cl
call fcn.00767947
mov word [esp + 1], bx
lea ebx, [esi - 0x37]
not bx
lea eax, [esi*4]
setp bh
mov bh, 0xba
lea eax, [esi*4]
jmp 0x7678ec

Function at 0x770650
Capabilities:
Check for trap flag exception

Disassembly:
push ebx
jmp 0x75888a
pushfd
or dword [esp], reloc.IPHLPAPI.DLL_GetInterfaceInfo
popfd
cpuid
nop
jmp 0x7588a1
pop ebx
ret
lea esi, reloc.IPHLPAPI.DLL_GetInterfaceInfo
bswap esi
mov dword [esp], ebp
mov ebp, ebx
jmp 0x77074d
jmp 0x77063a
lea esi, reloc.IPHLPAPI.DLL_GetInterfaceInfo
push cx
pop si
mov esi, dword [esp + 0x10]
jmp 0x770680
xchg esi, ebp
mov ebx, dword [esp + 4]
push dx
push word [esp + 1]
mov ebp, dword [esp + 0xc]
mov esi, 0x382f5ab0
jmp 0x770652
lea esp, [esp + 0x14]
jmp 0x75887e
mov esi, dword [esp]
mov bh, ch
lea ebx, [edx*4]
pushfd
mov bh, byte [esp + 3]
xchg bl, bh
jmp 0x770668
mov bp, word [esp]
mov bp, 0x3bc7
mov ebp, 0xf2043153
mov ebp, dword [esp]
lea ebp, [eax + eax]
push ebx
jmp 0x7706a7

Function at 0x7ab4b6
Capabilities:
Encode data using xor

Disassembly:
sbb eax, eax
clc
lea esp, [esp + 0xc]
jmp 0x7ab49f