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

Disassembly:
jmp 0x412d00
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x412ea9
push ebx
mov ebx, dword [esp + 0x10]
nop word [eax + eax]
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 3
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 3
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0x89
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
inc byte [esi + ebx]
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xdc
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
add esp, 0x44
push eax
call fcn.004013a7
add byte [esi + ebx], 6
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x78
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xc9
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x71
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x3b
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xcd
add esp, 0x40
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xf8
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0x27
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x79
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x55
add esp, 0x30
inc esi
cmp esi, edi
jb 0x412d20
pop ebx
pop edi
pop esi
ret

Function at 0x4035da
Capabilities:
Terminate process

Disassembly:
jmp 0x451bc9
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x451bda
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405907
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x40370b
Capabilities:
Query environment variable

Disassembly:
jmp 0x49b072
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49b083
pop esi
ret
push ebx
push edi
push esi
call fcn.0049af59
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403fda
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49b0ab
push ebx
push esi
push edi
call fcn.004056fa
add esp, 0xc
push 0
call fcn.00406244
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x402bf1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x402c00
pop dword [ebp - 0x2c]
mov eax, 0x55fc776d
add eax, 0xaa43b493
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0xf7eda725
sub dword [ebp - 0x3c], 0xa99b61da
mov dword [ebp - 0x38], 0x1ff22262
sub dword [ebp - 0x38], 0xedbed61d
mov dword [ebp - 0x34], 0xe5e5acc
sub dword [ebp - 0x34], 0xc212169e
mov dword [ebp - 0x30], 0x4fc12e3e
add dword [ebp - 0x30], 0xb03ed1c2
lea eax, [ebp - 0x3c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x85fc4760
sub dword [ebp - 0x3c], 0x1189de0a
mov dword [ebp - 0x38], 0x38c44e9d
sub dword [ebp - 0x38], 0xf757ed28
mov dword [ebp - 0x34], 0xbe274124
sub dword [ebp - 0x34], 0x5ab7d4b8
mov dword [ebp - 0x30], 0xee828f9f
add dword [ebp - 0x30], 0x117d7061
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0xaa96b03
sub eax, 0xa68ea2f
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x36856
push 0
call eax
mov ecx, 0x445e842d
sub ecx, 0x445e3cd9
xor edx, edx
add edx, eax
mov edi, 0xba8b098f
sub edi, 0xba49f98f
add edi, dword [ebp - 0x2c]
mov esi, 0xb51f4526
sub esi, 0x3f4852e4
mov ebx, dword [edi]
sub dword [ebp - 0x1c], edi
xor ebx, esi
xor dword [ebp - 0xc], 0x1f5559e7
mov dword [edx], ebx
xor dword [ebp - 0x20], ecx
add edx, 0xb13c51ee
sub edx, 0xb13c51ea
add edi, 0x2a818300
sub edi, 0x2a8182fc
loop 0x402d1f
add eax, 0x600d66cb
sub eax, 0x600c56a8
mov ebx, eax
add eax, 5
mov ecx, 0x7a19341f
add ecx, 0x8626cbe1
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x43d0cd
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x43ce2e
add esi, esi
call fcn.0043d100
xor dword [edi], ebx
sub edx, esi
mov esi, 0x1d71a88e
inc edi
sub edx, 0xaa8ee5fe
mov edx, edx
cmp edi, ecx
jne fcn.0043d0cd
add esi, 0x6ae81fa
add edx, 0xdc0fbfba
ret

Function at 0x16a59f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.FKP1
lea edi, [esi - 0x1272000]
push edi
or ebp, 0xffffffff
jmp 0x16a5a12
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x16a5a19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a5a08
mov eax, 1
add ebx, ebx
jne 0x16a5a2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x16a5a3c
jne 0x16a5a5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a5a5b
dec eax
add ebx, ebx
jne 0x16a5a48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x16a5a20
add ebx, ebx
jne 0x16a5a57
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x16a5aad
xor ecx, ecx
sub eax, 3
jb 0x16a5a73
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x16a5ae2
sar eax, 1
mov ebp, eax
jmp 0x16a5a7e
add ebx, ebx
jne 0x16a5a7e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a5a4c
inc ecx
add ebx, ebx
jne 0x16a5a8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a5a4c
add ebx, ebx
jne 0x16a5a99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x16a5a8e
jne 0x16a5aaa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x16a5a8e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x16a5acc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x16a5abe
jmp 0x16a5a0e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x16a5acc
add edi, ecx
jmp 0x16a5a0e
pop esi
mov edi, esi
mov ecx, 0x34f3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x16a5aea
cmp byte [edi], 0x16
jne 0x16a5aea
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 0x16a5aef
lea edi, [esi + 0x12a2000]
mov eax, dword [edi]
or eax, eax
je 0x16a5b5e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12a67a0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12a6890]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x16a5b1c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12a6894]
or eax, eax
je 0x16a5b58
mov dword [ebx], eax
add ebx, 4
jmp 0x16a5b39
call dword [esi + 0x12a68a4]
mov ebp, dword [esi + 0x12a6898]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x16a5b92
sub esp, 0xffffff80
jmp 0x46c1ac
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x1ea45e1e
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
xor dword [eax], ecx
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e024
nop
nop
nop
nop
mov eax, section..text_1
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x45c65b90
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219

