joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46aab8
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.0040586c
xor eax, eax
push ebp
push 0x46ab16
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 4]
call fcn.0046ac38
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
je 0x46aafe
lea eax, [ebp - 4]
call fcn.0046ac38
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 5
jne 0x46ab00
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46ab1d
lea eax, [ebp - 4]
call fcn.004053b8
ret

Function at 0x46ab24
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.0040586c
xor eax, eax
push ebp
push 0x46ab88
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.0046ac38
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov edx, ebx
lea eax, [ebp - 0x1a]
call fcn.0040ab40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46ab8f
lea eax, [ebp - 4]
call fcn.004053b8
ret

Function at 0x46ab94
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040586c
xor eax, eax
push ebp
push 0x46abf8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x104]
push eax
push 0
push 0x46ac04
lea eax, [ebp - 4]
call fcn.0046ac38
push eax
call sub.kernel32.dll_GetTempFileNameA
mov edx, ebx
lea eax, [ebp - 0x104]
call fcn.0046a978
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46abff
lea eax, [ebp - 4]
call fcn.004053b8
ret
Function at 0x46b56c
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.0040586c
xor eax, eax
push ebp
push 0x46b665
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.0046a3bc
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.0040a62c
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.0046c790
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0040a4ec
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.0046c808
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 0x46b66c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004053dc
ret
Function at 0x46b674
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.0040586c
xor eax, eax
push ebp
push 0x46b77d
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.0046a3bc
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 0x46b743
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0040a62c
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.0046c790
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0040a4ec
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.0046c808
jmp 0x46b755
xor edx, edx
mov eax, ebx
call fcn.0046c790
xor edx, edx
mov eax, ebx
call fcn.0046c808
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 0x46b784
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004053dc
ret
Function at 0x46f81c
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 0x46f98d
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 0x46f968
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.004055a0
lea eax, [ebp - 0x118]
mov edx, 0x46f9a4
call fcn.00405684
mov eax, dword [ebp - 0x118]
call fcn.0040587c
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x46f8da
lea eax, [ebp - 0x111]
call fcn.0040a8fc
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.004054a8
jmp 0x46f8e1
mov eax, esi
call fcn.004053b8
cmp bl, 0x61
jae 0x46f902
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.0040e92c
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.0040540c
jmp 0x46f91c
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.0040e898
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.0040540c
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, 0x46f9b0
call fcn.0040b030
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.0040540c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46f96f
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x4743e0
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.004744e4
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.004744e4
mov dword [edi + 0x178], eax
pop edi
pop esi
pop ebx
ret
Function at 0x475114
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 0x4752fa
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 0xffffffff
jle 0x4752b6
mov eax, dword [ebp - 4]
call fcn.004768d4
cmp ebx, eax
jge 0x4752b6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
mov edx, ebx
call fcn.004682bc
mov edx, dword [0x46b00c]
call fcn.00404688
mov esi, eax
mov eax, esi
call fcn.0046c704
test al, al
je 0x4752ac
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov edi, dword [esi + 0x44]
test edi, edi
jne 0x4752a0
xor eax, eax
push ebp
push 0x475299
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004755e8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
call fcn.0041931c
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.00405b04
mov eax, dword [ebp - 8]
call fcn.004058d4
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.00475490
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 0x4752e4
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 0x475298
mov eax, dword [ebp - 4]
call fcn.0047566c
ret
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.0040ab40
jmp 0x4752e4
mov eax, dword [ebp - 8]
call fcn.004053b8
jmp 0x4752e4
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.00409fdc
mov ecx, dword [ebp - 0x54]
mov dl, 1
mov eax, dword [0x413f00]
call fcn.0040dac8
call fcn.00404d4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475301
lea eax, [ebp - 0x54]
call fcn.004053b8
ret
Function at 0x47c700
Capabilities:
Get disk size

Disassembly:
push ebx
add esp, 0xffffffc4
mov ebx, eax
call fcn.0047c5a8
test al, al
je 0x47c72d
lea edx, [esp + 0x10]
mov eax, ebx
call fcn.0047c6a0
test al, al
jne 0x47c723
call fcn.0040f3a0
mov eax, dword [esp + 0x14]
imul dword [esp + 0x18]
jmp 0x47c75e
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xc]
push eax
mov eax, ebx
call fcn.0040587c
push eax
call sub.kernel32.dll_GetDiskFreeSpaceA
test eax, eax
jne 0x47c757
call fcn.0040f3a0
mov eax, dword [esp]
imul dword [esp + 4]
add esp, 0x3c
pop ebx
ret

