joyce8/EMBER2024-capa huggingface dataset:
Function at 0x482538
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x4825d7
cmp dword [ebx + 0x94], 0
jne 0x4825d1
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4824c0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4825d1
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x482597
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4825d1
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00420a68
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4825a6
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4827f0
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x70dce0]
cmp dword [eax + 0x30], 0
je 0x48294d
test bl, bl
jne 0x48289e
cmp dword [esi + 0x9c], 0
jne 0x482893
mov eax, esi
call fcn.004851a8
push eax
push 0x48271c
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x482864
mov eax, dword [0x70dce0]
call fcn.00485888
test al, al
je 0x482864
mov eax, dword [0x70dd04]
call fcn.00406d20
mov edi, eax
cmp edi, 0
jl 0x482864
push 0
mov eax, dword [0x70dd04]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x48284e
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x482893
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00420a68
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x482873
inc dword [esi + 0x9c]
jmp 0x48294d
cmp dword [esi + 0x9c], 0
jle 0x48294d
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x48294d
cmp dword [esi + 0x44], 0
je 0x4828f9
mov eax, dword [0x70dce0]
call fcn.00485888
test al, al
je 0x4828f9
mov eax, dword [0x70dd04]
call fcn.00406d20
mov edi, eax
cmp edi, 0
jl 0x4828f9
push 5
mov eax, dword [0x70dd04]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4828e3
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x482928
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00420a68
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x482908
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x70dd04
mov ecx, 1
mov edx, dword [0x4826fc]
call fcn.00406ed4
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x483434
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x48349e
mov eax, ebx
call fcn.00485888
test al, al
jne 0x48349e
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004055c0
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x48348b
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4834ab
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00405524
jmp 0x4834ab
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00405524
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x4849ac
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x484a1a
mov eax, esi
call fcn.0046c998
test al, al
je 0x484a1a
mov eax, dword [ebx + 0x84]
call fcn.0046c5f8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x484a1a
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x484a0e
push 0
mov eax, dword [ebx + 0x84]
call fcn.0046c5f8
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00464450
jmp 0x484a1a
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004847e8
pop esi
pop ebx
ret

Function at 0x486a74
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x486afd
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x70dd14
push 0x202
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x486ae7
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040f424
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
mov eax, 0x486b14
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x707d38]
mov dl, 1
mov eax, dword [0x485a60]
call fcn.0040fea0
call fcn.00404e04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x486b04
lea eax, [ebp - 0x1c]
call fcn.004054d0
ret

Function at 0x487110
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor esi, esi
xor edi, edi
movzx eax, byte [0x487170]
cmp al, byte [ebx + 0x28]
je 0x487137
mov esi, 0x401
mov eax, ebx
call fcn.00487274
mov edi, eax
movzx eax, byte [ebx + 0x28]
push eax
push esi
push edi
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_WSAAsyncSelect
movzx eax, byte [0x487170]
cmp al, byte [ebx + 0x28]
jne 0x48716a
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 0x8004667e
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_ioctlsocket
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x487200
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.00487110
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00404688
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, eax
mov ecx, 0x48726c
mov eax, ebx
call fcn.004869b8
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x48725d
cmp dword [ebx + 4], 0xffffffff
setne al
mov byte [ebx + 8], al
mov cl, 2
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00404688
pop esi
pop ebx
pop ebp
ret

