joyce8/EMBER2024-capa huggingface dataset:
Function at 0x468820
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 0x468942
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00467fc0
xor eax, eax
push ebp
push 0x468925
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 0x468870
call fcn.0040460c
jmp 0x46892c
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 0x46890f
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x46890f
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403fc8
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 0x46890f
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040c508
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, 0x46895c
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4f8690]
mov dl, 1
mov eax, dword [0x4672c8]
call fcn.0040ce48
call fcn.00404560
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46892c
mov eax, dword [ebp - 4]
call fcn.00467fcc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x468949
lea eax, [ebp - 0x28]
call fcn.00404b4c
ret
Function at 0x4689a8
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x468b19
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00467fc0
xor eax, eax
push ebp
push 0x468afc
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x468a0d
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x468a0d
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 0x468ae6
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x468a20
call fcn.0040460c
jmp 0x468b03
lea eax, [ebp - 0x10]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
test eax, eax
jne 0x468a47
cmp ebx, dword [ebp - 0x10]
jle 0x468a47
cmp dword [ebp - 0x10], 0
je 0x468a47
mov ebx, dword [ebp - 0x10]
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 0x468ae6
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x468ae6
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403fc8
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 0x468ae6
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
call fcn.0040c508
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
mov eax, 0x468b34
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
lea eax, [ebp - 0x28]
push eax
push 2
mov ecx, dword [0x4f8690]
mov dl, 1
mov eax, dword [0x4672c8]
call fcn.0040ce48
call fcn.00404560
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x468b03
mov eax, dword [ebp - 4]
call fcn.00467fcc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x468b20
lea eax, [ebp - 0x2c]
call fcn.00404b4c
ret
Function at 0x474a24
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x415ea0]
call fcn.00405518
xor eax, eax
push ebp
push 0x474b68
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4f5fdc], 0
jne 0x474a77
mov ecx, dword [0x4f8118]
mov dl, 1
mov eax, dword [0x408038]
call fcn.0040ce0c
call fcn.00404560
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.0040365c
mov eax, ebx
call fcn.004053c4
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x474b78
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.004065d4
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004053d4
test eax, eax
jle 0x474b0f
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x474b08
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404de4
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404dcc
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408f40
test eax, eax
jne 0x474b08
mov ebx, 0x15
jmp 0x474b14
mov ebx, 0x10
jmp 0x474b14
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4f5fdc]
call fcn.0047489c
mov eax, dword [ebp - 8]
call fcn.0047489c
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004065ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474b6f
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404b70
lea eax, [ebp - 0x10]
mov edx, dword [0x415ea0]
call fcn.004055e8
ret

Function at 0x47dc90
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x47dcbe
mov eax, ebx
call fcn.0047e744
cmp dword [ebx + 0x40], 0
je 0x47dcb7
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x47dd2f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x47dd21
cmp dword [ebx + 8], 0
je 0x47dce0
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x47dcf2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x47dd21
cmp dword [ebx + 8], 0
je 0x47dcd3
cmp eax, 3
je 0x47dd05
dec eax
jne 0x47dcd3
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 0x47dcd3
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x47dcd3
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x47dd4d
cmp dword [ebx + 0x14], 0xcc
je 0x47dd4d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0047dd58
pop ebx
ret
Function at 0x4a40c8
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov edi, eax
mov eax, edi
call fcn.00404b4c
push pe_nt_image_headers32
lea eax, [esp + 0xc]
push eax
call sub.wsock32.dll_gethostname
lea eax, [esp + 8]
push eax
call sub.wsock32.dll_gethostbyname
mov dword [esp], eax
cmp dword [esp], 0
jne 0x4a410a
mov eax, edi
mov edx, 0x4a4144
call fcn.00404ba0
jmp 0x4a4132
mov eax, dword [esp]
mov eax, dword [eax + 0xc]
mov dword [esp + 4], eax
xor ebx, ebx
jmp 0x4a4127
push dword [esi]
call sub.wsock32.dll_inet_ntoa
mov edx, edi
call fcn.00409cdc
inc ebx
mov eax, dword [esp + 4]
mov esi, dword [eax + ebx*4]
test esi, esi
jne 0x4a4118
add esp, 0x108
pop edi
pop esi
pop ebx
ret
Function at 0x4a9f1c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4aa126
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx + 4], 0
je 0x4aa10a
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [0x4f7990]
cmp eax, 0xbb8
jbe 0x4a9f89
mov edx, dword [0x4f8160]
mov edx, dword [edx]
mov eax, dword [0x4f814c]
mov eax, dword [eax]
call fcn.004e5174
mov al, byte [eax + 0x41e]
add al, 0xfc
sub al, 2
jb 0x4a9f7f
mov eax, ebx
call fcn.004aa2c0
call sub.kernel32.dll_GetTickCount_1
mov dword [0x4f7990], eax
cmp dword [ebx + 0xc], 0
setne byte [ebp - 5]
mov al, byte [ebp - 5]
dec al
jne 0x4a9fad
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 0x10]
mov esi, dword [edx + eax*8]
mov edx, dword [ebx + 0xc]
mov eax, dword [edx + eax*8 + 4]
mov dword [ebp - 4], eax
jmp 0x4a9fc0
mov edx, dword [ebx + 4]
mov eax, dword [ebx + 8]
mov esi, dword [edx + eax*8]
mov edx, dword [ebx + 4]
mov eax, dword [edx + eax*8 + 4]
mov dword [ebp - 4], eax
mov eax, dword [0x4f87d0]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
mov edx, esi
call fcn.004e6b78
test al, al
je 0x4a9fed
mov eax, dword [0x4f814c]
mov eax, dword [eax]
mov ecx, esi
mov edx, esi
call fcn.004e57e0
test al, al
jne 0x4aa07b
mov eax, dword [ebx + 4]
call fcn.00405ca0
mov esi, eax
sub esi, dword [ebx + 8]
dec esi
cmp esi, 0xd
jle 0x4aa005
mov esi, 0xd
add esi, dword [ebx + 8]
mov eax, dword [ebx + 4]
mov eax, dword [eax + esi*8]
push eax
mov eax, dword [ebx + 4]
mov eax, dword [eax + esi*8 + 4]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
movsx ecx, word [edi + 0x5e]
movsx edx, word [edi + 0x5a]
mov eax, dword [0x4f87d0]
mov eax, dword [eax]
call fcn.004e6e2c
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
mov ecx, dword [0x4e67dc]
call fcn.00405ebc
cmp dword [ebx + 0xc], 0
jne 0x4aa060
mov eax, ebx
call fcn.004a9cf8
mov edx, 0x4aa13c
mov eax, ebx
call fcn.004a9cd0
jmp 0x4aa10a
mov dword [ebx + 8], esi
mov eax, 1
mov dword [ebx + 0x10], eax
mov edx, dword [ebx + 0xc]
mov esi, dword [edx + eax*8]
mov edx, dword [ebx + 0xc]
mov eax, dword [edx + eax*8 + 4]
mov dword [ebp - 4], eax
mov ax, word [ebp - 4]
push eax
mov dx, word [edi + 0x5e]
mov ax, word [edi + 0x5a]
mov ecx, esi
call fcn.00499e6c
movzx eax, ax
mov esi, eax
cmp esi, 8
je 0x4aa10a
cmp esi, dword [edi + 0x418]
je 0x4aa0ae
mov ecx, esi
mov edx, edi
mov eax, ebx
call fcn.004aa204
jmp 0x4aa10a
mov ecx, esi
mov edx, edi
mov eax, ebx
call fcn.004aa184
test al, al
je 0x4aa10a
mov al, byte [ebp - 5]
sub al, 1
jb 0x4aa0e6
jne 0x4aa10a
inc dword [ebx + 0x10]
mov eax, dword [ebx + 0xc]
call fcn.00405ca0
cmp eax, dword [ebx + 0x10]
jge 0x4aa10a
lea eax, [ebx + 0xc]
mov edx, dword [0x4e67dc]
call fcn.00405e80
jmp 0x4aa10a
inc dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.00405ca0
sub eax, dword [ebx + 8]
dec eax
jg 0x4aa10a
mov eax, ebx
call fcn.004a9cf8
mov edx, 0x4aa164
mov eax, ebx
call fcn.004a9cd0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aa12d
lea eax, [ebp - 0xc]
mov edx, dword [0x4e67dc]
call fcn.00405e80
ret
Function at 0x4b46dc
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
add esp, 0xfffffff0
mov ebx, eax
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x18]
cmp eax, 0xbb8
jb 0x4b474f
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x18], eax
cmp dword [ebx + 4], 0
je 0x4b474f
mov byte [esp], 0x15
mov byte [esp + 1], 3
mov al, byte [0x4b4754]
mov byte [esp + 2], al
mov eax, dword [ebx + 0xc]
mov dword [esp + 3], eax
mov eax, 8
call fcn.0040367c
mov word [esp + 7], ax
mov eax, dword [ebx + 4]
mov dx, word [eax + 0x5a]
mov word [esp + 9], dx
mov ax, word [eax + 0x5e]
mov word [esp + 0xb], ax
mov ecx, esp
mov eax, dword [0x4f84b0]
mov eax, dword [eax]
mov edx, 0xd
call fcn.004f05fc
add esp, 0x10
pop ebx
ret
Function at 0x4c87a4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4c8a04
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4c8807
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.004c826c
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040d75c
cmp al, 1
jne 0x4c8807
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004c8584
test al, al
je 0x4c8993
cmp dword [ebp - 8], 0
jge 0x4c8825
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.004c826c
mov eax, dword [ebp - 0x210]
call fcn.00404e1c
cmp ebx, eax
jge 0x4c886f
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.004c826c
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4f8820]
and eax, 0xff
bt dword [edx], eax
jae 0x4c886f
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4c8883
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004c8780
cmp ebx, dword [ebp - 8]
je 0x4c8985
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x4c88af
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403fc8
and eax, 0x7f
movzx eax, word [eax*2 + 0x4f7a64]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x4c8972
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403fc8
and eax, 0x7f
movzx eax, word [eax*2 + 0x4f7a64]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00448018
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403fc8
and eax, 0x7f
movzx eax, word [eax*2 + 0x4f7a64]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00448018
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c8979
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x4c89e6
cmp dword [ebp - 8], 0
jge 0x4c899e
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004c826c
mov eax, dword [ebp - 0x218]
call fcn.00404e1c
cmp eax, dword [ebp - 8]
jg 0x4c89d8
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004c826c
mov eax, dword [ebp - 0x21c]
call fcn.00404e1c
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004c8780
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c8a0b
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404b70
ret
Function at 0x4d3040
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov edi, esi
cmp dword [edi + 0xc], 0
sete dl
mov eax, dword [ebx + 0x330]
call fcn.0046ff78
cmp dword [edi + 0xc], 6
sete dl
mov eax, dword [ebx + 0x334]
call fcn.0046ff78
cmp dword [edi + 0xc], 1
sete dl
mov eax, dword [ebx + 0x338]
call fcn.0046ff78
cmp dword [edi + 0xc], 2
sete dl
mov eax, dword [ebx + 0x33c]
call fcn.0046ff78
cmp dword [edi + 0xc], 3
sete dl
mov eax, dword [ebx + 0x340]
call fcn.0046ff78
cmp dword [edi + 0xc], 4
sete dl
mov eax, dword [ebx + 0x344]
call fcn.0046ff78
cmp dword [edi + 0xc], 5
sete dl
mov eax, dword [ebx + 0x348]
call fcn.0046ff78
lea eax, [ebx + 0x37c]
call fcn.00404b4c
mov al, byte [edi + 0xc]
cmp al, byte [ebx + 0x370]
je 0x4d3104
call sub.kernel32.dll_GetTickCount_1
mov dword [0x4f7a80], eax
mov al, byte [edi + 0xc]
mov byte [ebx + 0x370], al
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.004d3160
mov eax, ebx
call fcn.004d315c
jmp 0x4d312b
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [0x4f7a80]
cmp eax, 0xbb8
jbe 0x4d312b
call sub.kernel32.dll_GetTickCount_1
mov dword [0x4f7a80], eax
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.004d3160
mov dword [ebx + 0x378], 1
mov dword [ebx + 0x374], 1
mov eax, ebx
call fcn.004d3830
pop edi
pop esi
pop ebx
ret

Function at 0x4d5160
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040500c
xor eax, eax
push ebp
push 0x4d51b1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040501c
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4d5195
test al, 0x10
jne 0x4d5199
xor ebx, ebx
jmp 0x4d519b
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d51b8
lea eax, [ebp - 4]
call fcn.00404b4c
ret
Function at 0x4dc4ec
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov esi, dword ss:[ebp + 0x14]
mov edi, dword ss:[ebp + 0xc]
mov ebx, dword ss:[ebp + 8]
lea eax, ds:[ebx + 0x3c]
mov dword ss:[ebp - 4], eax
mov dword ss:[ebp - 8], 0x10
mov edx, dword ds:[ebx + 0x38]
mov dword ss:[ebp - 0xc], edx
mov ecx, dword ss:[ebp - 0xc]
add ecx, dword ss:[ebp + 0x10]
mov eax, dword ss:[ebp + 0x18]
mov dword ds:[eax], ecx
mov edx, dword ss:[ebp - 0xc]
add edx, dword ss:[ebp + 0x10]
cmp edx, dword ss:[ebp - 8]
ja 0x4dc565
push dword ss:[ebp + 0x10]
push edi
mov ecx, dword ss:[ebp - 0xc]
add ecx, ebx
add ecx, 0x28
push ecx
call fcn.004d86f0
add esp, 0xc
mov eax, dword ss:[ebp + 0x10]
add dword ds:[ebx + 0x38], eax
mov edx, dword ss:[ebp + 0x18]
xor ecx, ecx
mov dword ds:[edx], ecx
xor eax, eax
jmp 0x4dc68b
cmp edi, esi
jne 0x4dc573
mov eax, 0x1001
jmp 0x4dc68b
mov edx, dword ss:[ebp - 0xc]
add edx, dword ss:[ebp + 0x10]
mov ecx, dword ss:[ebp + 0x18]
mov dword ds:[ecx], edx
mov eax, dword ss:[ebp - 8]
sub eax, dword ss:[ebp - 0xc]
push eax
push edi
mov edx, dword ss:[ebp - 0xc]
add edx, ebx
add edx, 0x28
push edx
call fcn.004d86f0
add esp, 0xc
mov ecx, dword ss:[ebp - 8]
sub ecx, dword ss:[ebp - 0xc]
add edi, ecx
mov eax, dword ss:[ebp - 8]
sub eax, dword ss:[ebp - 0xc]
sub dword ss:[ebp + 0x10], eax
lea edx, ds:[ebx + 0x18]
push edx
push dword ss:[ebp - 4]
call fcn.004daef8
add esp, 8
mov ecx, dword ds:[ebx + 0x18]
xor ecx, dword ds:[ebx + 0x28]
mov dword ds:[esi], ecx
mov eax, dword ds:[ebx + 0x1c]
xor eax, dword ds:[ebx + 0x2c]
mov dword ds:[esi + 4], eax
mov edx, dword ds:[ebx + 0x20]
xor edx, dword ds:[ebx + 0x30]
mov dword ds:[esi + 8], edx
mov ecx, dword ds:[ebx + 0x24]
xor ecx, dword ds:[ebx + 0x34]
mov dword ds:[esi + 0xc], ecx
add esi, dword ss:[ebp - 8]
mov eax, dword ss:[ebp + 0x10]
cmp eax, dword ss:[ebp - 8]
jbe 0x4dc65b
lea edx, ds:[ebx + 0x18]
push edx
push dword ss:[ebp - 4]
call fcn.004daef8
add esp, 8
mov ecx, dword ds:[edi]
xor ecx, dword ds:[ebx + 0x18]
mov dword ds:[esi], ecx
mov eax, dword ds:[edi + 4]
xor eax, dword ds:[ebx + 0x1c]
mov dword ds:[esi + 4], eax
mov edx, dword ds:[edi + 8]
xor edx, dword ds:[ebx + 0x20]
mov dword ds:[esi + 8], edx
mov ecx, dword ds:[edi + 0xc]
xor ecx, dword ds:[ebx + 0x24]
mov dword ds:[esi + 0xc], ecx
add edi, dword ss:[ebp - 8]
add esi, dword ss:[ebp - 8]
mov eax, dword ss:[ebp - 8]
sub dword ss:[ebp + 0x10], eax
mov edx, dword ss:[ebp + 0x10]
cmp edx, dword ss:[ebp - 8]
ja 0x4dc602
push dword ss:[ebp + 0x10]
push edi
lea ecx, ds:[ebx + 0x28]
push ecx
call fcn.004d86f0
add esp, 0xc
mov eax, dword ds:[ebx + 0x38]
and eax, 0xf0000000
add eax, dword ss:[ebp + 0x10]
mov dword ds:[ebx + 0x38], eax
mov edx, dword ss:[ebp + 0x18]
mov ecx, dword ss:[ebp + 0x10]
sub dword ds:[edx], ecx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4dcb00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword ss:[ebp + 0xc]
mov ebx, dword ss:[ebp + 8]
lea eax, ds:[ebx + 0x3c]
mov esi, dword ds:[ebx + 0x38]
mov edx, dword ss:[ebp + 0x10]
mov dword ds:[edx], esi
lea ecx, ds:[ebx + 0x18]
push ecx
push eax
call fcn.004daef8
add esp, 8
xor eax, eax
cmp esi, eax
jbe 0x4dcb44
mov dl, byte ds:[eax + ebx + 0x28]
xor dl, byte ds:[eax + ebx + 0x18]
mov byte ds:[eax + edi], dl
inc eax
cmp esi, eax
ja 0x4dcb31
mov eax, dword ss:[ebp + 0x10]
mov dword ds:[eax], esi
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4dd3d4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
dec ecx
test ecx, ecx
jb 0x4dd3fe
inc ecx
movzx esi, byte [edx]
mov ebx, dword [eax]
mov edi, ebx
and edi, 0xff
xor esi, edi
mov esi, dword [esi*4 + 0x4f7b54]
shr ebx, 8
xor esi, ebx
mov dword [eax], esi
inc edx
dec ecx
jne 0x4dd3dd
pop edi
pop esi
pop ebx
ret
Function at 0x4e2218
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov edi, ecx
mov ebx, eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
xor ecx, ecx
push ebp
push 0x4e2366
push dword fs:[ecx]
mov dword fs:[ecx], esp
test al, al
jbe 0x4e227e
mov dword [ebx + 0x34], 7
mov dword [ebx + 0x39], edx
mov dword [ebx + 0x3d], edi
mov ecx, dword [ebp + 0x28]
mov dword [ebx + 0x41], ecx
mov cx, word [ebp + 0x18]
mov word [ebx + 0x45], cx
mov cx, word [ebp + 0x14]
mov word [ebx + 0x47], cx
mov dword [ebx + 0x49], esi
mov ecx, esi
mov byte [ebx + 0x4d], cl
mov cl, byte [ebp + 0x24]
mov byte [ebx + 0x4e], cl
mov byte [ebx + 0x4f], al
mov ecx, dword [ebp + 0x20]
mov dword [ebx + 0x50], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [ebx + 0x54], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], edi
mov dx, word [ebp + 0x28]
mov word [ebx + 0x2e], dx
mov dx, word [ebp + 0x24]
mov word [ebx + 0xc], dx
mov edx, dword [ebp + 0x20]
mov dword [ebx + 0x88], edx
mov edx, dword [ebp + 0x1c]
mov dword [ebx + 0x8c], edx
mov edx, dword [ebp + 0x18]
mov dword [ebx + 0x10], edx
mov edx, dword [ebp + 0x14]
mov dword [ebx + 0x14], edx
mov dword [ebx + 0x60], esi
mov byte [ebx + 0x38], al
mov dword [ebx + 0x24], 0x1e
mov ax, word [ebx + 0x2e]
call fcn.00499ca8
mov word [ebx + 0x30], ax
mov ecx, dword [0x4f87a0]
mov ecx, dword [ecx]
xor edx, edx
mov eax, ebx
call fcn.004e239c
xor eax, eax
mov dword [ebx + 0x6c], eax
push 0x4e2380
lea edx, [ebp - 8]
mov eax, dword [ebx + 0x60]
call fcn.004091c4
push dword [ebp - 8]
push 0x4e238c
lea eax, [ebp - 4]
mov edx, 3
call fcn.00404edc
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebx + 0x5c]
call fcn.0049c184
mov dword [ebx + 0x70], eax
xor eax, eax
mov dword [ebx + 0x74], eax
mov eax, dword [ebx + 0x88]
shl eax, 5
add eax, 0x10
mov dword [ebx + 0x64], eax
mov eax, dword [ebx + 0x8c]
shl eax, 3
lea eax, [eax + eax*2]
add eax, 0xc
mov dword [ebx + 0x68], eax
mov byte [ebx + 0x58], 1
xor eax, eax
mov dword [ebx + 0x78], eax
mov byte [ebx + 0x7c], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e236d
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404b70
ret