joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4cf1f2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x53bd24]
jne 0x4cf1fc
repz ret
jmp fcn.004d6147

Function at 0x4e5c76
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.004d7677
and dword [ebp - 4], 0
cmp dword [0x544d28], 0
mov ebx, eax
jne 0x4e5d27
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4e5dd8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x52ac00
push edi
call esi
test eax, eax
je 0x4e5dd8
push eax
call fcn.004d7605
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x544d28], eax
call esi
push eax
call fcn.004d7605
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x544d2c], eax
call esi
push eax
call fcn.004d7605
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x544d30], eax
call esi
push eax
call fcn.004d7605
pop ecx
mov dword [0x544d38], eax
test eax, eax
je 0x4e5d27
push 0x52aba8
push edi
call esi
push eax
call fcn.004d7605
pop ecx
mov dword [0x544d34], eax
mov eax, dword [0x544d34]
cmp eax, ebx
je 0x4e5d7f
cmp dword [0x544d38], ebx
je 0x4e5d7f
push eax
call fcn.004d7680
push dword [0x544d38]
mov esi, eax
call fcn.004d7680
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4e5d7f
test edi, edi
je 0x4e5d7f
call esi
test eax, eax
je 0x4e5d76
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4e5d76
test byte [ebp - 0xc], 1
jne 0x4e5d7f
or dword [ebp + 0x10], 0x200000
jmp 0x4e5db8
mov eax, dword [0x544d2c]
cmp eax, ebx
je 0x4e5db8
push eax
call fcn.004d7680
pop ecx
test eax, eax
je 0x4e5db8
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4e5db8
mov eax, dword [0x544d30]
cmp eax, ebx
je 0x4e5db8
push eax
call fcn.004d7680
pop ecx
test eax, eax
je 0x4e5db8
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x544d28]
call fcn.004d7680
pop ecx
test eax, eax
je 0x4e5dd8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4e5dda
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
push esi
push edi
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
mov edx, dword [edi + 0x1c]
push 0
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_send]
push 0xf
push edi
mov esi, eax
call fcn.00427fe0
add esp, 8
test esi, esi
jg 0x4ebd8e
je 0x4ebd6c
cmp esi, 0xffffffff
jne 0x4ebd8e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 4
je 0x4ebd83
cmp eax, 0xb
je 0x4ebd83
cmp eax, 0x2733
jne 0x4ebd8e
push 0xa
push edi
call fcn.00428000
add esp, 8
pop edi
mov eax, esi
pop esi
ret
Function at 0x4b7000
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push ebp
mov ebp, eax
xor ebx, ebx
jmp 0x4b7068
call 0x4b706d
pop eax
sub eax, 0x6d
push eax
pushal
xor ecx, ecx
push eax
pop eax
push eax
push eax
mov ebp, eax
push ecx
std
sub eax, dword cs:[ebp + ecx + 0x2a1]
mov esi, eax
add esi, dword cs:[ebp + ecx + 0x2ad]
mov edi, eax
add edi, dword cs:[ebp + ecx + 0x2a5]
push edi
mov ecx, dword cs:[ebp + ecx + 0x2a9]
rep movsd dword es:[edi], dword [esi]
mov esi, edi
add esi, 4
mov edi, eax
cld
lodsd eax, dword [esi]
mov ebp, eax
mov bl, 0x20
jmp 0x4b70ec
lodsd eax, dword [esi]
mov ebp, eax
mov bl, 0x20
jb 0x4b70f4
movsb byte es:[edi], byte [esi]
shl ebp, 1
dec bx
ja 0x4b70eb
je 0x4b70e4
mov cl, 2
call fcn.004b70b5
cmp al, 3
jb 0x4b7143
mov cl, 2
call fcn.004b70b5
mov dx, 1
mov cl, al
add cl, 5
dec ax
jg 0x4b711b
shl dx, cl
sub dl, 0x1f
jmp 0x4b7125
inc cx
shl dx, cl
sub dx, 0x9f
call fcn.004b70b5
cmp ax, 0x1ff
je 0x4b7186
add ax, dx
mov edx, edi
movzx eax, ax
sub edx, eax
mov cx, 2
jmp 0x4b721e
cmp al, 1
pushfd
mov cl, 3
call fcn.004b70b5
cmp al, 3
ja 0x4b7160
je 0x4b7157
add al, 5
jmp 0x4b7192
call fcn.004b70dd
adc al, 5
jmp 0x4b7192
cmp al, 4
je 0x4b718b
add al, 7
cmp al, 0xd
jb 0x4b7192
je 0x4b7179
mov cl, 0xf
call fcn.004b70b5
add ax, 0x5fe1
jmp 0x4b71a7
mov cl, 0xe
call fcn.004b70b5
add ax, 0x1fe1
jmp 0x4b71a7
jmp 0x4b7229
call fcn.004b70dd
adc al, 6
mov cl, al
mov dx, 1
shl dx, cl
sub dx, 0x1f
call fcn.004b70b5
add ax, dx
mov edx, edi
movzx eax, ax
sub edx, eax
popfd
jb 0x4b71bb
mov cx, 3
je 0x4b721e
inc cx
jmp 0x4b721e
call fcn.004b70dd
jb 0x4b71ce
xor ax, ax
call fcn.004b70dd
adc al, 5
jmp 0x4b721b
mov cl, 3
call fcn.004b70b5
or al, al
jne 0x4b71e6
mov cl, 4
call fcn.004b70b5
or al, al
je 0x4b71ea
add al, 7
add al, 6
jmp 0x4b721b
mov cl, 4
push dx
mov dx, 0xd
cmp cl, 7
je 0x4b7212
inc dx
inc dx
shl dx, 1
dec dx
call fcn.004b70dd
inc cl
jae 0x4b71f2
call fcn.004b70b5
add al, dl
jmp 0x4b7219
mov cl, 0xe
call fcn.004b70b5
pop dx
mov cx, ax
xchg edx, esi
rep movsb byte es:[edi], byte [esi]
mov esi, edx
jmp 0x4b70ec
pop eax
add eax, 4
sub eax, edi
mov ecx, eax
xor eax, eax
rep stosb byte es:[edi], al
pop ecx
pop ebp
cmp byte cs:[ebp + ecx + 0x2b1], 0
je 0x4b724a
add ecx, 0x11
jmp 0x4b7078
mov eax, ebp
mov ebx, 0x2b2
add ebx, ebp
add ebx, ecx
mov ecx, dword ds:[ebp + 0x299]
sub eax, dword ds:[ebp + 0x29d]
add ecx, eax
mov esi, dword [ebx]
add ebx, 4
cmp esi, 0
je 0x4b7281
add esi, ecx
add dword [esi], eax
xor edx, edx
mov dl, byte [ebx]
inc ebx
cmp dl, 0
je 0x4b7265
add esi, edx
jmp 0x4b7271
pop eax
popal
pop eax
mov ebp, eax
add eax, dword cs:[ebp + 0x295]
add eax, 0x299
pop ebp
pop ebx
jmp 0x486250
Function at 0x40f3a2
Capabilities:
Write file on windows

