joyce8/EMBER2024-capa huggingface dataset:
Function at 0x51bfb0
Capabilities:
Get disk information

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
push edi
push eax
xor ebp, ebp
call fcn.0051c170
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x51bfd8
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
pop ebx
pop ecx
ret
mov ebx, dword [esp + 0x20]
mov edx, dword [ebx]
lea eax, [edx*4 + 4]
push eax
call sub.MSVCRT.dll_malloc
mov esi, dword [esp + 0x20]
mov edi, eax
add esp, 4
test edi, edi
mov dword [esi], edi
jne 0x51c002
pop edi
pop esi
mov dword [ebx], eax
pop ebp
pop ebx
pop ecx
ret
mov ecx, dword [ebx]
xor eax, eax
push 0x8000
lea ecx, [ecx*4 + 4]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
call sub.MSVCRT.dll_malloc
add esp, 4
mov edi, eax
mov dword [esp + 0x18], edi
push 4
push edi
push 0
mov dword [edi], 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
test eax, eax
jne 0x51c056
push edi
mov dword [ebx], eax
call sub.MSVCRT.dll_free
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
lea eax, [edi + 4]
mov ebx, edi
cmp edi, eax
jae 0x51c155
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x51c151
mov edx, dword [esp + 0x10]
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebx
push edx
call fcn.0051d7c0
add esp, 0xc
test eax, eax
jne 0x51c132
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
add ecx, 8
push ecx
call sub.MSVCRT.dll_malloc
mov ecx, dword [esi]
mov edi, ebx
add esp, 4
mov dword [ecx + ebp*4], eax
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esi]
repne scasb al, byte es:[edi]
mov edi, dword [edx + ebp*4]
not ecx
add ecx, 3
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esi]
mov edi, ebx
not ecx
mov edx, dword [eax + ebp*4]
add ecx, 3
mov dword [edx], ecx
mov eax, dword [esi]
mov edx, dword [0x57ee08]
mov ecx, dword [eax + ebp*4]
add ecx, 4
mov dword [ecx], edx
mov al, byte [0x57ee0c]
mov byte [ecx + 4], al
mov ecx, dword [esi]
xor eax, eax
mov edx, dword [ecx + ebp*4]
or ecx, 0xffffffff
add edx, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
inc ebp
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x1c]
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x18]
not ecx
dec ecx
add eax, 4
lea ebx, [ebx + ecx + 1]
cmp ebx, eax
jb 0x51c063
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
push edi
mov dword [ecx], ebp
call sub.MSVCRT.dll_free
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x425c40
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.0041f048
and dword [ebp - 4], 0
cmp dword [0x43ce7c], 0
mov ebx, eax
jne 0x425cf1
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x425da2
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x425da2
push eax
call fcn.0041efd6
mov dword [esp], 0x431188
push edi
mov dword [0x43ce7c], eax
call esi
push eax
call fcn.0041efd6
mov dword [esp], 0x431174
push edi
mov dword [0x43ce80], eax
call esi
push eax
call fcn.0041efd6
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x43ce84], eax
call esi
push eax
call fcn.0041efd6
pop ecx
mov dword [0x43ce8c], eax
test eax, eax
je 0x425cf1
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041efd6
pop ecx
mov dword [0x43ce88], eax
mov eax, dword [0x43ce88]
cmp eax, ebx
je 0x425d49
cmp dword [0x43ce8c], ebx
je 0x425d49
push eax
call fcn.0041f051
push dword [0x43ce8c]
mov esi, eax
call fcn.0041f051
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x425d49
test edi, edi
je 0x425d49
call esi
test eax, eax
je 0x425d40
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x425d40
test byte [ebp - 0xc], 1
jne 0x425d49
or dword [ebp + 0x10], 0x200000
jmp 0x425d82
mov eax, dword [0x43ce80]
cmp eax, ebx
je 0x425d82
push eax
call fcn.0041f051
pop ecx
test eax, eax
je 0x425d82
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x425d82
mov eax, dword [0x43ce84]
cmp eax, ebx
je 0x425d82
push eax
call fcn.0041f051
pop ecx
test eax, eax
je 0x425d82
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43ce7c]
call fcn.0041f051
pop ecx
test eax, eax
je 0x425da2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x425da4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

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

