joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f3c10
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x7fc
push ebx
mov ebx, dword [esp + 0x804]
push esi
mov esi, dword [esp + 0x80c]
push 0
push 0x104
lea eax, [esp + 0x424]
push eax
push esi
push ebx
call dword [sym.imp.USER32.dll_GetMenuStringA]
test eax, eax
jg 0x4f3c4c
pop esi
xor eax, eax
pop ebx
add esp, 0x7fc
ret
cmp esi, 0x64
jne 0x4f3cc4
mov eax, dword [0x63dcd0]
test eax, eax
jne 0x4f3ce4
call fcn.0053fd00
mov ecx, dword [0x641cb0]
push 0
push 1
push ecx
call fcn.0054bc50
push 0
mov dword [0x641cb0], eax
call fcn.0053fe80
push 0x637d00
push 0
push str.host
push 0x5e7530
call fcn.004c9500
push str._recent_
push 0x641b30
call fcn.004ca090
push str._success_
push 0x641b30
call fcn.004ca090
add esp, 0x30
pop esi
mov eax, 1
pop ebx
add esp, 0x7fc
ret
cmp esi, 0x1b57
jne 0x4f3cfc
mov edx, dword [esp + 0x810]
push edx
call fcn.00505400
add esp, 4
test eax, eax
jne 0x4f3def
push 0
call fcn.00421c80
add esp, 4
pop esi
mov eax, 1
pop ebx
add esp, 0x7fc
ret
push edi
lea eax, [esp + 0x38]
push 0x3e7
push eax
call fcn.00423a00
xor eax, eax
add esp, 8
mov ecx, 0xb
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
push ecx
push eax
push esi
push ebx
mov dword [esp + 0x1c], 0x2c
mov dword [esp + 0x20], 0x20
call dword [sym.imp.USER32.dll_GetMenuItemInfoA]
mov eax, dword [0x63b658]
test eax, eax
je 0x4f3d6a
mov ecx, dword [esp + 0x2c]
cmp dword [eax + 0x1c], ecx
je 0x4f3d55
mov eax, dword [eax + 0x40]
test eax, eax
jne 0x4f3d47
jmp 0x4f3d6a
mov edx, dword [eax]
push edx
lea eax, [esp + 0x3c]
push 0x3e7
push eax
call fcn.00423900
add esp, 0xc
mov al, byte [esp + 0x38]
test al, al
je 0x4f3da1
mov esi, dword [esp + 0x814]
push esi
call fcn.00502a60
add esp, 4
test eax, eax
je 0x4f3da1
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, ah
jns 0x4f3dba
push esi
call fcn.00505400
mov esi, eax
add esp, 4
test esi, esi
jne 0x4f3dba
push 0
call fcn.00421c80
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x7fc
ret
lea edi, [esi + 0xc]
push edi
call fcn.004e33a0
push 0
lea ecx, [esp + 0x40]
push ecx
push 0
call fcn.004e2f90
lea edx, [esp + 0x48]
push esi
push edx
mov dword [edi], eax
call fcn.00541d20
push esi
mov dword [esi + 0x14], 0xc
call fcn.00461d20
add esp, 0x1c
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x7fc
ret
Function at 0x4f8400
Capabilities:
Encode data using base64