Function at 0x4873e8
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov eax, ebx
call fcn.00405970
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [ebp - 8]
xor ecx, ecx
mov edx, 4
call fcn.00403b3c
test ebx, ebx
je 0x487435
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
movzx ecx, byte [edx]
mov byte [ebp - 8], cl
movzx ecx, byte [edx + 1]
mov byte [ebp - 7], cl
movzx ecx, byte [edx + 2]
mov byte [ebp - 6], cl
movzx eax, byte [edx + 3]
mov byte [ebp - 5], al
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x487514
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x487545
mov ecx, dword [0x7080c8]
mov dl, 1
mov eax, dword [0x485a60]
call fcn.0040fe64
call fcn.00404e04
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x487572
mov ecx, dword [0x707844]
mov dl, 1
mov eax, dword [0x485a60]
call fcn.0040fe64
call fcn.00404e04
xor eax, eax
push ebp
push 0x4875f3
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00404688
cmp byte [ebp + 8], 0
je 0x4875cd
mov eax, dword [ebp + 0x14]
push eax
movzx eax, word [ebp + 0x10]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0048747c
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00487174
jmp 0x4875e9
mov eax, dword [ebp + 0x14]
push eax
movzx eax, word [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00486cb4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x487610
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x48761c
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x48764d
mov ecx, dword [0x7079f0]
mov dl, 1
mov eax, dword [0x485a60]
call fcn.0040fe64
call fcn.00404e04
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x48767a
mov ecx, dword [0x707844]
mov dl, 1
mov eax, dword [0x485a60]
call fcn.0040fe64
call fcn.00404e04
xor eax, eax
push ebp
push 0x4876f6
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00404688
cmp byte [ebp + 8], 0
je 0x4876d2
mov eax, dword [ebp + 0x10]
push eax
movzx eax, word [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0048747c
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
call fcn.00487200
jmp 0x4876ec
mov eax, dword [ebp + 0x10]
push eax
movzx eax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00486cb4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x487713
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x487900
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00486f80
xor eax, eax
push ebp
push 0x487a73
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x487a5d
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x48794c
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x487956
call fcn.00404eb0
jmp 0x487a7a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00423c6c
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, eax
test ebx, ebx
jle 0x487a52
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov edi, eax
cmp edi, 0xffffffff
jne 0x487a05
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x4879f2
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00404688
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.004878b8
pop ecx
mov eax, dword [ebp - 4]
movzx edx, byte [0x487a88]
cmp dl, byte [eax + 0x28]
je 0x487a59
call fcn.0040fd88
jmp 0x487a59
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00423c8c
jmp 0x487a59
cmp edi, ebx
jge 0x487a21
mov eax, dword [ebp - 0xc]
add eax, edi
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00423c8c
jmp 0x487956
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00423c6c
cmp edx, dword [esp + 4]
jne 0x487a41
cmp eax, dword [esp]
pop edx
pop eax
jne 0x487956
push ebp
call fcn.004878b8
pop ecx
jmp 0x487a59
push ebp
call fcn.004878b8
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x487a7a
mov eax, dword [ebp - 4]
call fcn.00486f90
ret
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x487a8c
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x487bae
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00486f80
xor eax, eax
push ebp
push 0x487b91
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x487adc
call fcn.00404eb0
jmp 0x487b98
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x487b7b
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x487b7b
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00404688
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x487b7b
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040f424
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x487bc8
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x707d38]
mov dl, 1
mov eax, dword [0x485a60]
call fcn.0040fea0
call fcn.00404e04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x487b98
mov eax, dword [ebp - 4]
call fcn.00486f90
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x487bb5
lea eax, [ebp - 0x28]
call fcn.004054d0
ret
Function at 0x487c1c
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x487d66
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00486f80
xor eax, eax
push ebp
push 0x487d49
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x487c81
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x487c81
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x487d33
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x487c94
call fcn.00404eb0
jmp 0x487d50
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x487d33
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x487d33
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00404688
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x487d33
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040f424
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x487d80
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x707d38]
mov dl, 1
mov eax, dword [0x485a60]
call fcn.0040fea0
call fcn.00404e04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x487d50
mov eax, dword [ebp - 4]
call fcn.00486f90
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x487d6d
lea eax, [ebp - 0x28]
call fcn.004054d0
ret
Function at 0x4d8970
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x11c], ebx
mov byte [ebp - 1], cl
mov ebx, edx
xor eax, eax
push ebp
push 0x4d8a8d
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x4d8a51
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x105
lea eax, [ebp - 0x115]
push eax
lea eax, [ebp - 0x11c]
mov edx, ebx
call fcn.004056b8
lea eax, [ebp - 0x11c]
mov edx, 0x4d8aa8
call fcn.004057ac
mov eax, dword [ebp - 0x11c]
call fcn.00405970
push eax
call sub.kernel32.dll_GetVolumeInformationA
movzx eax, byte [ebp - 1]
dec al
je 0x4d89fd
dec al
je 0x4d8a25
jmp 0x4d8a3a
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x124], eax
mov byte [ebp - 0x120], 0
lea edx, [ebp - 0x124]
xor ecx, ecx
mov eax, 0x4d8ab4
call fcn.0040bf74
jmp 0x4d8a47
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x115]
mov ecx, 0x105
call fcn.00405750
jmp 0x4d8a47
mov eax, dword [ebp + 8]
mov edx, 0x4d8ac4
call fcn.00405524
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d8a74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d8a94
lea eax, [ebp - 0x11c]
call fcn.004054d0
ret