Function at 0x409ebd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x409ebd
lcall 0x5de5, 0x8b10c483
jmp fcn.0076d6b4
Function at 0x4018b0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x19c
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x19c
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x19c
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x19c
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x19c
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x19c
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x19c
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je 0x401920
xor eax, eax
jmp 0x401a01
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
jne 0x401938
xor eax, eax
jmp 0x401a01
push ebp
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
call fcn.00401330
mov esp, ebp
pop ebp
ret

Function at 0x401be0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [0x40d0c0], 0x24e1
mov eax, dword [0x40d0c0]
sub eax, 0x24e1
mov dword [0x40d0c0], eax
mov ecx, 1
test ecx, ecx
je 0x401c8b
mov edx, dword [0x40d0c0]
cmp edx, dword [ebp + 0xc]
jb 0x401c17
jmp 0x401c8b
cmp dword [0x40d0c0], 0
jne 0x401c35
push 0x263
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
je 0x401c35
xor eax, eax
jmp 0x401c8b
mov eax, dword [ebp + 8]
add eax, dword [0x40d0c0]
mov ecx, dword [eax]
add ecx, dword [0x40d0c0]
mov edx, dword [ebp + 8]
add edx, dword [0x40d0c0]
mov dword [edx], ecx
mov dword [ebp - 4], 0x64b60
mov eax, dword [0x40d0c0]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax + 2]
push edx
mov eax, dword [ebp + 8]
add eax, dword [0x40d0c0]
push eax
call fcn.00401200
add esp, 8
mov ecx, dword [0x40d0c0]
add ecx, 4
mov dword [0x40d0c0], ecx
jmp 0x401bfd
mov esp, ebp
pop ebp
ret

Function at 0x40ed72
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x40eae0
call fcn.0040ed8f
xor dword [edx], eax
or ecx, ecx
inc edx
cmp edx, esi
jne fcn.0040ed72
mov ecx, ebx
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..pdata
push 4
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x16583d94
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..pdata_1
nop
nop
nop
cmp eax, 0
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x3cd40f6
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x44aea9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x44aeb8
pop dword [ebp - 0x30]
mov eax, 0x44aeb8
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0xe1acca96
add dword [ebp - 0x40], 0x6ca57ab5
mov dword [ebp - 0x3c], 0xaca3bad6
add dword [ebp - 0x3c], 0x858f916f
mov dword [ebp - 0x38], 0x37b20529
add dword [ebp - 0x38], 0x149a3f05
mov dword [ebp - 0x34], 0x414bbd1c
sub dword [ebp - 0x34], 0x414bbd1c
lea eax, [ebp - 0x40]
push eax
mov eax, 0x6a512bc7
add eax, 0x95f8648d
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0xaffb5ad3
add dword [ebp - 0x40], 0xc4770e83
mov dword [ebp - 0x3c], 0xa5fb88bc
sub dword [ebp - 0x3c], 0x648f2747
mov dword [ebp - 0x38], 0x694f2434
sub dword [ebp - 0x38], 0x5dfb7c8
mov dword [ebp - 0x34], 0xaadea307
sub dword [ebp - 0x34], 0xaadea307
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, 0x649dfae5
add eax, 0x9bab953f
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x6b179
push 0
call eax
mov ecx, 0x3db2
mov ebx, eax
mov esi, 0x4c5e00
add esi, dword [ebp - 0x30]
mov edi, 0x35db1392
sub edi, 0x6b9ffcd6
sub dword [ebp - 0x10], 0xa578af4e
mov edx, dword [esi]
add dword [ebp - 0x1c], ecx
sub edx, edi
xor dword [ebp - 0xc], edx
mov dword [ebx], edx
xor dword [ebp - 0xc], edi
add ebx, 4
add esi, 0xd48f8d42
sub esi, 0xd48f8d3e
loop 0x44afc9
add eax, 0xe99b
xor ebx, ebx
add ebx, eax
add eax, 0x6705a922
add eax, 0x98fa56e3
mov ecx, 0xd7817662
sub ecx, 0xd7417662
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x403a60
Capabilities:
Set current directory

