joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x102a008], 0x8088405
inc edx
mov dword [ebx + 0x102a008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41cd64
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41cd95
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cd7d
add dl, dl
jne 0x41cda0
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cdf1
xor eax, eax
add dl, dl
jne 0x41cdad
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41ce8e
add dl, dl
jne 0x41cdbc
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cdc7
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cdd2
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cddd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41cde7
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41cd8c
mov eax, 1
add dl, dl
jne 0x41cdff
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41ce0a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cdf6
sub eax, ebx
mov ebx, 1
jne 0x41ce3d
mov ecx, 1
add dl, dl
jne 0x41ce23
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41ce2e
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41ce1a
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cd8c
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41ce54
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41ce5f
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41ce4b
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cd8c
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41ceaf
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 0x41cd8c
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41e5a4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x1011a63
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov ecx, ebx
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [ecx + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41e655
add edx, ebx
mov eax, edx
mov esi, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
add edx, ebx
mov dword [ebp - 0x10], edx
mov edi, dword [eax + 0x20]
add edi, ebx
mov edx, dword [eax + 0x24]
add edx, ebx
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 4]
cmp edx, 0xffff
jbe 0x41e63e
test esi, esi
jbe 0x41e655
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088e4
test eax, eax
jne 0x41e630
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41e655
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41e60d
jmp 0x41e655
mov ecx, edx
sub ecx, dword [eax + 0x10]
cmp ecx, dword [eax + 0x14]
jae 0x41e655
mov eax, ecx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1011a6a
ret
Function at 0x41eec4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov word [ebp - 2], dx
xor eax, eax
push ebp
push 0x1012473
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x41eeff
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x41ef18
lea eax, [ebp - 0x10]
mov edx, dword [0x102c2a4]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x41ef2b
lea eax, [ebp - 0x10]
mov edx, dword [0x102c2a4]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x41ef37
adc edx, 0
mov edx, dword [edx*4 + 0x102b10c]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x41f045
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x40
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x41f038
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x41f038
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406ddc
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x18
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x41f038
mov eax, edi
cmp dword [eax], 0x4550
jne 0x41f038
add eax, 4
mov dx, word [eax]
cmp dx, 0x14c
jb 0x41f038
cmp dx, 0x150
ja 0x41f038
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0xe0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x41f038
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 2]
jne 0x41f038
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x41f05d
inc ebx
cmp ebx, 0x19
jne 0x41eef1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x101247a
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x42eb60
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1a000]
push edi
or ebp, 0xffffffff
jmp 0x42eb82
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x42eb89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x42eb78
mov eax, 1
add ebx, ebx
jne 0x42eb9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x42eb90
jne 0x42ebac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42eb90
xor ecx, ecx
sub eax, 3
jb 0x42ebc0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42ec32
mov ebp, eax
add ebx, ebx
jne 0x42ebcb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x42ebd8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42ebfc
inc ecx
add ebx, ebx
jne 0x42ebe8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42ebdd
jne 0x42ebf9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42ebdd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42ec1c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42ec0d
jmp 0x42eb7e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42ec1c
add edi, ecx
jmp 0x42eb7e
pop esi
mov edi, esi
mov ecx, 0x57e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42ec3a
cmp byte [edi], 7
jne 0x42ec3a
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 0x42ec3f
lea edi, [esi + 0x2c000]
mov eax, dword [edi]
or eax, eax
je 0x42ecae
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2eba4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2ec30]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42ec6c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2ec34]
or eax, eax
je 0x42eca8
mov dword [ebx], eax
add ebx, 4
jmp 0x42ec89
call dword [esi + 0x2ec44]
mov ebp, dword [esi + 0x2ec38]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
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 0x42ece2
sub esp, 0xffffff80
jmp 0x415b9d

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 0x42bc42
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x46b2d8]
je 0x42bc5d
inc edi
cmp edi, 0x17
jb 0x42bc4e
cmp edi, 0x17
jae 0x42bddd
push ebp
push 3
call fcn.00431c23
cmp eax, 1
pop ecx
je 0x42bda9
push 3
call fcn.00431c23
test eax, eax
pop ecx
jne 0x42bc91
cmp dword [0x46b030], 1
je 0x42bda9
cmp ebx, 0xfc
je 0x42bddc
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x46d288
push ebp
call fcn.0042bfb8
add esp, 0xc
test eax, eax
je 0x42bcc7
push esi
push esi
push esi
push esi
push esi
call fcn.00429878
add esp, 0x14
push 0x104
mov esi, 0x46d2a1
push esi
push 0
mov byte [0x46d3a5], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x42bd0b
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0042bfb8
add esp, 0xc
test eax, eax
je 0x42bd0b
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00429878
add esp, 0x14
push esi
call fcn.004299b0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x42bd50
push esi
call fcn.004299b0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x46d59c
push 0x45dc8c
sub ecx, eax
push ecx
push eax
call fcn.00431b70
add esp, 0x14
test eax, eax
je 0x42bd50
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00429878
add esp, 0x14
jmp 0x42bd52
xor esi, esi
push 0x45dc88
push ebx
push ebp
call fcn.00431aff
add esp, 0xc
test eax, eax
je 0x42bd72
push esi
push esi
push esi
push esi
push esi
call fcn.00429878
add esp, 0x14
push dword [edi*8 + 0x46b2dc]
push ebx
push ebp
call fcn.00431aff
add esp, 0xc
test eax, eax
je 0x42bd94
push esi
push esi
push esi
push esi
push esi
call fcn.00429878
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00431942
add esp, 0xc
jmp 0x42bddc
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x42bddc
cmp ebp, 0xffffffff
je 0x42bddc
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x46b2dc]
push dword [esi]
call fcn.004299b0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x42e24d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46b3b0]
jne 0x42e257
repz ret
jmp fcn.004338de
Function at 0x40adb0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7000]
push edi
or ebp, 0xffffffff
jmp 0x40add2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40add9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40adc8
mov eax, 1
add ebx, ebx
jne 0x40adeb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40ade0
jne 0x40adfc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40ade0
xor ecx, ecx
sub eax, 3
jb 0x40ae10
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40ae82
mov ebp, eax
add ebx, ebx
jne 0x40ae1b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40ae28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40ae4c
inc ecx
add ebx, ebx
jne 0x40ae38
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40ae2d
jne 0x40ae49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40ae2d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40ae6c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40ae5d
jmp 0x40adce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40ae6c
add edi, ecx
jmp 0x40adce
pop esi
mov edi, esi
mov ecx, 0x17
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40ae8a
cmp byte [edi], 2
jne 0x40ae8a
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 0x40ae8f
lea edi, [esi + 0x8000]
mov eax, dword [edi]
or eax, eax
je 0x40aefe
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xbd14]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xbd6c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40aebc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xbd74]
or eax, eax
je 0x40aef8
mov dword [ebx], eax
add ebx, 4
jmp 0x40aed9
call dword [esi + 0xbd70]
mov ebp, dword [esi + 0xbd78]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
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 0x40af32
sub esp, 0xffffff80
jmp 0x401c56

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 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

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 0x7003301
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x7003310
pop dword [ebp - 0x10]
mov eax, 0x7003310
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x75e006e0
sub dword [ebp - 0x20], 0x278dc195
mov dword [ebp - 0x1c], 0x6895fc54
add dword [ebp - 0x1c], 0xc99d4ff1
mov dword [ebp - 0x18], 0x96750cc4
add dword [ebp - 0x18], 0xb5d7376a
mov dword [ebp - 0x14], 0xd5133881
add dword [ebp - 0x14], 0x2aecc77f
lea eax, [ebp - 0x20]
push eax
mov eax, 0x4eea6d2f
sub eax, 0x47e94cff
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x3f5fb810
add dword [ebp - 0x20], 0x3512b146
mov dword [ebp - 0x1c], 0x34c0f552
sub dword [ebp - 0x1c], 0xf35493dd
mov dword [ebp - 0x18], 0xfd8dace6
sub dword [ebp - 0x18], 0x9a1e407a
mov dword [ebp - 0x14], 0x7ac3bbe
sub dword [ebp - 0x14], 0x7ac3bbe
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0x6e37839d
sub eax, 0x67366369
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x39917
push 0
call eax
mov ecx, 0x9ac02396
add ecx, 0x65402037
xor esi, esi
add esi, eax
mov edx, 0x9a2ac534
sub edx, 0x9328e534
add edx, dword [ebp - 0x10]
mov ebx, 0x93d39038
sub ebx, 0x79611d62
xor dword [ebp - 4], esi
mov edi, dword [edx]
xor dword [ebp - 0xc], 0x6b195ebd
xor edi, ebx
add dword [ebp - 4], 0x5705cc00
mov dword [esi], edi
add dword [ebp - 0xc], 0x99e501bd
add esi, 0xbebce79f
sub esi, 0xbebce79b
add edx, 0x8af7d4c
sub edx, 0x8af7d48
loop 0x700342f
add eax, 0x6787ba0d
add eax, 0x987947fa
mov ebx, eax
add eax, 5
mov ecx, 0x7000000
add ecx, dword [ebp - 0x10]
call ebx
leave
ret

Function at 0x700c938
Capabilities:
Set current directory

Disassembly:
push 8
mov eax, 0x7010cdd
call fcn.07001ea6
mov edi, ecx
mov dword [ebp - 0x14], edi
mov esi, dword [ebp + 8]
push esi
call fcn.0700cc00
xor ebx, ebx
mov dword [edi], vtable.FileSharedStream.0
mov dword [edi + 0xc], ebx
mov byte [edi + 0x10], bl
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
lea eax, [edi + 0x18]
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0700d3f5
lea ecx, [ebp - 0x10]
call fcn.0700c8d5
mov eax, dword [edi + 0x14]
mov byte [ebp - 4], 2
push dword [eax + 0x14]
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryA]
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x700c9a5
mov eax, dword [eax + 0x14]
jmp 0x700c9aa
mov eax, 0x70127b2
push 0x701411c
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov dword [edi + 0xc], eax
pop ecx
pop ecx
test eax, eax
je 0x700c9dc
mov ecx, dword [edi + 4]
call fcn.07007826
lea ecx, [ebp - 0x10]
mov dword [edi + 8], eax
call fcn.07003301
mov eax, edi
call fcn.07002b7f
ret 4
push str.file_does_not_exist
push ebx
call fcn.07003301
int3
Function at 0xfd8480
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x904000]
push edi
or ebp, 0xffffffff
jmp 0xfd84a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xfd84a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xfd8498
mov eax, 1
add ebx, ebx
jne 0xfd84bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xfd84b0
jne 0xfd84cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xfd84b0
xor ecx, ecx
sub eax, 3
jb 0xfd84e0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xfd8552
mov ebp, eax
add ebx, ebx
jne 0xfd84eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0xfd84f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0xfd851c
inc ecx
add ebx, ebx
jne 0xfd8508
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xfd84fd
jne 0xfd8519
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xfd84fd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xfd853c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xfd852d
jmp 0xfd849e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xfd853c
add edi, ecx
jmp 0xfd849e
pop esi
mov edi, esi
mov ecx, 0x1c9e1
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xfd855a
cmp byte [edi], 0x92
jne 0xfd855a
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 0xfd855f
lea edi, [esi + 0xbb1000]
mov eax, dword [edi]
or eax, eax
je 0xfd85d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xbdd074]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xbdd250]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xfd858c
mov ecx, edi
jns 0xfd85bb
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 + 0xbdd258]
or eax, eax
je 0xfd85d1
mov dword [ebx], eax
add ebx, 4
jmp 0xfd85a9
call dword [esi + 0xbdd254]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0xfd8608
cmp al, 0xef
ja 0xfd85fb
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0xfd85dd
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0xfd85ea
mov ebp, dword [esi + 0xbdd25c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x27f]
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 0xfd863c
sub esp, 0xffffff80
jmp 0x853a58
Function at 0x401000
Capabilities:
Check for foreground window switch
Check for time delay via gettickcount
Check for unmoving mouse cursor

Disassembly:
xor eax, eax
jmp 0x401064
mov edi, edi
push ebp
mov ebp, esp
jmp 0x4010cb
sub esp, 0x20
mov eax, dword [0x404008]
cmp eax, 0
jne 0x40114f
mov eax, dword [0x40400c]
jmp 0x401145
cmp eax, 0
jne 0x40114f
jmp 0x4012f4
call sub.KERNEL32.dll_GetTickCount
mov dword [ebp - 4], eax
push 0x1388
jmp 0x4011be
call sub.KERNEL32.dll_Sleep
call sub.USER32.dll_GetForegroundWindow
cmp eax, 0
je 0x40114f
mov dword [ebp - 0x14], eax
jmp 0x401239
call sub.KERNEL32.dll_GetTickCount
sub eax, dword [ebp - 4]
cmp eax, 0x1388
jl 0x40114f
lea eax, [ebp - 8]
push eax
call sub.USER32.dll_GetCursorPos
cmp eax, 0
je 0x40114f
mov eax, dword [0x404008]
cmp eax, 0
je 0x4012d1
push 0x3e8
call sub.KERNEL32.dll_Sleep
lea eax, [ebp - 0x10]
jmp 0x4012ae
push eax
call sub.USER32.dll_GetCursorPos
cmp eax, 0
je 0x401268
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 0xc]
cmp eax, ebx
je 0x40114f
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 0x10]
cmp eax, ebx
je 0x401268
mov eax, dword [0x40400c]
cmp eax, 0
je 0x4012f4
push 0x1388
call sub.KERNEL32.dll_Sleep
call sub.USER32.dll_GetForegroundWindow
cmp eax, 0
je 0x4012d1
cmp eax, dword [ebp - 0x14]
je 0x4012d1
push dword [0x404000]
mov eax, 0x40401a
mov ebx, 0x404302
sub ebx, eax
jmp 0x401316
push ebx
push 0x40401a
jmp section..htext

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