joyce8/EMBER2024-capa huggingface dataset:
Function at 0x466410
Capabilities:
Receive data
Receive data on socket

Disassembly:
push 0
push dword [esp + 0x10]
push dword [esp + 0x10]
push dword [esp + 0x10]
call dword [sym.imp.WSOCK32.DLL_recv]
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x466441
call dword [sym.imp.WSOCK32.DLL_WSAGetLastError]
sub eax, 0x2733
neg eax
sbb eax, eax
and eax, 0xffffffe7
add eax, 0x51
ret
mov eax, dword [esp + 0x10]
mov dword [eax], ecx
xor eax, eax
ret

Function at 0x4664d0
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push edi
push 0
push dword [esp + 0x20]
push dword [esp + 0x20]
push dword [ebp + eax*4 + 0x144]
call dword [sym.imp.WSOCK32.DLL_send]
mov ebx, dword [esp + 0x20]
mov edi, eax
mov dword [ebx], 0
cmp edi, 0xffffffff
jne 0x46654b
push esi
call dword [sym.imp.WSOCK32.DLL_WSAGetLastError]
mov esi, eax
cmp esi, 0x2733
jne 0x466521
pop esi
pop edi
pop ebp
mov dword [ebx], 0x51
xor eax, eax
pop ebx
ret
push esi
push ebp
call fcn.0047aac0
push eax
push str.Send_failure:__s
push dword [ebp]
call fcn.00466160
mov eax, dword [ebp]
add esp, 0x14
mov dword [eax + 0x84f0], esi
mov eax, edi
mov dword [ebx], 0x37
pop esi
pop edi
pop ebp
pop ebx
ret

Function at 0x466650
Capabilities:
Write file on windows

