joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47e32c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x408934]
call fcn.004062ac
xor eax, eax
push ebp
push 0x47e4cd
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4ed2ac], 0
jne 0x47e387
mov ecx, dword [0x4f121c]
mov dl, 1
mov eax, dword [0x408d50]
call fcn.0040eac0
call fcn.004050cc
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.004039f4
mov eax, ebx
call fcn.004060fc
mov dword [ebp - 0x24], eax
mov esi, 0x47e4dc
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.00407408
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.0040610c
test eax, eax
jle 0x47e470
mov dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x47e45c
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.004059d8
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x47e402
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.004059f0
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x47e418
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.004059f0
mov eax, dword [ebp - 0x54]
call fcn.00405c2c
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.004059d8
mov eax, dword [ebp - 0x58]
call fcn.00405c2c
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x47e45e
xor eax, eax
test al, al
je 0x47e469
mov ebx, 0x15
jmp 0x47e475
mov ebx, 0x10
jmp 0x47e475
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [0x4ed2ac]
call fcn.0047e1b0
mov eax, dword [ebp - 4]
call fcn.0047e1b0
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00407420
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e4d4
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.0040577c
lea eax, [ebp - 0xc]
mov edx, dword [0x408934]
call fcn.0040637c
ret
Function at 0x481530
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdc0
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x23c], edx
mov dword [ebp - 0x240], edx
mov dword [ebp - 4], eax
lea esi, [ebp - 0x238]
xor eax, eax
push ebp
push 0x4816f8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 9], 0
mov eax, dword [ebp - 4]
add eax, 0xa
call fcn.00405758
mov eax, dword [ebp - 4]
add eax, 0xe
call fcn.00405758
mov eax, dword [ebp - 4]
add eax, 0x12
call fcn.00405758
mov eax, dword [ebp - 4]
add eax, 0x16
call fcn.00405758
xor edx, edx
push ebp
push 0x4816d3
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 3
push 0
push 3
push 0
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 4]
call fcn.004814d4
mov edx, eax
lea eax, [ebp - 0x240]
call fcn.00405940
mov ecx, dword [ebp - 0x240]
lea eax, [ebp - 0x23c]
mov edx, 0x481710
call fcn.00405a78
mov eax, dword [ebp - 0x23c]
call fcn.00405c2c
push eax
call sub.kernel32.dll_CreateFileA_1
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 5], ebx
cmp ebx, 0xffffffff
jne 0x481604
call fcn.00405178
jmp 0x4816da
lea eax, [ebp - 0x14]
xor ecx, ecx
mov edx, 0xc
call fcn.004039f4
mov eax, esi
xor ecx, ecx
mov edx, 0x224
call fcn.004039f4
mov eax, 0x224
mov dword [esi + 4], eax
push 0
lea edx, [ebp - 8]
push edx
push eax
push esi
push 0xc
lea eax, [ebp - 0x14]
push eax
push 0x2d1400
mov eax, dword [ebp - 4]
mov eax, dword [eax + 5]
push eax
call sub.kernel32.dll_DeviceIoControl
test eax, eax
jne 0x481651
call fcn.00410228
mov eax, dword [esi + 0xc]
test eax, eax
je 0x481668
lea ebx, [esi + eax]
mov eax, dword [ebp - 4]
add eax, 0x16
mov edx, ebx
call fcn.00405960
mov eax, dword [esi + 0x10]
test eax, eax
je 0x48167f
lea ebx, [esi + eax]
mov eax, dword [ebp - 4]
add eax, 0xe
mov edx, ebx
call fcn.00405960
mov eax, dword [esi + 0x14]
test eax, eax
je 0x481696
lea ebx, [esi + eax]
mov eax, dword [ebp - 4]
add eax, 0xa
mov edx, ebx
call fcn.00405960
mov eax, dword [esi + 0x18]
test eax, eax
je 0x4816ad
lea ebx, [esi + eax]
mov eax, dword [ebp - 4]
add eax, 0x12
mov edx, ebx
call fcn.00405960
mov eax, dword [ebp - 4]
mov byte [eax + 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4816da
mov eax, dword [ebp - 4]
mov eax, dword [eax + 5]
cmp eax, 0xffffffff
je 0x4816d2
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4816ff
lea eax, [ebp - 0x240]
mov edx, 2
call fcn.0040577c
ret

Function at 0x4859e4
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, eax
mov dword [ebp - 4], pe_nt_image_headers32
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x485a1f
mov eax, ebx
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.004059d8
jmp 0x485a26
mov eax, ebx
call fcn.00405758
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x485a2c
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x485aaf
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xff
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00405eb4
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00405c2c
push eax
call sub.advapi32.dll_GetUserNameA
test eax, eax
je 0x485a8d
push ebx
mov ecx, dword [ebp - 8]
sub ecx, 1
jae 0x485a7e
call fcn.00404728
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00405c8c
jmp 0x485a99
mov eax, ebx
mov edx, 0x485ac4
call fcn.004057ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x485ab6
lea eax, [ebp - 4]
call fcn.00405758
ret

Function at 0x486398
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405c1c
mov eax, dword [ebp - 8]
call fcn.00405c1c
xor eax, eax
push ebp
push 0x4864b3
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 9], 0
je 0x4863ff
xor ecx, ecx
mov dl, 1
mov eax, dword [0x484ba4]
call fcn.00460554
mov edx, dword [0x4f12ec]
mov dword [edx], eax
mov eax, dword [0x4f12ec]
mov eax, dword [eax]
call fcn.004656e4
mov dl, 1
mov eax, dword [0x484e18]
call fcn.00404828
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
call fcn.00405c2c
mov ebx, eax
push ebx
call sub.wininet.dll_DeleteUrlCacheEntry
xor eax, eax
push ebp
push 0x486470
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 9], 0
je 0x48644a
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x48642d
sub eax, 0xfffffffc
push eax
push 1
mov eax, dword [ebp - 8]
call fcn.00405c2c
push eax
push ebx
push 0
call sub.URLMON.DLL_URLDownloadToFileA
test eax, eax
sete al
mov ebx, eax
jmp 0x486466
push 0
push 1
mov eax, dword [ebp - 8]
call fcn.00405c2c
push eax
push ebx
push 0
call sub.URLMON.DLL_URLDownloadToFileA
test eax, eax
sete al
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48647c
cmp byte [ebp - 9], 0
je 0x486498
mov eax, dword [0x4f12ec]
mov eax, dword [eax]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx - 4]
mov eax, dword [ebp - 0x10]
call fcn.00404858
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4864ba
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040577c
ret
Function at 0x487b64
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x487b6c
push ecx
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x487c7d
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 0x43
lea eax, [ebp - 0x14]
mov edx, ebx
call fcn.00405940
lea eax, [ebp - 0x14]
mov edx, 0x487c94
call fcn.00405a34
mov eax, dword [ebp - 0x14]
call fcn.0040a8f4
test al, al
je 0x487bd8
lea eax, [ebp - 0x18]
mov edx, ebx
call fcn.00405940
lea eax, [ebp - 0x18]
mov edx, 0x487c94
call fcn.00405a34
mov eax, dword [ebp - 0x18]
call fcn.00405c2c
push eax
call sub.kernel32.dll_GetDriveTypeA
add eax, 0xfffffffd
sub eax, 2
jb 0x487bde
inc ebx
cmp bl, 0x5b
jne 0x487b88
push 0
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x1c]
mov edx, ebx
call fcn.00405940
lea eax, [ebp - 0x1c]
mov edx, 0x487c94
call fcn.00405a34
mov eax, dword [ebp - 0x1c]
call fcn.00405c2c
push eax
call sub.kernel32.dll_GetVolumeInformationA
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 8]
movzx eax, ax
mov edx, 4
call fcn.0040a3fc
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 8]
shr eax, 0x10
movzx eax, ax
mov edx, 4
call fcn.0040a3fc
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 4]
pop ecx
call fcn.00405a78
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.004057ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x487c84
lea eax, [ebp - 0x24]
mov edx, 5
call fcn.0040577c
lea eax, [ebp - 4]
call fcn.00405758
ret
Function at 0x487c98
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x487ca0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x487e0a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.00405758
mov bl, 0x43
lea eax, [ebp - 0x24]
mov edx, ebx
call fcn.00405940
lea eax, [ebp - 0x24]
mov edx, 0x487e20
call fcn.00405a34
mov eax, dword [ebp - 0x24]
call fcn.00405c2c
push eax
call sub.kernel32.dll_GetDriveTypeA
sub eax, 3
jne 0x487dce
push 0
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
lea eax, [ebp - 0x28]
mov edx, ebx
call fcn.00405940
lea eax, [ebp - 0x28]
mov edx, 0x487e20
call fcn.00405a34
mov eax, dword [ebp - 0x28]
call fcn.00405c2c
push eax
call sub.kernel32.dll_GetVolumeInformationA
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
movzx eax, ax
mov edx, 4
call fcn.0040a3fc
mov eax, dword [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x30]
mov eax, dword [ebp - 0xc]
shr eax, 0x10
movzx eax, ax
mov edx, 4
call fcn.0040a3fc
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 4]
pop ecx
call fcn.00405a78
movzx eax, bl
sub eax, 0x40
jno 0x487d70
call fcn.00404728
call fcn.0040af24
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
push dword [ebp - 8]
lea eax, [ebp - 0x34]
mov edx, ebx
call fcn.00405940
push dword [ebp - 0x34]
push 0x487e2c
push dword [ebp - 4]
push 0x487e3c
fild qword [ebp - 0x20]
fld dword [0x487e44]
call fcn.00403844
add esp, 0xfffffff8
fstp qword [esp]
wait
lea ecx, [ebp - 0x38]
xor edx, edx
mov al, 0xa
call fcn.0048531c
push dword [ebp - 0x38]
push 0x487e50
lea eax, [ebp - 8]
mov edx, 7
call fcn.00405aec
inc ebx
cmp bl, 0x5b
jne 0x487cc3
mov eax, esi
mov edx, dword [ebp - 8]
call fcn.004057ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x487e11
lea eax, [ebp - 0x38]
mov edx, 6
call fcn.0040577c
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040577c
ret