Disassembly:
test al, al
je 0x403a74
inc dword [0x4d987c]
add dword [0x4d5b14], 0x108
mov edx, dword [0x4d5b14]
push esi
push edi
mov ecx, 0x42
mov esi, 0x4d8348
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 0x403aa3
push 0
mov eax, 0x4da728
call fcn.0041e4b0
cmp dword [0x4d98ac], 0
mov dword [0x4db220], 0
mov dword [0x4db224], 0
je 0x403adb
mov eax, dword [0x4d6d34]
test eax, eax
je 0x403acf
mov eax, dword [eax]
test eax, eax
jne 0x403ad4
mov eax, 0x4b0cf8
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp byte [esp + 0x10], 0
jne 0x403b5f
or ecx, 0xffffffff
cmp byte [esi + 0xee], 0
jne 0x403b0a
xor eax, eax
cmp byte [esp + 0x14], 0x65
sete al
mov byte [esi + 0xee], al
test al, al
je 0x403b0a
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov dword [esi + 0x24], ecx
cmp dword [0x4db22c], 0
je 0x403b1c
cmp dword [0x4db228], 0
jne 0x403b25
cmp byte [esi + 0xee], 0
je 0x403b5f
cmp byte [esi + 0xee], 0
mov byte [esi + 0xec], 0
jne 0x403b5f
cmp dword [0x4db22c], 0
jge 0x403b47
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 [0x4db22c]
mov dword [esi + 0xe0], edx
pop edi
pop esi
ret
Function at 0x405150
Capabilities:
Write clipboard data

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x18], ebx
jne 0x405174
push esi
call fcn.00405420
test eax, eax
jne 0x405174
push str.Cant_open_clipboard_for_writing.
call fcn.00405250
pop esi
pop ebx
pop ecx
ret
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x4051ad
cmp dword [esi + 0x18], ebx
je 0x40519f
cmp dword [esi + 8], ebx
je 0x405194
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 0x4afe04
call fcn.00405250
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 0x4051e6
mov ecx, dword [esi + 0xc]
cmp ecx, ebx
je 0x40520d
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 0x40520d
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 0x405203
cmp dword [esi + 8], ebx
je 0x4051f8
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 0x405222
mov dword [esi + 4], ebx
jmp 0x4051e6
cmp dword [esi + 0x18], ebx
je 0x40523f
cmp dword [esi + 8], ebx
je 0x405234
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 0x4afe24
call fcn.00405250
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x405320
Capabilities:
Read clipboard data

