joyce8/EMBER2024-capa huggingface dataset:
Function at 0x471b88
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x471b9f
add esp, 0xfffffff0
call fcn.0040482c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00421c64
mov eax, dword [0x4a45d0]
cmp word [eax + 2], 0
jne 0x471bc7
mov eax, dword [0x4a45d0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004737a0
mov eax, dword [0x4a46b4]
cmp word [eax + 2], 0
jne 0x471be1
mov eax, dword [0x4a46b4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004739ac
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x419050]
call fcn.004044d8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x419050]
call fcn.004044d8
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x419050]
call fcn.004044d8
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x4265dc]
call fcn.0042e898
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x471d98
mov eax, dword [0x4a44b4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042ec6c
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x474080
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4a44b4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040f090
test eax, eax
je 0x471ce8
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040ae1c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040f0c4
test eax, eax
je 0x471cfc
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004055c4
mov byte [ebx + 0xd4], 0
push ebx
push 0x4732b0
call fcn.00422df4
mov dword [ebx + 0xc8], eax
mov eax, dword [0x4a4314]
cmp byte [eax], 0
jne 0x471d4d
mov eax, ebx
call fcn.00471edc
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.00474258
mov eax, ebx
call fcn.00474dbc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x471d8d
call fcn.00404884
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47215c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x4721fb
cmp dword [ebx + 0x94], 0
jne 0x4721f5
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4720e4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4721f5
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x4721bb
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4721f5
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041b580
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4721ca
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4a9cd8]
cmp dword [eax + 0x30], 0
je 0x472571
test bl, bl
jne 0x4724c2
cmp dword [esi + 0x9c], 0
jne 0x4724b7
mov eax, esi
call fcn.00474c38
push eax
push 0x472340
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x472488
mov eax, dword [0x4a9cd8]
call fcn.00475318
test al, al
je 0x472488
mov eax, dword [0x4a9cfc]
call fcn.004066d4
mov edi, eax
cmp edi, 0
jl 0x472488
push 0
mov eax, dword [0x4a9cfc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x472472
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4724b7
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041b580
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x472497
inc dword [esi + 0x9c]
jmp 0x472571
cmp dword [esi + 0x9c], 0
jle 0x472571
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x472571
cmp dword [esi + 0x44], 0
je 0x47251d
mov eax, dword [0x4a9cd8]
call fcn.00475318
test al, al
je 0x47251d
mov eax, dword [0x4a9cfc]
call fcn.004066d4
mov edi, eax
cmp edi, 0
jl 0x47251d
push 5
mov eax, dword [0x4a9cfc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x472507
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x47254c
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041b580
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x47252c
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x4a9cfc
mov ecx, 1
mov edx, dword [0x472320]
call fcn.00406888
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x473004
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x47306e
mov eax, ebx
call fcn.00475318
test al, al
jne 0x47306e
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00405444
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x47305b
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x47307b
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004053a8
jmp 0x47307b
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004053a8
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x47443c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4744aa
mov eax, esi
call fcn.0045da64
test al, al
je 0x4744aa
mov eax, dword [ebx + 0x84]
call fcn.0045d6b4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4744aa
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x47449e
push 0
mov eax, dword [ebx + 0x84]
call fcn.0045d6b4
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00455524
jmp 0x4744aa
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00474278
pop esi
pop ebx
ret

Function at 0x47a438
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x47a5a9
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47a584
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.0040553c
lea eax, [ebp - 0x118]
mov edx, 0x47a5c0
call fcn.00405620
mov eax, dword [ebp - 0x118]
call fcn.004057e4
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x47a4f6
lea eax, [ebp - 0x111]
call fcn.0040adc8
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00405444
jmp 0x47a4fd
mov eax, esi
call fcn.00405354
cmp bl, 0x61
jae 0x47a51e
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.0040ef5c
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.004053a8
jmp 0x47a538
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.0040eec8
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.004053a8
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov eax, 0x47a5cc
call fcn.0040b4f8
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.004053a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a58b
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
Function at 0x47fbf4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004057d4
xor eax, eax
push ebp
push 0x47fc52
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 4]
call fcn.0047fcd0
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
je 0x47fc3a
lea eax, [ebp - 4]
call fcn.0047fcd0
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 5
jne 0x47fc3c
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47fc59
lea eax, [ebp - 4]
call fcn.00405354
ret

Function at 0x47fc60
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004057d4
xor eax, eax
push ebp
push 0x47fcc4
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0xe
lea eax, [ebp - 0x1a]
push eax
lea eax, [ebp - 4]
call fcn.0047fcd0
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov edx, ebx
lea eax, [ebp - 0x1a]
call fcn.0040b008
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47fccb
lea eax, [ebp - 4]
call fcn.00405354
ret

Function at 0x480284
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004057d4
xor eax, eax
push ebp
push 0x48037d
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, word [esi + 4]
mov word [ebx + 4], ax
movzx eax, word [esi + 6]
mov word [ebx + 6], ax
movzx eax, word [esi + 8]
mov word [ebx + 8], ax
movzx eax, word [esi + 0xa]
mov word [ebx + 0xa], ax
mov eax, dword [esi + 0xc]
call fcn.0047f984
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x18], eax
movzx eax, word [esi + 0x1c]
mov word [ebx + 0x1c], ax
movzx eax, word [esi + 0x1e]
mov word [ebx + 0x1e], ax
movzx eax, word [esi + 0x20]
mov word [ebx + 0x22], ax
movzx eax, word [esi + 0x22]
mov word [ebx + 0x24], ax
movzx eax, word [esi + 0x24]
mov word [ebx + 0x26], ax
mov eax, dword [esi + 0x26]
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 0x2a]
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0040abac
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00480c54
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0040aa6c
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00480ccc
xor eax, eax
mov dword [ebx + 0x44], eax
mov byte [ebx + 0x48], 0
mov byte [ebx + 0x4a], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480384
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405378
ret
Function at 0x48038c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004057d4
xor eax, eax
push ebp
push 0x480495
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebx + 4], 0
movzx eax, word [esi + 4]
mov word [ebx + 6], ax
movzx eax, word [esi + 6]
mov word [ebx + 8], ax
movzx eax, word [esi + 8]
mov word [ebx + 0xa], ax
mov eax, dword [esi + 0xa]
call fcn.0047f984
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0xe]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x12]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x16]
mov dword [ebx + 0x18], eax
movzx eax, word [esi + 0x1a]
mov word [ebx + 0x1c], ax
movzx eax, word [esi + 0x1c]
mov word [ebx + 0x20], ax
mov word [ebx + 0x22], 0
mov word [ebx + 0x24], 0
mov word [ebx + 0x26], 0
xor eax, eax
mov dword [ebx + 0x28], eax
xor eax, eax
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
cmp dword [ebp - 4], 0
je 0x48045b
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0040abac
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00480c54
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0040aa6c
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00480ccc
jmp 0x48046d
xor edx, edx
mov eax, ebx
call fcn.00480c54
xor edx, edx
mov eax, ebx
call fcn.00480ccc
xor eax, eax
mov dword [ebx + 0x44], eax
mov byte [ebx + 0x48], 0
mov byte [ebx + 0x4a], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48049c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405378
ret