Disassembly:
push ebx
push edi
push esi
mov eax, dword [ecx + 4]
mov edi, edx
mov esi, ecx
test eax, eax
jne 0x40f3bc
push esi
call fcn.0040ef23
add esp, 4
mov eax, dword [esi + 4]
mov ebx, dword [esp + 0x10]
cmp eax, 2
je 0x40f3da
cmp eax, 1
jne 0x40f433
add esi, 8
push ebx
push edi
push esi
call fcn.004567b0
add esp, 0xc
jmp 0x40f433
mov eax, dword [esi]
test eax, eax
jne 0x40f3f6
push 0x2f
push str..._logging.c
push str.ctx__lgfp
call fcn.0047bdbf
add esp, 0xc
mov eax, dword [esi]
push eax
push ebx
push 1
push edi
call fcn.0047e1d0
add esp, 0x10
cmp eax, ebx
jae 0x40f433
mov eax, dword [esi]
test eax, eax
je 0x40f41c
push eax
call fcn.0047d958
add esp, 4
mov dword [esi], 0
mov dword [esi + 4], 3
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
push str.Disabled_writing_session_log_due_to_error_while_writing
push eax
call dword [ecx]
add esp, 8
pop esi
pop edi
pop ebx
ret

Function at 0x41324b
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
push eax
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov eax, dword [edi]
cmp eax, dword [esi]
je 0x413277
push 0x75
push str..._mpint.c
push str.x0__nw__x1__nw
call fcn.0047bdbf
add esp, 0xc
mov eax, dword [edi]
and ebx, 1
neg ebx
test eax, eax
mov dword [esp], ebx
je 0x4132a7
xor eax, eax
mov edx, dword [esi + 4]
mov ecx, dword [edi + 4]
mov edx, dword [edx + eax*4]
xor edx, dword [ecx + eax*4]
mov ecx, dword [esp]
and ecx, edx
mov edx, dword [edi + 4]
xor dword [edx + eax*4], ecx
mov edx, dword [esi + 4]
xor dword [edx + eax*4], ecx
inc eax
cmp eax, dword [edi]
jb 0x413285
add esp, 4
pop esi
pop edi
pop ebx
ret