Disassembly:
sub esp, 0x20c
test esi, esi
je 0x405330
mov dword [esi], 0
lea eax, [edi - 0xc000]
cmp eax, 0x3fff
ja 0x4053ff
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.0049a29a
add esp, 0xc
test eax, eax
je 0x4053f6
lea eax, [esp]
push str.ObjectLink
push eax
call fcn.00499b19
add esp, 8
test eax, eax
je 0x4053f6
lea ecx, [esp]
push str.OwnerLink
push ecx
call fcn.00499b19
add esp, 8
test eax, eax
je 0x4053f6
lea edx, [esp]
push str.Native
push edx
call fcn.00499b19
add esp, 8
test eax, eax
je 0x4053f6
lea eax, [esp]
push str.Embed_Source
push eax
call fcn.00499b19
add esp, 8
test eax, eax
je 0x4053f6
lea ecx, [esp]
push str.MSDEVColumnSelect
push ecx
call fcn.00499b19
add esp, 8
test eax, eax
je 0x4053ec
lea edx, [esp]
push str.MSDEVLineSelect
push edx
call fcn.00499b19
add esp, 8
test eax, eax
jne 0x405405
test esi, esi
je 0x4053f6
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 0x405420
Capabilities:
Check for time delay via gettickcount
Open clipboard

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x18], 0
je 0x405432
mov eax, 1
ret 4
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
mov ecx, dword [0x4d9708]
mov ebx, dword [sym.imp.USER32.dll_OpenClipboard]
push ecx
mov edi, eax
call ebx
test eax, eax
jne 0x4054a0
mov eax, dword [0x4d5a18]
cmp eax, 0xffffffff
je 0x405471
test eax, eax
je 0x4054b6
call esi
mov edx, dword [0x4d5a18]
add edx, edi
sub edx, eax
cmp edx, 5
jle 0x4054b6
push 1
push 0x8000012f
mov dword [0x4d5a1c], 0
call fcn.004014c0
mov eax, dword [0x4d9708]
add esp, 8
push eax
mov dword [0x4d5a1c], 1
call ebx
test eax, eax
je 0x405452
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 0x405838
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 0x4058ad
cmp word [ebx + 8], 2
jne 0x40588d
cmp word [ebx + 0xa], 4
jne 0x40588d
mov edi, dword [ebx + 0xc]
jmp 0x405887
push dword [eax]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.004057d1
mov dword [esi], eax
test eax, eax
je 0x4058a8
lea esi, [eax + 0x1c]
add edi, 4
mov eax, dword [edi]
test eax, eax
jne 0x40586b
push 0x400
push dword [ebx]
push 0x401
push dword [ebp + 0x18]
call fcn.0049b82e
add esp, 0x10
xor eax, eax
jmp 0x4058d3
push 8
pop eax
jmp 0x4058d3
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov ecx, eax
mov eax, 0x2af9
sub ecx, eax
je 0x4058d3
dec ecx
je 0x4058ce
dec ecx
je 0x4058c7
dec ecx
jmp 0x4058d3
mov eax, 0x2afb
jmp 0x4058d3
mov eax, 0x2afa
pop edi
pop esi
pop ebx
pop ebp
ret 0x14
Function at 0x405ea7
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
cmp dword [0x4d8228], 0
push ebx
push esi
push edi
mov dword [ebp - 0x18], str.getaddrinfo
mov dword [ebp - 0x14], 0x405a32
mov dword [ebp - 0x10], str.getnameinfo
mov dword [ebp - 0xc], 0x405cf3
mov dword [ebp - 8], str.freeaddrinfo
mov dword [ebp - 4], fcn.004059f9
jne 0x406001
push 0x104
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x405ff7
lea eax, [ebp - 0x230]
push eax
mov esi, 0x10c
lea eax, [ebp - 0x128]
push esi
push eax
call fcn.0049b5ba
push str.ws2_32
lea eax, [ebp - 0x128]
push esi
push eax
call fcn.0049b619
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 0x405f64
push str.getaddrinfo
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x405f60
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor edi, edi
test edi, edi
jne 0x405fb9
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x128]
push esi
push eax
call fcn.0049b5ba
push str.wship6
lea eax, [ebp - 0x128]
push esi
push eax
call fcn.0049b619
add esp, 0x18
lea eax, [ebp - 0x128]
push eax
call ebx
mov edi, eax
test edi, edi
je 0x405ff7
push str.getaddrinfo
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x405fb5
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor edi, edi
test edi, edi
je 0x405ff7
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 0x405fd6
inc esi
cmp esi, 3
jl 0x405fbb
jmp 0x405fdf
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor edi, edi
test edi, edi
je 0x405ff7
xor eax, eax
mov ecx, dword [ebp + eax - 0x14]
mov dword [eax + 0x4d53b8], ecx
add eax, 8
cmp eax, 0x18
jl 0x405fe5
mov dword [0x4d8228], 1
movzx eax, word [ebp + 8]
mov eax, dword [eax*8 + 0x4d53b8]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x40894f
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 + 0x2c]
cmp ebx, eax
jae 0x40896d
mov ecx, dword [edi + 0x24]
cmp byte [ecx + ebx], 0
je 0x4089b3
inc ebx
cmp ebx, eax
jb 0x408962
cmp eax, dword [edi + 0x28]
jne 0x40898f
lea esi, [edi + 0x24]
mov eax, dword [esi + 4]
test eax, eax
je 0x408980
add eax, eax
jmp 0x408985
mov eax, 0x800
push eax
call fcn.00409446
test eax, eax
jne 0x4089be
mov eax, dword [edi + 0x2c]
mov ecx, dword [edi + 0x28]
push 0
sub ecx, eax
push ecx
mov ecx, dword [edi + 0x24]
add ecx, eax
push ecx
push dword [edi + 0x10]
call dword [sym.imp.WSOCK32.dll_recv]
cmp eax, 0xffffffff
je 0x4089be
add dword [edi + 0x2c], eax
jmp 0x408958
test ebp, ebp
je 0x4089ba
mov dword [ebp], ebx
xor eax, eax
jmp 0x4089c9
push str.An_internal_error_has_occurred_in_the_debugger_engine._nContinue_running_the_script_without_the_debugger_
call fcn.00408d62
pop ecx
pop esi
pop ebp
pop ebx
ret 4