joyce8/EMBER2024-capa huggingface dataset:
Function at 0x30010c4f
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
push 8
mov eax, 0x3002d013
call fcn.300153a4
lea eax, [ebp - 0x10]
xor esi, esi
push eax
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [ebp - 0x10], 3
mov edi, eax
jl 0x30010d0d
push str._restart
push dword [edi + 4]
call fcn.30017818
pop ecx
pop ecx
test eax, eax
jne 0x30010d0d
push esi
push esi
push dword [edi + 8]
call fcn.30017f47
add esp, 0xc
push eax
push esi
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
cmp ebx, esi
je 0x30010cc0
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x3003a4b4
lea ecx, [ebp - 0x14]
call fcn.30006a50
push 0xffc
push 0x1000
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], esi
call fcn.30006930
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ebx, dword [ebp - 0x14]
push 5
push esi
push esi
push ebx
push esi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [ebx - 0x10]
call fcn.300021d0
mov al, 1
jmp 0x30010d16
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor al, al
call fcn.30015443
ret

Function at 0x300113c4
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x1c
mov eax, 0x3002d0a1
call fcn.300153a4
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ebx
xor edi, edi
inc edi
push 0x1002
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], 0x1000
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
call fcn.30010d6e
cmp dword [ebp + 0x3c], 0x10
mov ecx, dword [ebp + 0x28]
mov byte [ebp - 4], 2
jae 0x30011411
lea ecx, [ebp + 0x28]
cmp dword [ebp + 0x20], 0x10
mov eax, dword [ebp + 0xc]
jae 0x3001141d
lea eax, [ebp + 0xc]
lea edx, [ebp - 0x18]
push edx
push dword [ebp - 0x28]
lea edx, [ebp - 0x10]
push edx
push ecx
push eax
mov eax, dword [ebp - 0x14]
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov ecx, esi
test eax, eax
jne 0x30011445
push dword [ebp - 0x28]
call fcn.30003b40
jmp 0x3001145b
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push 0x30034088
mov byte [esi], bl
call fcn.30003b10
lea ecx, [ebp - 0x28]
call fcn.30007fd0
push ebx
push edi
lea ecx, [ebp + 0xc]
call fcn.30001a80
push ebx
push edi
lea ecx, [ebp + 0x28]
call fcn.30001a80
mov eax, esi
call fcn.30015443
ret 0x3c
Function at 0x3001160c
Capabilities:
Parse url

Disassembly:
push 0x40
mov eax, 0x3002d111
call fcn.3001540d
mov eax, dword [ebp + 8]
and dword [ebp - 0x4c], 0
push 0xffffffffffffffff
mov esi, ecx
push 0
push eax
lea ecx, [esi + 0x3c]
call fcn.300036b0
push 0x3c
pop ebx
push ebx
push 0
push esi
call fcn.30014dd0
mov eax, dword [esi + 0x4c]
mov dword [esi], ebx
xor ebx, ebx
inc ebx
add esp, 0xc
mov dword [esi + 8], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x38], ebx
cmp dword [esi + 0x50], 0x10
jb 0x30011662
mov ecx, dword [esi + 0x3c]
jmp 0x30011665
lea ecx, [esi + 0x3c]
push esi
xor edi, edi
push edi
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
cmp eax, edi
jne 0x3001167c
xor al, al
jmp 0x30011703
mov eax, dword [esi + 0x10]
cmp eax, edi
je 0x30011697
push dword [esi + 0x14]
lea ecx, [ebp - 0x48]
push eax
call fcn.30002380
mov dword [ebp - 4], edi
mov dword [ebp - 0x4c], ebx
jmp 0x300116c0
push edi
push 0x30034088
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x2c], 0
call fcn.30003a20
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x4c], 2
lea edi, [esi + 0x58]
push eax
mov ecx, edi
call fcn.30003570
test byte [ebp - 0x4c], 2
je 0x300116e0
and dword [ebp - 0x4c], 0xfffffffd
push 0
push ebx
lea ecx, [ebp - 0x2c]
call fcn.30001a80
test byte [ebp - 0x4c], bl
je 0x300116f0
push 0
push ebx
lea ecx, [ebp - 0x48]
call fcn.30001a80
cmp dword [edi + 0x14], 0x10
jb 0x300116f8
mov edi, dword [edi]
mov eax, dword [esi + 0x68]
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], edi
mov al, bl
call fcn.30015457
ret 4
Function at 0x30014dbb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x3003a6b0]
jne 0x30014dc5
repz ret
jmp fcn.30019be2

Function at 0x3002543d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x3003a6b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.30019e01
and dword [ebp - 0x14], 0
cmp dword [0x300438a4], 0
mov dword [ebp - 0x18], eax
jne 0x300254f0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x30025598
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x30025598
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x300438a4], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x300438a8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x300438ac], eax
call edi
push eax
call esi
mov dword [0x300438b4], eax
test eax, eax
je 0x300254f0
push 0x30033ba4
push ebx
call edi
push eax
call esi
mov dword [0x300438b0], eax
mov eax, dword [0x300438b0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x30025549
cmp dword [0x300438b4], ecx
je 0x30025549
push eax
call esi
push dword [0x300438b4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x30025549
test ebx, ebx
je 0x30025549
call edi
test eax, eax
je 0x30025540
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x30025540
test byte [ebp - 8], 1
jne 0x30025549
or dword [ebp + 0x10], 0x200000
jmp 0x3002557c
mov eax, dword [0x300438a8]
cmp eax, dword [ebp - 0x18]
je 0x3002557c
push eax
call esi
test eax, eax
je 0x3002557c
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x3002557c
mov eax, dword [0x300438ac]
cmp eax, dword [ebp - 0x18]
je 0x3002557c
push eax
call esi
test eax, eax
je 0x3002557c
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x300438a4]
call esi
test eax, eax
je 0x30025598
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x3002559a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.30014dbb
leave
ret
Function at 0x3002a2f0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x3002e5c5
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
mov eax, dword [0x3003a6b0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x28], edi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x34], 2
mov eax, 0x1002
lea esi, [esp + 0x10]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], 0x1000
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call fcn.300070a0
mov byte [esp + 0x34], 3
mov ecx, dword [esp + 0x58]
mov eax, 8
cmp dword [esp + 0x6c], eax
jae 0x3002a365
lea ecx, [esp + 0x58]
cmp dword [esp + 0x50], eax
mov eax, dword [esp + 0x3c]
jae 0x3002a373
lea eax, [esp + 0x3c]
mov esi, dword [esp + 0x10]
lea edx, [esp + 0x24]
push edx
push esi
lea edx, [esp + 0x28]
push edx
push ecx
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov ecx, edi
test eax, eax
jne 0x3002a39d
push esi
call fcn.30002000
jmp 0x3002a3a7
push 0x30033da4
call fcn.30002000
mov dword [esp + 0xc], 1
mov byte [esp + 0x34], 2
cmp esi, ebx
je 0x3002a3c1
push esi
call fcn.30014501
add esp, 4
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
mov byte [esp + 0x34], 1
lea ecx, [esp + 0x3c]
call fcn.30002160
mov byte [esp + 0x34], bl
lea ecx, [esp + 0x58]
call fcn.30002160
mov eax, edi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x2c
ret

Function at 0x3002a400
Capabilities:
Identify system language via api

Disassembly:
push 0xffffffffffffffff
push 0x3002e8c9
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x3003a6b0]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push esi
push edi
mov eax, dword [0x3003a6b0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x48], ebx
sub esp, 0x1c
mov esi, ecx
mov dword [esp + 0x2c], ebx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.SkinLang
mov dword [esp + 0x3c], esi
call fcn.30002000
mov dword [esp + 0x64], 1
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x50], esp
push str.Softwarejianpian
call fcn.30002000
mov byte [esp + 0x80], 2
mov byte [esp + 0x80], bl
lea edi, [esp + 0x58]
call fcn.3002a2f0
add esp, 0x38
mov dword [esp + 0x48], 3
cmp dword [eax + 0x14], 8
jb 0x3002a49a
mov eax, dword [eax]
push eax
mov ecx, esi
call fcn.30003ca0
mov dword [esp + 0x10], 1
mov byte [esp + 0x48], bl
lea ecx, [esp + 0x20]
call fcn.30002160
mov ecx, esi
call fcn.30002360
cmp dword [eax + 4], ebx
jne 0x3002a50b
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
mov ecx, 0x404
cmp ax, cx
je 0x3002a4f4
mov edx, 0x804
cmp ax, dx
je 0x3002a4f4
mov ecx, 0xc04
cmp ax, cx
je 0x3002a4f4
mov edx, 0x1004
cmp ax, dx
jne 0x3002a4fd
push 2
push 0x300341f4
jmp 0x3002a504
push 2
push 0x30033ff8
mov ecx, esi
call fcn.30006970
call fcn.30003da0
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.30014dbb
add esp, 0x3c
ret
Function at 0x3002a740
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x3002e6c4
mov eax, dword fs:[0]
push eax
mov eax, 0x9d6c
call fcn.300173b0
mov eax, dword [0x3003a6b0]
xor eax, esp
mov dword [esp + 0x9d68], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x3003a6b0]
xor eax, esp
push eax
lea eax, [esp + 0x9d80]
mov dword fs:[0], eax
mov esi, dword [esp + 0x9d90]
mov edi, dword [esp + 0x9d94]
xor ebp, ebp
mov dword [esp + 0x14], ebp
mov ebx, dword [ecx]
mov dword [esp + 0x20], esi
cmp ebx, ebp
jne 0x3002a7ab
push 0x30033da4
mov ecx, esi
call fcn.30002000
jmp 0x3002a80c
push 0x9d56
lea ecx, [esp + 0x2a]
xor eax, eax
push ebp
push ecx
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], 0x9d56
mov word [esp + 0x30], ax
call fcn.30014dd0
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x3002a7dd
mov edi, dword [edi]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x20]
push ecx
push ebp
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, esi
test eax, eax
jne 0x3002a802
lea edx, [esp + 0x24]
push edx
jmp 0x3002a807
push 0x30033da4
call fcn.30002000
mov dword [esp + 0x9d88], ebp
mov dword [esp + 0x14], 1
mov eax, esi
mov ecx, dword [esp + 0x9d80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x9d68]
xor ecx, esp
call fcn.30014dbb
add esp, 0x9d78
ret 8
Function at 0x464f10
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x43e00d
lea edi, [esi - 0x3d00d]
push edi
jmp 0x464f2a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x464f31
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x464f20
mov eax, 1
add ebx, ebx
jne 0x464f43
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x464f54
jne 0x464f73
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x464f73
dec eax
add ebx, ebx
jne 0x464f60
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x464f38
add ebx, ebx
jne 0x464f6f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x464fc5
xor ecx, ecx
sub eax, 3
jb 0x464f8b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x464ffa
sar eax, 1
mov ebp, eax
jmp 0x464f96
add ebx, ebx
jne 0x464f96
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x464f64
inc ecx
add ebx, ebx
jne 0x464fa4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x464f64
add ebx, ebx
jne 0x464fb1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x464fa6
jne 0x464fc2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x464fa6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x464fe4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x464fd6
jmp 0x464f26
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x464fe4
add edi, ecx
jmp 0x464f26
pop esi
mov edi, esi
mov ecx, 0x860
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x465002
cmp byte [edi], 0x16
jne 0x465002
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 0x465007
lea edi, [esi + 0x60000]
mov eax, dword [edi]
or eax, eax
je 0x46507f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x65000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x65094]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x465034
mov ecx, edi
jns 0x465063
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 + 0x6509c]
or eax, eax
je 0x465079
mov dword [ebx], eax
add ebx, 4
jmp 0x465051
call dword [esi + 0x65098]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4650b0
cmp al, 0xef
ja 0x4650a3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x465085
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x465092
mov ebp, dword [esi + 0x650a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x197]
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 0x4650e4
sub esp, 0xffffff80
jmp 0x40ce60
Function at 0x4047b0
Capabilities:
Set current directory

Disassembly:
push ecx
mov al, byte [esp + 8]
mov byte [esp + 3], dl
mov edx, ecx
push ebx
mov ebx, dword [0x50499c]
test al, al
je 0x4047d8
inc dword [0x507a90]
add ebx, 0x108
mov dword [0x50499c], ebx
mov ecx, 0x42
push esi
mov esi, 0x507970
push edi
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov dword [ebx + 0x2c], edx
pop edi
pop esi
test al, al
je 0x4047fd
push 0
mov ecx, 0x509c28
call fcn.0042bbd0
cmp dword [0x507aa4], 0
xorps xmm0, xmm0
movlpd qword [0x50a728], xmm0
je 0x40482d
mov eax, dword [0x506390]
mov ecx, 0x4da3cc
test eax, eax
je 0x404826
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp byte [esp + 7], 0
jne 0x4048b0
mov cl, byte [ebx + 0xee]
test cl, cl
jne 0x404862
cmp byte [esp + 0x10], 0x65
sete cl
mov byte [ebx + 0xee], cl
jne 0x404862
mov dword [ebx], 0xffffffff
mov dword [ebx + 4], 0xffffffff
mov dword [ebx + 0x24], 0xffffffff
cmp dword [0x50a734], 0
je 0x404874
cmp dword [0x50a730], 0
jne 0x404878
test cl, cl
je 0x4048b0
mov byte [ebx + 0xec], 0
test cl, cl
jne 0x4048b0
cmp dword [0x50a734], 0
jge 0x404899
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 [0x50a734]
mov dword [ebx + 0xe0], eax
pop ebx
pop ecx
ret

Function at 0x4060f0
Capabilities:
Write clipboard data

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x18], 0
jne 0x406112
call fcn.00406430
test eax, eax
jne 0x406112
push str.Cant_open_clipboard_for_writing.
mov ecx, esi
call fcn.00406220
pop esi
ret 4
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x406158
cmp dword [esi + 0x18], eax
je 0x406148
cmp dword [esi + 8], eax
je 0x406135
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 0x4da93c
mov ecx, esi
call fcn.00406220
pop esi
ret 4
mov eax, dword [esi + 4]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test eax, eax
je 0x40619a
mov ecx, dword [esi + 0xc]
push ebx
xor bl, bl
test ecx, ecx
je 0x40618b
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 0x4061ce
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esi + 4], eax
cmp dword [esi + 0x18], 0
je 0x4061c4
cmp dword [esi + 8], 0
je 0x4061b1
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 0x4061e3
mov dword [esi + 4], 0
jmp 0x40619a
cmp dword [esi + 0x18], 0
je 0x40620d
cmp dword [esi + 8], 0
je 0x4061fa
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 0x4da95c
mov ecx, esi
call fcn.00406220
pop edi
pop esi
ret 4
Function at 0x406310
Capabilities:
Read clipboard data

Disassembly:
sub esp, 0x20c
push esi
mov esi, dword [esp + 0x218]
push edi
test esi, esi
je 0x406329
mov dword [esi], 0
mov edi, dword [esp + 0x218]
lea eax, [edi - 0xc000]
cmp eax, 0x3fff
ja 0x406409
push 0x104
lea eax, [esp + 0xc]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClipboardFormatNameW]
push 0xb
lea eax, [esp + 0xc]
push str.Link_Source
push eax
call fcn.004bb7bb
add esp, 0xc
test eax, eax
je 0x4063fc
lea eax, [esp + 8]
push str.ObjectLink
push eax
call fcn.004ba0a7
add esp, 8
test eax, eax
je 0x4063fc
lea eax, [esp + 8]
push str.OwnerLink
push eax
call fcn.004ba0a7
add esp, 8
test eax, eax
je 0x4063fc
lea eax, [esp + 8]
push str.Native
push eax
call fcn.004ba0a7
add esp, 8
test eax, eax
je 0x4063fc
lea eax, [esp + 8]
push str.Embed_Source
push eax
call fcn.004ba0a7
add esp, 8
test eax, eax
je 0x4063fc
lea eax, [esp + 8]
push str.MSDEVColumnSelect
push eax
call fcn.004ba0a7
add esp, 8
test eax, eax
je 0x4063f2
lea eax, [esp + 8]
push str.MSDEVLineSelect
push eax
call fcn.004ba0a7
add esp, 8
test eax, eax
jne 0x406410
test esi, esi
je 0x4063fc
mov dword [esi], 1
pop edi
xor eax, eax
pop esi
add esp, 0x20c
ret 8
xor eax, eax
mov word [esp + 8], ax
push edi
call dword [sym.imp.USER32.dll_GetClipboardData]
pop edi
pop esi
add esp, 0x20c
ret 8

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