Function at 0x413606
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
test ecx, ecx
je 0x413682
mov eax, dword [eax + 4]
mov dword [esp + 4], 0
mov dword [esp], ecx
mov dword [esp + 8], eax
xor eax, eax
xor ebx, ebx
xor ebp, ebp
dec eax
mov edx, eax
mov dword [esp + 0xc], eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov esi, edx
mov eax, dword [eax + ebp*4]
mov edi, ecx
mov edx, eax
or edi, eax
and eax, 1
shr edx, 1
xor edi, esi
or eax, edx
neg eax
mov edx, eax
shr edx, 0x1f
neg edx
sbb ecx, ecx
and edx, edi
mov edi, dword [esp + 0xc]
sar eax, 0x1f
and ecx, ebx
xor edx, esi
xor ebx, ecx
mov ecx, ebp
inc ebp
xor ecx, edi
and eax, ecx
xor eax, edi
cmp dword [esp], ebp
jne 0x413632
shl eax, 5
or eax, 1
jmp 0x41368a
xor edx, edx
mov eax, 0xffffffe1
dec edx
mov ecx, 0x10
xor esi, esi
mov edi, edx
shr edi, cl
mov ebx, edi
xor edi, edx
neg ebx
sar ebx, 0x1f
and edi, ebx
and ebx, ecx
xor edx, edi
add esi, ebx
shr ecx, 1
jne 0x413691
add eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x413d2c
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
test edx, edx
je 0x413d70
mov ebx, dword [eax + 4]
xor ecx, ecx
xor eax, eax
xor edi, edi
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
shrd ebp, esi, cl
shr esi, cl
test cl, 0x20
cmove esi, ebp
cmp ecx, 0x40
mov ebp, 0
cmovae esi, ebp
add ecx, 0x20
xor esi, dword [ebx + edi*4]
inc edi
or eax, esi
cmp edi, edx
jb 0x413d43
jmp 0x413d72
xor eax, eax
mov ecx, eax
and eax, 1
shr ecx, 1
or eax, ecx
neg eax
shr eax, 0x1f
xor eax, 1
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x41aaa3
Capabilities:
Get session user name

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x36
push esi
call fcn.004031d2
add esp, 8
cmp byte [eax], 0
je 0x41aac3
push eax
call fcn.004560ea
add esp, 4
pop esi
ret
push 0x37
push esi
call fcn.00402fed
add esp, 8
test al, al
je 0x41aad8
pop esi
jmp fcn.004674bf
xor eax, eax
pop esi
ret
Function at 0x43f054
Capabilities:
Read file on windows

