joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..3ean
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x431072
nop
nop
nop
mov ebx, 0x40915c
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x8091ae5
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
loop 0x431060
nop
nop
nop
nop
mov eax, section..7LWLf
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4310d2
nop
mov ebx, 0x42f3f8
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
mov esi, 0x74154775
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x402f70
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
ror ebx, 0x94
neg esi
or edi, 0xb4
not eax
rcr ebx, 0xe9
neg ebx
sub ebx, 0xa9
rol eax, 0x13
bswap esi
not edi
bswap esi
bswap eax
and esi, 0x2c
neg ebx
ror eax, 0xa4
add ebx, 0x2e
mov edx, 0x14
sub eax, 0x54
rcr ebx, 0xe4
bswap eax
and edi, 0xef
bswap eax
ror edx, 0xa5
add edx, 0xc9
imul edx
or edi, 0xae
rcr esi, 0x25
bswap esi
bswap esi
rcl edx, 0xdb
not eax
dec esi
add edi, 0x2a
bswap edi
sub edi, 0x44
or edx, 0x3d
rcl edi, 0x13
sub edx, 0x4a
imul edi
rcr edi, 0x31
dec edx
not ebx
dec esi
bswap ebx
not edx
mov esi, 0x17
neg edi
sub eax, 0xd2
bswap ebx
and eax, 0x76
xor ecx, ecx
xor edi, edi
add edx, 0x32
neg eax
imul edi
inc eax
not ebx
imul edx
neg edx
ror ebx, 0xfb
bswap eax
mov edi, 0x94
imul eax
rcl eax, 0x14
add ebx, 0x1d
sub eax, 0x73
ror edi, 0x4e
rcl esi, 0x55
sub eax, 0xec
rol esi, 0xce
dec edx
bswap ebx
not ebx
bswap eax
imul eax
sub edx, 0x95
or eax, 0x86
and edx, 0xd7
sub edi, 0xe1
imul esi
neg esi
dec edx
bswap edi
not ebx
imul edx
neg esi
not eax
or edx, 0xaa
sbb esi, 0x66
or eax, 0xd0
rcr esi, 0xe6
dec esi
dec eax
dec eax
rcl edx, 0x56
ror edx, 0xe5
bswap esi
bswap edx
neg ebx
not edi
not eax
neg esi
mov ecx, dword [ebp + 0xc]
imul edi
neg esi
bswap ebx
dec edi
not edx
sub edx, 0x49
bswap esi
bswap eax
rol edx, 0x44
neg edx
imul ebx
and edi, 0xc8
add edi, 0x11
sub ebx, 0x15
bswap edx
dec edx
ror edx, 0xaf
and eax, 0x3e
bswap esi
imul edi
bswap esi
rcl edx, 0xf9
rcr esi, 0xb4
sbb eax, 0x6c
rcl eax, 0xe6
sbb ebx, 0xc4
ror edx, 0x73
rcr ebx, 0x7d
neg edx
bswap esi
ror edx, 0x9c
neg ebx
not eax
sbb ebx, 0xf7
dec eax
add edi, 0xd2
rol esi, 0xe
dec eax
mov ebx, 0xb8
not ebx
add ebx, 9
rcl edi, 0x52
or edx, 0xf1
inc eax
neg ebx
add eax, 1
dec esi
or edx, 0x97
imul edx
inc esi
mov edi, dword [ebp + 8]
xor eax, ebx
mov ebx, eax
mov esi, eax
xor eax, ebx
xor ebx, ebx
mov eax, ebx
mov ebx, eax
mov esi, ebx
mov eax, ebx
xor eax, eax
xor ebx, eax
mov esi, ebx
not byte [edi]
mov ebx, eax
xor esi, esi
mov esi, esi
xor eax, eax
xor esi, eax
mov eax, esi
xor ebx, eax
xor ebx, esi
xor esi, eax
sub byte [edi], 0x36
mov eax, eax
xor ebx, ebx
xor ebx, eax
mov ebx, esi
mov ebx, eax
mov eax, esi
xor esi, esi
mov eax, ebx
mov eax, esi
add byte [edi], 0x87
mov eax, esi
xor eax, esi
xor esi, ebx
mov eax, ebx
xor esi, eax
xor eax, eax
mov esi, esi
xor esi, esi
mov ebx, eax
imul byte [edi]
inc edi
loop 0x40312b
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4250d0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00424f41

Function at 0x4254ca
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0042cbb0
mov eax, dword [0x4874d8]
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.0041f631
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x42550c
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x425668
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0042c9e0
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 + 0x488c38]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.004264c1
mov ecx, dword [esi*4 + 0x488c38]
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 0x425661
cmp eax, dword [edi + ecx + 0x24]
jne 0x425661
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 0x425661
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004264c1
add esp, 0x14
test edx, edx
jl 0x425661
jg 0x4255d7
test eax, eax
jb 0x425661
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x425661
jl 0x4255f1
cmp dword [ebp - 0x1008], eax
ja 0x425661
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x42560f
test ebx, ebx
je 0x425648
cmp ecx, edi
jae 0x425648
mov al, byte [ecx]
cmp al, 0xd
jne 0x425629
lea eax, [edi - 1]
cmp ecx, eax
jae 0x425635
cmp byte [ecx + 1], 0xa
jne 0x425635
inc ecx
jmp 0x425635
movzx eax, al
movsx eax, byte [eax + 0x487c78]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x42560f
cmp edx, ebx
jne 0x42560f
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x425666
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040f206
leave
ret
Function at 0x42595f
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 + 0x488c38]
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 0x42599f
cmp byte [ebx], 0xa
jne 0x42599f
or byte [eax + edi + 0x28], 4
jmp 0x4259a4
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x425aa2
mov al, byte [edx]
cmp al, 0x1a
je 0x425a84
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x4259d3
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x4259f8
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x425a02
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 0x4259b5
jmp 0x425aa2
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 0x425a7f
cmp dword [ebp - 0xc], 0
je 0x425a7f
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x488c38]
test byte [eax + edi + 0x28], 0x48
je 0x425a59
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x425a44
mov byte [esi], dl
jmp 0x425a55
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x488c38]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x425aa2
cmp byte [ebp - 1], 0xa
jne 0x425a68
cmp esi, ebx
jne 0x425a68
mov byte [esi], 0xa
jmp 0x425aa1
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004264df
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x425aa2
mov byte [esi], 0xd
jmp 0x425aa1
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x488c38]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x425a9e
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x425aa2
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x425aab
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 + 0x488c38]
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 0x425aee
cmp word [esi], dx
jne 0x425aee
or byte [edi + eax + 0x28], 4
jmp 0x425af3
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 0x425c46
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 0x425c26
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x425b35
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x425b6b
cmp eax, edx
jae 0x425b77
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 0x425b0d
jmp 0x425c46
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 0x425c22
cmp dword [ebp - 0x14], 0
je 0x425c22
mov eax, dword [ebx*4 + 0x488c38]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x425bfa
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x425bc3
mov word [esi], cx
jmp 0x425bf6
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x488c38]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x488c38]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x488c38]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x425c46
pop ebx
cmp word [ebp - 4], bx
jne 0x425c0b
cmp esi, dword [ebp + 0xc]
jne 0x425c0b
mov word [esi], bx
jmp 0x425c43
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.004264df
add esp, 0x10
cmp word [ebp - 4], bx
je 0x425c46
push 0xd
jmp 0x425c3f
mov ecx, dword [ebx*4 + 0x488c38]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x425c3d
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x425c46
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 0x42c900
Capabilities:
Parse pe header

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

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
jmp fcn.00401219

Function at 0x406810
Capabilities:
Connect socket

Disassembly:
pop esi
jle 0x406869
push ebp
mov ebp, esp
push esi
mov ebx, esp
or byte [eax + 3], ch
inc ax
add byte [esi - 0x75], dl
jns 0x406809
sbb ebp, esi
invalid
popfd
in al, 0x14
lea edx, [esi + 0x28]
push ecx
push edx
push eax
call dword [sym.imp.WSOCK32.dll_connect]
cmp eax, 0xffffff82
wait
test dword [edi], esi
add dword [eax], 0
hlt
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d6a
sub eax, 0x403d10
nop
nop
mov ebx, dword [eax]
nop
nop
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
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x2adb4008
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
nop
mov eax, section..text_1
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x634b5c1e
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x401090
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ebp, esp
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x40330c], eax
mov eax, dword [ebp + 4]
mov dword [0x403159], eax
xor eax, eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
xor eax, eax
mov ecx, 0x16
push eax
dec ecx
jne 0x4010bb
push 0x7f00
push esi
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f00
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
lea ecx, [ebp - 0x5c]
push ecx
mov eax, 0x30
mov dword [ecx], eax
mov eax, dword [0x403159]
mov dword [ebp - 0x48], eax
mov eax, 0x402291
mov dword [ebp - 0x54], eax
mov ecx, 0x403206
mov dword [ebp - 0x34], ecx
call dword [sym.imp.USER32.dll_RegisterClassExA]
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
push 0
push 0
push str.Riched32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
xor ecx, ecx
push ecx
push dword [0x403159]
push ecx
push ecx
push 0x12e
push 0x7a
push 0x34c
push 0x2aa
push 0x40000
lea eax, str.bananas
push eax
mov eax, str.secondclass
push eax
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x403358], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x403358]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
xor ebx, ebx
lea edi, [ebp - 0x50]
jmp 0x401179
push edi
call dword [sym.imp.USER32.dll_TranslateMessage]
push edi
call dword [sym.imp.USER32.dll_DispatchMessageA]
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.USER32.dll_GetMessageA]
test al, al
jne 0x40116b
mov esp, ebp
ret