Function at 0x486d84
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
mov ecx, dword [edi + 0x170]
mov edx, ebx
mov eax, edi
call fcn.00486fc0
mov esi, eax
mov dword [edi + 0x170], esi
and esi, 0xff
add dword [edi + 0x174], esi
imul esi, dword [edi + 0x174], 0x8088405
inc esi
mov dword [edi + 0x174], esi
mov edx, esi
shr edx, 0x18
mov ecx, dword [edi + 0x178]
mov eax, edi
call fcn.00486fc0
mov dword [edi + 0x178], eax
pop edi
pop esi
pop ebx
ret

Function at 0x486df8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
mov esi, ecx
dec esi
test esi, esi
jl 0x486e1e
inc esi
mov eax, edi
call fcn.00486ddc
xor byte [ebx], al
movzx edx, byte [ebx]
mov eax, edi
call fcn.00486d84
inc ebx
dec esi
jne 0x486e07
pop edi
pop esi
pop ebx
ret
Function at 0x486eb4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.004057d4
xor eax, eax
push ebp
push 0x486f2a
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.00486e24
mov dword [ebp - 8], 0xc
lea esi, [ebp - 0x14]
mov eax, edi
call fcn.00486ddc
mov ebx, eax
xor bl, byte [esi]
mov edx, ebx
mov eax, edi
call fcn.00486d84
mov byte [esi], bl
inc esi
dec dword [ebp - 8]
jne 0x486ef4
movzx ebx, byte [ebp - 9]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x486f31
lea eax, [ebp - 4]
call fcn.00405354
ret
Function at 0x487bc4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x487daa
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 0xffffffff
jle 0x487d66
mov eax, dword [ebp - 4]
call fcn.0048956c
cmp ebx, eax
jge 0x487d66
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
mov edx, ebx
call fcn.0047e368
mov edx, dword [0x47fd24]
call fcn.004046b8
mov esi, eax
mov eax, esi
call fcn.00480be8
test al, al
je 0x487d5c
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov edi, dword [esi + 0x44]
test edi, edi
jne 0x487d50
xor eax, eax
push ebp
push 0x487d49
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0048817c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
call fcn.0041dbc4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
push dword [esi + 0x34]
push dword [esi + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea edx, [ebp - 0x46]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov ecx, 0x2e
mov esi, dword [eax]
call dword [esi + 0xc]
movzx eax, word [ebp - 0x2a]
movzx edx, word [ebp - 0x28]
add eax, edx
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x18]
movzx esi, word [ebp - 0x26]
mov eax, dword [ebp - 8]
mov edx, esi
call fcn.00405a74
mov eax, dword [ebp - 8]
call fcn.00405844
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov ecx, esi
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
movzx eax, byte [eax + 0x28]
mov byte [ebp - 9], al
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00487f40
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
movzx edx, byte [ebp - 9]
mov byte [eax + 0x28], dl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x487d94
push dword [ebp - 0x14]
push dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
jne 0x487d48
mov eax, dword [ebp - 4]
call fcn.00488200
ret
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.0040b008
jmp 0x487d94
mov eax, dword [ebp - 8]
call fcn.00405354
jmp 0x487d94
mov dword [ebp - 0x50], ebx
mov byte [ebp - 0x4c], 0
lea eax, [ebp - 0x50]
push eax
push 0
lea edx, [ebp - 0x54]
mov eax, 0xb3
call fcn.0040a3f4
mov ecx, dword [ebp - 0x54]
mov dl, 1
mov eax, dword [0x418e28]
call fcn.0040e0e4
call fcn.00404d7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x487db1
lea eax, [ebp - 0x54]
call fcn.00405354
ret
Function at 0x48ce58
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 [0x408408]
call fcn.00405e7c
xor eax, eax
push ebp
push 0x48cff9
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4a3fa8], 0
jne 0x48ceb3
mov ecx, dword [0x4a4324]
mov dl, 1
mov eax, dword [0x408a74]
call fcn.0040e164
call fcn.00404d7c
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.00403afc
mov eax, ebx
call fcn.00405cec
mov dword [ebp - 0x24], eax
mov esi, 0x48d008
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.00406fa0
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.00405cfc
test eax, eax
jle 0x48cf9c
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 0x48cf88
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.004055c4
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x48cf2e
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.004055dc
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x48cf44
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.004055dc
mov eax, dword [ebp - 0x54]
call fcn.004057e4
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.004055c4
mov eax, dword [ebp - 0x58]
call fcn.004057e4
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x48cf8a
xor eax, eax
test al, al
je 0x48cf95
mov ebx, 0x15
jmp 0x48cfa1
mov ebx, 0x10
jmp 0x48cfa1
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 [0x4a3fa8]
call fcn.0048ccd8
mov eax, dword [ebp - 4]
call fcn.0048ccd8
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00406fb8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48d000
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00405378
lea eax, [ebp - 0xc]
mov edx, dword [0x408408]
call fcn.00405f4c
ret

Function at 0x494e1c
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.00403afc
ret
Function at 0x495208
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbf4
push ebx
xor edx, edx
mov dword [ebp - 0x40c], edx
mov dword [ebp - 0x408], edx
mov dword [ebp - 0x3f0], edx
mov dword [ebp - 0x3f4], edx
mov dword [ebp - 0x3f8], eax
xor eax, eax
push ebp
push 0x4953cc
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x3f4]
mov eax, 0x4953e0
call fcn.00495070
lea eax, [ebp - 0x3f0]
call fcn.00405354
lea eax, [ebp - 0x3fc]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 0x3f4]
call fcn.004057e4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x49538d
xor eax, eax
push ebp
push 0x495386
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0x3e9
mov dword [ebp - 0x404], ebx
mov dword [ebp - 0x400], 7
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x3e9]
push eax
lea eax, [ebp - 0x400]
push eax
push 0
push 0x495418
mov eax, dword [ebp - 0x3fc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4952e2
push ebp
mov eax, 0x495434
call fcn.00495160
pop ecx
mov dword [ebp - 0x404], ebx
mov dword [ebp - 0x400], 1
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x3e9]
push eax
lea eax, [ebp - 0x400]
push eax
push 0
lea edx, [ebp - 0x408]
mov eax, 0x495440
call fcn.00495070
mov eax, dword [ebp - 0x408]
call fcn.004057e4
push eax
mov eax, dword [ebp - 0x3fc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x49536c
push dword [ebp - 0x3f0]
push 0x495464
lea eax, [ebp - 0x40c]
lea edx, [ebp - 0x3e9]
mov ecx, 0x3e9
call fcn.004055c4
push dword [ebp - 0x40c]
lea eax, [ebp - 0x3f0]
mov edx, 3
call fcn.004056e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49538d
mov eax, dword [ebp - 0x3fc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x3f8]
mov edx, dword [ebp - 0x3f0]
call fcn.004053a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4953d3
lea eax, [ebp - 0x40c]
mov edx, 2
call fcn.00405378
lea eax, [ebp - 0x3f4]
mov edx, 2
call fcn.00405378
ret
Function at 0x499920
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe28
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x1d4], edx
mov dword [ebp - 0x1d8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004057d4
xor eax, eax
push ebp
push 0x499a5b
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x499a2b
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
call fcn.004057e4
mov ebx, eax
push ebx
call sub.kernel32.dll_DeleteFileA
mov eax, dword [ebp - 4]
call fcn.0040a618
test al, al
jne 0x49999b
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push ebx
call sub.kernel32.dll_CreateFileA_1
push eax
call sub.kernel32.dll_CloseHandle_1
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1d0]
call fcn.00403858
lea eax, [ebp - 0x1d0]
call fcn.004035f4
call fcn.00403090
push dword [0x4a9f6c]
push 0x499a74
push dword [0x4a9f70]
push 0x499a74
push dword [0x4a9f74]
lea eax, [ebp - 0x1d8]
mov edx, 5
call fcn.004056e8
mov eax, dword [ebp - 0x1d8]
lea edx, [ebp - 0x1d4]
call fcn.0049c620
mov edx, dword [ebp - 0x1d4]
lea eax, [ebp - 0x1d0]
call fcn.00405b04
call fcn.00403f50
call fcn.00403090
lea eax, [ebp - 0x1d0]
call fcn.00403920
call fcn.00403090
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x499a35
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x499a62
lea eax, [ebp - 0x1d8]
mov edx, 2
call fcn.00405378
lea eax, [ebp - 4]
call fcn.00405354
ret