Disassembly:
push ecx
mov edx, dword [esp + 0xc]
push ebx
push ebp
xor ebx, ebx
push esi
xor ebp, ebp
xor eax, eax
xor ecx, ecx
xor esi, esi
cmp edx, ebx
mov dword [esp + 0xc], ebx
jl 0x4f84c4
push edi
mov edi, dword [esp + 0x20]
test ebx, ebx
jne 0x4f8437
cmp ebp, dword [esp + 0x1c]
jge 0x4f8437
mov edx, dword [esp + 0x18]
mov dl, byte [edx + ebp]
inc ebp
jmp 0x4f8447
xor dl, dl
inc ebp
test ecx, ecx
mov ebx, 1
mov dword [esp + 0x10], ecx
je 0x4f8452
movzx edx, dl
shl esi, 8
add ecx, 8
or esi, edx
cmp ecx, 6
jl 0x4f8483
sub ecx, 6
mov edx, esi
shr edx, cl
and edx, 0x3f
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + edi], dl
inc eax
cmp eax, 0x3c
jge 0x4f84bf
cmp eax, dword [esp + 0x24]
jge 0x4f8499
test ebx, ebx
jne 0x4f8481
cmp ecx, 6
jge 0x4f8457
jmp 0x4f8483
xor ecx, ecx
cmp ebp, dword [esp + 0x1c]
jle 0x4f8423
mov ecx, dword [esp + 0x10]
cmp ecx, 2
jne 0x4f84b1
mov byte [eax + edi], 0x3d
inc eax
jmp 0x4f84b6
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
pop edi
or eax, 0xffffffff
or ebp, 0xffffffff
pop esi
mov dword [ecx], ebp
pop ebp
mov dword [edx], eax
pop ebx
pop ecx
ret
cmp ecx, 4
jne 0x4f84bb
mov byte [eax + edi], 0x3d
inc eax
test eax, eax
je 0x4f84c3
mov byte [eax + edi], 0
pop edi
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
pop esi
mov dword [ecx], ebp
pop ebp
mov dword [edx], eax
pop ebx
pop ecx
ret
Function at 0x4f88d0
Capabilities:
Get file version info

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x3fc
push ebx
push ebp
mov ebp, dword [esp + 0x408]
push esi
lea ecx, [esp + 0x1c]
push ecx
xor ebx, ebx
push ebp
mov byte [eax], bl
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
cmp esi, ebx
jne 0x4f8905
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3fc
ret
push edi
push esi
call fcn.005cc381
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x4f89d2
mov edx, dword [esp + 0x20]
push edi
push esi
push edx
push ebp
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x4f89c9
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x20]
push ecx
push str.VarFileInfoTranslation
push edi
mov dword [esp + 0x20], ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4f89c9
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x4f89c9
mov edx, dword [esp + 0x10]
shr edx, 2
xor esi, esi
test edx, edx
jle 0x4f89c9
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
jmp 0x4f8970
mov eax, dword [esp + 0x1c]
lea esp, [esp]
movzx ecx, word [eax + esi*4 + 2]
movzx edx, word [eax + esi*4]
push ecx
push edx
lea eax, [esp + 0x2c]
push str.StringFileInfo_04x_04xFileVersion
push eax
call ebp
add esp, 0x10
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x2c]
push eax
push edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4f89bd
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4f89bd
cmp byte [eax], bl
je 0x4f89bd
cmp dword [esp + 0x18], ebx
jne 0x4f89df
mov ecx, dword [esp + 0x10]
inc esi
shr ecx, 2
cmp esi, ecx
jl 0x4f8968
push edi
call fcn.005cc393
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3fc
ret
mov edx, dword [esp + 0x414]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x4f89e8
push edi
call fcn.005cc393
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x3fc
ret
Function at 0x4f8b70
Capabilities:
Log keystrokes via application hook
Set global application hook