Disassembly:
pushal
mov esi, section.sect_1
lea edi, [esi - 0x15f000]
push edi
or ebp, 0xffffffff
jmp 0x7d5e32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x7d5e39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7d5e28
mov eax, 1
add ebx, ebx
jne 0x7d5e4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x7d5e5c
jne 0x7d5e7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7d5e7b
dec eax
add ebx, ebx
jne 0x7d5e68
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x7d5e40
add ebx, ebx
jne 0x7d5e77
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x7d5ecd
xor ecx, ecx
sub eax, 3
jb 0x7d5e93
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x7d5f02
sar eax, 1
mov ebp, eax
jmp 0x7d5e9e
add ebx, ebx
jne 0x7d5e9e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7d5e6c
inc ecx
add ebx, ebx
jne 0x7d5eac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7d5e6c
add ebx, ebx
jne 0x7d5eb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x7d5eae
jne 0x7d5eca
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x7d5eae
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x7d5eec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x7d5ede
jmp 0x7d5e2e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x7d5eec
add edi, ecx
jmp 0x7d5e2e
pop esi
mov edi, esi
mov ecx, 0x67f6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x7d5f0a
cmp byte [edi], 0x22
jne 0x7d5f0a
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 0x7d5f0f
lea edi, [esi + 0x3ca000]
mov eax, dword [edi]
or eax, eax
je 0x7d5f87
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4087a0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x408900]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x7d5f3c
mov ecx, edi
jns 0x7d5f6b
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 + 0x408908]
or eax, eax
je 0x7d5f81
mov dword [ebx], eax
add ebx, 4
jmp 0x7d5f59
call dword [esi + 0x408904]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x7d5fc1
cmp al, 0xef
ja 0x7d5fab
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x7d5f8d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
or eax, eax
jne 0x7d5f9a
mov eax, dword [edi]
add edi, 4
jmp 0x7d5f9a
mov ebp, dword [esi + 0x40890c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x267]
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 0x7d5ff5
sub esp, 0xffffff80
jmp 0x4d5276
Function at 0x10001650
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x1008
call fcn.10001a10
push ebx
push ebp
push esi
lea eax, [esp + 0xf]
push edi
push eax
mov esi, ecx
push 0xe
call sym.ReadRemoteKey.dll_public:_int___thiscall_CReadRemoteKey::tmIGetPin_unsigned_char__unsigned_char__
test eax, eax
je 0x10001729
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov al, byte [esp + 0x13]
test al, al
jne 0x10001729
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0
push ecx
mov ecx, esi
call sym.ReadRemoteKey.dll_public:_unsigned_long_int___thiscall_CReadRemoteKey::GetKeyDword_int__
mov eax, dword [esi + 0xc4]
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
mov ebp, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test eax, eax
je 0x100016e1
mov edx, edi
sub edx, eax
mov eax, dword [esp + 0x14]
cmp edx, 0x1f4
ja 0x100016ca
cmp eax, dword [esi + 0xc8]
je 0x10001729
push eax
lea eax, [esp + 0x1c]
push str.222222222The_press_key_value_is__d._n
push eax
call ebx
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
call ebp
mov edx, dword [esp + 0x101c]
mov eax, dword [esp + 0x14]
mov dword [esi + 0xc4], edi
push eax
mov dword [edx], eax
mov dword [esi + 0xc8], eax
lea eax, [esp + 0x81c]
push str.33333333The_press_key_value_is__d._n
push eax
call ebx
add esp, 0xc
lea ecx, [esp + 0x818]
push ecx
call ebp
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1008
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1008
ret 4

Function at 0x100031cd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x1000a200
cmp edx, dword [eax]
je 0x100031ef
add eax, 8
inc ecx
cmp eax, 0x1000a290
jl 0x100031e0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x1000a200]
jne 0x1000331d
mov eax, dword [0x1000b200]
cmp eax, 1
je 0x100032f7
test eax, eax
jne 0x10003220
cmp dword [0x1000b204], 1
je 0x100032f7
cmp edx, 0xfc
je 0x1000331d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x10003257
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.10003bb0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.10004040
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x1000329a
lea eax, [ebp - 0x1a4]
push eax
call fcn.10004040
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x10009538
push edi
call fcn.10006390
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.10003bb0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.10003bc0
lea eax, [ebp - 0xa0]
push 0x10009518
push eax
call fcn.10003bc0
push dword [esi + 0x1000a204]
lea eax, [ebp - 0xa0]
push eax
call fcn.10003bc0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.100062fe
add esp, 0x2c
pop edi
jmp 0x1000331d
lea eax, [ebp + 8]
lea esi, [esi + 0x1000a204]
push 0
push eax
push dword [esi]
call fcn.10004040
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x10005a19
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x10005a54
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x10005a3b
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x10005a4c
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x10005a56
inc edi
add eax, 0x28
cmp edi, esi
jb 0x10005a31
xor eax, eax
pop edi
pop esi
ret

Function at 0x10005e49
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.100059d9
cmc
cmp sp, dx
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.100059d9
push es
in al, 0x1f
xchg esp, eax
lea eax, [ebp - 0x84]
push eax
call fcn.100059e9
push eax
push esi
push dword [ebp + 8]
call fcn.1000599e
add esp, 0x10
mov dword [ebp - 0xc0], eax
push 0x40
push 0x1000
push dword [ebp + 0xc]
push ebx
call dword [ebp - 0x88]
mov esi, eax
cmp esi, ebx
je 0x100061d2
push dword [ebp - 0xb4]
push dword [ebp + 0x10]
push esi
call fcn.1000594a
add esp, 0xc
cmp word [edi + 6], bx
mov dword [ebp + 0xc], ebx
jbe 0x10005f49
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0x44]
lea eax, [eax + eax*4]
push dword [ecx + eax*8 + 0x10]
lea eax, [ecx + eax*8]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
add ecx, dword [ebp + 0x10]
add eax, esi
push ecx
push eax
call fcn.1000594a
add esp, 0xc
inc dword [ebp + 0xc]
mov ax, word [ebp + 0xc]
cmp ax, word [edi + 6]
jb 0x10005f16
call fcn.100059d9
sbb dl, byte [0x7e8b3c87]
cmp al, 3
dec byte [ecx - 0x8743]
dec dword [ebx + 0x8087]
add byte [ebx], bh
ret
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

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

Function at 0x403161
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x403161
lcall 0x5de5, 0x8b10c483
jmp loc.00791034
Function at 0x4039e0
Capabilities:
Set current directory

Disassembly:
test al, al
je 0x4039f4
inc dword [0x4d8814]
add dword [0x4d4b04], 0x108
mov edx, dword [0x4d4b04]
push esi
push edi
mov ecx, 0x42
mov esi, 0x4d72e0
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0xc]
mov esi, edx
mov dword [esi + 0x2c], ecx
test al, al
je 0x403a23
push 0
mov eax, 0x4d96d0
call fcn.0041e290
cmp dword [0x4d8844], 0
mov dword [0x4da1c8], 0
mov dword [0x4da1cc], 0
je 0x403a5b
mov eax, dword [0x4d5d24]
test eax, eax
je 0x403a4f
mov eax, dword [eax]
test eax, eax
jne 0x403a54
mov eax, 0x4af9bc
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp byte [esp + 0x10], 0
jne 0x403adf
or ecx, 0xffffffff
cmp byte [esi + 0xee], 0
jne 0x403a8a
xor eax, eax
cmp byte [esp + 0x14], 0x65
sete al
mov byte [esi + 0xee], al
test al, al
je 0x403a8a
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov dword [esi + 0x24], ecx
cmp dword [0x4da1d4], 0
je 0x403a9c
cmp dword [0x4da1d0], 0
jne 0x403aa5
cmp byte [esi + 0xee], 0
je 0x403adf
cmp byte [esi + 0xee], 0
mov byte [esi + 0xec], 0
jne 0x403adf
cmp dword [0x4da1d4], 0
jge 0x403ac7
pop edi
mov dword [esi + 0xe0], ecx
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xdc], eax
mov edx, dword [0x4da1d4]
mov dword [esi + 0xe0], edx
pop edi
pop esi
ret
Function at 0x405010
Capabilities:
Write clipboard data

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x18], ebx
jne 0x405034
push esi
call fcn.004052e0
test eax, eax
jne 0x405034
push str.Cant_open_clipboard_for_writing.
call fcn.00405110
pop esi
pop ebx
pop ecx
ret
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x40506d
cmp dword [esi + 0x18], ebx
je 0x40505f
cmp dword [esi + 8], ebx
je 0x405054
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [esi + 8], ebx
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [esi + 0x18], ebx
mov dword [esi], ebx
push 0x4afe3c
call fcn.00405110
pop esi
pop ebx
pop ecx
ret
mov eax, dword [esi + 4]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp eax, ebx
je 0x4050a6
mov ecx, dword [esi + 0xc]
cmp ecx, ebx
je 0x4050cd
cmp word [ecx], bx
push eax
sete byte [esp + 0x13]
call edi
mov dword [esi + 0xc], ebx
mov dword [esi + 0x14], ebx
cmp byte [esp + 0xf], bl
je 0x4050cd
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esi + 4], eax
cmp dword [esi + 0x18], ebx
je 0x4050c3
cmp dword [esi + 8], ebx
je 0x4050b8
mov ecx, dword [esi]
push ecx
call edi
mov dword [esi + 8], ebx
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [esi + 0x18], ebx
mov dword [esi], ebx
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret
mov edx, dword [esi + 4]
push edx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x4050e2
mov dword [esi + 4], ebx
jmp 0x4050a6
cmp dword [esi + 0x18], ebx
je 0x4050ff
cmp dword [esi + 8], ebx
je 0x4050f4
mov eax, dword [esi]
push eax
call edi
mov dword [esi + 8], ebx
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [esi + 0x18], ebx
mov dword [esi], ebx
push 0x4afe5c
call fcn.00405110
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4051e0
Capabilities:
Read clipboard data

