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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x415b48]
call fcn.00404940
xor eax, eax
push ebp
push 0x46a074
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x48cfc4], 0
jne 0x469f83
mov ecx, dword [0x48d198]
mov dl, 1
mov eax, dword [0x407330]
call fcn.0040bb28
call fcn.0040398c
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402bd4
mov eax, ebx
call fcn.00404810
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x46a084
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.004058c4
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404820
test eax, eax
jle 0x46a01b
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x46a014
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.0040425c
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404244
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408188
test eax, eax
jne 0x46a014
mov ebx, 0x15
jmp 0x46a020
mov ebx, 0x10
jmp 0x46a020
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x48cfc4]
call fcn.00469e88
mov eax, dword [ebp - 8]
call fcn.00469e88
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004058dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a07b
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00403ff8
lea eax, [ebp - 0x10]
mov edx, dword [0x415b48]
call fcn.00404a10
ret

Function at 0x46c48c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x46c4fd
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x48cff4]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x46c4e7
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.0046c47c
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x46aeb8]
call fcn.0046d34c
mov dword [0x48d05c], eax
mov eax, dword [ebp - 4]
call fcn.0046c308
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c504
lea eax, [ebp - 8]
call fcn.004058c4
ret

Function at 0x46c59c
Capabilities:
Get file system object information

Disassembly:
push esi
add esp, 0xfffffea0
mov esi, 0x4008
test cl, cl
je 0x46c5af
or esi, 2
test dl, dl
je 0x46c5b8
or esi, 0
jmp 0x46c5bb
or esi, 1
push esi
push 0x160
lea edx, [esp + 8]
push edx
push 0
push eax
call sub.shell32.dll_SHGetFileInfoA
mov eax, dword [esp + 4]
add esp, 0x160
pop esi
ret
Function at 0x46d1d8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00404484
xor eax, eax
push ebp
push 0x46d330
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, 1
mov edx, dword [ebx]
mov eax, dword [0x46ad0c]
call fcn.00414ef4
test eax, eax
jl 0x46d23f
lea eax, [ebp - 8]
push eax
mov eax, dword [ebx]
call fcn.0046c580
and eax, 0x7f
mov eax, dword [eax*4 + 0x48cff4]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
mov esi, eax
jmp 0x46d2a2
mov eax, dword [ebx]
call fcn.00404294
test eax, eax
jle 0x46d2a2
mov eax, dword [ebx]
call fcn.00404294
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x3a
jne 0x46d266
mov eax, ebx
mov edx, 0x46d348
call fcn.0040429c
mov eax, dword [ebx]
call fcn.00404294
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
call fcn.00404dd0
mov esi, eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push 0
push 0
lea eax, [ebp - 0x18]
call fcn.0046c47c
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov esi, eax
test esi, esi
je 0x46d2ed
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x1c]
mov eax, dword [0x48d1c4]
call fcn.00405d88
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebx]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x24]
xor ecx, ecx
pop eax
call fcn.0040913c
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00404028
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, dword [0x407330]
call fcn.0040ba6c
call fcn.0040398c
mov eax, dword [ebp - 8]
call fcn.0046d150
mov ebx, eax
test edi, edi
je 0x46d302
mov eax, edi
call fcn.004031c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d337
lea eax, [ebp - 0x1c]
call fcn.00403fd4
lea eax, [ebp - 0x18]
call fcn.004058c4
lea eax, [ebp - 0x14]
call fcn.00403fd4
lea eax, [ebp - 4]
call fcn.00403fd4
ret

Function at 0x46df14
Capabilities:
Create process on windows