Disassembly:
push ebx
push edi
push esi
sub esp, 0x404
mov eax, dword [0x4b6078]
mov ebx, esp
mov edi, ecx
xor eax, esp
mov dword [esp + 0x400], eax
push ecx
push 0x3ff
push 1
push ebx
call fcn.0047dfe2
add esp, 0x10
mov esi, eax
push edi
call fcn.0047ecf1
add esp, 4
test esi, esi
js 0x43f09e
xor edi, edi
inc edi
cmp esi, 0x20
jge 0x43f0a5
mov esi, edi
jmp 0x43f276
xor esi, esi
jmp 0x43f276
cmp esi, 0x400
jb 0x43f0c4
push 0x615
push str..._sshpubk.c
push str.i___0__i___sizeof_buf_
call fcn.0047bdbf
add esp, 0xc
mov byte [esp + esi], 0
movdqu xmm0, xmmword [esp]
movdqu xmm1, xmmword [esp + 0x10]
pcmpeqb xmm1, xmmword [str.FILE_FORMAT_1.1_nSSH_PRIVATE_KEY_PuTTY_User_Key_FENCRYPTED_PRIVAT_____BEGIN_SSH2]
pcmpeqb xmm0, xmmword [0x495520]
pand xmm0, xmm1
pmovmskb eax, xmm0
cmp eax, 0xffff
je 0x43f24e
push 0x1a
push str._____BEGIN_SSH2_PUBLIC_KEY
push ebx
call fcn.0047092d
add esp, 0xc
test eax, eax
je 0x43f255
movdqu xmm0, xmmword [esp]
movd xmm1, dword [esp + 0x10]
mov eax, 0x2d656c69
movd xmm2, eax
pcmpeqb xmm0, xmmword [0x495530]
pcmpeqb xmm2, xmm1
pand xmm0, xmm2
pmovmskb eax, xmm0
cmp eax, 0xffff
je 0x43f25c
push 0x1e
push str._____BEGIN_OPENSSH_PRIVATE_KEY
push ebx
call fcn.0047092d
add esp, 0xc
test eax, eax
je 0x43f263
push 0xb
push str._____BEGIN
push ebx
call fcn.0047092d
add esp, 0xc
test eax, eax
je 0x43f26a
movdqu xmm0, xmmword [esp]
movdqu xmm1, xmmword [esp + 0x10]
pcmpeqb xmm1, xmmword [0x495540]
pcmpeqb xmm0, xmmword [0x495550]
pand xmm0, xmm1
pmovmskb eax, xmm0
cmp eax, 0xffff
je 0x43f271
push str.0123456789
push ebx
call fcn.0047f3e0
add esp, 8
cmp byte [esp + eax], 0x20
jne 0x43f1fc
lea esi, [esp + eax]
lea eax, [esi + 1]
push str.0123456789
push eax
call fcn.0047f3e0
add esp, 8
cmp byte [esi + eax + 1], 0x20
jne 0x43f1fc
lea esi, [esi + eax + 1]
lea eax, [esi + 1]
push str.0123456789
push eax
call fcn.0047f3e0
add esp, 8
mov al, byte [esi + eax + 1]
mov esi, 8
test al, al
je 0x43f276
cmp al, 0xa
je 0x43f276
cmp al, 0x20
je 0x43f276
push 0x4ac2bd
push ebx
call fcn.0047ef50
add esp, 8
mov esi, eax
push eax
push ebx
call fcn.0043de6e
add esp, 8
test eax, eax
je 0x43f097
lea eax, [esp + esi + 1]
lea ebx, [esp + esi]
push str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_
push eax
call fcn.0047f3e0
add esp, 8
mov al, byte [eax + ebx + 1]
mov esi, 0xa
test al, al
je 0x43f276
cmp al, 0xa
je 0x43f276
cmp al, 0x20
jne 0x43f097
jmp 0x43f276
mov esi, 2
jmp 0x43f276
mov esi, 9
jmp 0x43f276
mov esi, 3
jmp 0x43f276
mov esi, 6
jmp 0x43f276
mov esi, 5
jmp 0x43f276
mov esi, 7
mov ecx, dword [esp + 0x400]
xor ecx, esp
call fcn.0046fa9a
mov eax, esi
add esp, 0x404
pop esi
pop edi
pop ebx
ret
Function at 0x440712
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x50
mov dword [esp + 8], edx
mov edi, dword [esp + 0x6c]
mov eax, dword [0x4b6078]
xor eax, esp
test edi, edi
mov dword [esp + 0x4c], eax
jle 0x4407c1
mov esi, dword [esp + 0x68]
mov ebx, ecx
mov dword [esp], 0
mov dword [esp + 4], ecx
mov eax, dword [ebx + 0x10]
mov ebp, edi
cmp edi, eax
cmovg ebp, eax
cmp eax, 0x41
jl 0x44076b
push 0x336
push str..._sshrsa.c
push str.h__hlen___MAX_HASH_LEN
call fcn.0047bdbf
add esp, 0xc
push ebx
call dword [ebx]
add esp, 4
mov ebx, eax
push dword [esp + 0x64]
push dword [esp + 0xc]
push dword [eax + 4]
call fcn.0041062c
add esp, 0xc
push dword [esp]
push dword [ebx + 4]
call fcn.00410733
add esp, 8
mov eax, dword [ebx]
lea ecx, [esp + 0xc]
push ecx
push ebx
call dword [eax + 8]
add esp, 8
test ebp, ebp
jle 0x4407b4
xor eax, eax
mov cl, byte [esp + eax + 0xc]
xor byte [esi + eax], cl
inc eax
cmp eax, ebp
jl 0x4407a8
mov ebx, dword [esp + 4]
inc dword [esp]
add esi, ebp
sub edi, ebp
jg 0x440745
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.0046fa9a
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x44bec1
Capabilities:
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x24
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x40]
xor ecx, ecx
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x44]
test ebx, ebx
cmovs ebx, ecx
test eax, eax
mov dword [esp + 4], ebx
mov ebx, dword [esi + 0x12c]
cmovns ecx, eax
mov eax, dword [esi + 0x128]
cmp ebx, edi
lea ebx, [ebx - 1]
cmovg ebx, edi
lea edi, [eax - 1]
cmp eax, edx
cmovg edi, edx
mov dh, byte [esp + 0x4c]
cmp ecx, edi
mov byte [esp + 3], dh
mov dword [esp + 0x20], edi
jg 0x44bfe6
cmp ecx, eax
jge 0x44bfe6
mov edi, dword [esp + 4]
mov edx, ebx
shr edx, 0x1f
add edx, ebx
sar edx, 1
mov eax, edi
lea ebp, [edx + 1]
shr eax, 1
mov dword [esp + 0x18], ebp
lea ebp, [eax - 1]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], eax
lea eax, [eax + eax*4]
lea eax, [eax*4 + 4]
mov dword [esp + 0x10], eax
lea eax, [edi - 1]
mov dword [esp + 0xc], eax
lea eax, [edi + edi*4]
lea eax, [eax*4 + 4]
mov dword [esp + 8], eax
mov eax, dword [esi + 0x18]
mov eax, dword [eax + ecx*4]
test byte [eax], 3
je 0x44bfa9
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x1c], eax
jg 0x44bfd7
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
inc eax
cmp eax, dword [esi + 0x12c]
jge 0x44bfd7
mov edi, dword [esi + 0x18]
mov edi, dword [edi + ecx*4]
mov edi, dword [edi + 0x14]
or dword [edi + ebp], 0x3ffff
add ebp, 0x14
cmp eax, edx
jle 0x44bf87
jmp 0x44bfd7
cmp dword [esp + 4], ebx
jg 0x44bfd7
mov ebp, dword [esp + 8]
mov eax, dword [esp + 0xc]
inc eax
cmp eax, dword [esi + 0x12c]
jge 0x44bfd7
mov edi, dword [esi + 0x18]
mov edi, dword [edi + ecx*4]
mov edi, dword [edi + 0x14]
or dword [edi + ebp], 0x3ffff
add ebp, 0x14
cmp eax, ebx
jl 0x44bfb7
cmp ecx, dword [esp + 0x20]
jge 0x44bfe6
inc ecx
cmp ecx, dword [esi + 0x128]
jl 0x44bf6a
cmp byte [esp + 3], 0
je 0x44bffb
mov ecx, esi
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.00449083
cmp byte [esi + 0x106d], 0
jne 0x44c021
mov byte [esi + 0x106d], 1
push esi
push 0x452601
push 0x14
call fcn.004549b4
add esp, 0xc
mov dword [esi + 0x1070], eax
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x451724
Capabilities:
Encode data using base64
Parse credit card information
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x111c], 2
jl 0x451770
mov eax, dword [esp + 0xc]
cmp dword [esi + 0x1114], eax
jne 0x451770
xor eax, eax
mov dword [esi + 0xe1c], eax
mov dword [esi + 0xe2c], eax
mov dword [esi + 0xe28], eax
mov dword [esi + 0xe34], eax
mov dword [esi + 0xe30], eax
push esi
call fcn.00448fe4
add esp, 4
cmp dword [esi + 0xe1c], 2
jne 0x451772
pop esi
ret
mov ecx, esi
pop esi
jmp fcn.0044de69