Function at 0x47ed44
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x47ee21
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x47edf3
inc ebx
xor esi, esi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp word [eax + 0x20a], 0
je 0x47edbf
mov byte [ebp - 1], 0
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov edi, dword [eax - 4]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
mov eax, dword [edi + 0x20c]
call dword [edi + 0x208]
cmp byte [ebp - 1], 0
jne 0x47edef
lea ecx, [ebp - 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x10], edi
mov eax, dword [ebp - 0x10]
call fcn.0040587c
push eax
call sub.kernel32.dll_DeleteFileA_1
cmp eax, 1
sbb eax, eax
inc eax
inc esi
dec ebx
jne 0x47ed7c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
call fcn.004044d8
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax - 0xc], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ee28
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004053dc
ret
Function at 0x48094c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x480b02
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x1d8]
movzx eax, byte [eax + 0x21]
test al, al
je 0x480ae7
cmp al, 1
jne 0x480a32
mov eax, dword [ebx + 0x284]
call fcn.004044d8
xor eax, eax
mov dword [ebx + 0x284], eax
mov eax, ebx
call fcn.00480874
lea ecx, [ebx + 0x2a8]
mov edx, dword [ebx + 0x12c]
add edx, 2
mov eax, ebx
call fcn.00476990
cmp dword [ebx + 0x2a8], 0
jne 0x4809d8
lea edx, [ebp - 8]
mov eax, 0xbb
call fcn.00409fdc
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x473454]
call fcn.0040da8c
call fcn.00404d4c
inc dword [ebx + 0x12c]
mov eax, dword [ebx + 0x2a8]
call fcn.0040a0f0
test al, al
je 0x4809fe
mov eax, dword [ebx + 0x2a8]
call fcn.0040587c
push eax
call sub.kernel32.dll_DeleteFileA_1
cmp word [ebx + 0x232], 0
je 0x480a1d
mov ecx, dword [ebx + 0x12c]
inc ecx
mov edx, ebx
mov eax, dword [ebx + 0x234]
call dword [ebx + 0x230]
mov eax, ebx
call fcn.004807b0
mov dword [ebx + 0x260], eax
mov dword [ebx + 0x264], edx
jmp 0x480a9a
mov eax, dword [ebx + 0x284]
call fcn.004044d8
xor eax, eax
mov dword [ebx + 0x284], eax
lea eax, [ebp - 4]
mov edx, dword [ebx + 0x2a8]
call fcn.00405450
lea eax, [ebx + 0x2a8]
mov edx, dword [ebx + 0x1a8]
call fcn.0040540c
push 1
mov ecx, dword [ebx + 0x12c]
add ecx, 2
lea edx, [ebx + 0x2a8]
mov eax, ebx
call fcn.00476b20
inc dword [ebx + 0x12c]
mov eax, dword [ebx + 0x1d8]
mov edx, dword [eax + 8]
mov dword [ebx + 0x260], edx
mov edx, dword [eax + 0xc]
mov dword [ebx + 0x264], edx
push 0xffff
movzx eax, byte [ebx + 0x105]
push eax
mov eax, dword [ebx + 0x108]
push eax
mov ecx, dword [ebx + 0x2a8]
mov dl, 1
mov eax, dword [0x4695f4]
call fcn.0046976c
mov dword [ebx + 0x284], eax
mov dword [ebx + 0x258], 0
mov dword [ebx + 0x25c], 0
xor edx, edx
mov eax, dword [ebx + 0x2a0]
call fcn.0046cf58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480b09
lea eax, [ebp - 8]
mov edx, 2
call fcn.004053dc
ret
Function at 0x482814
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
add esp, 0xfffffed0
mov esi, edx
mov ebx, eax
cmp dword [ebx + 0x1e0], 0
je 0x482838
mov eax, dword [ebx + 0x1e0]
call fcn.0046a5f0
test al, al
jne 0x48284e
push esp
push 0x12d
call sub.kernel32.dll_GetTempPathA
mov edx, esi
mov eax, esp
call fcn.0046a978
jmp 0x48285b
mov eax, esi
mov edx, dword [ebx + 0x1e0]
call fcn.0040540c
add esp, 0x130
pop esi
pop ebx
ret

