joyce8/EMBER2024-capa huggingface dataset:
Function at 0x50a25d
Capabilities:
Connect socket
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff5c
push ebx
push esi
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0x64]
push eax
call sub.WSOCK32.dll_inet_addr
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x50a287
mov eax, 3
jmp 0x50a42d
lea eax, [ebp - 0xc]
mov dword [ebp - 0x88], eax
lea edx, [ebp - 4]
mov dword [eax], edx
xor ecx, ecx
mov dword [eax + 4], ecx
mov word [ebp - 0x8a], 4
mov word [ebp - 0x8c], 2
lea esi, [ebp - 0x94]
push 0x10
push 0
lea eax, [ebp - 0x84]
push eax
call fcn.0054e10c
add esp, 0xc
mov word [ebp - 0x84], 2
movsx edx, word [esi + 0xa]
push edx
mov ecx, dword [esi + 0xc]
push dword [ecx]
lea eax, [ebp - 0x80]
push eax
call fcn.0054e09c
add esp, 0xc
mov dx, word [ebx + 0xc8]
push edx
call sub.WSOCK32.dll_htons
mov word [ebp - 0x82], ax
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax]
mov dword [ebp - 0x80], edx
push 0x5864bc
push 0x64
lea ecx, [ebp - 0x74]
push ecx
call fcn.0042e5e3
mov esi, dword [0x56cdd0]
cmp byte [ebx + 0xca], 0
je 0x50a33e
lea eax, [ebx + 0xca]
push eax
push 0x64
push 0x5864bc
call fcn.0042e5e3
mov dword [0x56cdd0], 2
push 0
push 2
push 0
mov dx, word [0x563c12]
push edx
mov cx, word [0x563c10]
push ecx
call fcn.004f316d
mov dword [ebx + 0x18c], eax
lea eax, [ebp - 0x74]
push eax
push 0x64
push 0x5864bc
call fcn.0042e5e3
mov dword [0x56cdd0], esi
mov eax, dword [ebx + 0x18c]
cmp eax, 0xffffffff
jne 0x50a38a
mov eax, 1
jmp 0x50a42d
push eax
call fcn.005279f5
push 0x10
push 0x8039
push dword [0x56f018]
push dword [ebx + 0x18c]
call sub.WSOCK32.dll_WSAAsyncSelect
cmp dword [ebx + 0x18c], 0xffffffff
je 0x50a400
mov dword [ebp - 0x10], 0x10
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0xa4]
push ecx
push dword [ebx + 0x18c]
call sub.WSOCK32.dll_getsockname
test eax, eax
jne 0x50a400
push dword [ebp - 0xa0]
call sub.WSOCK32.dll_inet_ntoa
push eax
push 0x64
lea eax, [ebx + 0xca]
push eax
call fcn.0042e5e3
mov dx, word [ebp - 0xa2]
push edx
call sub.WSOCK32.dll_ntohs
mov word [ebx + 0x12e], ax
push 0x10
lea ecx, [ebp - 0x84]
push ecx
push dword [ebx + 0x18c]
call sub.WSOCK32.dll_connect
test eax, eax
jge 0x50a42b
call sub.WSOCK32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x50a42b
mov eax, 2
jmp 0x50a42d
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x50a68a
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov esi, dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00508d4c
mov ebx, eax
test ebx, ebx
je 0x50a78e
mov eax, esi
shr eax, 0x10
and ax, 0xffff
test ax, ax
je 0x50a6ef
movzx edx, ax
mov dword [ebx + 0x184], edx
cmp dword [0x56cdd8], 0
je 0x50a6d6
push 3
push 0x3d
push ebx
push 0x56dfc8
call fcn.00508df7
push ebx
call fcn.00508cec
test eax, eax
je 0x50a78e
push ebx
call fcn.00508c2b
jmp 0x50a78e
mov dword [ebx + 0x14c], 2
push 0
call fcn.0055ca2c
pop ecx
mov esi, eax
mov dword [ebx + 0x17c], esi
mov dword [ebx + 0x180], esi
push 0x23
push 0x8038
push dword [0x56f018]
push dword [ebx + 0x18c]
call sub.WSOCK32.dll_WSAAsyncSelect
cmp dword [ebx + 0x18c], 0xffffffff
je 0x50a776
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea edx, [ebp - 0x14]
push edx
push dword [ebx + 0x18c]
call sub.WSOCK32.dll_getsockname
test eax, eax
jne 0x50a776
push dword [ebp - 0x10]
call sub.WSOCK32.dll_inet_ntoa
push eax
push 0x64
lea ecx, [ebx + 0xca]
push ecx
call fcn.0042e5e3
mov ax, word [ebp - 0x12]
push eax
call sub.WSOCK32.dll_ntohs
mov word [ebx + 0x12e], ax
cmp dword [0x56cdd8], 0
je 0x50a78e
push 0
push 0x3d
push ebx
push str.SOCKOPEN
call fcn.00508df7
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x50f311
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
lea eax, [ebp + 0xc]
mov dword [0x55f000], eax
lea edx, [ebp + 0x14]
mov dword [0x55f000], edx
push ebx
call fcn.0051fd59
test eax, eax
jne 0x50f345
mov eax, 1
jmp 0x50f504
mov edx, dword [ebp + 0x18]
sub edx, 1
jb 0x50f354
je 0x50f3a1
jmp 0x50f4ff
cmp edi, 9
jne 0x50f378
push 0x11
call sub.USER32.dll_GetKeyState
movsx ecx, ax
and ecx, 0x8000
cmp ecx, 0x8000
je 0x50f378
xor eax, eax
jmp 0x50f504
cmp edi, 0xd
je 0x50f386
cmp edi, 0xa
jne 0x50f4ff
push 3
push dword [ebp + 0x1c]
push dword [ebx]
call fcn.0047791c
test eax, eax
je 0x50f4ff
xor eax, eax
jmp 0x50f504
cmp edi, 0xd
je 0x50f3ab
cmp edi, 0xa
jne 0x50f3b9
push dword [ebx]
call fcn.0043bcb5
xor eax, eax
jmp 0x50f504
mov edx, edi
xor ecx, ecx
mov cl, dl
test byte [ecx*2 + 0x57829f], 1
je 0x50f3d2
push edi
call fcn.00556298
pop ecx
mov edi, eax
push 0
push 0
push 0x19f
push dword [ebx + 0x820]
call sub.USER32.dll_SendMessageA
mov esi, eax
cmp esi, 0xffffffff
je 0x50f4ff
mov dword [ebp - 4], esi
inc esi
cmp esi, dword [ebp - 4]
je 0x50f4fb
cmp dword [ebx + 0x6bc], 4
jne 0x50f44b
lea eax, [ebp - 8]
push eax
push esi
push 0x189
push dword [ebx + 0x820]
call sub.USER32.dll_SendMessageA
cmp dword [ebp - 8], 0
je 0x50f425
inc eax
jne 0x50f42c
xor esi, esi
jmp 0x50f3f5
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp byte [eax], 0x20
je 0x50f429
push dword [ebx + 0xb6c]
push dword [ebp - 8]
call fcn.004ee9bd
test al, al
je 0x50f4a7
inc dword [ebp - 8]
jmp 0x50f4a7
push 0x585ce2
push esi
push 0x189
push dword [ebx + 0x820]
call sub.USER32.dll_SendMessageA
inc eax
jne 0x50f468
xor esi, esi
jmp 0x50f3f5
mov dword [ebp - 8], 0x585ce2
mov eax, dword [ebx + 0x6bc]
dec eax
je 0x50f485
add eax, 0xfffffffb
sub eax, 2
jb 0x50f49f
dec eax
je 0x50f485
jmp 0x50f4a7
push dword [ebx + 0xb6c]
push dword [ebp - 8]
call fcn.004ee9fe
test al, al
je 0x50f4a7
inc dword [ebp - 8]
jmp 0x50f4a7
inc dword [ebp - 8]
mov edx, dword [ebp - 8]
cmp byte [edx], 0x20
je 0x50f49c
mov ecx, dword [ebp - 8]
mov al, byte [ecx]
test al, al
je 0x50f4f1
xor edx, edx
mov dl, al
test byte [edx*2 + 0x57829f], 1
je 0x50f4d1
mov ecx, dword [ebp - 8]
xor eax, eax
mov al, byte [ecx]
push eax
call fcn.00556298
pop ecx
mov edx, dword [ebp - 8]
mov byte [edx], al
mov ecx, dword [ebp - 8]
xor eax, eax
mov al, byte [ecx]
cmp eax, edi
jne 0x50f4f1
push 1
push 1
push esi
push 0x8098
push dword [ebx]
call fcn.0042d704
xor eax, eax
jmp 0x50f504
inc esi
cmp esi, dword [ebp - 4]
jne 0x50f3fe
xor eax, eax
jmp 0x50f504
mov eax, 1
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0x18
Function at 0x50ff80
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
push edi
call fcn.0041261f
test eax, eax
jne 0x50ffa0
xor eax, eax
jmp 0x51015b
test esi, esi
je 0x50fffd
mov ebx, dword [edi + 0x1bfc]
test ebx, ebx
je 0x50fff6
push esi
push dword [ebx]
call fcn.0054e450
add esp, 8
test eax, eax
jne 0x50ffef
cmp dword [ebx + 0x1c], 0
je 0x50ffd3
cmp dword [ebx + 0x40], 0
je 0x50ffd3
mov eax, dword [ebx + 0x40]
mov dword [eax + 0x1c], 1
push ebx
push dword [edi + 0x1bfc]
call fcn.004c6c7e
mov dword [edi + 0x1bfc], eax
mov eax, 1
jmp 0x51015b
mov ebx, dword [ebx + 0x40]
test ebx, ebx
jne 0x50ffae
xor eax, eax
jmp 0x51015b
push dword [ebp + 8]
call fcn.0051fafa
mov ebx, eax
test ebx, ebx
jne 0x510012
xor eax, eax
jmp 0x51015b
call sub.USER32.dll_GetFocus
mov dword [ebp - 4], eax
mov edx, dword [ebx + 0x818]
cmp edx, dword [ebp - 4]
je 0x510037
mov ecx, dword [ebx + 0x81c]
cmp ecx, dword [ebp - 4]
je 0x510037
xor eax, eax
jmp 0x51015b
lea edx, [ebp - 8]
push edx
push dword [ebx + 0x848]
push dword [ebp - 4]
call fcn.004783a7
cmp dword [ebp - 8], 0
jle 0x510069
cmp dword [edi + 0x1c04], 0
jne 0x510069
push 0
call fcn.0042c6cc
mov eax, 1
jmp 0x51015b
push 0x57a361
push 0x3e6
push 0xd
push dword [ebp - 4]
call sub.USER32.dll_SendMessageA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jg 0x510090
mov eax, 1
jmp 0x51015b
mov edx, dword [ebp - 8]
mov byte [edx + 0x57a361], 0
mov esi, 0x57a361
jmp 0x5100a2
inc esi
cmp byte [esi], 0x20
je 0x5100a1
cmp byte [esi], 0
jne 0x5100b6
mov eax, 1
jmp 0x51015b
push 5
push 0x56e6a8
push esi
call fcn.0054e4e8
add esp, 0xc
test eax, eax
je 0x5100d4
mov eax, 1
jmp 0x51015b
add esi, 5
jmp 0x5100da
inc esi
cmp byte [esi], 0x20
je 0x5100d9
cmp byte [esi], 0
jne 0x5100eb
mov eax, 1
jmp 0x51015b
push 0x20
push esi
call fcn.0054e1ec
add esp, 8
test eax, eax
je 0x5100fd
mov byte [eax], 0
mov ebx, dword [edi + 0x1bfc]
test ebx, ebx
je 0x51014f
push esi
push dword [ebx]
call fcn.0054e450
add esp, 8
test eax, eax
jne 0x510148
push ebx
push dword [edi + 0x1bfc]
call fcn.004c6c7e
mov dword [edi + 0x1bfc], eax
xor eax, eax
mov dword [edi + 0x1c04], eax
push 0x56e6af
push 0
push 0xc
push dword [ebp - 4]
call sub.USER32.dll_SendMessageA
mov eax, 1
jmp 0x51015b
mov ebx, dword [ebx + 0x40]
test ebx, ebx
jne 0x510107
push 0
call fcn.0042c6cc
mov eax, 1
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc
Function at 0x510430
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push dword [ebp + 8]
call fcn.0051fafa
mov ebx, eax
test ebx, ebx
jne 0x51044d
xor eax, eax
jmp 0x510545
push dword [ebx + 0xb6c]
call fcn.0041261f
test eax, eax
jne 0x510463
xor eax, eax
jmp 0x510545
call sub.USER32.dll_GetFocus
mov esi, eax
cmp esi, dword [ebx + 0x818]
je 0x510481
cmp esi, dword [ebx + 0x81c]
je 0x510481
xor eax, eax
jmp 0x510545
lea edx, [ebp - 8]
push edx
lea ecx, [ebp - 4]
push ecx
push dword [ebx + 0x848]
push esi
call fcn.00478569
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
jge 0x5104a6
xor edx, edx
mov dword [ebp - 4], edx
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 4]
jge 0x5104b4
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
lea edx, [ebp - 0xc]
push edx
push dword [ebx + 0x848]
push esi
call fcn.004783a7
cmp dword [ebp - 0xc], 0
jg 0x5104ce
xor eax, eax
jmp 0x510545
push 0x57a361
push 0x3e6
push 0xd
push esi
call sub.USER32.dll_SendMessageA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jg 0x5104ed
xor eax, eax
jmp 0x510545
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x57a361], 0
push 5
push 0x56e6cf
push 0x57a361
call fcn.0054e4e8
add esp, 0xc
test eax, eax
jne 0x510516
mov eax, 1
jmp 0x510545
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0xc]
jle 0x510522
xor eax, eax
jmp 0x510545
dec dword [ebp - 4]
cmp dword [ebp - 4], 0
jge 0x510530
xor edx, edx
mov dword [ebp - 4], edx
mov ecx, dword [ebp - 4]
cmp byte [ecx + 0x57a361], 0x20
jne 0x510540
xor eax, eax
jmp 0x510545
mov eax, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x51698e
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push ebx
call fcn.005035b7
test eax, eax
je 0x516a5c
cmp dword [ebx + 0x3a4], 0
je 0x516a20
push 0
push 0x15be
call fcn.0042c771
push eax
push 0
push 0xc
push 0x79
push dword [ebx]
call sub.USER32.dll_SendDlgItemMessageA
cmp dword [ebx + 0x344], 0
je 0x5169f3
push 0
push 0x78
push dword [ebx]
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_ShowWindow
push 0
push 0x77
push dword [ebx]
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_ShowWindow
jmp 0x516a5c
push 0
push 0x15bf
call fcn.0042c771
push eax
push 0
push 0xc
push 0x77
push dword [ebx]
call sub.USER32.dll_SendDlgItemMessageA
push 5
push 0x77
push dword [ebx]
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_ShowWindow
jmp 0x516a5c
push 0
push 0x15bd
call fcn.0042c771
push eax
push 0
push 0xc
push 0x79
push dword [ebx]
call sub.USER32.dll_SendDlgItemMessageA
push 0
push 0x78
push dword [ebx]
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_ShowWindow
push 0
push 0x77
push dword [ebx]
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_ShowWindow
pop ebx
pop ebp
ret 4