Function at 0x488534
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
mov ebx, edx
push 0
push eax
lea eax, [ebp - 0x105]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathA
mov eax, ebx
lea edx, [ebp - 0x105]
mov ecx, 0x105
call fcn.004059d8
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x488978
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov byte [ebp - 1], 0
lea eax, [ebp - 8]
push eax
push 0xffffffffffffffff
push 8
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.advapi32.dll_OpenThreadToken
mov ebx, eax
test ebx, ebx
jne 0x4889bd
call sub.kernel32.dll_GetLastError_1
cmp eax, 0x3f0
jne 0x4889bd
lea eax, [ebp - 8]
push eax
push 8
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
mov ebx, eax
test ebx, ebx
je 0x488a57
mov eax, 0x400
call fcn.00402d94
mov esi, eax
lea eax, [ebp - 0xc]
push eax
push 0x400
push esi
push 2
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_GetTokenInformation
mov ebx, eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
test ebx, ebx
je 0x488a50
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
push 0x4ed610
call sub.advapi32.dll_AllocateAndInitializeSid
mov ebx, dword [esi]
sub ebx, 1
jae 0x488a24
call fcn.00404728
test ebx, ebx
jl 0x488a47
inc ebx
xor edi, edi
mov eax, dword [esi + edi*8 + 4]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_EqualSid
test eax, eax
je 0x488a43
mov byte [ebp - 1], 1
jmp 0x488a47
inc edi
dec ebx
jne 0x488a2b
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_FreeSid
mov eax, esi
call fcn.00402db0
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x488ee8
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff58
push ebx
push esi
xor edx, edx
mov dword [ebp - 0xa8], edx
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0xa4], edx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4890e8
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x98], 0x94
lea eax, [ebp - 4]
call fcn.00405758
lea eax, [ebp - 0x98]
push eax
call sub.kernel32.dll_GetVersionExA
test eax, eax
je 0x4890b8
mov ebx, dword [ebp - 0x94]
cmp ebx, 6
jne 0x488fa0
mov eax, dword [ebp - 0x90]
cmp eax, 1
jne 0x488f6b
lea eax, [ebp - 4]
mov edx, 0x489100
call fcn.004057f0
jmp 0x488fa0
cmp eax, 2
jne 0x488f7f
lea eax, [ebp - 4]
mov edx, 0x489110
call fcn.004057f0
jmp 0x488fa0
cmp eax, 3
jne 0x488f93
lea eax, [ebp - 4]
mov edx, 0x489120
call fcn.004057f0
jmp 0x488fa0
lea eax, [ebp - 4]
mov edx, 0x489134
call fcn.004057f0
cmp ebx, 5
jne 0x488fe0
mov eax, dword [ebp - 0x90]
cmp eax, 1
jne 0x488fbf
lea eax, [ebp - 4]
mov edx, 0x489148
call fcn.004057f0
jmp 0x488fe0
cmp eax, 2
jne 0x488fd3
lea eax, [ebp - 4]
mov edx, 0x489158
call fcn.004057f0
jmp 0x488fe0
lea eax, [ebp - 4]
mov edx, 0x48916c
call fcn.004057f0
cmp ebx, 4
jne 0x489020
mov eax, dword [ebp - 0x90]
cmp eax, 0xa
jne 0x488fff
lea eax, [ebp - 4]
mov edx, 0x489180
call fcn.004057f0
jmp 0x489020
cmp eax, 0x5a
jne 0x489013
lea eax, [ebp - 4]
mov edx, 0x489190
call fcn.004057f0
jmp 0x489020
lea eax, [ebp - 4]
mov edx, 0x4891a0
call fcn.004057f0
push dword [ebp - 4]
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x9c]
call fcn.0040a3d4
push dword [ebp - 0x9c]
push 0x4891b0
mov eax, dword [ebp - 0x90]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0xa0]
call fcn.0040a3d4
push dword [ebp - 0xa0]
push 0x4891bc
mov eax, dword [ebp - 0x8c]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0xa4]
call fcn.0040a3d4
push dword [ebp - 0xa4]
lea eax, [ebp - 4]
mov edx, 6
call fcn.00405aec
push dword [ebp - 4]
push 0x4891c8
lea eax, [ebp - 0xa8]
lea edx, [ebp - 0x84]
mov ecx, 0x80
call fcn.004059d8
push dword [ebp - 0xa8]
lea eax, [ebp - 4]
mov edx, 3
call fcn.00405aec
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.004057ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4890ef
lea eax, [ebp - 0xa8]
mov edx, 4
call fcn.0040577c
lea eax, [ebp - 4]
call fcn.00405758
ret
Function at 0x48968c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffecc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x114], ebx
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x124], ebx
mov dword [ebp - 0x128], ebx
mov dword [ebp - 0x12c], ebx
mov dword [ebp - 0x130], ebx
mov dword [ebp - 0x134], ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x48989f
push dword fs:[eax]
mov dword fs:[eax], esp
mov bx, 1
add bx, 1
jae 0x4896f7
call fcn.00404728
lea eax, [ebp - 0x10d]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 0x114]
lea eax, [ebp - 0x10d]
call fcn.0040b220
push dword [ebp - 0x114]
push edi
push 0x4898b8
lea eax, [ebp - 0x118]
call fcn.00485a2c
push dword [ebp - 0x118]
push 0x4898b8
call fcn.0040cb10
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.0047fd84
movzx eax, ax
lea edx, [ebp - 0x11c]
call fcn.0040a2e8
push dword [ebp - 0x11c]
call fcn.0040cb10
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.0047fda8
movzx eax, ax
lea ecx, [ebp - 0x120]
mov edx, 2
call fcn.0048539c
push dword [ebp - 0x120]
call fcn.0040cb10
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.0047fdcc
movzx eax, ax
lea ecx, [ebp - 0x124]
mov edx, 2
call fcn.0048539c
push dword [ebp - 0x124]
push 0x4898b8
call fcn.0040cb3c
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.0047fdf0
movzx eax, ax
lea ecx, [ebp - 0x128]
mov edx, 2
call fcn.0048539c
push dword [ebp - 0x128]
call fcn.0040cb3c
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.0047fe18
movzx eax, ax
lea ecx, [ebp - 0x12c]
mov edx, 2
call fcn.0048539c
push dword [ebp - 0x12c]
call fcn.0040cb3c
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.0047fe40
movzx eax, ax
lea ecx, [ebp - 0x130]
mov edx, 2
call fcn.0048539c
push dword [ebp - 0x130]
push 0x4898b8
lea edx, [ebp - 0x134]
movzx eax, bx
call fcn.0040a2e8
push dword [ebp - 0x134]
push dword [ebp - 8]
lea eax, [ebp - 4]
mov edx, 0xf
call fcn.00405aec
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.004057ac
mov eax, dword [esi]
call fcn.0040a8d0
test al, al
jne 0x4896ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4898a6
lea eax, [ebp - 0x134]
mov edx, 9
call fcn.0040577c
lea eax, [ebp - 4]
call fcn.00405758
ret
Function at 0x4898bc
Capabilities:
Reference sql statements
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x4898c5
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov byte [ebp - 0x12], cl
mov byte [ebp - 0x11], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x489add
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
call fcn.00405758
xor edx, edx
push ebp
push 0x489a88
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x489af8
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.00480f2c
test al, al
jne 0x489925
mov eax, dword [ebp + 8]
call fcn.00405758
call fcn.00405178
jmp 0x489a9a
lea edx, [ebp - 4]
mov eax, 0x489b0c
call fcn.00481070
mov eax, dword [ebp - 4]
call fcn.00406b64
cmp ebx, eax
jle 0x489948
mov eax, dword [ebp - 4]
call fcn.00406b64
mov ebx, eax
cmp byte [ebp - 0x12], 0
je 0x48995a
xor esi, esi
mov eax, dword [ebp - 4]
call fcn.00406b64
jmp 0x48995e
mov esi, ebx
mov eax, ebx
mov ebx, esi
mov esi, eax
sub esi, ebx
jl 0x489a59
inc esi
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x24]
push eax
mov edi, ebx
test edi, edi
jns 0x489980
call fcn.00404720
mov ecx, edi
mov edx, 0x489b2c
mov eax, dword [ebp - 4]
call fcn.004808d0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0xb
lea edx, [ebp - 0x20]
xor ecx, ecx
mov eax, 0x489b3c
call fcn.0040baac
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 8]
call fcn.00481070
push 0
lea eax, [ebp - 0xc]
push eax
test ebx, ebx
jns 0x4899c2
call fcn.00404720
mov ecx, edi
mov edx, 0x489b88
mov eax, dword [ebp - 4]
call fcn.004808d0
mov edx, 0x489b9c
mov eax, dword [ebp - 0xc]
call fcn.00409d6c
test al, al
jne 0x489a3e
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.00405a34
cmp byte [ebp - 0x11], 0
je 0x489a29
push dword [ebp - 0x10]
push 0x489bac
push 0
lea eax, [ebp - 0x28]
push eax
test ebx, ebx
jns 0x489a0a
call fcn.00404720
mov ecx, edi
mov edx, 0x489bbc
mov eax, dword [ebp - 4]
call fcn.004808d0
push dword [ebp - 0x28]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00405aec
cmp byte [ebp - 0x12], 0
je 0x489a51
lea eax, [ebp - 0x10]
mov edx, 0x489bcc
call fcn.00405a34
jmp 0x489a51
cmp byte [ebp - 0x12], 0
jne 0x489a51
lea eax, [ebp - 0x10]
mov edx, 0x489bd8
call fcn.004057f0
inc ebx
dec esi
jne 0x48996b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x489a8f
call fcn.004813d4
lea eax, [ebp - 4]
mov edx, dword [0x4808a4]
call fcn.004064b4
lea eax, [ebp - 8]
mov edx, dword [0x4808a4]
call fcn.004064b4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x489ae4
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.0040577c
lea eax, [ebp - 0x18]
call fcn.00405758
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0040577c
lea eax, [ebp - 8]
mov edx, dword [0x4808a4]
mov ecx, 2
call fcn.004063c8
ret
Function at 0x4971c8
Capabilities:
Link many functions at runtime

