joyce8/EMBER2024-capa huggingface dataset:
Function at 0x483084
Capabilities:
Check internet connectivity via wininet
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x4831f3
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov ecx, 0x48320c
mov edx, 0x483218
mov eax, 0x48322c
call fcn.00482248
mov edx, dword [0x507448]
mov edx, dword [edx]
lea eax, [ebp - 0xc]
mov ecx, 0x48323c
call fcn.004045a4
xor eax, eax
push ebp
push 0x4831c7
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xa
call sub.kernel32.dll_Sleep_1
push 0
push 0
call sub.wininet.dll_InternetGetConnectedState
test eax, eax
jne 0x4830f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4831d8
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.00404758
push eax
push 0x483248
push 0
call sub.URLMON.DLL_URLDownloadToFileA
test eax, eax
je 0x483122
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4831d8
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, 0x48327c
mov eax, 0x483290
call fcn.00482030
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, 0x4832a0
mov eax, 0x4832b4
call fcn.00482030
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, 0x48327c
mov eax, 0x4832c8
call fcn.00482030
cmp dword [ebp - 8], 0
je 0x483170
cmp dword [ebp - 4], 0
jne 0x48317a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4831d8
mov eax, dword [ebp - 4]
mov edx, 0x4832dc
call fcn.004046a4
jne 0x483193
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4831d8
push 0
mov ecx, 0x4832ec
mov edx, 0x483218
mov eax, 0x48322c
call fcn.00482248
push 0
mov ecx, dword [ebp - 0x10]
mov edx, 0x4832f8
mov eax, 0x48322c
call fcn.00482248
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4831d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4831fa
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.004042bc
ret
Function at 0x483630
Capabilities:
Copy file
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x483638
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x4837a4
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, dword [0x5076c4]
mov eax, dword [eax]
call fcn.0047cd8c
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.00409390
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.00408770
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x10]
mov eax, dword [0x507448]
mov eax, dword [eax]
call fcn.00408770
mov edx, dword [ebp - 0x10]
pop eax
call fcn.004046a4
setne bl
test bl, bl
je 0x483789
mov eax, dword [0x507798]
push dword [eax]
push 0x4837bc
push 0x4837c8
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404618
mov eax, dword [ebp - 0x14]
call fcn.004090d4
mov esi, eax
lea edx, [ebp - 0x18]
mov eax, dword [0x5076c4]
mov eax, dword [eax]
call fcn.0047cd8c
mov eax, dword [ebp - 0x18]
call fcn.004090d4
mov edi, eax
cmp esi, edi
jl 0x48370b
mov eax, dword [0x507798]
push dword [eax]
push 0x4837bc
push 0x4837c8
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00404618
mov eax, dword [ebp - 0x1c]
call fcn.0040913c
test al, al
jne 0x483751
push 0
mov eax, dword [0x507798]
push dword [eax]
push 0x4837bc
push 0x4837c8
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00404618
mov eax, dword [ebp - 0x20]
call fcn.00404758
push eax
lea edx, [ebp - 0x24]
mov eax, dword [0x5076c4]
mov eax, dword [eax]
call fcn.0047cd8c
mov eax, dword [ebp - 0x24]
call fcn.00404758
push eax
call sub.kernel32.dll_CopyFileA
push 0x3e8
call sub.kernel32.dll_Sleep_1
push 5
mov eax, dword [0x507798]
push dword [eax]
push 0x4837bc
push 0x4837c8
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00404618
mov eax, dword [ebp - 0x28]
call fcn.00404758
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4837ab
lea eax, [ebp - 0x28]
mov edx, 0xa
call fcn.004042bc
ret