Function at 0x516a61
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push ebx
call fcn.0048b997
test eax, eax
je 0x516b26
cmp dword [ebx + 0x380], 0
je 0x516aea
push 0
push 0x15be
call fcn.0042c771
push eax
push 0
push 0xc
push 0x79
push dword [ebx]
call sub.USER32.dll_SendDlgItemMessageA
push 5
push 0x78
push dword [ebx]
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_ShowWindow
push 5
push 0x77
push dword [ebx]
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_ShowWindow
cmp dword [ebx + 0x344], 0
je 0x516ad7
push 1
push 0x77
push dword [ebx]
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_EnableWindow
jmp 0x516b26
push 0
push 0x77
push dword [ebx]
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_EnableWindow
jmp 0x516b26
push 0
push 0x15bd
call fcn.0042c771
push eax
push 0
push 0xc
push 0x79
push dword [ebx]
call sub.USER32.dll_SendDlgItemMessageA
push 0
push 0x78
push dword [ebx]
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_ShowWindow
push 0
push 0x77
push dword [ebx]
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_ShowWindow
pop ebx
pop ebp
ret 4
Function at 0x519b50
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [eax]
push edx
call fcn.005562c4
pop ecx
mov byte [ebp - 0x1d], al
cmp byte [ebp - 0x1d], 0x41
jb 0x519b76
cmp byte [ebp - 0x1d], 0x5a
jbe 0x519b7d
xor eax, eax
jmp 0x519cb1
lea edx, [ebp - 0x18]
push edx
push 0
push 0
push 1
push 1
call sub.MPR.dll_WNetOpenEnumA
test eax, eax
je 0x519b99
xor eax, eax
jmp 0x519cb1
mov dword [ebp - 0x14], 0xffffffff
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 8], 0x640
push dword [ebp - 8]
call fcn.00559d70
pop ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x519c97
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0xc]
push edx
push dword [ebp - 4]
lea ecx, [ebp - 0x10]
push ecx
push dword [ebp - 0x18]
call sub.MPR.dll_WNetEnumResourceA
cmp eax, 0xea
jne 0x519c09
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.0055a23c
add esp, 8
test eax, eax
je 0x519c97
mov dword [ebp - 4], eax
jmp 0x519bc2
test eax, eax
jne 0x519c97
xor esi, esi
mov eax, dword [ebp - 4]
lea ebx, [eax + 0x10]
jmp 0x519c8d
mov edi, dword [ebx]
test edi, edi
je 0x519c89
xor eax, eax
mov al, byte [edi]
push eax
call fcn.005562c4
pop ecx
xor edx, edx
mov dl, byte [ebp - 0x1d]
cmp eax, edx
jne 0x519c89
mov ecx, dword [ebp + 8]
mov eax, dword [ebx + 4]
mov esi, ecx
mov edi, eax
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0xc]
cmp byte [eax + 1], 0x3a
jne 0x519c80
mov edx, dword [ebp + 0xc]
cmp byte [edx + 2], 0x5c
jne 0x519c80
mov ecx, dword [ebp + 0xc]
add ecx, 2
push ecx
push dword [ebp + 8]
call fcn.0054e1b0
add esp, 8
mov dword [ebp - 0x1c], 1
jmp 0x519c97
inc esi
add ebx, 0x20
cmp esi, dword [ebp - 0x10]
jl 0x519c1b
jmp 0x519bc2
cmp dword [ebp - 4], 0
je 0x519ca6
push dword [ebp - 4]
call fcn.00559c5c
pop ecx
push dword [ebp - 0x18]
call sub.MPR.dll_WNetCloseEnum
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x519d16
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
cmp eax, 2
jne 0x519d49
push 0
push 0x56ec8e
push 0
push ebx
push 0x56ec88
push dword [0x56f018]
call sub.SHELL32.dll_ShellExecuteA
jmp 0x519e26
dec eax
jne 0x519d53
mov esi, 1
jmp 0x519d55
xor esi, esi
cmp dword [0x56ec10], 0
je 0x519d67
cmp dword [0x56ec14], 0
jne 0x519dd3
cmp dword [0x56ec10], 0
je 0x519d74
test esi, esi
je 0x519d85
push ebx
push str.__s_____0xFFFFFFFF_0x4_________
push edi
call sub.USER32.dll_wsprintfA
add esp, 0xc
jmp 0x519d94
push ebx
push str.__s_____0x0_0x4_________
push edi
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 0xffffffffffffffff
push 2
push 0x56ecda
push edi
push str.WWW_OpenURL
call fcn.00469355
test eax, eax
je 0x519dd3
cmp dword [0x56ec14], 0
je 0x519e26
test esi, esi
jne 0x519e26
push 0xffffffffffffffff
push 2
push 0x56ecfc
push str.0xFFFFFFFF_0x0
push str.WWW_Activate
call fcn.00469355
jmp 0x519e26
call fcn.004f6ecc
cmp byte [0x586624], 0
jne 0x519dfd
push 5
push 0x581f80
push 0
push ebx
push 0x56ed00
push dword [0x56f018]
call sub.SHELL32.dll_ShellExecuteA
jmp 0x519e26
push 5
push 0x581f80
push ebx
push 0x586624
push str.open
push dword [0x56f018]
call sub.SHELL32.dll_ShellExecuteA
cmp eax, 0x1f
jae 0x519e26
push 0
call fcn.0042c6cc
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x527555
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x424], 1
lea eax, [ebx + 0x44c]
push eax
push 0x104
lea edx, [ebp - 0x104]
push edx
call fcn.0042e5e3
cmp dword [0x56c208], 0
jne 0x5275b8
cmp byte [ebx + 0x44c], 0
je 0x5275b8
push 0
push 0x1772
call fcn.0042c771
push eax
lea ecx, [ebx + 0x44c]
push ecx
call fcn.0054e450
add esp, 8
test eax, eax
jne 0x5275f7
push 0x64
lea esi, [ebx + 0x44c]
push esi
call sub.WSOCK32.dll_gethostname
test eax, eax
je 0x5275f7
push 0
push 0x1772
call fcn.0042c771
push esi
mov edi, eax
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
cmp dword [0x56c20c], 0
jne 0x527637
cmp dword [ebx + 0x514], 0
je 0x527637
lea eax, [ebx + 0x44c]
lea edx, [ebp - 0x104]
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x527637
test cl, cl
je 0x527631
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x527637
add eax, 2
add edx, 2
test cl, cl
jne 0x527615
je 0x52779e
push 0
push 0x1772
call fcn.0042c771
push eax
lea eax, [ebx + 0x44c]
push eax
call fcn.0054e450
add esp, 8
test eax, eax
jne 0x5276f3
push 0
push 0x1772
call fcn.0042c771
lea edx, [ebx + 0x4b0]
mov edi, eax
mov esi, edx
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor eax, eax
mov dword [ebx + 0x514], eax
cmp dword [ebx + 0x420], 0
je 0x5276ec
mov dword [0x56cd28], 1
push dword [0x5618ec]
push 0
push 0x1777
call fcn.0042c771
push eax
push dword [ebx]
call fcn.004f0245
mov dword [ebx + 0x440], 1
push ebx
call fcn.00527096
test eax, eax
jne 0x5276e1
push ebx
push 2
call fcn.004591e2
jmp 0x5276ec
push ebx
push 0x56f757
call fcn.00526f48
xor eax, eax
jmp 0x5277a0
push 0x400
lea esi, [ebx + 0x1c]
push esi
call fcn.0042e6b1
push 0x400
push esi
lea eax, [ebx + 0x44c]
push eax
push 0x800a
push dword [0x56f018]
call sub.WSOCK32.dll_WSAAsyncGetHostByName
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
jne 0x52779e
xor eax, eax
mov dword [ebx + 0x424], eax
cmp dword [ebx + 0x41c], 0
je 0x52773c
xor eax, eax
jmp 0x5277a0
xor edx, edx
mov dword [ebx + 0x514], edx
cmp dword [ebx + 0x420], 0
je 0x52779a
mov dword [0x56cd28], 1
push dword [0x5618ec]
push 0
push 0x1778
call fcn.0042c771
push eax
push dword [ebx]
call fcn.004f0245
mov dword [ebx + 0x440], 2
push ebx
call fcn.00527096
test eax, eax
jne 0x52778f
push ebx
push 2
call fcn.004591e2
jmp 0x52779a
push ebx
push 0x56f75b
call fcn.00526f48
xor eax, eax
jmp 0x5277a0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x5289e2
Capabilities:
Initialize winsock library

