joyce8/EMBER2024-capa huggingface dataset:
Function at 0x474b18
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x4b22d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push esi
push edi
mov dword [ebp - 0x114], eax
mov eax, dword [ebp + 0x14]
push 0x103
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 0x107]
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x110], esi
mov byte [ebp - 0x108], 0
call fcn.00401f80
push 0x1c8
push 1
call fcn.00401a3a
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x474b85
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x474c76
mov eax, dword [0x4c82b0]
test eax, eax
jne 0x474b98
call fcn.0043c742
mov dword [0x4c82b0], eax
push ebx
push edi
mov ebx, eax
call fcn.0043c6f1
xor ebx, ebx
pop ecx
cmp dword [0x4c82b0], ebx
jne 0x474bc0
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
push edi
call fcn.00401a00
pop ecx
jmp 0x474c73
push 0xc
lea eax, [edi + 4]
push ebx
push eax
mov dword [edi], ebx
call fcn.00401f80
mov eax, dword [ebp + 8]
push dword [ebp - 0x114]
mov dword [edi + 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x18], eax
push 0x40
lea eax, [edi + 0x24]
pop ecx
mov dword [edi + 0x10], esi
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], ebx
call fcn.00435b27
push dword [ebp - 0x10c]
mov ecx, 0x104
lea eax, [ebp - 0x108]
call fcn.00435b27
mov esi, eax
call fcn.004359d7
mov eax, esi
push eax
push 0x40
lea eax, [edi + 0x64]
pop ecx
call fcn.00435b27
mov eax, dword [ebp + 0x18]
add esp, 0x18
mov dword [edi + 0xa4], eax
mov dword [edi + 0xb0], ebx
call fcn.00419a8b
mov dword [edi + 0xb4], eax
lea eax, [edi + 0xb8]
call fcn.00435ba1
push ebx
push ebx
push edi
push 0x47474e
push dword [ebp - 0x110]
mov dword [edi + 0xac], ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0xa8], eax
cmp eax, ebx
jne 0x474c75
mov eax, edi
call fcn.00473be9
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00401317
leave
ret 0x14
Function at 0x474c86
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x4b22d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x110], edi
mov dword [ebp - 0x10c], ebx
cmp edi, ebx
je 0x474ddb
cmp byte [edi], 0x30
je 0x474ddb
mov esi, 0x104
push esi
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.00401f80
push edi
mov ecx, esi
lea eax, [ebp - 0x108]
call fcn.00435b27
push 0x22
mov edi, eax
call fcn.00435930
add esp, 0x14
cmp dword [ebp + 8], ebx
jbe 0x474d11
push 0xf7f
push str.File.c
push str.CreateDirectorySuper
mov eax, edi
push eax
push 0x4731ff
xor ecx, ecx
call fcn.00474b18
mov esi, eax
jmp 0x474d13
xor esi, esi
cmp esi, ebx
jne 0x474d50
push ebx
push dword [ebp - 0x110]
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
cmp eax, ebx
je 0x474d48
cmp eax, 0x50
je 0x474d48
cmp eax, 0xb7
je 0x474d48
cmp eax, 0x4c7
je 0x474d48
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x474ddb
xor eax, eax
inc eax
jmp 0x474ddd
call fcn.00419a8b
mov edi, dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x10c], ebx
jmp 0x474d8d
cmp dword [ebp - 0x10c], 0x103
jne 0x474dad
call fcn.00419a8b
sub eax, dword [ebp - 0x114]
cmp eax, dword [ebp + 8]
ja 0x474d9d
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x10c]
push eax
push esi
call edi
test eax, eax
jne 0x474d69
jmp 0x474dad
mov dword [ebp - 0x10c], ebx
mov dword [0x4c6718], 0x5b4
call fcn.00473b95
push dword [0x4c6718]
mov esi, dword [sym.imp.KERNEL32.dll_SetLastError]
call esi
cmp dword [ebp - 0x10c], ebx
jne 0x474d48
mov eax, dword [ebp - 0x110]
call fcn.00473502
push dword [0x4c6718]
call esi
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret

Function at 0x474fee
Capabilities:
Delete file
Get file attributes
Set file attributes