Disassembly:
push edi
mov edi, dword [esp + 8]
mov eax, dword [edi + 0x164]
test eax, eax
je 0x466679
push dword [edi + 0xf8]
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x18]
push edi
call eax
add esp, 0x14
pop edi
ret
mov eax, dword [esp + 0xc]
cmp eax, 2
ja 0x4666b4
push dword [edi + 0xf4]
lea eax, [eax + eax*2]
push 1
add eax, 0x48ccbc
push 2
push eax
call dword [sym.imp.MSVCRT.dll_fwrite]
push dword [edi + 0xf4]
push 1
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call dword [sym.imp.MSVCRT.dll_fwrite]
add esp, 0x20
xor eax, eax
pop edi
ret
Function at 0x469290
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0xa8
mov eax, dword [0x4a6ca0]
mov dword [esp], 0x4020
mov dword [esp + 4], 0
mov dword [esp + 8], 4
test eax, eax
jne 0x469317
push 0x9c
push eax
lea eax, [esp + 0x14]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [esp + 0xc], 0x9c
mov dword [esp + 0x10], 6
push 3
push 2
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push edx
push eax
push 2
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoA]
test eax, eax
je 0x46930b
mov dword [0x4a6ca0], 2
add esp, 0xa8
ret
mov dword [0x4a6ca0], 1
jmp 0x46931c
cmp eax, 2
je 0x469368
lea eax, [esp + 8]
push eax
lea eax, [esp + 8]
push eax
push 0x1001
push 0xffff
push dword [esp + 0xbc]
call dword [sym.imp.WSOCK32.DLL_getsockopt]
test eax, eax
jne 0x46934a
mov eax, dword [esp + 4]
cmp eax, dword [esp]
jg 0x469368
push 4
lea eax, [esp + 4]
push eax
push 0x1001
push 0xffff
push dword [esp + 0xbc]
call dword [sym.imp.WSOCK32.DLL_setsockopt]
add esp, 0xa8
ret
Function at 0x469510
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x104
push ebx
mov ebx, dword [esp + 0x10c]
push ebp
cmp dword [ebx + 0x7c], 2
mov ebp, dword [ebx]
je 0x4696d3
cmp byte [ebx + 0x231], 0
push esi
push edi
jne 0x469687
mov esi, dword [esp + 0x11c]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x98]
mov dword [esp + 0x14], pe_nt_image_headers32
push eax
push esi
call dword [sym.imp.WSOCK32.DLL_getpeername]
test eax, eax
je 0x46958b
call dword [sym.imp.WSOCK32.DLL_WSAGetLastError]
mov esi, eax
push esi
push ebx
call fcn.0047aac0
push eax
push esi
push str.getpeername___failed_with_errno__d:__s
push ebp
call fcn.00466160
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
push pe_nt_image_headers32
lea eax, [esp + 0x18]
mov dword [esp + 0x14], pe_nt_image_headers32
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.WSOCK32.DLL_getsockname]
test eax, eax
je 0x4695e6
call dword [sym.imp.WSOCK32.DLL_WSAGetLastError]
mov esi, eax
push esi
push ebx
call fcn.0047aac0
push eax
push esi
push str.getsockname___failed_with_errno__d:__s
push ebp
call fcn.00466160
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
lea eax, [ebx + 0xd8]
push eax
lea esi, [ebx + 0xa8]
lea eax, [esp + 0x98]
push esi
push eax
call fcn.00469bc0
add esp, 0xc
test al, al
jne 0x469632
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push ebx
call fcn.0047aac0
push eax
push esi
push str.ssrem_inet_ntop___failed_with_errno__d:__s
push ebp
call fcn.00466160
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
lea edi, [ebx + 0x48]
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
lea eax, [ebx + 0x10c]
push eax
lea eax, [ebx + 0xdc]
push eax
lea eax, [esp + 0x1c]
movsw word es:[edi], word [esi]
push eax
call fcn.00469bc0
add esp, 0xc
test al, al
jne 0x469687
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push ebx
call fcn.0047aac0
push eax
push esi
push str.ssloc_inet_ntop___failed_with_errno__d:__s
push ebp
call fcn.00466160
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
mov edi, dword [ebx]
lea esi, [ebx + 0xa8]
add edi, 0x8654
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
mov ecx, 0xb
movsw word es:[edi], word [esi]
mov edi, dword [ebx]
lea esi, [ebx + 0xdc]
add edi, 0x8688
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, dword [ebx]
mov eax, dword [ebx + 0xd8]
pop edi
pop esi
mov dword [ecx + 0x8684], eax
mov ecx, dword [ebx]
mov eax, dword [ebx + 0x10c]
mov dword [ecx + 0x86b8], eax
pop ebp
pop ebx
add esp, 0x104
ret
Function at 0x469f30
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x10
push esi
mov esi, dword [esp + 0x18]
xor eax, eax
push edi
mov edi, dword [esp + 0x20]
push 4
cmp byte [esi + 0x398], al
setne al
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push 8
push 0xffff
push edi
call dword [sym.imp.WSOCK32.DLL_setsockopt]
test eax, eax
jns 0x469f7a
push edi
push str.Failed_to_set_SO_KEEPALIVE_on_fd__d_n
push esi
call fcn.00466230
add esp, 0xc
pop edi
pop esi
add esp, 0x10
ret
push dword [esi + 0x39c]
mov dword [esp + 0x10], 1
call fcn.00474c30
push dword [esi + 0x3a0]
imul eax, eax, 0x3e8
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], eax
call fcn.00474c30
add esp, 8
imul eax, eax, 0x3e8
push 0
push 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0xc
lea eax, [esp + 0x24]
push eax
push 0x98000004
push edi
call dword [sym.imp.WS2_32.DLL_WSAIoctl]
test eax, eax
je 0x469ff1
call dword [sym.imp.WSOCK32.DLL_WSAGetLastError]
push eax
push edi
push str.Failed_to_set_SIO_KEEPALIVE_VALS_on_fd__d:__d_n
push esi
call fcn.00466230
add esp, 0x10
pop edi
pop esi
add esp, 0x10
ret