Function at 0x456627
Capabilities:
Encode data using base64

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, dword [0x4b6078]
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
xor edx, edx
xor eax, esp
xor esi, esi
dec esi
mov dword [esp + 0x10], eax
movsx ebx, byte [ecx + edx]
mov eax, ebx
add al, 0xbf
cmp al, 0x19
ja 0x456657
add ebx, 0xffffffbf
jmp 0x456694
mov eax, ebx
add al, 0x9f
cmp al, 0x19
ja 0x456664
add ebx, 0xffffffb9
jmp 0x456694
mov eax, ebx
add al, 0xd0
cmp al, 9
ja 0x456671
add ebx, 4
jmp 0x456694
cmp bl, 0x2b
je 0x45668b
cmp bl, 0x3d
je 0x456692
cmp bl, 0x2f
jne 0x456718
mov ebx, 0x3f
jmp 0x456694
mov ebx, 0x3e
jmp 0x456694
mov ebx, esi
mov dword [esp + edx*4], ebx
inc edx
cmp edx, 4
jb 0x456646
mov eax, dword [esp]
xor esi, esi
cmp eax, 0xffffffff
je 0x45671a
mov edx, dword [esp + 4]
cmp edx, 0xffffffff
je 0x45671a
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
cmp ecx, 0xffffffff
je 0x4566ce
mov ebp, 3
cmp ebx, 0xffffffff
jne 0x4566d9
mov ebp, 2
jmp 0x4566d6
cmp ebx, 0xffffffff
jne 0x45671a
xor ebp, ebp
inc ebp
xor ebx, ebx
dec ebx
shl eax, 0x12
shl edx, 0xc
or eax, edx
shr eax, 0x10
cmp ebp, 2
mov byte [edi], al
jb 0x456713
shl ecx, 6
mov esi, 2
mov eax, ecx
and eax, 0xf00
or eax, edx
cmp ebp, 3
mov byte [edi + 1], ah
jne 0x45671a
and ebx, 0x3f
mov esi, 3
or ebx, ecx
mov byte [edi + 2], bl
jmp 0x45671a
xor esi, esi
inc esi
jmp 0x45671a
xor esi, esi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.0046fa9a
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x45c031
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x4b8694]
test eax, eax
jne 0x45c066
push 0
push 0x45c06e
push dword [esp + 0xc]
push 0x6e
push dword [0x4b8664]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov dword [0x4b8694], eax
push 1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x4b8694]
push eax
call dword [sym.imp.USER32.dll_SetActiveWindow]
ret