Disassembly:
push ebx
add esp, 0xffffffc4
mov ebx, eax
mov eax, esp
xor ecx, ecx
mov edx, 0x3c
call fcn.00402bd4
mov dword [esp], 0x3c
mov eax, dword [0x48d484]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0xc
mov eax, dword [ebx + 8]
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], 5
push esp
call sub.shell32.dll_ShellExecuteExA
add esp, 0x3c
pop ebx
ret
Function at 0x46ea30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46eb9a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x48d630]
mov eax, dword [eax]
mov ax, word [eax + 0x44]
mov word [ebp - 0x16], ax
mov eax, dword [0x48d630]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.00466600
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
call fcn.00435f7c
xor edx, edx
push ebp
push 0x46eb7d
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x46eaed
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x10]
call fcn.004058c4
push eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x344]
call fcn.0046cb98
push eax
mov eax, dword [0x48d484]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x10]
test eax, eax
je 0x46eae3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00403a38
jmp 0x46eb84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46eb29
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.00435b5c
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp - 0xc]
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.0046e8c0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push 1
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
je 0x46eb05
push 0
mov edx, 0x46e858
xor ecx, ecx
mov eax, dword [ebp - 8]
call fcn.00435714
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46eb84
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
call fcn.00435fc8
mov eax, dword [0x48d630]
mov eax, dword [eax]
mov dx, word [ebp - 0x16]
call fcn.00466600
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46eba1
lea eax, [ebp - 0x10]
call fcn.004058c4
ret
Function at 0x4798a8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x479b08
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x47990b
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.00479370
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040c468
cmp al, 1
jne 0x47990b
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.00479688
test al, al
je 0x479a97
cmp dword [ebp - 8], 0
jge 0x479929
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.00479370
mov eax, dword [ebp - 0x210]
call fcn.00404294
cmp ebx, eax
jge 0x479973
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.00479370
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x48d644]
and eax, 0xff
bt dword [edx], eax
jae 0x479973
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x479987
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00479884
cmp ebx, dword [ebp - 8]
je 0x479a89
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x4799b3
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004033bc
and eax, 0x7f
movzx eax, word [eax*2 + 0x48d13c]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x479a76
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004033bc
and eax, 0x7f
movzx eax, word [eax*2 + 0x48d13c]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0044f634
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004033bc
and eax, 0x7f
movzx eax, word [eax*2 + 0x48d13c]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0044f634
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479a7d
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x479aea
cmp dword [ebp - 8], 0
jge 0x479aa2
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.00479370
mov eax, dword [ebp - 0x218]
call fcn.00404294
cmp eax, dword [ebp - 8]
jg 0x479adc
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.00479370
mov eax, dword [ebp - 0x21c]
call fcn.00404294
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00479884
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479b0f
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00403ff8
ret
Function at 0x485dd4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push esp
push 0x40
push 0x59bd
push eax
call sub.kernel32.dll_VirtualProtect
pop edx
ret