Disassembly:
sub esp, 0x20c
test esi, esi
je 0x4051f0
mov dword [esi], 0
lea eax, [edi - 0xc000]
cmp eax, 0x3fff
ja 0x4052bf
push 0x104
lea ecx, [esp + 4]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetClipboardFormatNameW]
push 0xb
lea edx, [esp + 4]
push str.Link_Source
push edx
call fcn.004995ea
add esp, 0xc
test eax, eax
je 0x4052b6
lea eax, [esp]
push str.ObjectLink
push eax
call fcn.00498e69
add esp, 8
test eax, eax
je 0x4052b6
lea ecx, [esp]
push str.OwnerLink
push ecx
call fcn.00498e69
add esp, 8
test eax, eax
je 0x4052b6
lea edx, [esp]
push str.Native
push edx
call fcn.00498e69
add esp, 8
test eax, eax
je 0x4052b6
lea eax, [esp]
push str.Embed_Source
push eax
call fcn.00498e69
add esp, 8
test eax, eax
je 0x4052b6
lea ecx, [esp]
push str.MSDEVColumnSelect
push ecx
call fcn.00498e69
add esp, 8
test eax, eax
je 0x4052ac
lea edx, [esp]
push str.MSDEVLineSelect
push edx
call fcn.00498e69
add esp, 8
test eax, eax
jne 0x4052c5
test esi, esi
je 0x4052b6
mov dword [esi], 1
xor eax, eax
add esp, 0x20c
ret
xor eax, eax
mov word [esp], ax
push edi
call dword [sym.imp.USER32.dll_GetClipboardData]
add esp, 0x20c
ret
Function at 0x4052e0
Capabilities:
Check for time delay via gettickcount
Open clipboard

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x18], 0
je 0x4052f2
mov eax, 1
ret 4
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
mov ecx, dword [0x4d86a0]
mov ebx, dword [sym.imp.USER32.dll_OpenClipboard]
push ecx
mov edi, eax
call ebx
test eax, eax
jne 0x405360
mov eax, dword [0x4d4a08]
cmp eax, 0xffffffff
je 0x405331
test eax, eax
je 0x405376
call esi
mov edx, dword [0x4d4a08]
add edx, edi
sub edx, eax
cmp edx, 5
jle 0x405376
push 1
push 0x8000012f
mov dword [0x4d4a0c], 0
call fcn.00401460
mov eax, dword [0x4d86a0]
add esp, 8
push eax
mov dword [0x4d4a0c], 1
call ebx
test eax, eax
je 0x405312
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword [ecx + 0x18], 1
mov eax, 1
pop ebx
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
ret 4

