joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444930
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x476e48
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x4921bc]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x18], esi
mov eax, dword [esi + 0x494]
mov dword [ebx + 0x190], eax
mov eax, dword [esi + 0x49c]
mov edx, dword [esi]
mov edi, dword [esi + 0x498]
mov dword [esp + 0x18], eax
mov eax, dword [edx + 0xc8]
call eax
test edi, edi
mov ecx, dword [eax]
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x20], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x24], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], eax
je 0x4449b3
add ecx, edi
mov dword [esp + 0x24], ecx
cmp dword [esp + 0x18], 0
jne 0x444a12
mov eax, dword [ebx + 0x18]
add eax, 0x4a8
push eax
lea edi, [esp + 0x30]
call fcn.004452d0
xor edi, edi
mov dword [esp + 0x48], edi
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x4449fd
mov eax, dword [esp + 0x34]
sub eax, ecx
sar eax, 2
cmp edi, eax
jae 0x4449fd
mov ecx, dword [ecx + edi*4]
mov eax, dword [ecx]
mov edx, dword [eax + 0xf0]
call edx
add dword [esp + 0x18], eax
add edi, 1
jmp 0x4449d2
test ecx, ecx
mov dword [esp + 0x48], 0xffffffff
je 0x444a12
push ecx
call fcn.0046207a
add esp, 4
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov edx, dword [esi]
add eax, ecx
mov dword [esp + 0x28], eax
mov eax, dword [edx + 0x128]
mov ecx, esi
call eax
mov edx, dword [eax + 0x13c]
push 2
lea ecx, [esp + 0x20]
push ecx
push 0
push edx
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esi]
mov edx, dword [eax + 0x128]
mov ecx, esi
call edx
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov eax, dword [eax + 0x13c]
sub edx, ecx
push edx
mov edx, dword [esp + 0x20]
sub esi, edx
push esi
push ecx
push edx
push 0x80
push Ordinal_4
push 0
push eax
mov eax, ebx
call fcn.00437240
mov esi, dword [ebx + 4]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push esi
call edi
test eax, eax
je 0x444a9c
push esi
call edi
mov esi, eax
push esi
call edi
test eax, eax
jne 0x444a90
mov ecx, dword [ebx + 4]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x44f8b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
push ebx
push esi
mov esi, eax
mov eax, dword [esi + 8]
push edi
mov edi, eax
and edi, 7
je 0x44f8d1
cmp eax, edi
jge 0x44f8c9
call fcn.0044f0c0
mov ecx, edi
shr dword [esi + 0xc], cl
sub dword [esi + 8], edi
xor eax, eax
cmp dword [esi + 8], eax
jle 0x44f8fc
lea ecx, [eax - 8]
jmp 0x44f8e0
mov dl, byte [esi + 0xc]
shr dword [esi + 0xc], 8
add dword [esi + 8], ecx
mov byte [esp + eax + 0xc], dl
add eax, 1
cmp dword [esi + 8], 0
jg 0x44f8e0
cmp eax, 4
jge 0x44f91f
mov edi, dword [esi + 4]
mov edx, dword [esi]
cmp edx, edi
jb 0x44f909
xor ecx, ecx
jmp 0x44f911
mov cl, byte [edx]
add edx, 1
movzx ecx, cl
mov byte [esp + eax + 0xc], cl
add eax, 1
cmp eax, 4
jl 0x44f901
mov dword [esi], edx
mov eax, dword [esp + 0xc]
movzx ecx, byte [esp + 0xf]
movzx edx, byte [esp + 0xe]
movzx ebx, ah
movzx eax, al
shl ebx, 8
add ebx, eax
shl ecx, 8
mov eax, ebx
add ecx, edx
xor eax, 0xffff
cmp ecx, eax
je 0x44f959
mov dword [0x495430], str.zlib_corrupt
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret
mov ecx, dword [esi]
add ecx, ebx
cmp ecx, dword [esi + 4]
jbe 0x44f973
pop edi
pop esi
mov dword [0x495430], 0x485814
xor eax, eax
pop ebx
pop ecx
ret
mov edx, dword [esi + 0x10]
add edx, ebx
cmp edx, dword [esi + 0x18]
jbe 0x44f98a
mov ecx, ebx
mov edi, esi
call fcn.0044f100
test eax, eax
je 0x44f952
mov edi, dword [esi]
push ebp
mov ebp, dword [esi + 0x10]
push ebx
push edi
push ebp
call fcn.00464e30
add esp, 0xc
add edi, ebx
add ebp, ebx
mov dword [esi + 0x10], ebp
pop ebp
mov dword [esi], edi
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret
Function at 0x45ba00
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x1c
push ebx
mov ebx, dword [esp + 0x24]
push esi
mov dword [ebx + 0x18], eax
push edi
lea esi, [esp + 0xc]
mov eax, ebx
call fcn.0045b970
mov ecx, dword [ebx + 0x18]
cmp byte [ecx + 0x47d], 0
mov esi, 0x40000080
je 0x45ba2e
mov esi, 0x400000a0
mov edx, dword [ecx]
mov eax, dword [edx + 0x128]
call eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov eax, dword [eax + 0x13c]
sub edx, ecx
push edx
mov edx, dword [esp + 0x10]
sub edi, edx
push edi
push ecx
push edx
push 0
push esi
push 0
push eax
mov eax, ebx
call fcn.00437240
mov ecx, dword [ebx + 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 0x128]
call eax
mov edi, eax
call fcn.00432990
mov ecx, dword [eax]
mov edx, dword [ebx + 4]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push ecx
push 0x30
push edx
call esi
mov eax, dword [ebx + 0x18]
mov ecx, dword [eax + 0x478]
mov edx, dword [ebx + 4]
push 0
push ecx
push 0xc5
push edx
call esi
mov eax, dword [ebx + 0x18]
cmp byte [eax + 0x47d], 0
je 0x45bac2
movzx eax, word [eax + 0x47e]
mov ecx, dword [ebx + 4]
push 0
push eax
push 0xcc
push ecx
call esi
mov ecx, dword [ebx + 0x18]
mov edx, dword [ecx]
mov edx, dword [edx + 0x154]
lea eax, [esp + 0xc]
push eax
call edx
mov edi, 8
cmp dword [eax + 0x18], edi
jb 0x45bae3
mov eax, dword [eax + 4]
jmp 0x45bae6
add eax, 4
push eax
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp dword [esp + 0x24], edi
jb 0x45bb04
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0046207a
add esp, 4
mov edx, dword [ebx + 4]
push 0
push 0
push 0xb9
push edx
call esi
mov eax, dword [ebx + 4]
push 0
push 3
push 0xd3
push eax
call esi
mov ecx, dword [ebx + 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 0x120]
call eax
mov edx, dword [ebx + 4]
movzx ecx, al
push ecx
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [ebx + 0x18]
movzx ecx, byte [eax + 0x47c]
mov edx, dword [ebx + 4]
push 0
push ecx
push 0xcf
push edx
call esi
mov eax, dword [ebx + 4]
push 4
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebx + 4]
pop edi
pop esi
pop ebx
add esp, 0x1c
mov dword [esp + 4], ecx
jmp dword [sym.imp.USER32.dll_SetFocus]
Function at 0x45bb80
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x477b78
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4921bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
add esi, 1
lea eax, [esi + esi]
call fcn.0046b0b0
mov edi, esp
test edi, edi
je 0x45bc36
mov ecx, dword [ebx + 4]
push esi
push edi
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
xor esi, esi
mov eax, edi
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], esi
mov word [ebp - 0x28], si
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x45bbf0
sub eax, edx
sar eax, 1
push eax
push edi
lea esi, [ebp - 0x2c]
call fcn.00401890
push 0xffffffffffffffff
mov dword [ebp - 4], 0
mov eax, dword [ebx + 0x18]
push 0
mov edx, esi
push edx
add eax, 0x354
call fcn.00401790
cmp dword [ebp - 0x14], 8
jb 0x45bc36
mov eax, dword [ebp - 0x28]
push eax
call fcn.0046207a
add esp, 4
xor eax, eax
lea esp, [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00461f6b
mov esp, ebp
pop ebp
ret 4
Function at 0x45d500
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
xor edi, edi
cmp ebx, edi
jne 0x45d558
cmp byte [ebp + 0x2c], 0
jne 0x45d54f
mov byte [ebp + 0x2c], 1
mov dword [ebp + 0x30], 2
mov edx, dword [str.Failed_to_open_file]
mov eax, edx
lea esi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x45d530
sub eax, esi
push edx
lea edi, [ebp + 0x34]
mov esi, eax
call fcn.00460180
or eax, 0xffffffff
mov dword [ebp + 0x40], eax
mov dword [ebp + 0x3c], eax
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret 8
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x45d571
nop
mov ecx, esi
mov eax, dword [ecx]
mov edx, dword [eax]
mov esi, dword [esi + 0x28]
push 1
call edx
cmp esi, edi
jne 0x45d560
push 2
or eax, 0xffffffff
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x1c], edi
push edi
push ebx
mov dword [ebp + 8], eax
mov dword [ebp + 4], eax
call fcn.00472674
push ebx
call fcn.0047246b
push 0
push 0
push ebx
mov edi, eax
call fcn.00472674
add esp, 0x1c
test edi, edi
jg 0x45d5ce
cmp byte [ebp + 0x2c], 0
jne 0x45d54f
mov byte [ebp + 0x2c], 1
mov dword [ebp + 0x30], 0xc
mov edx, dword [str.Error_document_empty.]
mov eax, edx
lea esi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x45d5c0
jmp 0x45d539
lea eax, [edi + 1]
push eax
call fcn.00462098
push ebx
push 1
mov esi, eax
push edi
push esi
mov byte [esi], 0
call fcn.00472b82
add esp, 0x14
cmp eax, 1
je 0x45d625
push esi
call fcn.0046207a
add esp, 4
cmp byte [ebp + 0x2c], 0
jne 0x45d54f
mov byte [ebp + 0x2c], 1
mov dword [ebp + 0x30], 2
mov edx, dword [str.Failed_to_open_file]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x45d617
jmp 0x45d539
mov byte [esi + edi], 0
cmp byte [esi], 0
mov eax, esi
mov ecx, esi
je 0x45d656
mov dl, byte [eax]
cmp dl, 0xd
jne 0x45d649
mov byte [ecx], 0xa
add eax, 1
add ecx, 1
cmp byte [eax], 0xa
jne 0x45d651
jmp 0x45d64e
mov byte [ecx], dl
add ecx, 1
add eax, 1
cmp byte [eax], 0
jne 0x45d632
push 0
mov byte [ecx], 0
mov edx, dword [ebp]
mov eax, dword [edx + 8]
push 0
push esi
mov ecx, ebp
call eax
push esi
call fcn.0046207a
add esp, 4
pop edi
xor eax, eax
cmp byte [ebp + 0x2c], al
pop esi
pop ebp
sete al
pop ebx
ret 8
Function at 0x4602a0
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x476980
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4921bc]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x50], 0
cmp dword [eax + 0x18], 8
jb 0x4602de
mov eax, dword [eax + 4]
jmp 0x4602e1
add eax, 4
push 0
push 0x80
push 3
push 0
push 3
push Ordinal_4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 0x24], ebx
je 0x460390
lea eax, [esp + 0x14]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x460326
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x460389
mov ecx, dword [esp + 0x14]
push 1
push 0
push 0
push ecx
call fcn.0046d5e0
mov edi, eax
xor eax, eax
add edi, esi
adc edx, eax
lea esi, [esp + 0x14]
mov dword [esp + 0x18], edx
call fcn.00408e00
mov byte [esp + 0x50], 1
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x460389
push 0
lea ecx, [esp + 0x5c]
push ecx
push edi
push ebp
push ebx
mov dword [esp + 0x6c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x460380
cmp dword [esp + 0x58], 0
seta al
test al, al
jne 0x4603a6
push ebp
call fcn.00462147
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
mov esi, dword [esp + 0x5c]
call fcn.00405120
lea eax, [esp + 0x28]
call fcn.00460420
mov edx, esi
mov eax, dword [edx + 8]
push 0
push eax
push ebp
lea eax, [esp + 0x34]
push eax
mov eax, edi
call fcn.004604a0
test al, al
lea ecx, [esp + 0x14]
jne 0x4603f9
call fcn.00404a80
lea esi, [esp + 0x24]
call fcn.004119d0
xor al, al
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
call fcn.00404a80
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
Function at 0x461f6b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4921bc]
jne 0x461f75
repz ret
jmp fcn.00464cab

Function at 0x4652a6
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x4921d8]
je 0x4652c1
inc edi
cmp edi, 0x17
jb 0x4652b2
cmp edi, 0x17
jae 0x465441
push ebp
push 3
call fcn.0046a1c6
cmp eax, 1
pop ecx
je 0x46540d
push 3
call fcn.0046a1c6
test eax, eax
pop ecx
jne 0x4652f5
cmp dword [0x492030], 1
je 0x46540d
cmp ebx, 0xfc
je 0x465440
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x494be8
push ebp
call fcn.00464c46
add esp, 0xc
test eax, eax
je 0x46532b
push esi
push esi
push esi
push esi
push esi
call fcn.004624bf
add esp, 0x14
push 0x104
mov esi, 0x494c01
push esi
push 0
mov byte [0x494d05], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x46536f
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00464c46
add esp, 0xc
test eax, eax
je 0x46536f
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.004624bf
add esp, 0x14
push esi
call fcn.00463a60
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4653b4
push esi
call fcn.00463a60
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x494efc
push 0x47bd4c
sub ecx, eax
push ecx
push eax
call fcn.0046a113
add esp, 0x14
test eax, eax
je 0x4653b4
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.004624bf
add esp, 0x14
jmp 0x4653b6
xor esi, esi
push 0x47bd48
push ebx
push ebp
call fcn.0046a0a2
add esp, 0xc
test eax, eax
je 0x4653d6
push esi
push esi
push esi
push esi
push esi
call fcn.004624bf
add esp, 0x14
push dword [edi*8 + 0x4921dc]
push ebx
push ebp
call fcn.0046a0a2
add esp, 0xc
test eax, eax
je 0x4653f8
push esi
push esi
push esi
push esi
push esi
call fcn.004624bf
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00469ee5
add esp, 0xc
jmp 0x465440
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x465440
cmp ebp, 0xffffffff
je 0x465440
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x4921dc]
push dword [esi]
call fcn.00463a60
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x469ee5
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0046403f
xor ebx, ebx
cmp dword [0x4952f8], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x469fbb
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x46a09b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x46a09b
push eax
call fcn.00463fd1
mov dword [esp], 0x47beac
push edi
mov dword [0x4952f8], eax
call esi
push eax
call fcn.00463fd1
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4952fc], eax
call esi
push eax
call fcn.00463fd1
mov dword [0x495300], eax
lea eax, [ebp - 0xc]
push eax
call fcn.004647dd
test eax, eax
pop ecx
pop ecx
je 0x469f89
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004624bf
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x469fbb
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00463fd1
cmp eax, ebx
pop ecx
mov dword [0x495308], eax
je 0x469fbb
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00463fd1
pop ecx
mov dword [0x495304], eax
mov eax, dword [0x495304]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x46a040
cmp dword [0x495308], ecx
je 0x46a040
push eax
call fcn.00464048
push dword [0x495308]
mov esi, eax
call fcn.00464048
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x46a040
cmp edi, ebx
je 0x46a040
call esi
cmp eax, ebx
je 0x46a00d
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x46a00d
test byte [ebp - 0x18], 1
jne 0x46a040
lea eax, [ebp - 0x10]
push eax
call fcn.00464814
test eax, eax
pop ecx
je 0x46a028
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004624bf
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x46a037
or dword [ebp + 0x10], 0x200000
jmp 0x46a07b
or dword [ebp + 0x10], 0x40000
jmp 0x46a07b
mov eax, dword [0x4952fc]
cmp eax, dword [ebp - 8]
je 0x46a07b
push eax
call fcn.00464048
cmp eax, ebx
pop ecx
je 0x46a07b
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x46a07b
mov eax, dword [0x495300]
cmp eax, dword [ebp - 8]
je 0x46a07b
push eax
call fcn.00464048
cmp eax, ebx
pop ecx
je 0x46a07b
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4952f8]
call fcn.00464048
cmp eax, ebx
pop ecx
je 0x46a09b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x46a09d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4728e6
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x472923
cmp dword [ebp + 0x14], edi
je 0x472923
cmp ecx, edi
jne 0x47292a
call fcn.00462ceb
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.004625bb
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x47293e
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x47295f
cmp ebx, 0xffffffff
je 0x47294e
push ebx
push edi
push ecx
call fcn.00464db0
add esp, 0xc
cmp esi, edi
je 0x47290b
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x47290b
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x47297b
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x472982
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x472a73
test word [esi + 0xc], 0x10c
je 0x4729d6
mov eax, dword [esi + 4]
test eax, eax
je 0x4729d6
jl 0x472ad4
cmp ebx, eax
mov edi, ebx
jb 0x4729a7
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x472a7b
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00461f7a
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x472a6b
cmp ebx, dword [ebp - 0xc]
jb 0x472a43
cmp dword [ebp - 0xc], 0
je 0x472a00
mov ecx, SysReAllocString
xor edx, edx
cmp ebx, ecx
jbe 0x4729f5
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x4729fc
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x472a0b
mov eax, SysReAllocString
cmp ebx, eax
ja 0x472a0b
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x472aa7
push eax
push dword [ebp - 8]
push esi
call fcn.0046bdbf
pop ecx
push eax
call fcn.0047379c
add esp, 0xc
test eax, eax
je 0x472ae6
cmp eax, 0xffffffff
je 0x472ad4
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x472a6b
push esi
call fcn.004730bb
cmp eax, 0xffffffff
pop ecx
je 0x472ad8
cmp dword [ebp - 4], 0
je 0x472aa7
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x47298a
mov eax, dword [ebp + 0x14]
jmp 0x472925
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x472a92
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.00464db0
add esp, 0xc
call fcn.00462ceb
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x47291b
cmp dword [ebp + 0xc], 0xffffffff
je 0x472abd
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.00464db0
add esp, 0xc
call fcn.00462ceb
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x47291b
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x472925
or dword [esi + 0xc], 0x10
jmp 0x472ad8
Function at 0x40e860
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40eaf4
push eax
mov dword fs:[0], esp
sub esp, 4
push ebx
push esi
mov dword [ebp - 0x10], ecx
push edi
mov esi, ecx
xor edi, edi
mov ebx, 1
lea ecx, [esi + 0xcc]
call fcn.00440440
lea ecx, [esi + 0xd0]
mov dword [ebp - 4], edi
call fcn.00440440
lea ecx, [esi + 0xd4]
mov byte [ebp - 4], bl
call fcn.00440440
mov byte [ebp - 4], 2
lea ecx, [esi + 0xd8]
call fcn.00440440
mov byte [ebp - 4], 3
lea ecx, [esi + 0xdc]
call fcn.00440440
mov byte [ebp - 4], 4
lea ecx, [esi + 0xe0]
call fcn.00440440
mov byte [ebp - 4], 5
lea ecx, [esi + 0xe4]
call fcn.00440440
mov byte [ebp - 4], 6
lea ecx, [esi + 0xe8]
call fcn.00440440
mov byte [ebp - 4], 7
lea ecx, [esi + 0xec]
call fcn.00440440
mov byte [ebp - 4], 8
lea ecx, [esi + 0xf0]
call fcn.00440440
mov byte [ebp - 4], 9
lea ecx, [esi + 0xcc]
call fcn.00440520
lea ecx, [esi + 0xf0]
call fcn.00440520
lea ecx, [esi + 0xe0]
call fcn.00440520
lea ecx, [esi + 0xe4]
call fcn.00440520
lea ecx, [esi + 0xd0]
call fcn.00440520
lea ecx, [esi + 0xd4]
call fcn.00440520
lea ecx, [esi + 0xd8]
call fcn.00440520
mov dword [esi + 4], 0x1ae
mov dword [esi], 0xcf
mov dword [esi + 0x60], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
push edi
mov dword [esi + 0x20], ebx
mov dword [esi + 8], 0x1af
mov dword [esi + 0x1c], edi
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push ebx
mov dword [esi + 0xb0], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [esi + 0xb4], eax
mov dword [esi + 0xb8], edi
mov dword [esi + 0xbc], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x94], edi
mov dword [esi + 0x98], edi
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xf4], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x58], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xac], 2
mov eax, esi
mov dword [esi + 0xf8], edi
mov dword [esi + 0xc0], 0x2b11
mov dword [esi + 0xc4], 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40f2b4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov ecx, 0x466bd8
jmp 0x403070
Function at 0x414de0
Capabilities:
Capture microphone audio

Disassembly:
cmp dword [ecx + 0x5a], 0
je 0x414dee
mov ecx, dword [ecx + 0x62]
jmp 0x42b520
ret
cmp dword [ecx + 0x14], 0
jne 0x42b52c
mov eax, 0xffffffec
ret
jmp 0x42b9e0
mov eax, dword [ecx + 0xd4]
test eax, eax
je 0x42ba3b
cmp word [eax], 3
jne 0x42ba3b
cmp word [eax + 2], 1
jne 0x42ba19
mov word [eax], 1
mov eax, dword [ecx + 0xd4]
mov ecx, dword [eax + 0x9e]
push ecx
call dword [sym.imp.WINMM.dll_waveOutRestart]
test eax, eax
je 0x42ba3b
mov eax, 0xffffff9d
ret
mov word [eax], 2
mov eax, dword [ecx + 0xd4]
mov ecx, dword [eax + 0xa2]
push ecx
call dword [sym.imp.WINMM.dll_waveInStart]
test eax, eax
je 0x42ba3b
mov eax, 0xffffff9d
ret
xor eax, eax
ret