Function at 0x431005
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
mov eax, section..3ean
mov ebx, 0x40915c
nop
mov ecx, 0x1ce41bd4
nop
nop
nop
nop
nop
test eax, eax
je 0x43104e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x431024
nop
nop
nop
nop
mov eax, section..7LWLf
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x6614796d
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x431084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x404cf0
Capabilities:
Set current directory

Disassembly:
push ecx
cmp byte [esp + 8], 0
mov eax, ecx
push ebx
mov ebx, dword [0x4f70f4]
mov ecx, 0x42
push esi
push edi
mov byte [esp + 0xf], dl
mov esi, 0x4f98b0
je 0x404d38
inc dword [0x4f99d0]
add ebx, 0x108
mov edi, ebx
mov dword [0x4f70f4], ebx
rep movsd dword es:[edi], dword [esi]
push 0
mov ecx, 0x4fbb78
mov dword [ebx + 0x2c], eax
call fcn.0042d9b0
jmp 0x404d3f
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov dword [ebx + 0x2c], eax
cmp dword [0x4f99e4], 0
xorps xmm0, xmm0
movlpd qword [0x4fc680], xmm0
je 0x404d6f
mov eax, dword [0x4f8b50]
mov ecx, 0x4cdc40
test eax, eax
je 0x404d68
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp byte [esp + 0xf], 0
jne 0x404df4
mov cl, byte [ebx + 0xee]
test cl, cl
jne 0x404da4
cmp byte [esp + 0x18], 0x65
sete cl
mov byte [ebx + 0xee], cl
jne 0x404da4
mov dword [ebx], 0xffffffff
mov dword [ebx + 4], 0xffffffff
mov dword [ebx + 0x24], 0xffffffff
cmp dword [0x4fc68c], 0
je 0x404db6
cmp dword [0x4fc688], 0
jne 0x404dba
test cl, cl
je 0x404df4
mov byte [ebx + 0xec], 0
test cl, cl
jne 0x404df4
cmp dword [0x4fc68c], 0
jge 0x404ddd
pop edi
pop esi
mov dword [ebx + 0xe0], 0xffffffff
pop ebx
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 0xdc], eax
mov eax, dword [0x4fc68c]
mov dword [ebx + 0xe0], eax
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4068c0
Capabilities:
Write clipboard data

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x18], 0
jne 0x4068e2
call fcn.00406b90
test eax, eax
jne 0x4068e2
push str.Cant_open_clipboard_for_writing.
mov ecx, esi
call fcn.004069f0
pop esi
ret 4
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x406928
cmp dword [esi + 0x18], eax
je 0x406918
cmp dword [esi + 8], eax
je 0x406905
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [esi + 8], 0
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [esi + 0x18], 0
mov dword [esi], 0
push 0x4ce2a4
mov ecx, esi
call fcn.004069f0
pop esi
ret 4
mov eax, dword [esi + 4]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test eax, eax
je 0x40696a
mov ecx, dword [esi + 0xc]
push ebx
xor bl, bl
test ecx, ecx
je 0x40695b
cmp word [ecx], 0
push eax
sete bl
call edi
mov eax, dword [esi + 4]
mov dword [esi + 0xc], 0
mov dword [esi + 0x14], 0
test bl, bl
pop ebx
push eax
je 0x40699e
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esi + 4], eax
cmp dword [esi + 0x18], 0
je 0x406994
cmp dword [esi + 8], 0
je 0x406981
push dword [esi]
call edi
mov dword [esi + 8], 0
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [esi + 0x18], 0
mov dword [esi], 0
pop edi
mov eax, 1
pop esi
ret 4
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x4069b3
mov dword [esi + 4], 0
jmp 0x40696a
cmp dword [esi + 0x18], 0
je 0x4069dd
cmp dword [esi + 8], 0
je 0x4069ca
push dword [esi]
call edi
mov dword [esi + 8], 0
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [esi + 0x18], 0
mov dword [esi], 0
push 0x4ce2c4
mov ecx, esi
call fcn.004069f0
pop edi
pop esi
ret 4
Function at 0x406a80
Capabilities:
Read clipboard data