Disassembly:
push ecx
push esi
push edi
mov edi, eax
mov edx, edi
call fcn.00436c5d
test eax, eax
je 0x475002
xor eax, eax
jmp 0x47503e
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
call esi
test eax, eax
jne 0x47503b
call fcn.00474f3d
test eax, eax
je 0x47503b
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 3
je 0x474ffe
and eax, 0xfffffffc
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
call esi
jmp 0x47503e
xor eax, eax
inc eax
pop edi
pop esi
pop ecx
ret
Function at 0x475042
Capabilities:
Copy file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4b22d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov edx, ebx
mov dword [ebp - 0x114], ebx
call fcn.00436c5d
test eax, eax
jne 0x4751aa
mov edx, edi
call fcn.00436c5d
test eax, eax
jne 0x4751aa
push ebx
call fcn.00401a80
mov esi, 0x104
pop ecx
cmp eax, esi
jae 0x47515f
push edi
call fcn.00401a80
pop ecx
cmp eax, esi
jae 0x47515f
push dword [ebp + 0x10]
push edi
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileA]
call ebx
test eax, eax
jne 0x47515a
push edi
call fcn.004732c3
pop ecx
test eax, eax
je 0x475128
push 0x103
lea eax, [ebp - 0x10f]
push 0
push eax
mov byte [ebp - 0x110], 0
call fcn.00401f80
add esp, 0xc
push dword [ebp - 0x114]
mov ecx, esi
lea eax, [ebp - 0x110]
call fcn.00435b27
pop ecx
mov esi, eax
call fcn.004359d7
mov edx, esi
call fcn.00436c5d
test eax, eax
jne 0x4751aa
mov edx, edi
mov ecx, esi
call fcn.0043794f
push dword [ebp + 0x10]
mov eax, esi
push eax
push dword [ebp - 0x114]
call ebx
jmp 0x4751ac
cmp dword [ebp + 0x10], 0
jne 0x4751aa
call fcn.00474f3d
test eax, eax
je 0x4751aa
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 3
je 0x4751aa
and eax, 0xfffffffc
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push edi
jmp 0x47511b
xor eax, eax
inc eax
jmp 0x4751ac
mov eax, ebx
call fcn.00436e28
mov esi, eax
mov eax, edi
call fcn.00436e28
mov edi, eax
test esi, esi
je 0x47519f
test edi, edi
je 0x475198
push dword [ebp + 0x10]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push esi
mov ebx, eax
call fcn.00401a00
pop ecx
push edi
call fcn.00401a00
pop ecx
mov eax, ebx
jmp 0x4751ac
push esi
call fcn.00401a00
pop ecx
test edi, edi
je 0x4751aa
push edi
call fcn.00401a00
pop ecx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret
Function at 0x475298
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
xor ebx, ebx
xor eax, eax
lea edi, [ebp - 0x18]
mov dword [ebp - 0x1c], ebx
stosd dword es:[edi], eax
lea edi, [ebp - 8]
mov dword [ebp - 0xc], ebx
stosd dword es:[edi], eax
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], ebx
stosd dword es:[edi], eax
call fcn.00436c5d
test eax, eax
jne 0x47538c
mov edx, dword [ebp + 0xc]
call fcn.00436c5d
test eax, eax
jne 0x47538c
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push ebx
push 0x20
push 3
push ebx
push 7
push 0x80
push dword [ebp + 8]
mov dword [ebp - 4], ebx
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x47532f
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x47531c
mov dword [ebp - 4], 1
jmp 0x47532a
cmp dword [0x4b975c], ebx
je 0x47532a
mov dword [0x4b975c], ebx
call fcn.00473b95
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00475042
add esp, 0xc
test eax, eax
je 0x47538c
cmp dword [ebp - 4], ebx
jne 0x47534c
xor eax, eax
inc eax
jmp 0x47538e
push ebx
push 0x80000020
push 3
push ebx
push 7
push 0x100
push dword [ebp + 0xc]
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x475347
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x475385
inc dword [0x4c672c]
call fcn.00473b95
jmp 0x475347
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x475661
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
mov eax, dword [0x4b22d4]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
mov esi, ecx
push edi
mov edx, esi
mov dword [esp + 0x10], esi
call fcn.00436c5d
test eax, eax
je 0x4756a6
xor eax, eax
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401317
mov esp, ebp
pop ebp
ret
call fcn.00419a8b
xor ebx, ebx
push ebx
mov edi, 0x80
push edi
push 3
push closesocket
mov eax, esi
call fcn.004753ac
mov esi, eax
add esp, 0x10
cmp esi, 0xffffffff
jne 0x47570c
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
mov eax, dword [esp + 0x10]
push 0
push edi
push 3
push 0x2000000
call fcn.004753ac
mov esi, eax
add esp, 0x10
cmp esi, 0xffffffff
jne 0x47570a
call ebx
mov ecx, dword [esp + 0x10]
push 0
mov esi, eax
call fcn.00474dec
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x47568f
xor ebx, ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
jne 0x475727
call fcn.00473b95
jmp 0x47568f
cmp eax, ebx
jbe 0x475758
push ebx
lea eax, [esp + 0x14]
push eax
push edi
lea eax, [esp + 0x24]
push eax
push esi
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x47574c
cmp dword [esp + 0x10], ebx
jne 0x475758
call fcn.00473b95
mov eax, ebx
jmp 0x475691
mov ebx, dword [esp + 0x14]
jmp 0x47574c
Function at 0x47575e
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x4b22d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x10f]
mov esi, ecx
mov edi, edx
push ebx
push eax
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x114], edi
mov byte [ebp - 0x110], bl
call fcn.00401f80
add esp, 0xc
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x128], ebx
mov dword [ebp - 0x11c], ebx
cmp esi, ebx
je 0x4757ea
cmp byte [esi], bl
je 0x4757ea
cmp edi, ebx
je 0x4757ea
cmp byte [edi], bl
je 0x4757ea
mov edi, 0x61a8
push edi
push 0x20
push 3
push 1
mov eax, esi
call fcn.004753ac
add esp, 0x10
mov dword [ebp - 0x124], eax
cmp eax, 0xffffffff
jne 0x4757fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret
push dword [ebp - 0x114]
mov ecx, 0x104
lea eax, [ebp - 0x110]
call fcn.00435b27
pop ecx
mov esi, eax
call fcn.00436761
mov edx, esi
call fcn.00436c5d
test eax, eax
jne 0x475855
mov eax, esi
push eax
call fcn.00401a80
pop ecx
mov ecx, esi
cmp byte [eax + ecx - 1], 0x5c
jne 0x475855
push dword [ebp - 0x120]
mov ecx, 0x104
mov eax, esi
call fcn.00435b27
pop ecx
push dword [ebp - 0x114]
call fcn.00437ce8
pop ecx
push edi
push 0x80000020
push 2
push 6
lea eax, [ebp - 0x110]
call fcn.004753ac
add esp, 0x10
mov dword [ebp - 0x120], eax
cmp eax, 0xffffffff
jne 0x47588e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp - 0x124]
call fcn.00473b95
jmp 0x4757ea
mov esi, 0x100000
push esi
call fcn.004028f8
mov edi, eax
pop ecx
cmp edi, ebx
je 0x475926
mov dword [ebp - 0x114], ebx
mov dword [ebp - 0x11c], ebx
push ebx
lea eax, [ebp - 0x118]
push eax
push esi
push edi
push dword [ebp - 0x124]
mov dword [ebp - 0x118], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4758dc
inc dword [0x4c69ec]
inc dword [ebp - 0x11c]
cmp dword [ebp - 0x118], ebx
jbe 0x47591d
push ebx
lea eax, [ebp - 0x128]
push eax
push dword [ebp - 0x118]
mov dword [ebp - 0x128], ebx
push edi
push dword [ebp - 0x120]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x475915
inc dword [0x4c69ec]
inc dword [ebp - 0x114]
cmp dword [ebp - 0x118], ebx
ja 0x4758b0
push edi
call fcn.00401a00
pop ecx
jmp 0x475930
mov dword [ebp - 0x114], 1
mov esi, dword [ebp - 0x120]
call fcn.00473b95
mov esi, dword [ebp - 0x124]
call fcn.00473b95
cmp dword [ebp - 0x11c], ebx
jne 0x4757ea
cmp dword [ebp - 0x114], ebx
jne 0x4757ea
xor eax, eax
inc eax
jmp 0x4757ec
Function at 0x475982
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4b22d4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x103
lea eax, [ebp - 0x10f]
push 0
push eax
mov edi, ecx
mov byte [ebp - 0x110], 0
call fcn.00401f80
add esp, 0xc
push edi
mov ecx, 0x104
lea eax, [ebp - 0x110]
call fcn.00435b27
pop ecx
mov esi, eax
call fcn.00436761
push 0
push 0x5c
call fcn.00436681
pop ecx
pop ecx
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x475a26
test al, 0x10
je 0x475a26
mov eax, esi
push 1
push eax
call fcn.00475966
mov eax, esi
push eax
call fcn.0047378e
add esp, 0xc
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x114], eax
test esi, esi
jne 0x475a1e
lea edi, [ebp - 0x110]
call fcn.00474f3d
push dword [ebp - 0x114]
jmp 0x475a3f
xor esi, esi
cmp eax, 0xffffffff
je 0x475a3d
call fcn.00474f3d
test eax, eax
je 0x475a3d
push edi
call fcn.004732c3
pop ecx
push 2
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00401317
leave
ret

Function at 0x476003
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x4b22d4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x103
lea eax, [ebp - 0x10f]
push 0
push eax
mov edi, ecx
mov byte [ebp - 0x110], 0
call fcn.00401f80
add esp, 0xc
mov edx, edi
call fcn.00436c5d
test eax, eax
je 0x476049
xor eax, eax
jmp 0x4760cd
push edi
mov ecx, 0x104
lea eax, [ebp - 0x110]
call fcn.00435b27
mov esi, eax
call fcn.004359d7
mov eax, esi
push edi
push eax
call fcn.004023a0
add esp, 0xc
test eax, eax
jne 0x476093
push edi
push eax
push eax
call fcn.0044bf6e
pop ecx
pop ecx
push eax
push 0x48de20
mov eax, esi
push 0x104
push eax
call fcn.004362e2
add esp, 0x14
mov edi, esi
push 0x1546
push str.File.c
mov edx, 0x48d22c
mov ecx, edi
call fcn.00473c34
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x476042
push esi
push 1
lea eax, [ebp + 8]
push 4
push eax
call fcn.0040257f
add esp, 0x10
mov ecx, esi
mov edi, eax
call fcn.00475e84
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00401317
leave
ret
Function at 0x4760db
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4b22d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x10f]
mov esi, ecx
push ebx
push eax
mov dword [ebp - 0x114], esi
mov edi, edx
mov dword [ebp - 0x118], ebx
mov byte [ebp - 0x110], bl
call fcn.00401f80
add esp, 0xc
cmp edi, ebx
jne 0x476128
lea edi, [ebp - 0x118]
mov edx, esi
call fcn.00436c5d
test eax, eax
je 0x47613c
mov dword [edi], ebx
xor eax, eax
jmp 0x4761d7
push esi
mov ecx, 0x104
lea eax, [ebp - 0x110]
call fcn.00435b27
mov esi, eax
call fcn.004359d7
push dword [ebp - 0x114]
mov eax, esi
push eax
call fcn.004023a0
add esp, 0xc
test eax, eax
jne 0x476196
push dword [ebp - 0x114]
push ebx
push ebx
call fcn.0044bf6e
pop ecx
pop ecx
push eax
push 0x48de20
mov eax, esi
push 0x104
push eax
call fcn.004362e2
mov eax, esi
add esp, 0x14
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp - 0x114]
push 0x1520
push str.File.c
mov edx, 0x48d1ec
call fcn.00473c34
mov esi, eax
pop ecx
pop ecx
mov dword [edi], ebx
cmp esi, ebx
je 0x476135
push esi
push 1
push 4
push edi
call fcn.00402244
add esp, 0x10
mov ecx, esi
mov edi, eax
call fcn.00475e84
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret

Function at 0x476203
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.00436c5d
test eax, eax
je 0x476220
xor eax, eax
jmp 0x4762ad
mov ecx, dword [ebp + 8]
call fcn.00475661
mov edi, eax
test edi, edi
je 0x476219
mov ecx, dword [ebp + 8]
push 0x1389
push str.File.c
mov edx, 0x48d1ec
call fcn.00473c34
mov ebx, eax
pop ecx
pop ecx
mov dword [esp + 0xc], ebx
test ebx, ebx
je 0x476219
lea eax, [edi + 0xe]
push eax
call fcn.004028f8
mov esi, eax
pop ecx
test esi, esi
jne 0x47626a
mov ecx, ebx
call fcn.00475e84
jmp 0x476219
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 0x476290
push dword [esp + 0xc]
call fcn.004019d8
pop ecx
test eax, eax
jne 0x476290
xor ebx, ebx
mov ecx, dword [esp + 0xc]
call fcn.00475e84
test ebx, ebx
jne 0x4762a9
push esi
call fcn.00401a00
pop ecx
jmp 0x476219
mov dword [esi], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x477163
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.00436c5d
test eax, eax
je 0x47717e
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
cmp dword [0x4c6710], 0
je 0x47718b
xor eax, eax
jmp 0x477179
mov ecx, dword [ebp + 8]
mov dword [0x4c6710], 1
call fcn.00475661
mov ebx, 0x80000
cmp eax, ebx
ja 0x4771b1
xor eax, eax
and dword [0x4c6710], 0
jmp 0x477179
push dword [ebp + 8]
call fcn.00476203
mov edi, eax
pop ecx
test edi, edi
jne 0x4771c5
or eax, 0xffffffff
jmp 0x4771a8
mov esi, dword [edi]
cmp esi, ebx
ja 0x4771d4
push edi
call fcn.00401a00
pop ecx
jmp 0x4771c0
lea ebx, [esi - 0x80000]
cmp byte [ebx + edi + 4], 0xa
je 0x4771ee
inc ebx
lea eax, [esi - 0x20000]
cmp ebx, eax
jb 0x4771da
jmp 0x4771ef
inc ebx
mov ecx, dword [ebp + 8]
push 0x4e8
push str.Error.c
mov edx, 0x48d22c
call fcn.00473c34
pop ecx
pop ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x4771cb
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.00475e84
push edi
call fcn.00401a00
xor eax, eax
add esp, 0x14
inc eax
jmp 0x4771a8

Function at 0x47d72b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.004113d0
mov eax, dword [0x4b22d4]
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 0x47d77d
xor eax, eax
jmp 0x47d81f
shr esi, 2
mov eax, 0x40000
mov dword [ebp - 0x1008], esi
cmp esi, eax
jbe 0x47d795
mov dword [ebp - 0x1008], eax
shr dword [ebp - 0x1008], 2
mov edi, 0x400
cmp dword [ebp - 0x1008], edi
jbe 0x47d7be
push 4
push dword [ebp - 0x1008]
call fcn.00401a3a
mov esi, eax
pop ecx
pop ecx
cmp esi, ebx
jne 0x47d7ca
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 0x47d7ff
xor ebx, ebx
test eax, eax
je 0x47d7fb
add edi, dword [esi + ebx*4]
inc ebx
cmp ebx, eax
jb 0x47d7f3
add edi, eax
jmp 0x47d7cc
test edi, edi
jne 0x47d808
test ebx, ebx
je 0x47d808
inc edi
test esi, esi
je 0x47d81d
lea eax, [ebp - 0x1004]
cmp esi, eax
je 0x47d81d
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 0x47d8d1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x4b22d4]
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 0x47d902
or eax, 0xffffffff
jmp 0x47d9ad
lea eax, [ebp - 0x54]
push eax
mov edx, str.____This_is_the_beginning_of_a_PAULA_Arkive_self_extracting_compilation.____
call fcn.0043607e
push esi
call fcn.00401e22
push esi
mov dword [ebp - 0x58], ebx
call fcn.00401e7e
add esp, 0xc
cmp eax, 0xffffffff
je 0x47d949
push 1
push eax
lea eax, [ebp - 0x58]
lea ebx, [ebp - 0x54]
call fcn.0046ff2a
pop ecx
pop ecx
test eax, eax
jne 0x47d9a6
push esi
call fcn.00401e7e
pop ecx
cmp eax, 0xffffffff
jne 0x47d927
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 0x47d8fa
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 0x47f97d
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, eax
test esi, esi
jne 0x47f99c
mov esi, dword [0x5b409c]
test esi, esi
je 0x47f9ff
call fcn.0043c705
and dword [0x5b409c], 0
jmp 0x47f9ff
mov eax, dword [0x5b409c]
test eax, eax
jne 0x47f9b5
call fcn.0043c742
mov dword [0x5b409c], eax
test eax, eax
jne 0x47f9b5
pop esi
ret
push ebx
mov ebx, dword [esi + 0x130]
push edi
mov edi, eax
call fcn.0043c8d4
test eax, eax
jne 0x47f9da
push dword [esi + 0x130]
mov ebx, dword [0x5b409c]
call fcn.0043c6f1
pop ecx
xor ebx, ebx
cmp dword [esi], ebx
jle 0x47f9fd
lea edi, [esi + 4]
mov eax, dword [edi]
call fcn.0047f715
test eax, eax
je 0x47f9f5
mov ecx, dword [edi]
call fcn.0047f7f6
inc ebx
add edi, 4
cmp ebx, dword [esi]
jl 0x47f9e3
pop edi
pop ebx
xor eax, eax
inc eax
pop esi
ret
Function at 0x480b57
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 [0x4b22d4]
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.0044bacf
test eax, eax
je 0x480b8b
xor eax, eax
jmp 0x480d62
xor ebx, ebx
mov esi, str.Sound.c
cmp dword [0x5b4098], ebx
jne 0x480cbd
cmp dword [0x5b41ac], ebx
jne 0x480cbd
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 [0x5b41ac], 1
call fcn.004733ea
test eax, eax
jne 0x480c5e
mov eax, edi
push str.TempDummySound.wav
push eax
call fcn.00401ba0
pop ecx
pop ecx
push 0x52
push esi
mov edx, 0x48d22c
lea ecx, [esp + 0x58]
call fcn.00473c34
mov edi, eax
pop ecx
pop ecx
cmp edi, ebx
je 0x480c90
push edi
push 0x3a
lea eax, [esp + 0x1c]
push 1
push eax
call fcn.0040257f
add esp, 0x10
mov ecx, edi
call fcn.00475e84
lea eax, [esp + 0x50]
push eax
call fcn.00480b57
pop ecx
test eax, eax
jne 0x480cb7
lea eax, [esp + 0x50]
push str.SoundsNotifyWinIllegalKey.wav
push eax
call fcn.0044bd82
push eax
call fcn.00480b57
add esp, 0xc
mov dword [0x5b41ac], ebx
push 1
push 0x724
call fcn.00401a3a
mov edi, eax
pop ecx
pop ecx
cmp edi, ebx
je 0x480b84
cmp dword [0x5b4098], ebx
jne 0x480ce7
call fcn.0043c742
mov dword [0x5b4098], eax
mov ebx, dword [0x5b4098]
push edi
call fcn.0043c6f1
cmp dword [0x5b4098], 0
pop ecx
jne 0x480d09
push edi
call fcn.00401a00
pop ecx
jmp 0x480b84
lea ebx, [edi + 0x564]
push esi
push ebx
call fcn.0047173f
pop ecx
pop ecx
mov esi, str.A_Sound_handle_had_to_be_forced_to_unlock___
mov eax, ebx
call fcn.004715ca
mov eax, 0xdac
mov ecx, ebx
call fcn.004715b7
mov eax, edi
call fcn.0047f43d
mov edx, dword [esp + 0x10]
call fcn.00436c5d
test eax, eax
jne 0x480d60
push dword [esp + 0x10]
mov ecx, edi
call fcn.004805ca
pop ecx
test eax, eax
jne 0x480d60
mov eax, edi
call fcn.0047fef0
jmp 0x480b84
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