Disassembly:
push ebx
mov ebx, ecx
cmp dword [ebx + 0x18], 0
je 0x406440
mov eax, 1
pop ebx
ret
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
push dword [0x507aa8]
mov edi, dword [sym.imp.USER32.dll_OpenClipboard]
mov ebp, eax
call edi
test eax, eax
jne 0x4064ae
nop
mov eax, dword [0x5049a8]
cmp eax, 0xffffffff
je 0x40647f
test eax, eax
je 0x4064bf
call esi
mov ecx, dword [0x5049a8]
add ecx, ebp
sub ecx, eax
cmp ecx, 5
jle 0x4064bf
mov edx, 1
mov dword [0x504994], 0
mov ecx, 0x8000012f
call fcn.004019f0
push dword [0x507aa8]
mov dword [0x504994], 1
call edi
test eax, eax
je 0x406460
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 0x406720
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x81c
push ebx
push ebp
push esi
push edi
push 0x401
lea eax, [esp + 0x28]
mov dword [esp + 0x1c], edx
mov ebx, ecx
mov dword [esp + 0x14], 0
push 0
push eax
mov dword [esp + 0x28], ebx
call fcn.004b7c10
push 0x401
lea eax, [esp + 0x438]
push 0
push eax
call fcn.004b7c10
push 0x400
push ebx
lea eax, [esp + 0x44]
push 0x401
push eax
mov dword [esp + 0x3c], eax
lea ebp, [esp + 0x450]
call fcn.004beaf9
add esp, 0x28
mov eax, dword [esp + 0x83c]
mov edi, eax
push ebx
mov byte [ebp], 0
mov dword [eax], 0
call dword [sym.imp.WSOCK32.dll_gethostbyname]
mov ebx, eax
test ebx, ebx
je 0x406900
cmp word [ebx + 8], 2
jne 0x4067ef
cmp word [ebx + 0xa], 4
jne 0x4067ef
mov esi, dword [ebx + 0xc]
mov eax, dword [esi]
test eax, eax
je 0x4067ef
nop
push dword [eax]
mov edx, dword [esp + 0x834]
push dword [esp + 0x838]
mov ecx, dword [esp + 0x20]
call fcn.004066a0
mov dword [edi], eax
test eax, eax
je 0x406887
add esi, 4
lea edi, [eax + 0x1c]
mov eax, dword [esi]
test eax, eax
jne 0x4067c0
push 0x400
push dword [ebx]
push 0x401
push ebp
call fcn.004beaf9
mov eax, dword [esp + 0x84c]
xor esi, esi
add esp, 0x10
cmp dword [eax], esi
jne 0x40689b
mov ecx, ebp
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406820
sub ecx, edx
je case.0x406910.11003
mov ebx, dword [esp + 0x14]
mov eax, ebp
mov ecx, ebx
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x406857
test dl, dl
je 0x406853
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x406857
add ecx, 2
add eax, 2
test dl, dl
jne 0x406837
xor eax, eax
jmp 0x40685c
sbb eax, eax
or eax, 1
test eax, eax
je case.0x406910.11003
mov esi, dword [esp + 0x10]
inc esi
mov dword [esp + 0x10], esi
cmp esi, 0x10
je case.0x406910.11003
mov eax, ebx
mov dword [esp + 0x14], ebp
mov ebx, dword [esp + 0x1c]
mov ebp, eax
jmp 0x406784
mov esi, 8
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x81c
ret 0x10
cmp dword [esp + 0x838], esi
je 0x406944
mov ecx, ebp
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4068b0
sub ecx, edx
lea ebx, [ecx + 1]
push ebx
push 1
call fcn.004be9e3
mov edi, eax
add esp, 8
test edi, edi
je 0x4068d8
push ebp
push ebx
push edi
call fcn.004be9ee
add esp, 0xc
mov ecx, dword [esp + 0x83c]
mov eax, dword [ecx]
mov dword [eax + 0x14], edi
mov eax, dword [ecx]
mov ecx, 8
pop edi
cmp dword [eax + 0x14], esi
cmove esi, ecx
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x81c
ret 0x10
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
add eax, 0xffffd507
cmp eax, 3
ja case.0x406910.11001
jmp dword [eax*4 + 0x406954]
mov esi, 0x2afa
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x81c
ret 0x10
mov esi, 0x2afb
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x81c
ret 0x10
mov esi, 0x2af9
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x81c
ret 0x10