Disassembly:
push ebx
add esp, 0xfffffe70
call fcn.00528a3b
mov dword [0x56f7e4], 1
mov ax, 0x101
push esp
push eax
call sub.WSOCK32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
jne 0x528a10
mov eax, 1
jmp 0x528a33
xor edx, edx
mov dword [0x56f7e4], edx
push 0x10
push 0x56f064
push ebx
call fcn.0052898c
push eax
push dword [0x56f018]
call sub.USER32.dll_MessageBoxA
xor eax, eax
add esp, 0x190
pop ebx
ret

Function at 0x528b72
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp + 8]
mov edx, dword [eax]
inc edx
xor eax, eax
mov al, byte [edx]
test eax, eax
jne 0x528b98
mov ecx, dword [ebp + 0xc]
mov dword [ecx], str._at_end_of_pattern
jmp 0x528cfc
cmp eax, 0x30
jl 0x528cfc
cmp eax, 0x7a
jg 0x528cfc
movsx ebx, word [eax*2 + 0x56f79c]
mov dword [ebp - 4], ebx
test ebx, ebx
je 0x528bc1
mov eax, dword [ebp - 4]
jmp 0x528cfc
mov ebx, eax
sub ebx, 0x30
je 0x528c36
dec ebx
sub ebx, 9
jb 0x528be5
sub ebx, 0x29
je 0x528cbf
sub ebx, 0x15
je 0x528c77
jmp 0x528ceb
cmp dword [ebp + 0x18], 0
jne 0x528c25
mov esi, edx
sub eax, 0x30
jmp 0x528c01
inc edx
add eax, eax
lea eax, [eax + eax*4]
xor ebx, ebx
mov bl, byte [edx]
add eax, ebx
add eax, 0xffffffd0
xor ebx, ebx
mov bl, byte [edx + 1]
mov edi, dword [ecx + 0xc]
test byte [edi + ebx], 4
jne 0x528bf2
cmp eax, 0xa
jl 0x528c19
cmp eax, dword [ebp + 0x10]
jg 0x528c23
add eax, 0xc
neg eax
jmp 0x528cfc
mov edx, esi
xor eax, eax
mov al, byte [edx]
cmp eax, 0x38
jl 0x528c36
dec edx
xor eax, eax
jmp 0x528cfc
sub eax, 0x30
jmp 0x528c48
inc edx
shl eax, 3
xor ebx, ebx
mov bl, byte [edx]
add eax, ebx
add eax, 0xffffffd0
mov ebx, dword [ebp - 4]
inc dword [ebp - 4]
cmp ebx, 2
jge 0x528c6d
xor ebx, ebx
mov bl, byte [edx + 1]
mov esi, dword [ecx + 0xc]
test byte [esi + ebx], 4
je 0x528c6d
cmp byte [edx + 1], 0x38
je 0x528c6d
cmp byte [edx + 1], 0x39
jne 0x528c3b
and eax, 0xff
jmp 0x528cfc
xor eax, eax
jmp 0x528ca4
inc edx
mov esi, 0x30
xor ebx, ebx
mov bl, byte [edx]
mov edi, dword [ecx + 0xc]
test byte [edi + ebx], 4
jne 0x528c91
add esi, 0x27
xor ebx, ebx
mov bl, byte [edx]
mov edi, dword [ecx]
movzx ebx, byte [edi + ebx]
shl eax, 4
add ebx, eax
sub ebx, esi
mov eax, ebx
mov ebx, dword [ebp - 4]
inc dword [ebp - 4]
cmp ebx, 2
jge 0x528cfc
xor ebx, ebx
mov bl, byte [edx + 1]
mov esi, dword [ecx + 0xc]
test byte [esi + ebx], 8
jne 0x528c7b
jmp 0x528cfc
inc edx
xor eax, eax
mov al, byte [edx]
test eax, eax
jne 0x528cd5
mov edx, dword [ebp + 0xc]
mov dword [edx], str.c_at_end_of_pattern
xor eax, eax
jmp 0x528d01
cmp eax, 0x61
jl 0x528ce6
cmp eax, 0x7a
jg 0x528ce6
mov ecx, dword [ecx + 4]
movzx eax, byte [ecx + eax]
xor eax, 0x40
jmp 0x528cfc
test byte [ebp + 0x14], 0x40
je 0x528cfc
mov ecx, eax
mov ecx, dword [ebp + 0xc]
mov dword [ecx], str.unrecognized_character_follows__
mov ecx, dword [ebp + 8]
mov dword [ecx], edx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x18
Function at 0x532ff8
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x14], 0xca
jne 0x533029
push ebx
call fcn.005387a5
cmp byte [ebx + 0x40], 0
je 0x533022
mov dword [ebx + 0x14], 0xcf
mov al, 1
jmp 0x5330b8
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x533095
mov edx, dword [ebx + 0x190]
cmp byte [edx + 0x10], 0
je 0x53308a
cmp dword [ebx + 8], 0
je 0x53304a
push ebx
mov ecx, dword [ebx + 8]
call dword [ecx]
push ebx
mov eax, dword [ebx + 0x190]
call dword [eax]
test eax, eax
jne 0x53305b
xor eax, eax
jmp 0x5330b8
cmp eax, 2
je 0x53308a
cmp dword [ebx + 8], 0
je 0x53303e
cmp eax, 3
je 0x53306e
dec eax
jne 0x53303e
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x53303e
mov edx, dword [ebx + 0x11c]
add dword [eax + 8], edx
jmp 0x53303e
mov ecx, dword [ebx + 0x7c]
mov dword [ebx + 0x84], ecx
jmp 0x5330b2
cmp dword [ebx + 0x14], 0xcc
je 0x5330b2
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
push ebx
mov ecx, dword [ebx]
call dword [ecx]
push ebx
call fcn.005330bd
pop ebx
pop ebp
ret 4