Disassembly:
mov eax, dword [0x63b6bc]
test eax, eax
push esi
mov esi, dword [sym.imp.USER32.dll_LoadAcceleratorsA]
je 0x4f8b8f
push 0x5a
push eax
call esi
mov dword [0x63b694], eax
mov eax, dword [0x63b6bc]
mov ecx, dword [0x63b694]
test ecx, ecx
jne 0x4f8bb5
mov eax, dword [0x645320]
push 0x5a
push eax
call esi
test eax, eax
mov dword [0x63b694], eax
jne 0x4f8bb0
xor eax, eax
pop esi
ret
mov eax, dword [0x63b6bc]
test eax, eax
je 0x4f8bc3
push 0x5b
push eax
call esi
mov dword [0x63b698], eax
mov eax, dword [0x63b698]
test eax, eax
jne 0x4f8be0
mov ecx, dword [0x645320]
push 0x5b
push ecx
call esi
test eax, eax
mov dword [0x63b698], eax
je 0x4f8bac
mov edx, dword [0x645324]
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push edi
push 0
push edx
call esi
mov edi, dword [sym.imp.USER32.dll_SetWindowsHookExA]
push eax
mov eax, dword [0x645320]
push eax
push 0x4a5d90
push 2
call edi
test eax, eax
mov dword [0x6370b8], eax
jne 0x4f8c16
pop edi
xor eax, eax
pop esi
ret
mov ecx, dword [0x645324]
push 0
push ecx
call esi
mov edx, dword [0x645320]
push eax
push edx
push 0x4a7000
push 3
call edi
test eax, eax
mov dword [0x6370c4], eax
je 0x4f8c11
mov esi, dword [sym.imp.USER32.dll_RegisterWindowMessageA]
push str.MSWHEEL_ROLLMSG
call esi
test eax, eax
mov dword [0x63b6e4], eax
je 0x4f8c11
push str.TaskbarCreated
call esi
xor ecx, ecx
test eax, eax
setne cl
pop edi
mov dword [0x63b6e8], eax
pop esi
mov eax, ecx
ret
Function at 0x4faec0
Capabilities:
Set socket configuration

Disassembly:
mov eax, dword [0x645324]
push esi
mov esi, dword [sym.imp.USER32.dll_SetTimer]
push 0
push 0x64
push 0x89
push eax
call esi
mov ecx, dword [0x645324]
push 0
push 0x3e8
push 0x78
push ecx
call esi
mov edx, dword [0x63c814]
push edx
call fcn.00502a60
add esp, 4
test eax, eax
je 0x4faf77
mov ecx, dword [0x63c814]
mov dl, byte [ecx + 0x8a0]
test dl, dl
lea eax, [ecx + 0x8a0]
je 0x4faf77
mov edx, dword [ecx + 0x904]
test edx, edx
jne 0x4faf77
push eax
call dword [sym.imp.WSOCK32.dll_inet_addr]
mov ecx, dword [0x63c814]
mov dword [ecx + 0x904], eax
mov ecx, dword [0x63c814]
mov eax, dword [ecx + 0x904]
cmp eax, 0xffffffff
jne 0x4faf64
add ecx, 0x8a0
push 0x64
push ecx
call fcn.00423a00
mov edx, dword [0x63c814]
add esp, 8
mov dword [edx + 0x904], 0
jmp 0x4faf77
push eax
call dword [sym.imp.WSOCK32.dll_htonl]
mov ecx, dword [0x63c814]
mov dword [ecx + 0x904], eax
call fcn.004e1d70
call fcn.00426060
call fcn.00475040
call fcn.0052cbf0
mov edx, dword [0x645324]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 1
push 0
push 0x8047
push edx
call esi
mov eax, dword [0x637660]
test eax, eax
je 0x4fafbd
mov eax, dword [0x645324]
push 0
push 0
push 0x8029
push eax
call esi
mov eax, dword [0x616988]
test eax, eax
je 0x4fafd8
mov ecx, dword [0x645324]
push 0
push 0
push 0x802d
push ecx
call esi
mov eax, dword [0x63c298]
test eax, eax
je 0x4faff3
mov edx, dword [0x645324]
push 0
push 0
push 0x8033
push edx
call esi
mov eax, dword [0x638af0]
test eax, eax
pop esi
je 0x4fb016
mov eax, dword [0x645324]
push 1
push 0xc3
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
ret
push 0x637d00
push 0x3e7
push 0x63b6f0
push 0x5e6904
push 0x5e68fc
push str.about
call fcn.004c9870
push 0x5e6908
push 0x63b6f0
call fcn.005e31f5
add esp, 0x20
test eax, eax
je 0x4fb05d
mov al, byte [0x638318]
test al, al
je 0x4fb05d
jmp fcn.004f8c70
mov ecx, dword [0x645324]
push 1
push 0xc2
push 0x111
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
ret
Function at 0x4fdfe0
Capabilities:
Terminate process

Disassembly:
sub esp, 0x3e8
push esi
xor esi, esi
lea esp, [esp]
lea eax, [esp + 4]
push 0x3e7
push eax
call fcn.00423a00
lea ecx, [esp + 0xc]
push esi
push ecx
call fcn.00425200
add esp, 0x10
test eax, eax
je 0x4fe01c
cmp eax, 0xffffffff
je 0x4fe03f
inc esi
cmp esi, 0x64
jl 0x4fdff0
lea edx, [esp + 4]
push 0x3e7
push edx
call fcn.00423a00
lea eax, [esp + 0xc]
push 0
push eax
call fcn.00425200
add esp, 0x10
cmp eax, 1
je 0x4fe046
push 0
call fcn.005cc26b
push 0xa
push 0x63b678
mov byte [esp + 0x15], 0
call fcn.00423a00
add esp, 8
xor eax, eax
lea esp, [esp]
mov cl, byte [esp + eax + 4]
mov byte [eax + 0x63b678], cl
inc eax
test cl, cl
jne 0x4fe060
push 0x42a150
push 8
call fcn.005ceb94
call fcn.005280e0
push 0
call fcn.005cce76
push eax
call fcn.005cc2ab
push 0
call fcn.00422af0
call fcn.0055a7e0
call fcn.00423b40
push 0
mov dword [0x63b6c8], eax
mov dword [0x63b6cc], edx
call fcn.005356a0
push 0
call fcn.0040ff70
push 0
call fcn.0057d850
push 0
call fcn.005177f0
push 0
call fcn.005cce76
push str.COMSPEC
mov dword [0x63c7fc], eax
call fcn.005cf0ca
add esp, 0x2c
test eax, eax
mov dword [0x60f56c], eax
je 0x4fe103
push str.4DOS.COM
push eax
call fcn.005e31f5
add esp, 8
test eax, eax
je 0x4fe103
mov dword [0x60f56c], 0
push 0x8001
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
call fcn.004c9410
test eax, eax
je 0x4fe1e5
call fcn.00463130
cmp eax, 2
nop
nop
nop
nop
nop
nop
cmp eax, 3
je 0x4fe1e5
call fcn.004ca450
test eax, eax
je 0x4fe1e5
call fcn.00438fa0
test eax, eax
je 0x4fe1e5
call fcn.004ca660
test eax, eax
je 0x4fe1e5
push 0
call fcn.00504b60
add esp, 4
test eax, eax
mov dword [0x63c814], eax
je 0x4fe1e5
call fcn.0043e4c0
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
push 0x5e6c98
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
mov dword [0x643110], eax
je 0x4fe1e5
call fcn.004fa520
test eax, eax
je 0x4fe1e5
call fcn.004e5a70
test eax, eax
je 0x4fe1e5
mov esi, 1
lea esp, [esp]
push esi
call fcn.004fddd0
add esp, 4
test eax, eax
je 0x4fe1e5
cmp eax, 2
je 0x4fe1d8
inc esi
cmp esi, 0x14
jl 0x4fe1c0
mov eax, 1
pop esi
add esp, 0x3e8
ret
xor eax, eax
pop esi
add esp, 0x3e8
ret
Function at 0x5015c0
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push 0
push 1
push 2
mov dword [0x609cd8], 0xffffffff
mov dword [0x609cd4], 0xffffffff
call dword [sym.imp.WSOCK32.dll_socket]
cmp eax, 0xffffffff
mov dword [0x609cd4], eax
je 0x501614
xor ecx, ecx
mov cx, word [0x609cd0]
push ecx
push eax
call fcn.005284e0
add esp, 8
test eax, eax
je 0x501614
mov edx, dword [0x609cd4]
push 5
push edx
call dword [sym.imp.WSOCK32.dll_listen]
test eax, eax
je 0x50161f
push 0
call fcn.00501530
add esp, 4
ret
mov eax, dword [0x645324]
mov ecx, dword [0x609cd4]
push 8
push 0x8034
push eax
push ecx
call dword [sym.imp.WSOCK32.dll_WSAAsyncSelect]
ret
Function at 0x502f60
Capabilities:
Get graphical window text

Disassembly:
mov edx, dword [0x63c814]
mov ecx, edx
test ecx, ecx
je 0x502fde
lea esp, [esp]
mov eax, edx
test eax, eax
je 0x502fa0
cmp ecx, eax
je 0x502f86
mov eax, dword [eax + 0x26a0]
test eax, eax
jne 0x502f76
jmp 0x502fa0
mov eax, dword [ecx + 0x41c]
test eax, eax
je 0x502fa0
cmp dword [ecx + 4], 0xffffffff
je 0x502fa0
mov eax, dword [ecx + 0x1714]
test eax, eax
je 0x503008
mov eax, edx
test eax, eax
je 0x502fd4
cmp ecx, eax
je 0x502fb6
mov eax, dword [eax + 0x26a0]
test eax, eax
jne 0x502fa6
jmp 0x502fd4
mov eax, dword [ecx + 0x420]
test eax, eax
jne 0x503008
mov eax, dword [ecx + 0x43c]
test eax, eax
jne 0x503008
mov eax, dword [ecx + 0x42c]
test eax, eax
jne 0x503008
mov ecx, dword [ecx + 0x26a0]
test ecx, ecx
jne 0x502f70
mov eax, dword [0x644694]
test eax, eax
je 0x503003
mov ecx, dword [0x645324]
push 0x84
push ecx
mov dword [0x644694], 0
call dword [sym.imp.USER32.dll_KillTimer]
jmp 0x569b50
mov eax, dword [0x644694]
test eax, eax
jne 0x503003
mov eax, dword [0x645324]
push 0
push 0xc8
push 0x84
push eax
mov dword [0x644694], 1
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x569b50
mov eax, dword [esp + 4]
mov ecx, 1
cmp eax, ecx
jne 0x569b92
test byte [0x644690], cl
jne 0x569bf6
mov eax, dword [0x644690]
or eax, ecx
push 0
mov dword [0x644690], eax
call fcn.005cc2b8
cdq
mov ecx, 0x96
idiv ecx
add edx, 0x12c
push edx
push 0x82
jmp 0x569bca
mov ecx, 2
cmp eax, ecx
jne 0x569bd7
test byte [0x644690], cl
jne 0x569bf6
mov eax, dword [0x644690]
or eax, ecx
push 0
mov dword [0x644690], eax
call fcn.005cc2b8
cdq
mov ecx, 0x96
idiv ecx
add edx, 0x12c
push edx
push 0x83
mov edx, dword [0x645324]
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [0x60a248]
test eax, eax
je 0x569bf6
mov eax, dword [0x644694]
test eax, eax
jne 0x569bf6
mov dword [esp + 4], 5
jmp fcn.00569470
ret
Function at 0x509bb0
Capabilities:
Capture screenshot
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, ebx
and esi, 1
jne 0x509bdc
test bl, 2
je 0x509bdc
mov eax, dword [0x63cabc]
test eax, eax
je 0x509c66
mov eax, dword [0x63cac0]
test eax, eax
je 0x509c66
call fcn.00502b30
test eax, eax
jne 0x509bf0
pop esi
pop ebx
mov dword [esp + 4], eax
jmp fcn.00421c80
mov ecx, dword [0x645338]
test ecx, ecx
jne 0x509c1c
push 0x645338
push eax
push 0
push 0
push 7
push str.Notify_List
call fcn.005899d0
add esp, 0x18
test eax, eax
mov dword [0x645338], eax
je 0x509c66
call fcn.00508fb0
push 0
call fcn.005601f0
add esp, 4
test esi, esi
je 0x509c39
mov eax, dword [0x645338]
push 0
push eax
jmp 0x509c4f
test bl, 2
je 0x509c57
call fcn.0053b620
test eax, eax
jne 0x509c57
mov ecx, dword [0x645338]
push eax
push ecx
call fcn.004a57d0
add esp, 8
pop esi
pop ebx
mov dword [esp + 4], 0
jmp fcn.005562e0
pop esi
pop ebx
ret
Function at 0x5152d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push 0
push 0
push 0x18b
push 0x83
push ebp
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x515305
pop ebp
pop ebx
add esp, 4
mov dword [esp + 4], 0
jmp fcn.00421c80
dec ebx
mov dword [esp + 8], 0
js 0x51542e
push esi
push edi
jmp 0x515320
push 0x60ec68
push ebx
push 0x189
push 0x83
push ebp
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
cmp eax, 0xffffffff
je 0x51542c
mov eax, dword [0x63f698]
xor edi, edi
test eax, eax
jne 0x5153ac
mov esi, dword [0x60dadc]
test esi, esi
je 0x51542c
lea esp, [esp]
mov eax, dword [0x63f698]
test eax, eax
je 0x515372
cmp dword [esi + 0x138], 2
jne 0x51539b
push 0x5c
push esi
call fcn.005ccc30
add esp, 8
test eax, eax
je 0x51539b
mov cl, byte [eax + 1]
inc eax
test cl, cl
je 0x51539b
push 0x60ec68
push eax
call fcn.005e31f5
add esp, 8
test eax, eax
je 0x5153cd
mov edi, esi
mov esi, dword [esi + 0x170]
test esi, esi
jne 0x515360
jmp 0x51542c
mov esi, dword [0x6402e4]
test esi, esi
je 0x51542c
cmp dword [esi + 0x138], 2
je 0x515351
mov edi, esi
mov esi, dword [esi + 0x170]
test esi, esi
jne 0x5153b6
jmp 0x51542c
test edi, edi
je 0x5153e9
mov eax, dword [esi + 0x170]
mov ecx, dword [esp + 0x10]
mov dword [edi + 0x170], eax
mov dword [esi + 0x170], ecx
jmp 0x515421
mov eax, dword [0x63f698]
test eax, eax
jne 0x515405
mov edx, dword [0x60dadc]
mov eax, dword [edx + 0x170]
mov dword [0x60dadc], eax
jmp 0x515417
mov ecx, dword [0x6402e4]
mov edx, dword [ecx + 0x170]
mov dword [0x6402e4], edx
mov eax, dword [esp + 0x10]
mov dword [esi + 0x170], eax
dec ebx
mov dword [esp + 0x10], esi
jns 0x515320
pop edi
pop esi
mov eax, dword [0x63f698]
test eax, eax
jne 0x51546b
mov edx, dword [esp + 8]
test edx, edx
mov eax, edx
je 0x515492
mov ecx, dword [eax + 0x170]
test ecx, ecx
je 0x515455
mov eax, ecx
test eax, eax
jne 0x515441
pop ebp
pop ebx
pop ecx
ret
mov ecx, dword [0x60dadc]
pop ebp
mov dword [eax + 0x170], ecx
mov dword [0x60dadc], edx
pop ebx
pop ecx
ret
mov eax, dword [0x6402e4]
test eax, eax
je 0x515492
mov ecx, dword [eax + 0x170]
test ecx, ecx
je 0x515488
mov eax, ecx
test eax, eax
jne 0x515474
pop ebp
pop ebx
pop ecx
ret
mov edx, dword [esp + 8]
mov dword [eax + 0x170], edx
pop ebp
pop ebx
pop ecx
ret
Function at 0x5284e0
Capabilities:
Set socket configuration

Disassembly:
mov eax, dword [0x63fb18]
sub esp, 0x10
test eax, eax
push ebx
mov ebx, dword [sym.imp.WSOCK32.dll_htons]
push ebp
mov ebp, dword [sym.imp.WSOCK32.dll_bind]
push esi
mov esi, dword [esp + 0x20]
push edi
mov edi, dword [esp + 0x28]
je 0x52856b
mov al, byte [0x63fb20]
test al, al
je 0x52856b
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
push 0x63fb20
mov dword [esp + 0x20], eax
mov word [esp + 0x14], 2
call dword [sym.imp.WSOCK32.dll_inet_addr]
push edi
mov dword [esp + 0x18], eax
call ebx
push 0x10
lea ecx, [esp + 0x14]
push ecx
push esi
mov word [esp + 0x1e], ax
call ebp
test eax, eax
jne 0x528558
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10
ret
cmp dword [0x63fb18], 2
jne 0x52856b
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
xor edx, edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edx
push edi
mov dword [esp + 0x20], edx
mov word [esp + 0x14], 2
mov dword [esp + 0x18], edx
call ebx
mov word [esp + 0x12], ax
push 0x10
lea eax, [esp + 0x14]
push eax
push esi
call ebp
pop edi
neg eax
pop esi
sbb eax, eax
pop ebp
inc eax
pop ebx
add esp, 0x10
ret
Function at 0x52c380
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x10c
push ebx
mov ebx, dword [esp + 0x114]
push edi
mov edi, dword [esp + 0x11c]
lea eax, [esp + 8]
push eax
push 0x2001f
push 0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x52c3bc
pop edi
mov eax, 0x3f3
pop ebx
add esp, 0x10c
ret
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov edx, dword [esp + 0xc]
push 0x105
lea ecx, [esp + 0x14]
push ecx
push 0
push edx
call esi
test eax, eax
jne 0x52c3f0
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
push ecx
call fcn.0052c380
add esp, 8
test eax, eax
je 0x52c3c3
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
pop esi
pop edi
pop ebx
add esp, 0x10c
ret
Function at 0x52cbf0
Capabilities:
Persist via default file association registry key
Set registry value

Disassembly:
mov eax, dword [0x612328]
test eax, eax
jne 0x52cc07
mov eax, dword [0x60a2a8]
test eax, eax
je 0x52cc07
jmp fcn.0052c990
ret
Function at 0x53a4d6
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e486f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push 1
mov dword [esp + 8], esi
call fcn.0058eb0b
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
lea ecx, [esi + 0x34]
mov byte [esp + 0x10], 8
call fcn.0059daab
lea ecx, [esi + 0x48]
mov byte [esp + 0x10], 9
call fcn.0059daab
mov ecx, dword [esp + 8]
mov byte [esi + 0x5c], 1
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x53d030
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [0x641500]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x53b5a1
mov ecx, dword [0x641500]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x53b5b0
mov edx, dword [0x641500]
push 9
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x641500]
push esi
push 3
push 0
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [0x641500]
push ecx
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov edx, dword [0x641500]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [esp + 8]
mov ecx, dword [0x641500]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push eax
push 0x65
push ecx
call esi
push eax
call fcn.0055a070
mov edx, dword [0x641500]
add esp, 8
push 0x12c
push edx
call esi
push eax
call dword [sym.imp.USER32.dll_SetFocus]
pop esi
ret
mov eax, dword [0x641500]
test eax, eax
je 0x53d06b
mov ecx, dword [0x641504]
test ecx, ecx
jne 0x53d04b
push eax
call fcn.0040efa0
jmp 0x53d063
cmp ecx, 1
jne 0x53d058
push eax
call fcn.00519950
jmp 0x53d063
cmp ecx, 2
jl 0x53d06b
push eax
call fcn.00528e90
mov eax, dword [0x641500]
add esp, 4
mov ecx, dword [esp + 4]
sub ecx, 0
je 0x53d0df
dec ecx
je 0x53d0b9
test eax, eax
je 0x53d0a4
push eax
call fcn.00528ca0
mov eax, dword [0x641504]
add esp, 4
cmp eax, 2
jge 0x53d09b
mov dword [esp + 4], 2
jmp 0x53b580
mov dword [esp + 4], eax
jmp 0x53b580
cmp dword [0x641504], 2
jge 0x53d103
mov dword [0x641504], 2
jmp 0x53d103
test eax, eax
je 0x53d0d3
push eax
call fcn.005197a0
add esp, 4
mov dword [esp + 4], 1
jmp 0x53b580
mov dword [0x641504], 1
jmp 0x53d103
test eax, eax
je 0x53d0f9
push eax
call fcn.0040ee70
add esp, 4
mov dword [esp + 4], 0
jmp 0x53b580
mov dword [0x641504], 0
mov eax, dword [0x60a0c4]
test eax, eax
je 0x53d113
mov eax, dword [0x645324]
jmp 0x53d119
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push 0
push 0x53bec0
push eax
mov eax, dword [0x645320]
push 0x2e4
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamA]
test eax, eax
jne 0x53d13f
mov dword [esp + 4], eax
jmp fcn.00421c80
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x53d710
Capabilities:
Set socket configuration

Disassembly:
mov eax, dword [0x641548]
sub esp, 0x3e8
test eax, eax
je 0x53d841
push esi
mov esi, dword [esp + 0x3f0]
push edi
lea esp, [esp]
cmp eax, esi
je 0x53d747
mov eax, dword [eax + 0x3d4]
test eax, eax
jne 0x53d730
pop edi
pop esi
add esp, 0x3e8
ret
mov eax, dword [esi]
push eax
call fcn.00502af0
mov edi, eax
add esp, 4
test edi, edi
je 0x53d83f
push ebx
mov bl, byte [esp + 0x404]
test bl, 1
je 0x53d7b7
push 0
push 0x1391
call fcn.00421db0
push eax
push 1
push 0
push 1
push 1
push esi
call fcn.00567b40
mov ecx, dword [esp + 0x41c]
push ecx
lea edx, [esi + 0x234]
push edx
lea eax, [esi + 4]
push eax
lea ecx, [esp + 0x38]
push str.NOTICE__s_:DCC_Send__s___s__n
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
push edi
lea edx, [esp + 0x44]
push 0
push edx
call fcn.0058c390
add esp, 0x40
test bl, 2
je 0x53d7da
mov eax, dword [esi + 0x364]
mov edx, dword [esp + 0x400]
xor ecx, ecx
mov cx, word [esi + 0x354]
push edi
push 0
push eax
push ecx
push edx
jmp 0x53d80d
test bl, 4
je 0x53d820
mov edx, dword [esi + 0x340]
mov eax, dword [esi + 0x364]
xor ecx, ecx
mov cx, word [esi + 0x354]
push edi
push edx
push eax
lea edx, [esi + 0xcc]
push ecx
push edx
call dword [sym.imp.WSOCK32.dll_inet_addr]
push eax
call dword [sym.imp.WSOCK32.dll_htonl]
push eax
lea eax, [esi + 0x234]
lea ecx, [esi + 4]
push eax
push ecx
call fcn.0053d570
add esp, 0x1c
push 0
push 0x1392
call fcn.00421db0
push eax
push 0
push 0
push 0
push 0
push esi
call fcn.00567b40
add esp, 0x20
pop ebx
pop edi
pop esi
add esp, 0x3e8
ret