Function at 0x485de8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
xor edx, edx
mov cl, 0xfb
cmp edx, 0x59b8
ja 0x485e0b
lea ebx, [eax + edx]
mov bl, byte [ebx]
xor bl, cl
lea esi, [edx + eax]
mov byte [esi], bl
inc edx
cmp edx, 0x59b9
jne 0x485df6
pop esi
pop ebx
ret
Function at 0x48b818
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x48ba30
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
push 0xff
lea eax, [ebp - 0x114]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA_1
cmp byte [ebp - 0x111], 0x53
jne 0x48b866
cmp byte [ebp - 0x110], 0x45
jne 0x48b866
cmp byte [ebp - 0x10d], 0x2e
je 0x48ba22
xor eax, eax
push ebp
push 0x48b888
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, 1
dec eax
div eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48b897
cmp esi, 1
jne 0x48ba22
push 4
push 0x3000
push 0x1b76f68c
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov ebx, eax
test ebx, ebx
je 0x48ba22
push 0
push 0
push 0
call sub.user32.dll_GetMenuDefaultItem
mov edx, 0x1b76f68c
mov eax, ebx
call fcn.0048b808
push 0x8000
push 0
push ebx
call sub.kernel32.dll_VirtualFree_1
mov ebx, 0x145c
push 0
push 0
push 0
call sub.user32.dll_GetMenuDefaultItem
dec ebx
jne 0x48b8e6
push 0
push 0
call sub.gdi32.dll_SelectClipRgn
call fcn.0048b800
cmp eax, 6
je 0x48b917
push 0
push 0
push 0
call sub.user32.dll_GetMenuDefaultItem
jmp 0x48ba22
mov ebx, 0x1e12
push 0
push 0
push 0
call sub.user32.dll_GetMenuDefaultItem
dec ebx
jne 0x48b91c
call sub.kernel32.dll_GetTickCount
push 4
push 0x3000
push 0x20331f93
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov ebx, eax
test ebx, ebx
je 0x48ba22
mov edx, 0x20331f93
mov eax, ebx
call fcn.0048b808
push 0x8000
push 0
push ebx
call sub.kernel32.dll_VirtualFree_1
push 0
push 0
push 0
call sub.user32.dll_GetMenuDefaultItem
xor esi, esi
push 0
push 0
push 0
call sub.user32.dll_GetMenuDefaultItem
mov ebx, 0x53d94
push 0
push 0
push 0
call sub.user32.dll_GetMenuDefaultItem
dec ebx
jne 0x48b982
push 0
push 0
push 0
call sub.user32.dll_GetMenuDefaultItem
mov ebx, 0x18eb7
push 0
push 0
push 0
call sub.user32.dll_GetMenuDefaultItem
dec ebx
jne 0x48b9a0
call sub.kernel32.dll_GetTickCount
mov edi, eax
mov dword [ebp - 4], edi
push 0x48ba40
push 0x48ba50
call sub.kernel32.dll_GetModuleHandleA_2
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48ec70], eax
lea eax, [ebp - 0xc]
push eax
call dword [0x48ec70]
push 0
push 0
push 0
call sub.user32.dll_GetMenuDefaultItem
cmp edi, dword [ebp - 4]
jne 0x48ba22
lea eax, [ebp - 0x14]
push eax
call dword [0x48ec70]
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0xc]
cmp eax, 0x21
jbe 0x48ba08
inc esi
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
push 0
push 0x67
call sub.kernel32.dll_SleepEx
mov ebx, esi
cmp ebx, 9
jbe 0x48ba1d
call fcn.0048b810
cmp edi, dword [ebp - 4]
je 0x48b9ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48ba37
ret
Function at 0x404000
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3a9c0
call fcn.004107e0
mov eax, dword [0x41d004]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x3a9a0], 0
push eax
push eax
push eax
mov word [ebp - 0x3a98c], ax
lea eax, [ebp - 0x3a99c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x3a9a0]
mov dword [ebp - 0x3a99c], 0x10001
push eax
mov dword [ebp - 0x3a998], 0x1f40
mov dword [ebp - 0x3a994], 0x1f40
mov dword [ebp - 0x3a990], 0x80001
call dword [sym.imp.WINMM.dll_waveOutOpen]
push 0x3a980
lea eax, [ebp - 0x3a988]
push 0
push eax
call fcn.004073c0
add esp, 0xc
xor ecx, ecx
mov eax, ecx
shr eax, cl
xor al, cl
mov byte [ebp + ecx - 0x3a988], al
inc ecx
cmp ecx, 0x3a980
jb 0x404083
lea eax, [ebp - 0x3a988]
mov dword [ebp - 0x3a9bc], 0x3a980
mov dword [ebp - 0x3a9c0], eax
lea eax, [ebp - 0x3a9c0]
push 0x20
push eax
push dword [ebp - 0x3a9a0]
mov dword [ebp - 0x3a9b8], 0
mov dword [ebp - 0x3a9b4], 0
mov dword [ebp - 0x3a9b0], 0
mov dword [ebp - 0x3a9ac], 0
mov dword [ebp - 0x3a9a8], 0
mov dword [ebp - 0x3a9a4], 0
call dword [sym.imp.WINMM.dll_waveOutPrepareHeader]
push 0x20
lea eax, [ebp - 0x3a9c0]
push eax
push dword [ebp - 0x3a9a0]
call dword [sym.imp.WINMM.dll_waveOutWrite]
push 0x20
lea eax, [ebp - 0x3a9c0]
push eax
push dword [ebp - 0x3a9a0]
call dword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
push dword [ebp - 0x3a9a0]
call dword [sym.imp.WINMM.dll_waveOutClose]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004065f4
mov esp, ebp
pop ebp
ret

Function at 0x404e40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x50c40
call fcn.004107e0
mov eax, dword [0x41d004]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x50c20], 0
push eax
push eax
push eax
mov word [ebp - 0x50c0c], ax
lea eax, [ebp - 0x50c1c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x50c20]
mov dword [ebp - 0x50c1c], 0x10001
push eax
mov dword [ebp - 0x50c18], 0x2b11
mov dword [ebp - 0x50c14], 0x2b11
mov dword [ebp - 0x50c10], 0x80001
call dword [sym.imp.WINMM.dll_waveOutOpen]
push 0x50bfe
lea eax, [ebp - 0x50c08]
push 0
push eax
call fcn.004073c0
add esp, 0xc
xor eax, eax
mov edx, eax
shr edx, 7
xor dl, al
add dl, al
xor dl, 5
mov cl, dl
shl dl, 2
add cl, dl
mov byte [ebp + eax - 0x50c08], cl
inc eax
cmp eax, 0x50bfe
jb 0x404ec3
lea eax, [ebp - 0x50c08]
mov dword [ebp - 0x50c3c], 0x50bfe
mov dword [ebp - 0x50c40], eax
lea eax, [ebp - 0x50c40]
push 0x20
push eax
push dword [ebp - 0x50c20]
mov dword [ebp - 0x50c38], 0
mov dword [ebp - 0x50c34], 0
mov dword [ebp - 0x50c30], 0
mov dword [ebp - 0x50c2c], 0
mov dword [ebp - 0x50c28], 0
mov dword [ebp - 0x50c24], 0
call dword [sym.imp.WINMM.dll_waveOutPrepareHeader]
push 0x20
lea eax, [ebp - 0x50c40]
push eax
push dword [ebp - 0x50c20]
call dword [sym.imp.WINMM.dll_waveOutWrite]
push 0x20
lea eax, [ebp - 0x50c40]
push eax
push dword [ebp - 0x50c20]
call dword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
push dword [ebp - 0x50c20]
call dword [sym.imp.WINMM.dll_waveOutClose]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004065f4
mov esp, ebp
pop ebp
ret
Function at 0x4052e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xa1840
call fcn.004107e0
mov eax, dword [0x41d004]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xa1820], 0
push eax
push eax
push eax
mov word [ebp - 0xa180c], ax
lea eax, [ebp - 0xa181c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0xa1820]
mov dword [ebp - 0xa181c], 0x10001
push eax
mov dword [ebp - 0xa1818], 0x5622
mov dword [ebp - 0xa1814], 0x5622
mov dword [ebp - 0xa1810], 0x80001
call dword [sym.imp.WINMM.dll_waveOutOpen]
push 0xa17fc
lea eax, [ebp - 0xa1808]
push 0
push eax
call fcn.004073c0
add esp, 0xc
xor eax, eax
mov edx, eax
mov ecx, eax
shr edx, 0xc
and dl, 0xd
shr ecx, 0xa
xor dl, 2
and cl, 9
or dl, cl
movsx ecx, al
movsx edx, dl
imul edx, ecx
mov byte [ebp + eax - 0xa1808], dl
inc eax
cmp eax, 0xa17fc
jb 0x405363
lea eax, [ebp - 0xa1808]
mov dword [ebp - 0xa183c], 0xa17fc
mov dword [ebp - 0xa1840], eax
lea eax, [ebp - 0xa1840]
push 0x20
push eax
push dword [ebp - 0xa1820]
mov dword [ebp - 0xa1838], 0
mov dword [ebp - 0xa1834], 0
mov dword [ebp - 0xa1830], 0
mov dword [ebp - 0xa182c], 0
mov dword [ebp - 0xa1828], 0
mov dword [ebp - 0xa1824], 0
call dword [sym.imp.WINMM.dll_waveOutPrepareHeader]
push 0x20
lea eax, [ebp - 0xa1840]
push eax
push dword [ebp - 0xa1820]
call dword [sym.imp.WINMM.dll_waveOutWrite]
push 0x20
lea eax, [ebp - 0xa1840]
push eax
push dword [ebp - 0xa1820]
call dword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
push dword [ebp - 0xa1820]
call dword [sym.imp.WINMM.dll_waveOutClose]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004065f4
mov esp, ebp
pop ebp
ret
Function at 0x100016d0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x1015f670]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x108]
push eax
xor ebx, ebx
push ebx
mov dword [ebp - 0x110], 0x2e505a5c
mov dword [ebp - 0x10c], 0x545854
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea eax, [ebp - 0x110]
mov edx, eax
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10001724
lea edi, [ebp - 0x108]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x10001734
mov ecx, eax
shr ecx, 2
push ebx
mov esi, edx
rep movsd dword es:[edi], dword [esi]
push 0x80
push 3
push ebx
push 1
mov ecx, eax
push SysReAllocString
lea eax, [ebp - 0x108]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x100017ad
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
mov dword [ebp - 0x10c], eax
call fcn.100019f2
pop ecx
push ebx
mov edi, eax
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 0x10c]
mov dword [ebp - 0x114], ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp edi, ebx
je 0x100017ad
push edi
call fcn.1000102e
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.100f51da
leave
ret

Function at 0x10013e6d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x10013eb4
call fcn.10005cb4
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x10013eb4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x10013ed0
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.1001396d
mov esi, eax
test edi, edi
je 0x10013ece
test ebx, ebx
je 0x10013ece
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x100142af
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x10115bfd
call fcn.100f5aa3
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x100142d4
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x10014326
call fcn.100094b0
push eax
lea ecx, [ebp - 0x10]
call fcn.10002765
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100f82b8
push eax
call fcn.10001b34
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.1000200f
mov eax, esi
call fcn.100f5b7b
ret 8
Function at 0x1003e923
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.10005cb4
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x1003e95c
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.1003e560
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x1003e9ba
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x1003e9de
cmp dword [edi + 0x74], 0
jne 0x1003e9de
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.10005cb4
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.1003e97b
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x100409c0
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.10040664
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x10040a0a
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.100093b1
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.10004562
jmp 0x10040a15
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.100086a1
pop edi
pop esi
pop ebp
ret 0xc