Function at 0x45c954
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push esi
sub esp, 0x98
mov eax, dword [0x4b6078]
xor eax, esp
mov dword [esp + 0x94], eax
cmp dword [0x4b714c], 0
je 0x45c984
xor ebx, ebx
cmp dword [0x4b7140], 0
setne bl
jmp 0x45caa7
lea esi, [esp + 4]
push 0x90
push 0
push esi
call fcn.00472bb0
add esp, 0xc
mov dword [esi - 4], 0x94
mov esi, esp
push esi
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
xor eax, eax
cmp dword [esi + 0x10], 2
sete al
mov dword [0x4b7150], eax
push str.USER32
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
test eax, eax
je 0x45ca71
mov esi, eax
push 0x4a05a9
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
mov dword [0x4b7130], eax
je 0x45ca71
push str.MonitorFromWindow
push esi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
mov dword [0x4b7134], eax
je 0x45ca71
push str.MonitorFromRect
push esi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
mov dword [0x4b7138], eax
je 0x45ca71
push str.MonitorFromPoint
push esi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
mov dword [0x4b713c], eax
je 0x45ca71
push str.EnumDisplayMonitors
push esi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
mov dword [0x4b7144], eax
je 0x45ca71
push str.GetMonitorInfoA
push esi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
mov dword [0x4b7140], eax
je 0x45ca71
push str.EnumDisplayDevicesA
push esi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
mov dword [0x4b7148], eax
je 0x45ca71
xor ebx, ebx
mov dword [0x4b714c], 1
inc ebx
jmp 0x45caa7
xor ebx, ebx
mov dword [0x4b714c], 1
mov dword [0x4b7130], ebx
mov dword [0x4b7134], ebx
mov dword [0x4b7138], ebx
mov dword [0x4b713c], ebx
mov dword [0x4b7140], ebx
mov dword [0x4b7144], ebx
mov dword [0x4b7148], ebx
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.0046fa9a
mov eax, ebx
add esp, 0x98
pop esi
pop ebx
ret
Function at 0x45d7b7
Capabilities:
Terminate process