Function at 0x4d8f24
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov byte [ebp - 1], cl
mov ebx, edx
mov eax, 0x40
call fcn.00402ff0
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 0x40
call fcn.00403b3c
xor eax, eax
push ebp
push 0x4d8fac
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebp - 8]
mov byte [esi + 0x30], bl
movzx eax, byte [ebp + 8]
mov byte [esi + 2], al
movzx eax, byte [ebp - 1]
mov byte [esi + 0xa], al
mov byte [esi + 0xb], 0
movzx eax, byte [ebp + 0xc]
mov byte [esi + 0xc], al
mov byte [esi + 0xd], 0
mov byte [esi], 0x32
mov eax, dword [ebp - 8]
push eax
call sub.netapi32.dll_Netbios
movzx eax, byte [esi + 0x31]
mov byte [ebp - 2], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d8fb3
mov edx, 0x40
mov eax, dword [ebp - 8]
call fcn.0040300c
ret
Function at 0x4da538
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ebx, ebx
push ebp
push 0x4da611
push dword fs:[ebx]
mov dword fs:[ebx], esp
mov eax, 2
xor esi, esi
xor edx, edx
mov byte [ebp - 2], 0
mov byte [ebp - 1], 0
mov ecx, dword [ebp + 0x10]
dec ecx
test ecx, ecx
jl 0x4da600
inc ecx
mov dword [ebp - 8], ecx
xor edi, edi
mov ecx, dword [ebp + 8]
movzx ecx, byte [ecx + edi]
sub ecx, 0x3c
js 0x4da58d
mov ecx, dword [ebp + 8]
movzx ecx, byte [ecx + edi]
sub cl, 0x3c
mov byte [ebp - 1], cl
jmp 0x4da591
xor edx, edx
jmp 0x4da600
cmp edx, dword [ebp + 0x14]
jge 0x4da600
lea ecx, [esi + 6]
cmp ecx, 8
jl 0x4da5dc
mov ecx, 6
sub ecx, eax
movzx ebx, byte [ebp - 1]
and bl, 0x3f
movzx ebx, bl
shr ebx, cl
mov ecx, ebx
or cl, byte [ebp - 2]
mov byte [ebp - 3], 0xaa
add byte [ebp - 3], dl
xor cl, byte [ebp - 3]
mov ebx, dword [ebp + 0xc]
lea esi, [ebx + edx]
mov byte [esi], cl
inc edx
xor esi, esi
cmp eax, 6
jge 0x4da5d5
add eax, 2
jmp 0x4da5dc
mov eax, 2
jmp 0x4da5f6
mov ecx, eax
movzx ebx, byte [ebp - 1]
shl bl, cl
and bl, byte [eax + 0x6bfbc2]
mov byte [ebp - 2], bl
mov ecx, 8
sub ecx, eax
add esi, ecx
inc edi
dec dword [ebp - 8]
jne 0x4da572
mov eax, dword [ebp + 0xc]
mov byte [eax + edx], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4da61b
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0x10

Function at 0x4da624
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ecx, ecx
push ebp
push 0x4da72b
push dword fs:[ecx]
mov dword fs:[ecx], esp
xor eax, eax
mov byte [ebp - 6], 0
xor edx, edx
mov ecx, dword [ebp + 0x10]
dec ecx
test ecx, ecx
jl 0x4da708
inc ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0
cmp edx, dword [ebp + 0x14]
jge 0x4da708
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp - 4]
movzx ebx, byte [ecx + ebx]
mov byte [ebp - 7], 0xaa
movzx ecx, byte [ebp - 4]
add byte [ebp - 7], cl
xor bl, byte [ebp - 7]
lea ecx, [eax + 2]
movzx esi, bl
shr esi, cl
mov ecx, esi
or cl, byte [ebp - 6]
and cl, 0x3f
mov byte [ebp - 5], cl
lea ecx, [eax + 2]
push ecx
mov ecx, 8
pop esi
sub ecx, esi
movzx ebx, bl
shl ebx, cl
shr ebx, 2
and bl, 0x3f
mov byte [ebp - 6], bl
add eax, 2
cmp eax, 6
jge 0x4da6c0
mov ecx, dword [ebp + 0xc]
movzx ebx, byte [ebp - 5]
add bl, 0x3c
mov byte [ecx + edx], bl
inc edx
jmp 0x4da6fc
mov eax, dword [ebp + 0x14]
dec eax
cmp edx, eax
jge 0x4da6e8
mov eax, dword [ebp + 0xc]
movzx ecx, byte [ebp - 5]
add cl, 0x3c
mov byte [eax + edx], cl
mov eax, dword [ebp + 0xc]
movzx ecx, byte [ebp - 6]
add cl, 0x3c
mov byte [eax + edx + 1], cl
add edx, 2
jmp 0x4da6f6
mov eax, dword [ebp + 0xc]
movzx ecx, byte [ebp - 5]
add cl, 0x3c
mov byte [eax + edx], cl
inc edx
xor eax, eax
mov byte [ebp - 6], 0
inc dword [ebp - 4]
dec dword [ebp - 0xc]
jne 0x4da65a
test eax, eax
jle 0x4da71a
mov eax, dword [ebp + 0xc]
movzx ecx, byte [ebp - 6]
add cl, 0x3c
mov byte [eax + edx], cl
inc edx
mov eax, dword [ebp + 0xc]
mov byte [eax + edx], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4da735
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10