Function at 0x483ca0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
push ebx
mov byte [ebp - 1], cl
mov ebx, edx
mov byte [ebp - 2], 0
call fcn.004839c4
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x483d4f
push dword fs:[edx]
mov dword fs:[edx], esp
cmp dword [ebp - 0xc], 0xffffffff
je 0x483d32
mov eax, ebx
shl eax, 9
shr ebx, 0x17
mov dword [ebp - 0x10], ebx
push 0
lea edx, [ebp - 0x10]
push edx
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetFilePointer
cmp eax, 0xffffffff
je 0x483d32
xor eax, eax
mov al, byte [ebp - 1]
mov ebx, eax
shl ebx, 9
push 0
lea eax, [ebp - 8]
push eax
push ebx
lea eax, [ebp - 0x210]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_ReadFile
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 2], al
cmp byte [ebp - 2], 0
je 0x483d32
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x210]
mov ecx, 0x200
call fcn.004029cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x483d56
cmp dword [ebp - 0xc], 0xffffffff
je 0x483d4e
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle
ret
Function at 0x483fe8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
call fcn.00404748
xor eax, eax
push ebp
push 0x4841e9
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov bl, 1
xor edx, edx
push ebp
push 0x4841c7
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp + 8]
call fcn.0040913c
test al, al
je 0x484055
push 1
mov ecx, dword [ebp + 8]
mov dl, 1
mov eax, dword [0x41a7e0]
call fcn.0041f108
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 0x18]
call fcn.0041ec74
jmp 0x48406c
push 0xffff
mov ecx, dword [ebp + 8]
mov dl, 1
mov eax, dword [0x41a7e0]
call fcn.0041f108
mov dword [ebp - 0x18], eax
cmp dword [ebp - 4], 0xffffffff
je 0x4841b3
mov eax, esi
shl eax, 9
shr esi, 0x17
mov dword [ebp - 0x10], esi
xor edx, edx
push ebp
push 0x4840ab
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
lea edx, [ebp - 0x10]
push edx
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetFilePointer
mov esi, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4840c9
cmp esi, 0xffffffff
je 0x4841af
mov esi, edi
test esi, esi
jbe 0x4841b5
cmp esi, 0x78
jbe 0x4840e8
mov edi, 0x78
jmp 0x4840ea
mov edi, esi
sub esi, edi
mov eax, edi
shl eax, 9
mov edi, eax
mov eax, edi
call fcn.00402798
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov edx, edi
call fcn.00402e10
xor eax, eax
push ebp
push 0x48413e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 0xc]
push eax
push edi
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_ReadFile
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x484159
cmp byte [ebp - 5], 0
je 0x484195
test esi, esi
jne 0x48417d
mov eax, 0x200
sub eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
sub ecx, eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0x10]
jmp 0x48418b
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0x10]
mov eax, dword [ebp - 0x14]
call fcn.004027b8
jmp 0x4841a1
xor ebx, ebx
mov eax, dword [ebp - 0x14]
call fcn.004027b8
jmp 0x4841b5
test esi, esi
je 0x4841b5
test esi, esi
ja 0x4840dc
jmp 0x4841b5
xor ebx, ebx
jmp 0x4841b5
xor ebx, ebx
lea eax, [ebp - 0x18]
call fcn.0040ea14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4841d3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4841f0
lea eax, [ebp + 8]
call fcn.00404298
ret
Function at 0x4850a8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff80
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 8], eax
mov ecx, 0x18
lea eax, [ebp - 0x6c]
mov edx, dword [0x4010e8]
call fcn.00404c80
xor eax, eax
push ebp
push 0x485289
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
call fcn.00404298
mov esi, 1
lea ebx, [ebp - 0x6c]
lea eax, [ebp - 0x70]
lea edx, [esi + 0x42]
call fcn.00404480
mov edx, dword [ebp - 0x70]
mov eax, ebx
mov ecx, 0x4852a4
call fcn.004045a4
inc esi
add ebx, 4
cmp esi, 0x19
jne 0x4850ff
xor eax, eax
push ebp
push 0x48522c
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, 0x18
lea ebx, [ebp - 0x6c]
mov eax, dword [ebx]
call fcn.00404758
push eax
call sub.kernel32.dll_GetDriveTypeA
mov edi, eax
lea edx, [ebp - 8]
mov eax, dword [ebx]
call fcn.004089c0
cmp edi, 2
jne 0x485218
lea edx, [ebp - 0x74]
mov eax, dword [ebp - 8]
call fcn.00408770
mov eax, dword [ebp - 0x74]
mov edx, 0x4852b0
call fcn.004046a4
jne 0x4851a8
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 8]
call fcn.00408770
mov eax, dword [ebp - 0x78]
mov edx, 0x4852bc
call fcn.004046a4
jne 0x4851a8
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 8]
call fcn.00408770
mov eax, dword [ebp - 0x7c]
mov edx, 0x4852c8
call fcn.004046a4
je 0x485218
inc dword [ebp - 4]
mov eax, dword [0x5074e8]
mov edx, dword [ebx]
call fcn.004042ec
push 0
push 2
mov eax, dword [0x5074e8]
mov eax, dword [eax]
call fcn.00483aa8
test al, al
je 0x4851fe
mov edx, dword [0x5074e8]
mov edx, dword [edx]
lea eax, [ebp - 0x80]
mov ecx, 0x4852d4
call fcn.004045a4
mov eax, dword [ebp - 0x80]
call fcn.0040913c
test al, al
je 0x4851fe
mov eax, dword [0x507630]
mov edx, dword [0x5074e8]
mov edx, dword [edx]
call fcn.004042ec
mov eax, dword [0x5074e8]
mov eax, dword [eax]
mov edx, dword [0x507630]
mov edx, dword [edx]
call fcn.004046a4
jne 0x485218
mov byte [ebp - 9], 1
add ebx, 4
dec esi
jne 0x485138
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48523b
cmp byte [ebp - 9], 0
je 0x485253
mov eax, dword [0x5074e8]
mov edx, dword [0x507630]
mov edx, dword [edx]
call fcn.004042ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x485290
lea eax, [ebp - 0x80]
mov edx, 5
call fcn.004042bc
lea eax, [ebp - 0x6c]
mov ecx, 0x18
mov edx, dword [0x4010e8]
call fcn.00404d6c
lea eax, [ebp - 8]
call fcn.00404298
ret