Disassembly:
mov byte [0x4ed928], 0
mov eax, dword [0x4f198c]
cmp dword [eax], 2
jne 0x4973a1
mov eax, dword [0x4f145c]
cmp dword [eax], 5
jl 0x4973a1
call fcn.0048ede4
test al, al
jne 0x4971f9
call fcn.0048edf0
call fcn.0048eddc
mov dword [0x4ed930], eax
push 0x4973a4
mov eax, dword [0x4ed930]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ed8f4], eax
cmp dword [0x4ed8f4], 0
jne 0x497254
mov edx, 0x8000
mov eax, 0x4973b8
call fcn.00410884
mov dword [0x4ed92c], eax
mov eax, dword [0x4ed92c]
mov dword [0x4ed930], eax
push 0x4973a4
mov eax, dword [0x4ed930]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ed8f4], eax
cmp dword [0x4ed8f4], 0
je 0x49739c
push 0x4973c4
mov eax, dword [0x4ed930]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ed8f8], eax
cmp dword [0x4ed8f8], 0
je 0x49739c
push 0x4973d0
mov eax, dword [0x4ed930]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ed8fc], eax
cmp dword [0x4ed8fc], 0
je 0x49739c
mov byte [0x4ed928], 1
push 0x4973e0
mov eax, dword [0x4ed930]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ed900], eax
push 0x4973ec
mov eax, dword [0x4ed930]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ed904], eax
push 0x4973f8
mov eax, dword [0x4ed930]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ed908], eax
push 0x497408
mov eax, dword [0x4ed930]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ed90c], eax
push 0x497418
mov eax, dword [0x4ed930]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ed910], eax
mov edx, 0x8000
mov eax, 0x497430
call fcn.00410884
mov dword [0x4ed934], eax
cmp dword [0x4ed934], 0
je 0x4973a1
push 0x497440
mov eax, dword [0x4ed934]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ed914], eax
push 0x49745c
mov eax, dword [0x4ed934]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ed918], eax
push 0x49747c
mov eax, dword [0x4ed934]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ed91c], eax
push 0x497498
mov eax, dword [0x4ed934]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ed920], eax
push 0x4974b0
mov eax, dword [0x4ed934]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ed924], eax
ret
call fcn.00497148
ret

Function at 0x4b5000
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
mov eax, 8
test byte [edx + 1], 0x80
setne bl
movzx edi, word [edx]
add edi, edi
movzx esi, cl
mov ebp, esi
shr ebp, 7
or edi, ebp
cmp edi, 0xffff
jbe 0x4b502c
call fcn.00404720
mov word [edx], di
test bl, bl
je 0x4b5038
xor word [edx], 0x1021
add esi, esi
and esi, 0xff
cmp esi, 0xff
jbe 0x4b504d
call fcn.00404720
mov ecx, esi
dec eax
jne 0x4b5009
pop ebp
pop edi
pop esi
pop ebx
ret