Disassembly:
sub esp, 0x20c
push ebx
push esi
mov esi, dword [esp + 0x21c]
push edi
test esi, esi
je 0x406a9a
mov dword [esi], 0
mov ebx, dword [esp + 0x21c]
lea eax, [ebx - 0xc000]
cmp eax, 0x3fff
ja 0x406b70
push 0x104
lea eax, [esp + 0x10]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClipboardFormatNameW]
push 0xb
lea eax, [esp + 0x10]
push str.Link_Source
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
add esp, 0xc
test eax, eax
je 0x406b62
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
lea eax, [esp + 0xc]
push str.ObjectLink
push eax
call edi
add esp, 8
test eax, eax
je 0x406b62
lea eax, [esp + 0xc]
push str.OwnerLink
push eax
call edi
add esp, 8
test eax, eax
je 0x406b62
lea eax, [esp + 0xc]
push str.Native
push eax
call edi
add esp, 8
test eax, eax
je 0x406b62
lea eax, [esp + 0xc]
push str.Embed_Source
push eax
call edi
add esp, 8
test eax, eax
je 0x406b62
lea eax, [esp + 0xc]
push str.MSDEVColumnSelect
push eax
call edi
add esp, 8
test eax, eax
je 0x406b58
lea eax, [esp + 0xc]
push str.MSDEVLineSelect
push eax
call edi
add esp, 8
test eax, eax
jne 0x406b77
test esi, esi
je 0x406b62
mov dword [esi], 1
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x20c
ret 8
xor eax, eax
mov word [esp + 0xc], ax
push ebx
call dword [sym.imp.USER32.dll_GetClipboardData]
pop edi
pop esi
pop ebx
add esp, 0x20c
ret 8

Function at 0x406b90
Capabilities:
Check for time delay via gettickcount
Open clipboard

Disassembly:
push ebx
mov ebx, ecx
cmp dword [ebx + 0x18], 0
je 0x406ba0
mov eax, 1
pop ebx
ret
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
push dword [0x4f99e8]
mov edi, dword [sym.imp.USER32.dll_OpenClipboard]
mov ebp, eax
call edi
test eax, eax
jne 0x406c0e
nop
mov eax, dword [0x4f7100]
cmp eax, 0xffffffff
je 0x406bdf
test eax, eax
je 0x406c1f
call esi
mov ecx, dword [0x4f7100]
add ecx, ebp
sub ecx, eax
cmp ecx, 5
jle 0x406c1f
mov edx, 1
mov dword [0x4f70ec], 0
mov ecx, 0x8000012f
call fcn.00401830
push dword [0x4f99e8]
mov dword [0x4f70ec], 1
call edi
test eax, eax
je 0x406bc0
pop edi
pop esi
pop ebp
mov dword [ebx + 0x18], 1
mov eax, 1
pop ebx
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x4075d0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x234
cmp dword [0x4fdae0], 0
mov ax, cx
push ebx
push ebp
push esi
push edi
mov word [esp + 0x12], ax
mov dword [esp + 0x14], str.getaddrinfo
mov dword [esp + 0x18], 0x406fd0
mov dword [esp + 0x1c], str.getnameinfo
mov dword [esp + 0x20], 0x4073e0
mov dword [esp + 0x24], str.freeaddrinfo
mov dword [esp + 0x28], fcn.00406f80
je 0x407630
movzx eax, ax
mov eax, dword [eax*8 + 0x4f8f04]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x234
ret
push 0x104
lea eax, [esp + 0x140]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x407735
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea eax, [esp + 0x13c]
push eax
lea eax, [esp + 0x30]
push 0x10c
push eax
call esi
add esp, 0xc
lea eax, [esp + 0x2c]
push str.ws2_32
push 0x10c
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
add esp, 0xc
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebp, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edi, eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test edi, edi
je 0x4076ac
push str.getaddrinfo
push edi
call ebx
test eax, eax
jne 0x4076f8
push edi
call ebp
lea eax, [esp + 0x13c]
push eax
lea eax, [esp + 0x30]
push 0x10c
push eax
call esi
add esp, 0xc
lea eax, [esp + 0x2c]
push str.wship6
push 0x10c
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
add esp, 0xc
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x407735
push str.getaddrinfo
push edi
call ebx
test eax, eax
je 0x407732
xor esi, esi
nop word [eax + eax]
push dword [esp + esi*8 + 0x14]
push edi
call ebx
mov dword [esp + esi*8 + 0x18], eax
test eax, eax
je 0x407732
inc esi
cmp esi, 3
jl 0x407700
mov eax, dword [esp + 0x18]
mov dword [0x4f8f04], eax
mov eax, dword [esp + 0x20]
mov dword [0x4f8f0c], eax
mov eax, dword [esp + 0x28]
mov dword [fcn.00406f80], eax
jmp 0x407735
push edi
call ebp
movzx eax, word [esp + 0x12]
pop edi
pop esi
pop ebp
mov eax, dword [eax*8 + 0x4f8f04]
mov dword [0x4fdae0], 1
pop ebx
add esp, 0x234
ret