Function at 0x485c84
Capabilities:
Set current directory

Disassembly:
push ebx
mov ebx, eax
mov byte [ecx], 2
mov eax, dword [0x507798]
mov eax, dword [eax]
call fcn.00404758
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
cmp word [ebx + 0x2fa], 0
je 0x485cc5
mov eax, dword [0x5076c4]
mov eax, dword [eax]
mov edx, dword [ebx + 0x2f8]
mov dword [eax + 0xf8], edx
mov edx, dword [ebx + 0x2fc]
mov dword [eax + 0xfc], edx
pop ebx
ret
Function at 0x4899f8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x489a26
mov eax, ebx
call fcn.0048a4ac
cmp dword [ebx + 0x40], 0
je 0x489a1f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x489a97
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x489a89
cmp dword [ebx + 8], 0
je 0x489a48
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 0x489a5a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x489a89
cmp dword [ebx + 8], 0
je 0x489a3b
cmp eax, 3
je 0x489a6d
dec eax
jne 0x489a3b
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 0x489a3b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x489a3b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x489ab5
cmp dword [ebx + 0x14], 0xcc
je 0x489ab5
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.00489ac0
pop ebx
ret
Function at 0x49a110
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff64
push ebx
push esi
push edi
test dl, dl
je 0x49a128
add esp, 0xfffffff0
call fcn.004037e8
mov ebx, ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x1c]
call fcn.00404748
xor eax, eax
push ebp
push 0x49a2c3
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, ebx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00424cd8
mov eax, dword [ebp - 4]
mov byte [eax + 0xf], 1
mov eax, dword [ebp - 4]
mov dl, byte [ebp + 0x24]
mov byte [eax + 0x40], dl
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x20]
mov dword [eax + 0x44], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x18]
mov dword [eax + 0x4c], edx
mov eax, dword [ebp - 4]
add eax, 0x48
mov edx, dword [ebp + 0x1c]
call fcn.004042ec
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x14]
mov dword [eax + 0x70], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
mov dword [eax + 0x74], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov dword [eax + 0x78], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov dword [eax + 0x7c], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x55], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x58], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x60], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x68], 1
mov eax, dword [ebp - 4]
add eax, 0x5c
call fcn.00404298
mov eax, dword [ebp - 4]
add eax, 0x64
call fcn.00404298
mov eax, dword [ebp - 4]
add eax, 0x6c
call fcn.00404298
mov eax, dword [ebp - 4]
mov byte [eax + 0x54], 0
xor edx, edx
push ebp
push 0x49a2a3
push dword fs:[edx]
mov dword fs:[edx], esp
mov dword [ebp - 0x9c], 0x94
lea eax, [ebp - 0x9c]
push eax
call sub.kernel32.dll_GetVersionExA
test eax, eax
je 0x49a299
cmp dword [ebp - 0x8c], 2
jne 0x49a292
cmp dword [ebp - 0x98], 5
jne 0x49a23a
cmp dword [ebp - 0x94], 0
jne 0x49a23a
mov eax, dword [ebp - 4]
mov byte [eax + 0x54], 1
jmp 0x49a299
cmp dword [ebp - 0x98], 5
jne 0x49a255
cmp dword [ebp - 0x94], 0
jbe 0x49a255
mov eax, dword [ebp - 4]
mov byte [eax + 0x54], 2
jmp 0x49a299
cmp dword [ebp - 0x98], 6
jne 0x49a270
cmp dword [ebp - 0x94], 0
jne 0x49a270
mov eax, dword [ebp - 4]
mov byte [eax + 0x54], 3
jmp 0x49a299
mov eax, dword [ebp - 0x98]
cmp eax, 6
jne 0x49a284
cmp dword [ebp - 0x94], 0
ja 0x49a289
cmp eax, 6
jbe 0x49a299
mov eax, dword [ebp - 4]
mov byte [eax + 0x54], 4
jmp 0x49a299
mov eax, dword [ebp - 4]
mov byte [eax + 0x54], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49a2ad
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49a2ca
lea eax, [ebp + 0x1c]
call fcn.00404298
ret
Function at 0x49bb68
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x49bd6b
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
push 1
call sub.kernel32.dll_SetErrorMode
mov word [ebp - 0x12], ax
xor ecx, ecx
push ebp
push 0x49bd39
push dword fs:[ecx]
mov dword fs:[ecx], esp
xor eax, eax
push ebp
push 0x49bbf2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x20000080
push 2
push 0
push 0
push 0xc0000000
mov eax, esi
call fcn.00404758
push eax
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 0x18], eax
push 0
mov ecx, ebx
mov dl, 1
mov eax, dword [0x41a7e0]
call fcn.0041f108
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49bc0b
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x49bd01
cmp dword [ebp - 0x18], 0xffffffff
je 0x49bd01
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x49bb40]
call fcn.004057f8
add esp, 4
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov edx, 4
call fcn.00402e10
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, eax
test ebx, ebx
jle 0x49bd01
xor ecx, ecx
push ebp
push 0x49bcd4
push dword fs:[ecx]
mov dword fs:[ecx], esp
xor eax, eax
mov edx, eax
shl edx, 9
shr eax, 0x17
mov dword [ebp - 0x1c], eax
push 0
lea eax, [ebp - 0x1c]
push eax
push edx
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_SetFilePointer
cmp eax, 0xffffffff
je 0x49bcca
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_WriteFile_1
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
push 0x190
call sub.kernel32.dll_Sleep_1
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_FlushFileBuffers
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49bce2
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_FlushFileBuffers
mov eax, dword [0x5076c4]
mov eax, dword [eax]
call fcn.0047c5d0
push 0x3e8
call sub.kernel32.dll_Sleep_1
lea eax, [ebp - 0xc]
call fcn.0040ea14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49bd40
movzx eax, word [ebp - 0x12]
push eax
call sub.kernel32.dll_SetErrorMode
push 0
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x49bb40]
call fcn.004057f8
add esp, 4
ret
Function at 0x4ed520
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffec
mov word [esp + 4], cx
mov ecx, edx
mov dword [esp], eax
test cl, cl
je 0x4ed655
cmp word [esp + 4], 0
je 0x4ed655
test cl, cl
jbe 0x4ed5c3
mov esi, dword [esp]
mov byte [esp + 0xc], cl
movzx eax, word [esp + 4]
sub eax, 2
test eax, eax
jl 0x4ed5aa
inc eax
mov dword [esp + 0x10], eax
mov edx, esi
mov al, byte [edx]
inc edx
mov dl, byte [edx]
mov byte [esp + 0xd], dl
mov cl, byte [esp + 0xc]
shl al, cl
mov cl, byte [esp + 0xc]
mov dl, 0xff
shl dl, cl
and al, dl
xor edx, edx
mov dl, byte [esp + 0xc]
push edx
mov edx, 8
pop ecx
sub edx, ecx
mov ecx, edx
xor ebx, ebx
mov bl, byte [esp + 0xd]
shr ebx, cl
mov ecx, edx
mov edx, 0xff
shr edx, cl
and bl, dl
or al, bl
mov byte [esi], al
inc esi
dec dword [esp + 0x10]
jne 0x4ed560
mov al, byte [esi]
mov cl, byte [esp + 0xc]
shl al, cl
mov cl, byte [esp + 0xc]
mov dl, 0xff
shl dl, cl
and al, dl
mov byte [esi], al
jmp 0x4ed655
xor eax, eax
mov al, cl
cdq
xor eax, edx
sub eax, edx
mov byte [esp + 0xc], al
mov esi, dword [esp]
movzx eax, word [esp + 4]
add esi, eax
cmp eax, 1
jl 0x4ed633
mov dword [esp + 8], eax
mov edx, esi
mov al, byte [edx]
dec edx
mov dl, byte [edx]
mov byte [esp + 0xd], dl
mov cl, byte [esp + 0xc]
and eax, 0xff
shr eax, cl
mov cl, byte [esp + 0xc]
mov edx, 0xff
shr edx, cl
and al, dl
xor edx, edx
mov dl, byte [esp + 0xc]
mov edi, 8
sub edi, edx
mov ecx, edi
mov dl, byte [esp + 0xd]
shl dl, cl
mov ecx, edi
mov bl, 0xff
shl bl, cl
and dl, bl
or al, dl
mov byte [esi], al
dec esi
dec dword [esp + 8]
cmp dword [esp + 8], 0
jne 0x4ed5e3
mov eax, dword [esp]
mov al, byte [eax]
mov cl, byte [esp + 0xc]
and eax, 0xff
shr eax, cl
mov cl, byte [esp + 0xc]
mov edx, 0xff
shr edx, cl
and al, dl
mov edx, dword [esp]
mov byte [edx], al
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x4ee8b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x28]
push ecx
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
pop ecx
mov edi, ecx
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4ee8da
mov ebx, 0xfffffff6
jmp 0x4ee962
mov eax, dword [ebp - 0x28]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x4ee953
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
push ebx
call sub.kernel32.dll_SetFilePointer
cmp eax, 0xffffffff
jne 0x4ee918
mov ebx, 0xfffffff6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ee962
mov esi, dword [ebp - 0x20]
push 0
lea eax, [ebp - 0xc]
push eax
push esi
push edi
push ebx
call sub.kernel32.dll_ReadFile
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x4ee938
cmp esi, dword [ebp - 0xc]
je 0x4ee947
mov ebx, 0xfffffff6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ee962
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ee962
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4f16a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4f16b2
add esp, 0xfffffff0
call fcn.004037e8
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404748
xor eax, eax
push ebp
push 0x4f1789
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, esi
call fcn.00403454
xor eax, eax
mov dword [esi + 0xc], eax
xor eax, eax
mov dword [esi + 0x10], eax
mov byte [esi + 0x18], 0
lea eax, [esi + 0x14]
mov edx, dword [ebp - 4]
call fcn.004042ec
xor eax, eax
mov dword [esi + 0x50], eax
xor eax, eax
mov dword [esi + 0x54], eax
xor eax, eax
mov dword [esi + 0x44], eax
xor eax, eax
mov dword [esi + 0x48], eax
xor eax, eax
mov dword [esi + 0x1c], eax
xor eax, eax
mov dword [esi + 0x20], eax
xor eax, eax
mov dword [esi + 0x28], eax
xor eax, eax
mov dword [esi + 0x2c], eax
mov dl, 1
mov eax, dword [0x419f7c]
call fcn.00403454
mov dword [esi + 0x4c], eax
mov dl, 1
mov eax, dword [0x419f7c]
call fcn.00403454
mov dword [esi + 0x58], eax
mov dl, 1
mov eax, dword [0x419f7c]
call fcn.00403454
mov dword [esi + 0x24], eax
mov dl, 1
mov eax, dword [0x419f7c]
call fcn.00403454
mov dword [esi + 0x30], eax
mov dl, 1
mov eax, dword [0x431e68]
call fcn.00432000
mov dword [esi + 4], eax
mov dl, 1
mov eax, dword [0x4edc00]
call fcn.004edc78
mov dword [esi + 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f1790
lea eax, [ebp - 4]
call fcn.00404298
ret

Function at 0x4f26c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, eax
mov ebx, dword [ebp + 8]
add ebx, 0xfffffffc
mov edi, dword [ebp + 8]
add edi, 0xfffffff8
xor eax, eax
push ebp
push 0x4f277b
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x49d7e4]
mov eax, 0x38
call fcn.00405194
mov dword [ebx], eax
mov eax, dword [esi]
mov edx, dword [ebx]
mov dword [edx], eax
mov eax, dword [ebx]
mov edx, dword [esi + 8]
mov dword [eax + 8], edx
mov edx, dword [esi + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0x10], edx
mov eax, dword [edi]
mov eax, dword [eax + 0x30]
mov edx, dword [ebx]
mov dword [edx + 0x30], eax
mov eax, dword [edi]
mov eax, dword [eax + 0x14]
mov edx, dword [ebx]
mov dword [edx + 0x14], eax
mov eax, dword [ebx]
add eax, 0x24
mov edx, dword [edi]
mov edx, dword [edx + 0x24]
call fcn.004042ec
mov eax, dword [ebx]
add eax, 0x28
mov edx, dword [edi]
mov edx, dword [edx + 0x28]
call fcn.004042ec
mov eax, dword [ebx]
add eax, 0x1c
mov edx, dword [edi]
mov edx, dword [edx + 0x1c]
call fcn.004042ec
mov eax, dword [ebx]
add eax, 0x20
mov edx, dword [edi]
mov edx, dword [edx + 0x20]
call fcn.004042ec
mov eax, dword [ebx]
mov byte [eax + 0x18], 2
mov eax, dword [edi]
mov eax, dword [eax + 0x2c]
mov edx, dword [ebx]
mov dword [edx + 0x2c], eax
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4f2787
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret