joyce8/EMBER2024-capa huggingface dataset:
Function at 0x475d34
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 0x475e56
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004754c8
xor eax, eax
push ebp
push 0x475e39
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 0x475d84
call fcn.00404c4c
jmp 0x475e40
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 0x475e23
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x475e23
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00404528
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 0x475e23
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040d748
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, 0x475e70
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x68edd8]
mov dl, 1
mov eax, dword [0x4747c8]
call fcn.0040e1d0
call fcn.00404ba0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475e40
mov eax, dword [ebp - 4]
call fcn.004754d4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475e5d
lea eax, [ebp - 0x28]
call fcn.00405158
ret
Function at 0x475ebc
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 0x476006
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004754c8
xor eax, eax
push ebp
push 0x475fe9
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x475f21
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x475f21
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 0x475fd3
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x475f34
call fcn.00404c4c
jmp 0x475ff0
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 0x475fd3
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x475fd3
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00404528
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 0x475fd3
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040d748
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, 0x476020
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x68edd8]
mov dl, 1
mov eax, dword [0x4747c8]
call fcn.0040e1d0
call fcn.00404ba0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475ff0
mov eax, dword [ebp - 4]
call fcn.004754d4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47600d
lea eax, [ebp - 0x28]
call fcn.00405158
ret
Function at 0x480bd8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x480cda
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [edi + 0x208], 0
je 0x480cbc
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
mov eax, dword [edi + 0x208]
call fcn.004055f8
push eax
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x480cbc
xor ecx, ecx
push ebp
push 0x480cb5
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 2
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetFilePointer
lea eax, [ebp - 0x10]
push eax
mov edx, esi
mov ecx, dword [ebp + 8]
mov eax, ebx
call fcn.0040b0c8
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0x480cf4
call fcn.00405480
lea eax, [ebp - 4]
call fcn.00405658
mov edx, eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x480c8d
sub eax, 4
mov eax, dword [eax]
push 0
lea ecx, [ebp - 0xc]
push ecx
push eax
push edx
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_WriteFile
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480cbc
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480ce1
lea eax, [ebp - 0x10]
call fcn.00405158
lea eax, [ebp - 4]
call fcn.00405158
ret

Function at 0x487ddc
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
xor ecx, ecx
mov edx, 0x40
call fcn.00403a7c
ret
Function at 0x48ca18
Capabilities:
Encrypt data using des

Disassembly:
push ebx
mov ecx, edx
and cl, 0x20
mov ebx, edx
and bl, 0x1e
movzx ebx, bl
shr ebx, 1
or cl, bl
and dl, 1
shl edx, 4
or cl, dl
mov edx, ecx
movzx edx, dl
movzx eax, al
add eax, eax
add eax, eax
add eax, eax
lea eax, [eax*8 + 0x61356c]
movzx eax, byte [eax + edx]
and al, 0xf
pop ebx
ret

Function at 0x48ca50
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
test ebx, ebx
js 0x48ca68
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x48ca61
mov eax, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 7
call fcn.00403a7c
xor edx, edx
mov eax, 0x61376c
movzx ebx, byte [eax]
mov ecx, ebx
and cl, 7
movzx ecx, cl
push ecx
mov ecx, 7
pop esi
sub ecx, esi
mov esi, 1
shl esi, cl
movzx ecx, bl
shr ecx, 3
mov ebx, dword [ebp - 4]
movzx ecx, byte [ebx + ecx]
and esi, ecx
je 0x48cacf
mov ecx, edx
and ecx, 7
push ecx
mov ecx, 7
pop ebx
sub ecx, ebx
mov bl, 1
shl bl, cl
mov ecx, edx
shr ecx, 3
mov esi, dword [ebp - 8]
or byte [esi + ecx], bl
inc edx
inc eax
cmp edx, 0x38
jne 0x48ca86
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x48cd10
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x48cd29
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x48cd22
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x48cd3b
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x48cd34
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.0048c908
mov ebx, 6
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xa]
movzx ecx, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x48cd55
movzx eax, byte [ebp - 0xa]
movzx edx, al
shr edx, 2
mov byte [ebp - 0x12], dl
and al, 3
shl eax, 4
movzx edx, byte [ebp - 9]
movzx ecx, dl
shr ecx, 4
or al, cl
mov byte [ebp - 0x11], al
and dl, 0xf
add edx, edx
add edx, edx
movzx eax, byte [ebp - 8]
movzx ecx, al
shr ecx, 6
or dl, cl
mov byte [ebp - 0x10], dl
and al, 0x3f
mov byte [ebp - 0xf], al
movzx eax, byte [ebp - 7]
movzx edx, al
shr edx, 2
mov byte [ebp - 0xe], dl
and al, 3
shl eax, 4
movzx edx, byte [ebp - 6]
shr edx, 4
or al, dl
mov byte [ebp - 0xd], al
movzx eax, byte [ebp - 6]
and al, 0xf
add eax, eax
add eax, eax
movzx edx, byte [ebp - 5]
shr edx, 6
or al, dl
mov byte [ebp - 0xc], al
movzx eax, byte [ebp - 5]
and al, 0x3f
mov byte [ebp - 0xb], al
xor ebx, ebx
lea esi, [ebp - 0x12]
mov eax, ebx
movzx edx, byte [esi]
call fcn.0048ca18
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x48cddd
mov ebx, 4
lea eax, [ebp - 0x12]
lea edx, [ebp - 0xa]
movzx ecx, byte [eax]
shl ecx, 4
or cl, byte [eax + 1]
mov byte [edx], cl
inc edx
add eax, 2
dec ebx
jne 0x48cdfb
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.0048c998
mov ebx, 4
lea eax, [ebp - 0xa]
mov edx, dword [ebp + 0xc]
movzx ecx, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x48ce25
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x48ce3c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
lea edi, [ebp - 0x78]
push ecx
mov ecx, 0x18
rep movsd dword es:[edi], dword [esi]
pop ecx
mov ebx, ecx
test ebx, ebx
js 0x48ce64
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x48ce5d
mov edx, esp
mov dword [ebp - 4], edx
mov ebx, eax
mov dword [ebp - 8], 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
movzx edx, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
dec dword [ebp - 8]
jne 0x48ce78
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0048c808
test bl, bl
jne 0x48cf51
mov dword [ebp - 8], 0x10
lea eax, [ebp - 0x78]
mov dword [ebp - 0x14], eax
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
movzx ecx, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x48ceaf
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
movzx ecx, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x48cec4
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0048cd10
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
movzx ebx, byte [edx]
xor bl, byte [esi]
mov byte [ecx], bl
inc ecx
inc esi
inc edx
dec eax
jne 0x48cef7
add dword [ebp - 0x14], 6
dec dword [ebp - 8]
jne 0x48cea4
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ecx, [ebp - 0xc]
movzx ebx, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x48cf1b
mov eax, 4
mov edx, dword [ebp + 0xc]
movzx ecx, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x48cf2d
mov eax, 4
lea edx, [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
movzx ebx, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x48cf42
jmp 0x48d010
cmp bl, 1
jne 0x48d010
mov dword [ebp - 8], 0xfffffff0
lea ebx, [ebp - 0x1e]
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
movzx ecx, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x48cf6f
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
movzx ecx, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x48cf84
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov ecx, ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0048cd10
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp - 0x18], ecx
movzx ecx, byte [edx]
xor cl, byte [esi]
mov edi, dword [ebp - 0x18]
mov byte [edi], cl
inc dword [ebp - 0x18]
inc esi
inc edx
dec eax
jne 0x48cfb7
sub ebx, 6
inc dword [ebp - 8]
jne 0x48cf64
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ebx, [ebp - 0xc]
movzx ecx, byte [edx]
mov byte [ebx], cl
inc ebx
inc edx
dec eax
jne 0x48cfdf
mov eax, 4
mov ebx, dword [ebp + 0xc]
movzx edx, byte [ebx]
mov byte [ebx + 4], dl
inc ebx
dec eax
jne 0x48cff1
mov eax, 4
lea ebx, [ebp - 0xc]
mov edx, dword [ebp + 0xc]
movzx ecx, byte [ebx]
mov byte [edx], cl
inc edx
inc ebx
dec eax
jne 0x48d006
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0048c888
mov edi, dword [ebp - 0x84]
mov esi, dword [ebp - 0x80]
mov ebx, dword [ebp - 0x7c]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x48d6b4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov ebx, eax
mov eax, dword [ebx + 0x38]
mov edx, dword [eax]
call dword [edx + 8]
xor eax, eax
mov dword [ebx + 0x28], eax
cmp dword [ebx + 0x478], 0
jg 0x48d6e4
mov dword [ebx + 0x478], 0x40
jmp 0x48d861
mov esi, dword [ebx + 0x468]
cmp esi, 0x3200000
jg 0x48d861
cmp byte [ebx + 0x47c], 0
je 0x48d715
mov eax, dword [ebx + 0x454]
test eax, eax
jle 0x48d861
mov dword [ebx + 0x46c], eax
jmp 0x48d722
cmp dword [ebx + 0x46c], 0
jle 0x48d861
mov edx, dword [ebx + 0x478]
mov eax, dword [ebx + 0x30]
xor ecx, ecx
mov edi, dword [eax]
call dword [edi + 0x14]
mov eax, dword [ebx + 0x46c]
add eax, eax
add eax, eax
mov dword [ebp - 0xc], eax
test esi, esi
jle 0x48d7f0
mov eax, esi
call fcn.00402f54
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48d7e9
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x30]
mov ecx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
cmp esi, eax
jne 0x48d7d3
mov eax, dword [ebx + 0x46c]
add eax, eax
add eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.0048e7b8
mov esi, eax
cmp dword [ebp - 8], 0
je 0x48d7d3
mov eax, dword [ebp - 0xc]
add eax, 0x28
cmp esi, eax
jne 0x48d7cb
mov edx, dword [ebx + 0x46c]
mov eax, dword [ebx + 0x38]
call fcn.0041a4b8
mov eax, dword [ebx + 0x38]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 8]
add eax, 0x28
mov ecx, dword [ebp - 0xc]
call fcn.004031bc
mov eax, dword [ebx + 0x38]
mov eax, dword [eax + 8]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp - 8]
call fcn.00402f70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48d861
mov eax, dword [ebp - 4]
call fcn.00402f70
ret
mov eax, dword [ebp - 0xc]
call fcn.00402f54
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x48d85a
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x30]
mov ecx, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi + 0xc]
cmp eax, dword [ebp - 0xc]
jne 0x48d844
mov edx, dword [ebx + 0x46c]
mov eax, dword [ebx + 0x38]
call fcn.0041a4b8
mov eax, dword [ebx + 0x38]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
call fcn.004031bc
mov eax, dword [ebx + 0x38]
mov eax, dword [eax + 8]
mov dword [ebx + 0x28], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48d861
mov eax, dword [ebp - 8]
call fcn.00402f70
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49af04
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x49b107
push dword fs:[eax]
mov dword fs:[eax], esp
mov edi, dword [ebx + 0x4c]
mov eax, edi
dec eax
mov esi, 0xe
cdq
idiv esi
mov esi, eax
test ecx, ecx
jge 0x49af71
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 0x36c]
cmp eax, 0x32
jb 0x49b0d4
cmp dword [ebx + 0x354], 0
jle 0x49af60
dec dword [ebx + 0x354]
mov eax, dword [ebx + 0x354]
mov dword [ebx + 0x35c], eax
jmp 0x49aff4
cmp edi, ecx
jge 0x49afdd
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 0x36c]
cmp eax, 0x32
jb 0x49b0d4
inc dword [ebx + 0x35c]
mov eax, dword [ebx + 0x33c]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, dword [ebx + 0x35c]
jg 0x49afc0
mov eax, dword [ebx + 0x33c]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
cdq
push edx
push eax
push 0
push 0
call fcn.00489328
mov dword [ebx + 0x35c], eax
mov eax, dword [ebx + 0x35c]
sub eax, esi
inc eax
cdq
push edx
push eax
push 0
push 0
call fcn.00489328
mov dword [ebx + 0x354], eax
jmp 0x49aff4
mov eax, ecx
dec eax
mov ecx, 0xe
cdq
idiv ecx
add eax, dword [ebx + 0x354]
mov dword [ebx + 0x35c], eax
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x36c], eax
mov eax, dword [ebx + 0x33c]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, dword [ebx + 0x35c]
jg 0x49b030
mov eax, dword [ebx + 0x33c]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
cdq
push edx
push eax
push 0
push 0
call fcn.00489328
mov dword [ebx + 0x35c], eax
xor eax, eax
mov dword [ebx + 0x358], eax
mov eax, dword [ebx + 0x33c]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, dword [ebx + 0x35c]
jle 0x49b0d4
lea ecx, [ebp - 0x10]
mov edx, dword [ebx + 0x35c]
mov eax, dword [ebx + 0x33c]
call fcn.0049bc20
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
call fcn.00405adc
mov eax, dword [ebp - 4]
xor edx, edx
call fcn.00405b68
je 0x49b0d4
mov eax, dword [ebp - 4]
call fcn.00405afc
mov edi, eax
test edi, edi
jle 0x49b0d4
mov esi, 1
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00405bec
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 8]
call fcn.004053f0
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 8]
call fcn.00405adc
mov edx, dword [ebp - 0x18]
mov eax, dword [0x68e3f4]
mov eax, dword [eax]
call fcn.004857a0
cmp eax, dword [ebp - 0xc]
jg 0x49b0d4
mov dword [ebx + 0x358], esi
inc esi
dec edi
jne 0x49b08d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b10e
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00405988
lea eax, [ebp - 0x10]
call fcn.00405158
lea eax, [ebp - 8]
call fcn.00405158
lea eax, [ebp - 4]
call fcn.00405970
ret
Function at 0x4a080c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, eax
cmp dword [ebx + 0xc], 0
jle 0x4a0893
cmp dword [ebx + 0x10], 0
jle 0x4a0893
mov ecx, edx
mov eax, dword [0x4a05d4]
mov dl, 1
call fcn.004a0a5c
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a088c
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebx + 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
call fcn.004031bc
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.004a0c7c
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 4]
mov eax, dword [ebp - 4]
call fcn.0041c764
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a0893
mov eax, dword [ebp - 4]
call fcn.0040432c
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x4a8f1c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x118], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004055e8
xor eax, eax
push ebp
push 0x4a90ca
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
test ebx, ebx
je 0x4a90a9
mov eax, ebx
xor ecx, ecx
mov edx, 0x21
call fcn.00403a7c
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
call fcn.004055f8
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4a90a9
mov eax, dword [ebp - 0x14]
call fcn.00402f3c
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4a9097
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
push 0
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4a908d
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4a90dc
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4a908d
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
shr eax, 0x10
mov word [ebx + 0x19], ax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 8]
mov word [ebx + 0x1b], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
shr eax, 0x10
mov word [ebx + 0x1d], ax
mov eax, dword [ebp - 0x10]
movzx esi, word [eax + 0xc]
mov word [ebx + 0x1f], si
lea eax, [ebp - 0x118]
push eax
movzx eax, word [ebx + 0x19]
mov dword [ebp - 0x138], eax
mov byte [ebp - 0x134], 0
movzx eax, word [ebx + 0x1b]
mov dword [ebp - 0x130], eax
mov byte [ebp - 0x12c], 0
movzx eax, word [ebx + 0x1d]
mov dword [ebp - 0x128], eax
mov byte [ebp - 0x124], 0
movzx eax, si
mov dword [ebp - 0x120], eax
mov byte [ebp - 0x11c], 0
lea edx, [ebp - 0x138]
mov ecx, 3
mov eax, 0x4a90e8
call fcn.0040b0c8
mov edx, dword [ebp - 0x118]
lea eax, [ebp - 0x114]
mov ecx, 0xff
call fcn.00405404
lea edx, [ebp - 0x114]
mov eax, ebx
mov cl, 0x18
call fcn.0040396c
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a90a1
mov eax, dword [ebp - 0xc]
call fcn.00402f70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a90d1
lea eax, [ebp - 0x118]
call fcn.00405158
lea eax, [ebp - 4]
call fcn.00405158
ret
Function at 0x4acee4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, ebx
call fcn.00405158
mov dword [ebp - 0xc], pe_nt_image_headers32
lea eax, [ebp - 0x110]
xor ecx, ecx
mov edx, dword [ebp - 0xc]
call fcn.00403a7c
mov dword [ebp - 0x10], 1
xor edx, edx
push ebp
push 0x4acfee
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
mov eax, esi
call fcn.004055f8
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4acfd7
xor edx, edx
push ebp
push 0x4acfd0
push dword fs:[edx]
mov dword fs:[edx], esp
test edi, edi
jne 0x4acf81
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
jmp 0x4acfa3
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, edi
call fcn.004055f8
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x4acfb9
mov eax, ebx
lea edx, [ebp - 0x110]
mov ecx, pe_nt_image_headers32
call fcn.004053d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4acfd7
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4acff5
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret

Function at 0x4add64
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 0x4ade3d
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 0x4ade2c
inc ecx
mov dword [ebp - 8], ecx
xor edi, edi
mov ecx, dword [ebp + 8]
movzx ecx, byte [ecx + edi]
sub ecx, 0x3c
js 0x4addb9
mov ecx, dword [ebp + 8]
movzx ecx, byte [ecx + edi]
sub cl, 0x3c
mov byte [ebp - 1], cl
jmp 0x4addbd
xor edx, edx
jmp 0x4ade2c
cmp edx, dword [ebp + 0x14]
jge 0x4ade2c
lea ecx, [esi + 6]
cmp ecx, 8
jl 0x4ade08
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 0x4ade01
add eax, 2
jmp 0x4ade08
mov eax, 2
jmp 0x4ade22
mov ecx, eax
movzx ebx, byte [ebp - 1]
shl bl, cl
and bl, byte [eax + 0x64c332]
mov byte [ebp - 2], bl
mov ecx, 8
sub ecx, eax
add esi, ecx
inc edi
dec dword [ebp - 8]
jne 0x4add9e
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 0x4ade47
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0x10