Function at 0x46a000
Capabilities:
Set socket configuration

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push 4
mov esi, dword [edi]
movzx eax, byte [esi + 0x29a]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
push 1
push 6
push dword [esp + 0x20]
call dword [sym.imp.WSOCK32.DLL_setsockopt]
test eax, eax
jns 0x46a04b
call dword [sym.imp.WSOCK32.DLL_WSAGetLastError]
push eax
push edi
call fcn.0047aac0
push eax
push str.Could_not_set_TCP_NODELAY:__s_n
push esi
call fcn.00466230
add esp, 0x14
pop edi
pop esi
ret
push str.TCP_NODELAY_set_n
push esi
call fcn.00466230
add esp, 8
pop edi
pop esi
ret
Function at 0x470e30
Capabilities:
Parse pe header

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
mov bl, byte [esi]
test bl, bl
je 0x470ee1
mov cl, byte [edi]
test cl, cl
je 0x470ee1
movsx eax, bl
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x470e5a
jmp dword [eax*4 + 0x470f08]
mov bl, 0x41
jmp case.default.0x470e5a
mov bl, 0x42
jmp case.default.0x470e5a
mov bl, 0x43
jmp case.default.0x470e5a
mov bl, 0x44
jmp case.default.0x470e5a
mov bl, 0x45
jmp case.default.0x470e5a
mov bl, 0x46
jmp case.default.0x470e5a
mov bl, 0x47
jmp case.default.0x470e5a
mov bl, 0x48
jmp case.default.0x470e5a
mov bl, 0x49
jmp case.default.0x470e5a
mov bl, 0x4a
jmp case.default.0x470e5a
mov bl, 0x4b
jmp case.default.0x470e5a
mov bl, 0x4c
jmp case.default.0x470e5a
mov bl, 0x4d
jmp case.default.0x470e5a
mov bl, 0x4e
jmp case.default.0x470e5a
mov bl, 0x4f
jmp case.default.0x470e5a
mov bl, 0x50
jmp case.default.0x470e5a
mov bl, 0x51
jmp case.default.0x470e5a
mov bl, 0x52
jmp case.default.0x470e5a
mov bl, 0x53
jmp case.default.0x470e5a
mov bl, 0x54
jmp case.default.0x470e5a
mov bl, 0x55
jmp case.default.0x470e5a
mov bl, 0x56
jmp case.default.0x470e5a
mov bl, 0x57
jmp case.default.0x470e5a
mov bl, 0x58
jmp case.default.0x470e5a
mov bl, 0x59
jmp case.default.0x470e5a
mov bl, 0x5a
push ecx
call fcn.004710e0
add esp, 4
cmp bl, al
jne 0x470ee1
mov bl, byte [esi + 1]
inc esi
inc edi
test bl, bl
jne 0x470e45
movzx eax, byte [esi]
push eax
call fcn.004710e0
movzx ecx, byte [edi]
mov bl, al
push ecx
call fcn.004710e0
add esp, 8
xor ecx, ecx
cmp bl, al
sete cl
pop edi
pop esi
mov eax, ecx
pop ebx
ret
Function at 0x470f70
Capabilities:
Parse pe header

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x14]
mov bl, byte [edi]
test bl, bl
je 0x471036
lea ebx, [ebx]
mov cl, byte [ebp]
test cl, cl
je 0x471036
test esi, esi
je 0x47103a
movsx eax, bl
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x470fae
jmp dword [eax*4 + 0x47106c]
mov bl, 0x41
jmp case.default.0x470fae
mov bl, 0x42
jmp case.default.0x470fae
mov bl, 0x43
jmp case.default.0x470fae
mov bl, 0x44
jmp case.default.0x470fae
mov bl, 0x45
jmp case.default.0x470fae
mov bl, 0x46
jmp case.default.0x470fae
mov bl, 0x47
jmp case.default.0x470fae
mov bl, 0x48
jmp case.default.0x470fae
mov bl, 0x49
jmp case.default.0x470fae
mov bl, 0x4a
jmp case.default.0x470fae
mov bl, 0x4b
jmp case.default.0x470fae
mov bl, 0x4c
jmp case.default.0x470fae
mov bl, 0x4d
jmp case.default.0x470fae
mov bl, 0x4e
jmp case.default.0x470fae
mov bl, 0x4f
jmp case.default.0x470fae
mov bl, 0x50
jmp case.default.0x470fae
mov bl, 0x51
jmp case.default.0x470fae
mov bl, 0x52
jmp case.default.0x470fae
mov bl, 0x53
jmp case.default.0x470fae
mov bl, 0x54
jmp case.default.0x470fae
mov bl, 0x55
jmp case.default.0x470fae
mov bl, 0x56
jmp case.default.0x470fae
mov bl, 0x57
jmp case.default.0x470fae
mov bl, 0x58
jmp case.default.0x470fae
mov bl, 0x59
jmp case.default.0x470fae
mov bl, 0x5a
push ecx
call fcn.004710e0
add esp, 4
cmp bl, al
jne 0x471036
mov bl, byte [edi + 1]
inc edi
dec esi
inc ebp
test bl, bl
jne 0x470f90
test esi, esi
jne 0x471044
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
movzx eax, byte [edi]
push eax
call fcn.004710e0
movzx ecx, byte [ebp]
mov bl, al
push ecx
call fcn.004710e0
add esp, 8
xor ecx, ecx
cmp bl, al
sete cl
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
ret

Function at 0x4710e0
Capabilities:
Parse pe header

Disassembly:
mov cl, byte [esp + 4]
movsx eax, cl
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x4710ef
jmp dword [eax*4 + 0x471148]
mov al, 0x41
ret
mov al, 0x42
ret
mov al, 0x43
ret
mov al, 0x44
ret
mov al, 0x45
ret
mov al, 0x46
ret
mov al, 0x47
ret
mov al, 0x48
ret
mov al, 0x49
ret
mov al, 0x4a
ret
mov al, 0x4b
ret
mov al, 0x4c
ret
mov al, 0x4d
ret
mov al, 0x4e
ret
mov al, 0x4f
ret
mov al, 0x50
ret
mov al, 0x51
ret
mov al, 0x52
ret
mov al, 0x53
ret
mov al, 0x54
ret
mov al, 0x55
ret
mov al, 0x56
ret
mov al, 0x57
ret
mov al, 0x58
ret
mov al, 0x59
ret
mov al, 0x5a
ret
mov al, cl
ret
Function at 0x4711b0
Capabilities:
Parse pe header

Disassembly:
push esi
mov esi, dword [esp + 0x10]
cmp esi, 1
jb 0x47125c
mov edx, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
sub edi, edx
lea esp, [esp]
mov cl, byte [edx]
movsx eax, cl
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x4711dd
jmp dword [eax*4 + 0x471260]
mov cl, 0x41
jmp case.default.0x4711dd
mov cl, 0x42
jmp case.default.0x4711dd
mov cl, 0x43
jmp case.default.0x4711dd
mov cl, 0x44
jmp case.default.0x4711dd
mov cl, 0x45
jmp case.default.0x4711dd
mov cl, 0x46
jmp case.default.0x4711dd
mov cl, 0x47
jmp case.default.0x4711dd
mov cl, 0x48
jmp case.default.0x4711dd
mov cl, 0x49
jmp case.default.0x4711dd
mov cl, 0x4a
jmp case.default.0x4711dd
mov cl, 0x4b
jmp case.default.0x4711dd
mov cl, 0x4c
jmp case.default.0x4711dd
mov cl, 0x4d
jmp case.default.0x4711dd
mov cl, 0x4e
jmp case.default.0x4711dd
mov cl, 0x4f
jmp case.default.0x4711dd
mov cl, 0x50
jmp case.default.0x4711dd
mov cl, 0x51
jmp case.default.0x4711dd
mov cl, 0x52
jmp case.default.0x4711dd
mov cl, 0x53
jmp case.default.0x4711dd
mov cl, 0x54
jmp case.default.0x4711dd
mov cl, 0x55
jmp case.default.0x4711dd
mov cl, 0x56
jmp case.default.0x4711dd
mov cl, 0x57
jmp case.default.0x4711dd
mov cl, 0x58
jmp case.default.0x4711dd
mov cl, 0x59
jmp case.default.0x4711dd
mov cl, 0x5a
mov byte [edi + edx], cl
mov al, byte [edx]
inc edx
test al, al
je 0x47125b
dec esi
jne 0x4711d0
pop edi
pop esi
ret
Function at 0x476cc0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x104
push dword [esp + 0x108]
call dword [sym.imp.MSVCRT.dll_getenv]
add esp, 4
mov byte [esp], 0
test eax, eax
je 0x476d09
push 0x104
lea ecx, [esp + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [esp], 0
je 0x476d09
lea eax, [esp]
push eax
call dword [0x4a3644]
add esp, 4
add esp, 0x104
ret
xor eax, eax
add esp, 0x104
ret
Function at 0x47bb50
Capabilities:
Resolve dns

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x1c]
push ebp
xor ebp, ebp
mov dword [esp + 4], ebp
mov dword [eax], ebp
lea eax, [esp + 8]
push eax
push dword [esp + 0x20]
push dword [esp + 0x20]
push dword [esp + 0x20]
call dword [sym.imp.WS2_32.DLL_getaddrinfo]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x47bce3
push ebx
push edi
mov edi, dword [esp + 0x10]
test edi, edi
je 0x47bccd
push esi
mov eax, dword [edi + 4]
cmp eax, 2
jne 0x47bb9f
lea ebx, [eax + 0xe]
jmp 0x47bbab
cmp eax, 0x17
jne 0x47bc5a
lea ebx, [eax + 5]
cmp dword [edi + 0x18], 0
je 0x47bc5a
mov eax, dword [edi + 0x10]
test eax, eax
je 0x47bc5a
cmp eax, ebx
jb 0x47bc5a
push 0x20
call dword [0x4a3638]
mov esi, eax
add esp, 4
test esi, esi
je 0x47bcc2
mov eax, dword [edi]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
push ebx
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x1c], 0
call dword [0x4a3638]
add esp, 4
mov dword [esi + 0x18], eax
test eax, eax
je 0x47bcb1
push ebx
push dword [edi + 0x18]
push eax
call sub.MSVCRT.dll_memcpy
mov eax, dword [edi + 0x14]
add esp, 0xc
test eax, eax
je 0x47bc45
push eax
call dword [0x4a3644]
add esp, 4
mov dword [esi + 0x14], eax
test eax, eax
je 0x47bc97
test ebp, ebp
jne 0x47bc4b
mov ebp, esi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x47bc56
mov dword [eax + 0x1c], esi
mov dword [esp + 0x10], esi
mov edi, dword [edi + 0x1c]
test edi, edi
jne 0x47bb92
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
pop esi
test eax, eax
je 0x47bc79
push eax
call dword [sym.imp.WS2_32.DLL_freeaddrinfo]
test ebx, ebx
je 0x47bcc9
push ebp
call fcn.0047bb10
mov eax, dword [esp + 0x2c]
add esp, 4
xor ebp, ebp
mov dword [eax], ebp
mov eax, ebx
pop edi
pop ebx
pop ebp
add esp, 0xc
ret
push dword [esi + 0x18]
mov ebx, 8
call dword [0x4a363c]
push esi
call dword [0x4a363c]
add esp, 8
jmp 0x47bc69
push esi
mov ebx, 8
call dword [0x4a363c]
add esp, 4
jmp 0x47bc69
mov ebx, 8
jmp 0x47bc69
test ebp, ebp
jne 0x47bcd9
mov ebx, 0x2af9
push ebx
call dword [sym.imp.WSOCK32.DLL_WSASetLastError]
mov eax, dword [esp + 0x28]
pop edi
mov dword [eax], ebp
mov eax, ebx
pop ebx
pop ebp
add esp, 0xc
ret

Function at 0x47c130
Capabilities:
Create udp socket

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x264], 2
je fcn.0047c0e0
mov al, 1
ret
Function at 0x481b7b
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
xor ebp, ebp
mov edi, ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
mov esi, 0x4a6cfc
cmp dword [0x4a6cf8], edi
jne 0x481baa
push esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x4a6cf8], 1
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x4a6cf4]
test esi, esi
je 0x481c05
test edi, edi
jne 0x481d4c
xor eax, eax
lea ecx, [esi + 0x114]
inc eax
cmp ebx, dword [ecx]
je 0x481bdb
inc eax
add ecx, 4
cmp eax, 0x40
jl 0x481bcc
jmp 0x481bf7
push dword [esp + 0x1c]
add eax, 0x84
push dword [esp + 0x1c]
lea eax, [esi + eax*4]
push eax
call fcn.00481b24
xor edi, edi
add esp, 0xc
inc edi
mov esi, dword [esi]
test esi, esi
jne 0x481bbb
test edi, edi
jne 0x481d4c
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea eax, [esp + 0x10]
push ebp
push ebp
push 0x100000
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x481d4c
mov esi, dword [0x4a6cf4]
jmp 0x481c46
cmp dword [esi + 0xc], 0x3f
jl 0x481ce7
mov esi, dword [esi]
test esi, esi
jne 0x481c3a
push 0x310
push 8
push dword [0x4a5a70]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
test esi, esi
je 0x481d46
push ebp
push 1
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov dword [esi + 8], eax
test eax, eax
je 0x481d38
push ebp
push ebp
push esi
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x1c]
push 0x481d5f
mov dword [esi + 0x114], ebx
lea ebx, [esi + 0x214]
push 0x1000
mov dword [esi + 0x14], eax
mov dword [ebx], ebp
push ebp
mov dword [esi + 0xc], 2
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x481d33
push eax
call edi
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push ebx
call fcn.00481b24
mov eax, dword [0x4a6cf4]
add esp, 0xc
mov dword [esi + 4], ebp
mov dword [esi], eax
test eax, eax
je 0x481cdf
mov dword [eax + 4], esi
mov dword [0x4a6cf4], esi
jmp 0x481d4c
mov ecx, dword [esi + 0xc]
mov eax, dword [esp + 0x10]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
mov dword [esi + ecx*4 + 0x10], eax
mov eax, dword [esi + 0xc]
mov dword [esi + eax*4 + 0x110], ebx
mov eax, dword [esi + 0xc]
mov dword [esi + eax*4 + 0x210], ebp
mov eax, dword [esi + 0xc]
add eax, 0x84
lea eax, [esi + eax*4]
push eax
call fcn.00481b24
add esp, 0xc
inc dword [esi + 0xc]
push ebp
push 1
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
jmp 0x481d4c
push dword [esi + 8]
call edi
push esi
push ebp
push dword [0x4a5a70]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [esp + 0x10]
call edi
push 0x4a6cfc
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x483000
Capabilities:
Compress data via zlib inflate or deflate

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x34
push edi
test ecx, ecx
je 0x484636
mov edi, dword [ecx + 0x1c]
mov dword [esp + 0x14], edi
test edi, edi
je 0x484636
cmp dword [ecx + 0xc], 0
je 0x484636
cmp dword [ecx], 0
jne 0x483038
cmp dword [ecx + 4], 0
jne 0x484636
cmp dword [edi], 0xb
jne 0x483043
mov dword [edi], 0xc
mov eax, dword [ecx + 0xc]
mov edx, dword [edi + 0x38]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0x10]
push ebx
mov ebx, dword [ecx]
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
xor eax, eax
push ebp
mov ebp, dword [ecx + 4]
mov dword [esp + 0x28], eax
mov eax, dword [edi]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x38], ebp
push esi
mov esi, dword [edi + 0x3c]
cmp eax, 0x1e
ja 0x4839b5
lea ebx, [edi + 0x54]
mov dword [esp + 0x40], ebx
mov ebx, dword [esp + 0x14]
jmp 0x483090
jmp dword [eax*4 + 0x484640]
pop esi
pop ebp
pop ebx
mov eax, 0xfffffffe
pop edi
add esp, 0x34
ret
mov eax, 0xfffffffe
pop edi
add esp, 0x34
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 0x4c819bb
Capabilities:
Capture screenshot
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov eax, dword [0x4c85f94]
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4c81adb
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [0x4c85f94]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
test esi, esi
je 0x4c81ad3
lea eax, [ebp - 0x14]
push eax
push dword [0x4c85f94]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov edi, eax
test edi, edi
je 0x4c81ac6
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 4], eax
test eax, eax
je 0x4c81abf
push 0
mov ebx, dword [ebp - 8]
sub ebx, dword [ebp - 0x10]
push 0x5a
imul ebx, ebx, 0xfe
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov ecx, eax
sub edx, edx
mov eax, ebx
mov ebx, dword [ebp - 0xc]
div ecx
push eax
sub ebx, dword [ebp - 0x14]
imul ebx, ebx, 0xfe
push 0x58
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov ecx, eax
sub edx, edx
mov eax, ebx
div ecx
push eax
push edi
call dword [sym.imp.GDI32.dll_SetBitmapDimensionEx]
push edi
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
mov eax, dword [ebp - 8]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push esi
sub eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push 0
push 0
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_DeleteDC]
push edi
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
jmp 0x4c81ac6
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
mov eax, dword [0x4c85f94]
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x4c81ae3
push 0
call dword [sym.imp.USER32.dll_MessageBeep]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret