joyce8/EMBER2024-capa huggingface dataset:
Function at 0x490698
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
call fcn.00439e45
test eax, eax
je 0x4906b5
xor eax, eax
jmp 0x490744
mov ecx, dword [ebp + 8]
xor edx, edx
call fcn.0048eed9
mov edi, eax
test edi, edi
je 0x4906ae
mov ecx, dword [ebp + 8]
push 0x1389
push str.File.c
mov edx, 0x4ae668
call fcn.0048d34e
mov ebx, eax
pop ecx
pop ecx
mov dword [esp + 0xc], ebx
test ebx, ebx
je 0x4906ae
lea eax, [edi + 0xe]
push eax
call fcn.004028f8
mov esi, eax
pop ecx
test esi, esi
jne 0x490701
mov ecx, ebx
call fcn.0048fc61
jmp 0x4906ae
push ebx
push edi
lea eax, [esi + 4]
push 1
push eax
call fcn.00402244
mov ebx, eax
add esp, 0x10
cmp ebx, edi
jae 0x490727
push dword [esp + 0xc]
call fcn.004019d8
pop ecx
test eax, eax
jne 0x490727
xor ebx, ebx
mov ecx, dword [esp + 0xc]
call fcn.0048fc61
test ebx, ebx
jne 0x490740
push esi
call fcn.00401a00
pop ecx
jmp 0x4906ae
mov dword [esi], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4919e7
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
call fcn.00439e45
test eax, eax
je 0x491a02
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
cmp dword [0x4fa45c], 0
je 0x491a0f
xor eax, eax
jmp 0x4919fd
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x4fa45c], 1
call fcn.0048eed9
mov ebx, 0x80000
cmp eax, ebx
ja 0x491a37
xor eax, eax
and dword [0x4fa45c], 0
jmp 0x4919fd
push dword [ebp + 8]
call fcn.00490698
mov edi, eax
pop ecx
test edi, edi
jne 0x491a4b
or eax, 0xffffffff
jmp 0x491a2e
mov esi, dword [edi]
cmp esi, ebx
ja 0x491a5a
push edi
call fcn.00401a00
pop ecx
jmp 0x491a46
lea ebx, [esi - 0x80000]
cmp byte [ebx + edi + 4], 0xa
je 0x491a74
inc ebx
lea eax, [esi - 0x20000]
cmp ebx, eax
jb 0x491a60
jmp 0x491a75
inc ebx
mov ecx, dword [ebp + 8]
push 0x4e8
push str.Error.c
mov edx, 0x4ae7a4
call fcn.0048d34e
pop ecx
pop ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x491a51
push eax
sub esi, ebx
push esi
lea eax, [ebx + edi + 4]
push 1
push eax
call fcn.0040257f
mov ecx, dword [ebp - 4]
call fcn.0048fc61
push edi
call fcn.00401a00
xor eax, eax
add esp, 0x14
inc eax
jmp 0x491a2e
Function at 0x49540b
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, eax
test esi, esi
jne 0x49541b
xor eax, eax
jmp 0x495490
test ebx, ebx
jne 0x495424
mov byte [esi], 0
jmp 0x495417
jns 0x49544a
push edi
call fcn.00494ec5
mov edi, eax
sub edi, dword [ebp + 8]
push ebx
call fcn.004041ba
pop ecx
cmp edi, eax
jge 0x495440
mov ebx, edi
jmp 0x495449
push ebx
call fcn.004041ba
pop ecx
mov ebx, eax
pop edi
mov ax, word [ebp + 8]
mov word [ebp - 8], ax
mov ax, word [ebp + 0xc]
mov word [ebp - 6], ax
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push ebx
push esi
call fcn.00494e81
push eax
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterA]
test eax, eax
mov eax, dword [ebp - 4]
jne 0x495480
cmp eax, ebx
jg 0x49541f
mov byte [eax + esi], 0
jmp 0x495417
cmp eax, ebx
jg 0x49548a
mov byte [eax + esi], 0
jmp 0x49548d
mov byte [esi], 0
mov eax, dword [ebp - 4]
pop ebx
leave
ret

Function at 0x4958d9
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x4e22e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp + 0x14]
mov ebx, 0x100
lea esi, [ebx - 1]
push esi
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x103]
push 0
push eax
mov byte [ebp - 0x104], 0
call fcn.00401f80
xor eax, eax
and dword [ebp - 0x114], eax
mov word [ebp - 0x108], ax
lea edi, [ebp - 0x106]
stosw word es:[edi], ax
mov eax, dword [ebp - 0x10c]
add esp, 0xc
call fcn.00438cb8
test eax, eax
je 0x49594f
xor eax, eax
jmp 0x495a06
push dword [ebp - 0x110]
lea edi, [ebp - 0x104]
push dword [ebp - 0x10c]
mov eax, edi
push esi
push eax
jmp 0x49599e
lea eax, [ebp - 0x104]
cmp edi, eax
je 0x495978
push edi
call fcn.00401a00
pop ecx
add ebx, ebx
lea eax, [ebx + 0xa]
push eax
push 1
call fcn.00401a3a
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x495948
push dword [ebp - 0x110]
lea eax, [ebx - 1]
push dword [ebp - 0x10c]
push eax
push edi
call fcn.00402db4
add esp, 0x10
cmp eax, 0xffffffff
je 0x495967
mov cx, word [ebp + 8]
mov word [ebp - 0x108], cx
mov cx, word [ebp + 0xc]
mov word [ebp - 0x106], cx
lea ecx, [ebp - 0x114]
push ecx
push dword [ebp - 0x108]
push eax
push edi
call fcn.00494e81
push eax
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
test eax, eax
jne 0x4959ef
cmp byte [0x4f77e3], al
jne 0x4959ef
mov byte [0x4f77e3], 1
lea eax, [ebp - 0x104]
cmp edi, eax
je 0x495a00
push edi
call fcn.00401a00
pop ecx
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret
Function at 0x495ad8
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4f7da4]
push ebx
push edi
mov edi, dword [ebp + 8]
test eax, eax
je 0x495b1b
xor ebx, ebx
inc ebx
mov dword [0x4f7da8], ebx
test eax, eax
je 0x495b03
push 0x19
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x4f7da4]
test edi, edi
je 0x495b0d
test eax, eax
jne 0x495ae9
jmp 0x495b1e
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
jmp 0x495c1c
xor ebx, ebx
inc ebx
test edi, edi
je 0x495c1a
push esi
mov esi, 0x4f7db0
push edi
mov ecx, 0x104
mov eax, esi
call fcn.00438c78
pop ecx
mov eax, edi
call fcn.00438cf2
mov cl, byte [0x4f7db0]
xor edi, edi
xor edx, edx
xor eax, eax
jmp 0x495b79
cmp edx, edi
je 0x495b63
cmp cl, 0x29
jne 0x495b5a
xor edx, edx
mov byte [eax + 0x4f7eb8], 0x20
jmp 0x495b72
cmp cl, 0x28
jne 0x495b6c
mov edx, ebx
jmp 0x495b5a
mov byte [eax + 0x4f7eb8], cl
mov cl, byte [eax + 0x4f7db1]
inc eax
test cl, cl
jne 0x495b4f
push 0x4f7eb8
push esi
mov byte [eax + 0x4f7eb8], cl
call fcn.004023a0
pop ecx
pop ecx
test eax, eax
je 0x495bfb
mov dword [ebp + 8], edi
mov dword [0x4f7da8], edi
mov edi, dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov ebx, 0x4f7da8
call fcn.004955d6
test eax, eax
jne 0x495bef
mov dword [0x4f7da4], 1
cmp dword [ebp + 8], eax
je 0x495bce
push 0x4f7eb8
call edi
mov eax, 0x2ee
jmp 0x495bd6
push esi
call edi
mov eax, 0x5dc
call fcn.0041ac56
xor eax, eax
cmp dword [ebp + 8], eax
sete al
cmp dword [0x4f7da8], 0
mov dword [ebp + 8], eax
je 0x495ba8
push esi
call edi
and dword [0x4f7da4], 0
jmp 0x495c19
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
push 0x3e8
mov dword [0x4f7da4], edi
mov dword [0x4f7da8], ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
pop esi
xor eax, eax
pop edi
pop ebx
pop ebp
ret 4

Function at 0x4963ec
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
call fcn.004957af
test eax, eax
je 0x4963fd
xor eax, eax
inc eax
pop ebp
ret
pop ebp
jmp fcn.004952cb
Function at 0x496fb5
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4e22e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x103
lea eax, [ebp - 0x107]
push 0
push eax
mov byte [ebp - 0x108], 0
call fcn.00401f80
add esp, 0xc
call fcn.00496548
xor edi, edi
inc edi
call fcn.00494e6b
call dword [sym.imp.KERNEL32.dll_AllocConsole]
test eax, eax
jne 0x497001
xor edi, edi
mov esi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 7
push 0xfffffffffffffff6
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_SetConsoleMode]
push eax
call ebx
test eax, eax
jne 0x49701c
xor edi, edi
push 3
push 0xfffffffffffffff5
call esi
push eax
call ebx
test eax, eax
jne 0x49702b
xor edi, edi
push 1
push 0x4955e2
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
test eax, eax
jne 0x49703e
xor edi, edi
push 0x35c
call dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
test eax, eax
jne 0x49704f
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor ebx, ebx
mov dword [0x4f56a0], eax
cmp eax, ebx
jne 0x497062
xor edi, edi
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x4970a5
lea edx, [ebp - 0x108]
call fcn.004399f2
mov eax, edx
push eax
mov esi, 0x4ae828
call fcn.00438bd3
pop ecx
test eax, eax
jne 0x4970a5
push ebx
push ebx
call fcn.00455496
pop ecx
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push str.Sounds_
push ebx
call fcn.00455496
pop ecx
pop ecx
mov ebx, eax
call fcn.0049aaf1
call fcn.0041a958
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.0040236d
pop ecx
call fcn.0040237f
call fcn.0040237f
call fcn.0040237f
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret
Function at 0x497e37
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.00411aa0
mov eax, dword [0x4e22e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0xffc
lea eax, [ebp - 0x1000]
mov edi, edx
push ebx
push eax
mov esi, ecx
mov dword [ebp - 0x100c], edi
mov dword [ebp - 0x1004], ebx
call fcn.00401f80
add esp, 0xc
mov dword [ebp - 0x1010], ebx
cmp edi, ebx
jne 0x497e89
xor eax, eax
jmp 0x497f2b
shr esi, 2
mov eax, 0x40000
mov dword [ebp - 0x1008], esi
cmp esi, eax
jbe 0x497ea1
mov dword [ebp - 0x1008], eax
shr dword [ebp - 0x1008], 2
mov edi, 0x400
cmp dword [ebp - 0x1008], edi
jbe 0x497eca
push 4
push dword [ebp - 0x1008]
call fcn.00401a3a
mov esi, eax
pop ecx
pop ecx
cmp esi, ebx
jne 0x497ed6
mov dword [ebp - 0x1008], edi
lea esi, [ebp - 0x1004]
xor edi, edi
push dword [ebp - 0x100c]
push dword [ebp - 0x1008]
push 4
push esi
call fcn.00402244
add esp, 0x10
mov dword [ebp - 0x1010], eax
test eax, eax
je 0x497f0b
xor ebx, ebx
test eax, eax
je 0x497f07
add edi, dword [esi + ebx*4]
inc ebx
cmp ebx, eax
jb 0x497eff
add edi, eax
jmp 0x497ed8
test edi, edi
jne 0x497f14
test ebx, ebx
je 0x497f14
inc edi
test esi, esi
je 0x497f29
lea eax, [ebp - 0x1004]
cmp esi, eax
je 0x497f29
push esi
call fcn.00401a00
pop ecx
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret

Function at 0x497ff3
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x4e22e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push 0x4d
lea eax, [ebp - 0x53]
push ebx
push eax
mov byte [ebp - 0x54], bl
call fcn.00401f80
add esp, 0xc
cmp esi, ebx
jne 0x498024
or eax, 0xffffffff
jmp 0x4980cf
lea eax, [ebp - 0x54]
push eax
mov edx, str.____This_is_the_beginning_of_a_PAULA_Arkive_self_extracting_compilation.____
call fcn.00439246
push esi
call fcn.00401e22
push esi
mov dword [ebp - 0x58], ebx
call fcn.00401e7e
add esp, 0xc
cmp eax, 0xffffffff
je 0x49806b
push 1
push eax
lea eax, [ebp - 0x58]
lea ebx, [ebp - 0x54]
call fcn.00488aeb
pop ecx
pop ecx
test eax, eax
jne 0x4980c8
push esi
call fcn.00401e7e
pop ecx
cmp eax, 0xffffffff
jne 0x498049
xor ebx, ebx
push edi
push 2
push ebx
push esi
call fcn.0040287c
add esp, 0xc
lea eax, [ebp - 0x54]
push esi
push eax
call fcn.00401a80
pop ecx
push eax
lea eax, [ebp - 0x54]
push 1
push eax
call fcn.0040257f
mov edi, eax
lea eax, [ebp - 0x54]
push eax
call fcn.00401a80
add esp, 0x14
cmp edi, eax
pop edi
jne 0x49801c
push esi
call fcn.00401e22
push 2
push 0xffffffffffffffff
push esi
call fcn.0040287c
push esi
call fcn.00401e7e
push 2
push ebx
push esi
call fcn.0040287c
add esp, 0x20
push esi
call fcn.0040278d
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret
Function at 0x49961a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x4e22e4]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x3c], eax
push 8
pop ecx
xor eax, eax
mov byte [ebp - 0x2c], bl
lea edi, [ebp - 0x2b]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x30], ebx
stosb byte es:[edi], al
call fcn.00439e45
test eax, eax
jne 0x4997a1
cmp esi, ebx
je 0x499667
mov dword [esi], ebx
mov eax, dword [ebp - 0x3c]
cmp eax, ebx
je 0x499670
mov dword [eax], ebx
push dword [ebp - 0x34]
mov esi, 0x4ae828
call fcn.00438bd3
pop ecx
test eax, eax
jne 0x4996a6
mov esi, dword [ebp - 0x34]
push str..exe
mov dword [ebp - 0x44], 0x4e20
call fcn.0043aa1f
push eax
call fcn.00401811
pop ecx
pop ecx
test eax, eax
je 0x4996a9
xor edi, edi
jmp 0x4996b3
mov dword [ebp - 0x44], ebx
mov ecx, dword [ebp - 0x34]
call fcn.00499567
mov edi, eax
push dword [ebp - 0x44]
mov eax, dword [ebp - 0x34]
push 0x80000020
push 3
push 1
call fcn.0048ebdd
mov esi, eax
add esp, 0x10
cmp esi, 0xffffffff
jne 0x4996dc
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4997a1
push ebx
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
lea eax, [ebp - 0x30]
push eax
push 4
lea eax, [ebp - 0x38]
push eax
push esi
call edi
test eax, eax
je 0x499791
cmp dword [ebp - 0x30], 4
jb 0x499791
push ebx
lea eax, [ebp - 0x30]
push eax
push 4
lea eax, [ebp - 0x40]
push eax
push esi
call edi
test eax, eax
je 0x499744
cmp dword [ebp - 0x30], 4
jb 0x499744
push ebx
lea eax, [ebp - 0x30]
push eax
push 8
lea eax, [ebp - 0x48]
push eax
push esi
call edi
push ebx
lea eax, [ebp - 0x30]
push eax
push 0x20
lea eax, [ebp - 0x2c]
push eax
push esi
call edi
test eax, eax
jne 0x49974b
call fcn.0048d2af
jmp 0x4997a1
call fcn.0048d2af
mov eax, dword [ebp - 0x30]
cmp eax, 0x22
jae 0x4997a1
mov byte [ebp + eax - 0x2c], bl
lea eax, [ebp - 0x2c]
push str.222PAULAARCHIVE222JesusIAdoreYou
push eax
call fcn.004023a0
pop ecx
pop ecx
test eax, eax
jne 0x4997a1
mov ecx, dword [ebp - 0x38]
cmp ecx, ebx
je 0x4997a1
mov eax, dword [ebp - 0x4c]
cmp eax, ebx
je 0x499783
mov edx, dword [ebp - 0x40]
mov dword [eax], edx
mov eax, dword [ebp - 0x3c]
cmp eax, ebx
je 0x49978c
mov dword [eax], ecx
xor eax, eax
inc eax
jmp 0x4997a3
call fcn.0048d2af
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x34]
call fcn.0048eed9
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret
Function at 0x49b069
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, eax
test esi, esi
jne 0x49b088
mov esi, dword [0x5edf30]
test esi, esi
je 0x49b0eb
call fcn.00444555
and dword [0x5edf30], 0
jmp 0x49b0eb
mov eax, dword [0x5edf30]
test eax, eax
jne 0x49b0a1
call fcn.00444592
mov dword [0x5edf30], eax
test eax, eax
jne 0x49b0a1
pop esi
ret
push ebx
mov ebx, dword [esi + 0x130]
push edi
mov edi, eax
call fcn.00444724
test eax, eax
jne 0x49b0c6
push dword [esi + 0x130]
mov ebx, dword [0x5edf30]
call fcn.00444541
pop ecx
xor ebx, ebx
cmp dword [esi], ebx
jle 0x49b0e9
lea edi, [esi + 4]
mov eax, dword [edi]
call fcn.0049ae01
test eax, eax
je 0x49b0e1
mov ecx, dword [edi]
call fcn.0049aee2
inc ebx
add edi, 4
cmp ebx, dword [esi]
jl 0x49b0cf
pop edi
pop ebx
xor eax, eax
inc eax
pop esi
ret
Function at 0x49c2a3
Capabilities:
Contain obfuscated stackstrings
Terminate process
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x154
mov eax, dword [0x4e22e4]
xor eax, esp
mov dword [esp + 0x150], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [esp + 0x10], eax
call fcn.0045518e
test eax, eax
je 0x49c2d7
xor eax, eax
jmp 0x49c4ae
xor ebx, ebx
mov esi, str.Sound.c
cmp dword [0x5edf2c], ebx
jne 0x49c409
cmp dword [0x5ee040], ebx
jne 0x49c409
push 0x103
lea eax, [esp + 0x55]
push ebx
push eax
mov dword [esp + 0x20], 0x46464952
mov dword [esp + 0x24], 0x32
mov dword [esp + 0x28], 0x45564157
mov dword [esp + 0x2c], 0x20746d66
mov dword [esp + 0x30], 0x10
mov dword [esp + 0x34], 0x10001
mov dword [esp + 0x38], 0x5622
mov dword [esp + 0x3c], 0xac44
mov dword [esp + 0x40], 0x100002
mov dword [esp + 0x44], 0x61746164
mov dword [esp + 0x48], 0xe
mov dword [esp + 0x4c], 0xfe00fe01
mov dword [esp + 0x50], 0xff00
mov dword [esp + 0x54], 0xffff
mov word [esp + 0x58], 1
mov byte [esp + 0x5c], bl
call fcn.00401f80
add esp, 0xc
lea edi, [esp + 0x50]
mov dword [0x5ee040], 1
call fcn.0048cb04
test eax, eax
jne 0x49c3aa
mov eax, edi
push str.TempDummySound.wav
push eax
call fcn.00401ba0
pop ecx
pop ecx
push 0x52
push esi
mov edx, 0x4ae7a4
lea ecx, [esp + 0x58]
call fcn.0048d34e
mov edi, eax
pop ecx
pop ecx
cmp edi, ebx
je 0x49c3dc
push edi
push 0x3a
lea eax, [esp + 0x1c]
push 1
push eax
call fcn.0040257f
add esp, 0x10
mov ecx, edi
call fcn.0048fc61
lea eax, [esp + 0x50]
push eax
call fcn.0049c2a3
pop ecx
test eax, eax
jne 0x49c403
lea eax, [esp + 0x50]
push str.SoundsNotifyWinIllegalKey.wav
push eax
call fcn.00455496
push eax
call fcn.0049c2a3
add esp, 0xc
mov dword [0x5ee040], ebx
push 1
push 0x724
call fcn.00401a3a
mov edi, eax
pop ecx
pop ecx
cmp edi, ebx
je 0x49c2d0
cmp dword [0x5edf2c], ebx
jne 0x49c433
call fcn.00444592
mov dword [0x5edf2c], eax
mov ebx, dword [0x5edf2c]
push edi
call fcn.00444541
cmp dword [0x5edf2c], 0
pop ecx
jne 0x49c455
push edi
call fcn.00401a00
pop ecx
jmp 0x49c2d0
lea ebx, [edi + 0x564]
push esi
push ebx
call fcn.0048a998
pop ecx
pop ecx
mov esi, str.A_Sound_handle_had_to_be_forced_to_unlock___
mov eax, ebx
call fcn.0048a823
mov eax, 0xdac
mov ecx, ebx
call fcn.0048a810
mov eax, edi
call fcn.0049aac9
mov edx, dword [esp + 0x10]
call fcn.00439e45
test eax, eax
jne 0x49c4ac
push dword [esp + 0x10]
mov ecx, edi
call fcn.0049bd14
pop ecx
test eax, eax
jne 0x49c4ac
mov eax, edi
call fcn.0049b5dc
jmp 0x49c2d0
mov eax, edi
mov ecx, dword [esp + 0x15c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401317
mov esp, ebp
pop ebp
ret
Function at 0x49c92c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x4e22e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10c], eax
test esi, esi
jg 0x49c955
mov esi, 0x200
push 1
push 0x1f0
call fcn.00401a3a
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x49c970
xor eax, eax
jmp 0x49ca6c
lea eax, [esi + 0xa]
push eax
push 1
call fcn.00401a3a
pop ecx
pop ecx
mov dword [edi], eax
test eax, eax
jne 0x49c98c
push edi
call fcn.00401a00
pop ecx
jmp 0x49c969
and dword [edi + 4], 0
and dword [edi + 0xc], 0
inc dword [0x5d8958]
mov eax, dword [0x5d8958]
push ebx
mov ebx, dword [0x5d8954]
mov dword [edi + 0x2c], eax
mov dword [edi + 8], esi
test ebx, ebx
jne 0x49c9bd
call fcn.00444592
mov ebx, eax
mov dword [0x5d8954], ebx
push edi
call fcn.00444541
cmp dword [0x5d8954], 0
pop ecx
jne 0x49c9e3
push dword [edi]
call fcn.00401a00
push edi
call fcn.00401a00
pop ecx
pop ecx
xor eax, eax
jmp 0x49ca6b
lea ebx, [edi + 0x30]
push str.Message.c
push ebx
call fcn.0048a998
pop ecx
pop ecx
mov esi, str.A_Message_handle_had_to_be_forced_to_unlock___
mov eax, ebx
call fcn.0048a823
mov eax, 0x7d0
mov ecx, ebx
call fcn.0048a810
cmp dword [ebp - 0x10c], 0
mov eax, dword [ebp + 8]
mov dword [edi + 0x10], eax
je 0x49ca62
push 0x103
lea eax, [ebp - 0x107]
push 0
push eax
mov byte [ebp - 0x108], 0
call fcn.00401f80
push dword [ebp - 0x10c]
mov ecx, 0x104
lea eax, [ebp - 0x108]
call fcn.00438c78
mov esi, eax
call fcn.00438af2
mov eax, esi
push eax
push 0x16
lea eax, [edi + 0x14]
pop ecx
call fcn.00438c78
add esp, 0x14
mov eax, edi
call fcn.0049c909
mov eax, edi
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00401317
leave
ret

Function at 0x49d49b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ecx
push ebx
push edi
mov ebx, eax
xor edi, edi
cmp ebx, edi
je 0x49d50b
cmp byte [ebx], 0
je 0x49d50b
mov eax, esi
call fcn.0049ca98
test eax, eax
je 0x49d50b
mov eax, esi
call fcn.0049c916
test eax, eax
je 0x49d50b
mov dword [esp + 0xc], 1
mov ecx, ebx
cmp dword [ebp + 8], edi
je 0x49d513
xor edx, edx
call fcn.0048eed9
test eax, eax
je 0x49d4e6
mov dword [esp + 0xc], edi
push 0x4ad
mov edx, 0x4b1580
mov ecx, ebx
push str.Message.c
call fcn.0048d34e
mov ebx, eax
pop ecx
pop ecx
cmp ebx, edi
jne 0x49d51f
mov eax, esi
call fcn.0049c909
xor eax, eax
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x4b2
mov edx, 0x4b062c
jmp 0x49d4f2
cmp dword [esi + 4], edi
jle 0x49d56d
cmp dword [ebp + 8], edi
je 0x49d53c
cmp dword [esp + 0xc], edi
jne 0x49d53c
push ebx
push 0xa
call fcn.00401858
pop ecx
xor edi, edi
pop ecx
inc edi
push ebx
push dword [esi + 4]
push 1
push dword [esi]
call fcn.0040257f
add edi, eax
add esp, 0x10
cmp edi, dword [esi + 4]
jge 0x49d56d
mov eax, dword [esi]
call fcn.00438cb8
test eax, eax
jne 0x49d56d
inc dword [0x5d895c]
mov ecx, ebx
call fcn.0048fc61
jmp 0x49d504
mov ecx, ebx
call fcn.0048fc61
mov eax, esi
call fcn.0049c909
xor eax, eax
inc eax
jmp 0x49d50d
Function at 0x49d580
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, 0x100000
mov edi, eax
mov dword [esp + 0x10], esi
call fcn.00439e45
test eax, eax
je 0x49d5ac
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, edi
call fcn.0049ca98
test eax, eax
je 0x49d5a3
mov ecx, dword [ebp + 8]
xor edx, edx
call fcn.0048eed9
cmp eax, esi
jae 0x49d5d5
mov dword [esp + 0x10], eax
test eax, eax
jg 0x49d5d5
mov dword [esp + 0x10], 0x400
mov eax, edi
call fcn.0049c916
test eax, eax
je 0x49d5a3
mov ecx, dword [ebp + 8]
push 0x435
push str.Message.c
mov edx, 0x4b1e20
call fcn.0048d34e
pop ecx
pop ecx
mov dword [esp + 0x14], eax
test eax, eax
jne 0x49d60a
mov eax, edi
call fcn.0049c909
jmp 0x49d5a3
mov ebx, dword [esp + 0x10]
lea eax, [ebx + 0x400]
push 1
push eax
call fcn.00401a3a
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x49d601
push dword [esp + 0x14]
push ebx
jmp 0x49d675
and dword [esp + 0xc], 0
test ebx, ebx
jle 0x49d66d
mov eax, dword [edi + 0xc]
inc eax
cmp eax, dword [edi + 8]
jl 0x49d646
call fcn.0049cb1e
test eax, eax
je 0x49d68b
mov eax, dword [edi + 0xc]
mov edx, dword [esp + 0xc]
mov dl, byte [edx + esi]
mov ecx, dword [edi]
mov byte [eax + ecx], dl
inc dword [edi + 0xc]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 4]
jle 0x49d663
mov dword [edi + 4], eax
inc dword [esp + 0xc]
cmp dword [esp + 0xc], ebx
jl 0x49d634
push dword [esp + 0x14]
push dword [esp + 0x14]
push 1
push esi
call fcn.00402244
mov ebx, eax
add esp, 0x10
test ebx, ebx
jg 0x49d62b
xor ebx, ebx
inc ebx
jmp 0x49d68d
xor ebx, ebx
mov ecx, dword [esp + 0x14]
call fcn.0048fc61
mov eax, edi
call fcn.0049c909
push esi
call fcn.00401a00
pop ecx
mov eax, ebx
jmp 0x49d5a5