Function at 0x487d8c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x487dfc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, 0x104
call fcn.00405b04
mov eax, dword [ebx]
mov dword [ebp - 4], eax
mov esi, dword [ebp - 4]
test esi, esi
je 0x487dc6
sub esi, 4
mov esi, dword [esi]
mov eax, dword [ebx]
call fcn.0040587c
push eax
push esi
call sub.kernel32.dll_GetTempPathA
mov edx, ebx
xchg edx, eax
call fcn.00405b04
lea edx, [ebp - 8]
mov eax, dword [ebx]
call fcn.00487a34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x487e03
lea eax, [ebp - 8]
call fcn.004053b8
ret

Function at 0x492e90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x492eea
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.00492e80
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.004841d8
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00483dd0
mov edx, dword [esi + 0xc]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x492ef1
lea eax, [ebp - 4]
call fcn.004053b8
ret
Function at 0x4998f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4998f8
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x499aea
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x499b00
mov eax, esi
call fcn.004917a4
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.0040540c
lea ecx, [ebp - 0x10]
mov edx, 0x499b14
mov eax, esi
call fcn.004917a4
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.0040540c
lea ecx, [ebp - 0x14]
mov edx, 0x499b2c
mov eax, esi
call fcn.004917a4
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.0040540c
lea ecx, [ebp - 0x18]
mov edx, 0x499b48
mov eax, esi
call fcn.004917a4
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.0040540c
lea ecx, [ebp - 0x1c]
mov edx, 0x499b64
mov eax, esi
call fcn.004917a4
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.0040540c
lea ecx, [ebp - 0x24]
mov edx, 0x499b7c
mov eax, esi
call fcn.004917a4
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00409848
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00409ca4
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x499b94
mov eax, esi
call fcn.004917a4
mov eax, dword [ebp - 0x28]
call fcn.004887b0
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x499ba4
mov eax, esi
call fcn.004917a4
mov eax, dword [ebp - 0x2c]
call fcn.004887b0
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x499bbc
mov eax, esi
call fcn.004917a4
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00409ca4
inc eax
je 0x499a8d
lea ecx, [ebp - 0x34]
mov edx, 0x499bbc
mov eax, esi
call fcn.004917a4
mov eax, dword [ebp - 0x34]
call fcn.00409c68
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
movzx edx, word [ebp - 4]
movzx eax, word [ebp - 8]
call fcn.0040b91c
fstp qword [ebp - 0x3c]
wait
call fcn.0040bcf4
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x499aa8
lea ecx, [ebp - 0x40]
mov edx, 0x499bbc
mov eax, esi
call fcn.004917a4
mov eax, dword [ebp - 0x40]
call fcn.004887b0
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x499bcc
mov eax, esi
call fcn.004917a4
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.0040540c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x499af1
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004053dc
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.004053dc
ret
Function at 0x43e6b0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4de01b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004d001a
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x43e732
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004cd3ed
mov eax, dword [eax]
push 0x69b264
push eax
call fcn.004ad1b4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004d02a5
test bl, bl
je 0x43e732
push 0x69b264
lea ecx, [esp + 0xc]
call fcn.004d0681
push 0x69eddc
lea ecx, [esp + 0xc]
call fcn.004d0681
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x43e76e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004d02a5
jmp 0x43e839
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x43e7f2
lea edx, [esp + 0x7c]
push 0x69edd8
push edx
call fcn.004ad1b4
add esp, 8
test eax, eax
je 0x43e7f2
lea eax, [esp + 0x7c]
push 0x69edd4
push eax
call fcn.004ad1b4
add esp, 8
test eax, eax
je 0x43e7f2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x43e782
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004d02a5
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x43f030
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x43f092
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x43f0a0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4de09b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x6a74f0]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x43f1d8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x43f106
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004d02a5
xor eax, eax
jmp 0x43f24f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004d042e
push esi
lea ecx, [esp + 0xc]
call fcn.004d06bd
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x69ee14
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x43f22d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push 0x80000000
call fcn.0043f030
test eax, eax
jne 0x43f22d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push 0x80000000
mov ecx, edi
call fcn.0043f030
test eax, eax
jne 0x43f22d
lea eax, [esp + 0x14]
push str.__1_
push eax
call fcn.004ae370
mov esi, eax
add esp, 8
test esi, esi
jne 0x43f20c
lea ecx, [esp + 0x14]
push 0x69edec
push ecx
call fcn.004ae2f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x43f20c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x43f20f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004d03de
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x43f11e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004d02a5
xor eax, eax
jmp 0x43f24f
mov byte [esi], 0
push 0x69ede8
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004d02a5
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4