Disassembly:
push esi
call fcn.004615d4
push dword [0x4b7cac]
call fcn.00410c0e
add esp, 4
mov eax, dword [0x4b7ca8]
test eax, eax
je 0x45d7db
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov esi, dword [esp + 8]
call fcn.0046832d
push 2
push dword [0x4b8678]
call fcn.0040308d
add esp, 8
cmp eax, 3
jne 0x45d7fe
call fcn.0043f598
call fcn.0046659f
call dword [sym.imp.ole32.dll_CoUninitialize]
push esi
call fcn.0047a8db
Function at 0x46129a
Capabilities:
Terminate process

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [0x4b6078]
xor eax, esp
mov dword [esp + 4], eax
push 2
push dword [0x4b8678]
call fcn.0040308d
add esp, 8
push eax
call fcn.0041aa7f
add esp, 4
test eax, eax
je 0x461436
mov esi, eax
mov eax, dword [0x4b605c]
xor edi, edi
mov ebp, 0x4b605c
inc edi
push edi
push ebp
call dword [eax + 0x44]
add esp, 8
push 8
push dword [0x4b8678]
call fcn.00402fed
add esp, 8
mov ebx, eax
push 7
push dword [0x4b8678]
call fcn.00402fed
add esp, 8
mov bh, al
push edi
push dword [0x4b8678]
call fcn.0040308d
add esp, 8
mov edi, eax
push 0
push dword [0x4b8678]
call fcn.004031d2
add esp, 8
movzx ecx, bl
movzx edx, bh
mov ebx, esp
push ecx
push edx
push ebx
push edi
push eax
push dword [0x4b8678]
push dword [0x4b8690]
push 0x4b7cc4
push ebp
call dword [esi]
add esp, 0x24
test eax, eax
jne 0x46146b
xor edi, edi
mov dword [0x4b85cc], edi
mov dword [0x4b85c8], edi
push 0x61
push dword [0x4b8678]
call fcn.004031d2
add esp, 8
cmp byte [eax], 0
mov esi, eax
jne 0x461395
push dword [0x48f058]
push dword [esp + 4]
push str._s____s
call fcn.004560a0
add esp, 0xc
mov esi, eax
mov edi, eax
push dword [esp]
call fcn.00410c0e
add esp, 4
mov eax, dword [0x4b7154]
mov ebx, 0x4b7154
push esi
push ebx
call dword [eax + 0x38]
add esp, 8
mov eax, dword [0x4b7154]
push esi
push ebx
call dword [eax + 0x3c]
add esp, 8
push dword [0x4b7cc4]
push dword [0x4b8660]
call fcn.0044bb41
add esp, 8
push 0x4b605c
push dword [0x4b7cc4]
push dword [0x4b8660]
push dword [0x4b8678]
call fcn.0040e580
add esp, 0x10
mov ebx, dword [sym.imp.USER32.dll_DeleteMenu]
mov esi, 0xfffffff8
mov dword [0x4b7cc8], eax
push 0
push 0x40
push dword [esi + 0x4b7c98]
call ebx
add esi, 4
jne 0x461402
mov byte [0x4b7cc0], 0
push edi
call fcn.00410c0e
add esp, 4
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.0046fa9a
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
push dword [0x48f058]
push str._s_Internal_Error
call fcn.004560a0
add esp, 8
mov esi, eax
push 0x30
push eax
push str.Unsupported_protocol_number_found
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
call fcn.00410c0e
add esp, 4
push 1
call fcn.0045d7b7
mov esi, eax
push dword [0x48f058]
push str._s_Error
call fcn.004560a0
add esp, 8
mov edi, eax
push dword [0x4b8678]
call fcn.00412d0c
add esp, 4
push esi
push eax
push str.Unable_to_open_connection_to_n_s_n_s
call fcn.004560a0
add esp, 0xc
mov esi, eax
xor ebx, ebx
push 0x10
push edi
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push edi
call fcn.00410c0e
add esp, 4
push esi
call fcn.00410c0e
add esp, 4
push ebx
call fcn.0047a8db
Function at 0x4616c2
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
push ebx
push edi
push esi
cmp dword [esp + 0x14], 2
jne 0x46177d
mov ebp, dword [esp + 0x1c]
lea eax, [ebp + 1]
push eax
push 0x2002
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
test eax, eax
je 0x46177d
mov esi, eax
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
test eax, eax
je 0x46177d
mov bl, byte [esp + 0x20]
mov edi, eax
push ebp
push dword [esp + 0x1c]
push eax
call fcn.004720b0
add esp, 0xc
xor eax, eax
mov byte [edi + ebp], al
push esi
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
test bl, bl
jne 0x461736
push 0
push 1
push 0x8002
push dword [0x4b8668]
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [0x4b8668]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x46175d
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x461764
push esi
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
test bl, bl
jne 0x46177d
xor eax, eax
push eax
push eax
push 0x8002
push dword [0x4b8668]
call dword [sym.imp.USER32.dll_SendMessageA]
pop esi
pop edi
pop ebx
pop ebp
ret