Function at 0x4056df
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 8]
mov esi, eax
mov eax, dword [ebp + 0x18]
and dword [esi], 0
mov byte [eax], 0
call dword [sym.imp.WSOCK32.dll_gethostbyname]
mov ebx, eax
test ebx, ebx
je 0x405754
cmp word [ebx + 8], 2
jne 0x405734
cmp word [ebx + 0xa], 4
jne 0x405734
mov edi, dword [ebx + 0xc]
jmp 0x40572e
push dword [eax]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.00405678
mov dword [esi], eax
test eax, eax
je 0x40574f
lea esi, [eax + 0x1c]
add edi, 4
mov eax, dword [edi]
test eax, eax
jne 0x405712
push 0x400
push dword [ebx]
push 0x401
push dword [ebp + 0x18]
call fcn.0049ae2e
add esp, 0x10
xor eax, eax
jmp 0x40577a
push 8
pop eax
jmp 0x40577a
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov ecx, eax
mov eax, 0x2af9
sub ecx, eax
je 0x40577a
dec ecx
je 0x405775
dec ecx
je 0x40576e
dec ecx
jmp 0x40577a
mov eax, 0x2afb
jmp 0x40577a
mov eax, 0x2afa
pop edi
pop esi
pop ebx
pop ebp
ret 0x14
Function at 0x405d4e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
cmp dword [0x4d71c0], 0
push ebx
push esi
push edi
mov dword [ebp - 0x18], str.getaddrinfo
mov dword [ebp - 0x14], 0x4058d9
mov dword [ebp - 0x10], str.getnameinfo
mov dword [ebp - 0xc], 0x405b9a
mov dword [ebp - 8], str.freeaddrinfo
mov dword [ebp - 4], fcn.004058a0
jne 0x405ea8
push 0x104
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x405e9e
lea eax, [ebp - 0x230]
push eax
mov esi, 0x10c
lea eax, [ebp - 0x128]
push esi
push eax
call fcn.0049abba
push str.ws2_32
lea eax, [ebp - 0x128]
push esi
push eax
call fcn.0049ac19
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
add esp, 0x18
lea eax, [ebp - 0x128]
push eax
call ebx
mov edi, eax
test edi, edi
je 0x405e0b
push str.getaddrinfo
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x405e07
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor edi, edi
test edi, edi
jne 0x405e60
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x128]
push esi
push eax
call fcn.0049abba
push str.wship6
lea eax, [ebp - 0x128]
push esi
push eax
call fcn.0049ac19
add esp, 0x18
lea eax, [ebp - 0x128]
push eax
call ebx
mov edi, eax
test edi, edi
je 0x405e9e
push str.getaddrinfo
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x405e5c
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor edi, edi
test edi, edi
je 0x405e9e
xor esi, esi
push dword [ebp + esi*8 - 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp + esi*8 - 0x14], eax
test eax, eax
je 0x405e7d
inc esi
cmp esi, 3
jl 0x405e62
jmp 0x405e86
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor edi, edi
test edi, edi
je 0x405e9e
xor eax, eax
mov ecx, dword [ebp + eax - 0x14]
mov dword [eax + 0x4d43b8], ecx
add eax, 8
cmp eax, 0x18
jl 0x405e8c
mov dword [0x4d71c0], 1
movzx eax, word [ebp + 8]
mov eax, dword [eax*8 + 0x4d43b8]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x408654
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
xor ebx, ebx
mov eax, dword [edi + 0x20]
cmp ebx, eax
jae 0x408672
mov ecx, dword [edi + 0x18]
cmp byte [ecx + ebx], 0
je 0x4086b8
inc ebx
cmp ebx, eax
jb 0x408667
cmp eax, dword [edi + 0x1c]
jne 0x408694
lea esi, [edi + 0x18]
mov eax, dword [esi + 4]
test eax, eax
je 0x408685
add eax, eax
jmp 0x40868a
mov eax, 0x800
push eax
call fcn.0040914e
test eax, eax
jne 0x4086c3
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x1c]
push 0
sub ecx, eax
push ecx
mov ecx, dword [edi + 0x18]
add ecx, eax
push ecx
push dword [edi + 0x10]
call dword [sym.imp.WSOCK32.dll_recv]
cmp eax, 0xffffffff
je 0x4086c3
add dword [edi + 0x20], eax
jmp 0x40865d
test ebp, ebp
je 0x4086bf
mov dword [ebp], ebx
xor eax, eax
jmp 0x4086ce
push str.An_internal_error_has_occurred_in_the_debugger_engine._nContinue_running_the_script_without_the_debugger_
call fcn.00408aa0
pop ecx
pop esi
pop ebp
pop ebx
ret 4