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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
mov eax, dword [0x5345d0]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
mov edx, edi
mov dword [esp + 0x14], edi
call fcn.0047c3ca
test eax, eax
je 0x41b704
xor eax, eax
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004b4c95
mov esp, ebp
pop ebp
ret
call fcn.004a4ba8
push ebx
push dword [ebp + 8]
mov esi, 0x80
push esi
push 3
push closesocket
push edi
mov dword [esp + 0x24], eax
call fcn.0041948d
mov edi, eax
add esp, 0x18
cmp edi, 0xffffffff
jne 0x41b7dc
call dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
mov dword [esp + 0x10], eax
je 0x41b745
cmp dword [ebx], 0
jne 0x41b759
cmp dword [ebp + 8], 0
je 0x41b75f
call fcn.004a4ba8
sub eax, dword [esp + 0xc]
cmp eax, dword [ebp + 8]
jb 0x41b75f
push dword [esp + 0x10]
jmp 0x41b7d1
push ebx
push dword [ebp + 8]
push esi
push 3
push 0x2000000
push dword [esp + 0x28]
call fcn.0041948d
mov edi, eax
add esp, 0x18
cmp edi, 0xffffffff
jne 0x41b7dc
call dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
mov esi, eax
je 0x41b78f
cmp dword [ebx], 0
jne 0x41b7d0
cmp dword [ebp + 8], 0
je 0x41b7a3
call fcn.004a4ba8
sub eax, dword [esp + 0xc]
cmp eax, dword [ebp + 8]
jae 0x41b7d0
push dword [ebp + 8]
mov ecx, dword [esp + 0x18]
call fcn.0041b10f
test eax, eax
pop ecx
je 0x41b7d0
push esi
push str._GetLastError_
push esi
push dword [esp + 0x1c]
push dword [esp + 0x24]
push str.:8:GetFileSizeTimeOut___Seems_to_have_failed_because_of_an_access_rights_problem_:___s_:__u:_u:__s_ld
call fcn.004178df
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x41b6ed
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x41b81a
xor eax, eax
test ebx, ebx
je 0x41b7f6
mov eax, dword [ebx]
push str._GetLastError_
push eax
push dword [ebp + 8]
push dword [esp + 0x20]
push str.:7:GetFileSizeTimeOut___s____ld___d__FAILED:__s
call fcn.00417db7
add esp, 0x14
call fcn.0041d762
jmp 0x41b6ed
xor ebx, ebx
cmp eax, ebx
jbe 0x41b870
push ebx
lea eax, [esp + 0x10]
push eax
push esi
lea eax, [esp + 0x24]
push eax
push edi
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41b841
cmp dword [esp + 0xc], ebx
jne 0x41b870
push str._GetLastError_
push dword [esp + 0x10]
push dword [esp + 0x18]
push dword [ebp + 8]
push dword [esp + 0x24]
push str.:7:GetFileSizeTimeOut___s____ld__FAILED:_GetFileSize___returned__ld_but_ReadFile_____ldBytesRead__FAILED:__s
call fcn.004178df
add esp, 0x18
xor esi, esi
call fcn.0041d762
mov eax, esi
jmp 0x41b6ef
mov esi, dword [esp + 0x10]
jmp 0x41b864
Function at 0x41c23c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov edx, edi
call fcn.0047c3ca
test eax, eax
je 0x41c25b
xor eax, eax
jmp 0x41c307
push 0
xor edx, edx
mov ecx, edi
call fcn.0041b6bd
mov esi, eax
test esi, esi
pop ecx
je 0x41c254
push 0x138d
push str..File.c
mov edx, 0x4d3128
mov ecx, edi
call fcn.0041cea8
mov ebx, eax
test ebx, ebx
pop ecx
pop ecx
mov dword [esp + 0xc], ebx
jne 0x41c29e
push edi
push str.:6:LoadFileToMemory___s___FAILED:_fopen___failed_even_after_GetFileSizeTimeOut___succeeded___
call fcn.004178df
pop ecx
pop ecx
jmp 0x41c254
lea eax, [esi + 0xe]
push eax
call fcn.004b5967
mov edi, eax
test edi, edi
pop ecx
jne 0x41c2c8
push esi
push dword [ebp + 8]
push str.:5:LoadFileToMemory___s___FAILED:_malloc___failed_to_allocate_over__u_bytes:_OUT_OF_MEMORY.
call fcn.004178df
add esp, 0xc
mov ecx, ebx
call fcn.0041d2f0
jmp 0x41c254
push ebx
push esi
lea eax, [edi + 4]
push 1
push eax
call fcn.004b56f6
mov ebx, eax
add esp, 0x10
cmp ebx, esi
jae 0x41c2ee
push dword [esp + 0xc]
call fcn.004b53a9
test eax, eax
pop ecx
jne 0x41c2ee
xor ebx, ebx
mov ecx, dword [esp + 0xc]
call fcn.0041d2f0
test ebx, ebx
jne 0x41c303
push edi
call fcn.004b4080
jmp 0x41c29b
mov dword [edi], ebx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41c30e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and word [ebp - 0x10], 0
push esi
push edi
mov esi, eax
xor eax, eax
lea edi, [ebp - 0xe]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edx, esi
stosw word es:[edi], ax
call fcn.0047c3ca
test eax, eax
je 0x41c339
xor eax, eax
jmp 0x41c3c9
call fcn.004a4ba8
mov edi, eax
lea eax, [ebp - 0x10]
push eax
call fcn.004a5840
push 0
xor edx, edx
mov ecx, esi
call fcn.0041b6bd
pop ecx
jmp 0x41c37b
push 0xfa
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.004a4ba8
sub eax, edi
cmp eax, 0x7530
ja 0x41c380
push 0
xor edx, edx
mov ecx, esi
call fcn.0041b6bd
test eax, eax
pop ecx
ja 0x41c357
push 0x140e
push str..File.c
mov edx, 0x4d36e8
mov ecx, esi
call fcn.0041cea8
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x41c332
push esi
push 1
push 0x14
push str.ThisIsAFileLockxxxx
call fcn.004b43ca
push esi
push 1
lea eax, [ebp - 0x10]
push 0x10
push eax
call fcn.004b43ca
add esp, 0x20
mov ecx, esi
mov edi, eax
call fcn.0041d2f0
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x41c3cd
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x20
mov eax, dword [0x5345d0]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x2c]
push esi
push edi
push 5
pop ecx
mov esi, str.ThisIsAFileLockxxxx
lea edi, [esp + 0x18]
mov dword [esp + 0x14], ebp
rep movsd dword es:[edi], dword [esi]
call fcn.004a4ba8
mov edx, ebp
mov dword [esp + 0x10], eax
call fcn.0047c3ca
test eax, eax
jne 0x41c4e7
mov edi, ebp
call fcn.0041b048
test eax, eax
jne 0x41c41e
inc eax
jmp 0x41c4e9
push 0x1493
mov ebx, str..File.c
mov edi, 0x4d3128
push ebx
mov edx, edi
mov ecx, ebp
call fcn.0041cea8
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, eax
test esi, esi
pop ecx
pop ecx
jne 0x41c45e
push 0x64
call ebp
mov ecx, dword [esp + 0x14]
push 0x1497
push ebx
mov edx, edi
call fcn.0041cea8
pop ecx
pop ecx
mov esi, eax
lea eax, [esp + 0x18]
call fcn.0047c34d
xor edi, edi
inc edi
test esi, esi
je 0x41c482
push esi
push edi
push 0x14
push eax
call fcn.004b56f6
add esp, 0x10
mov ecx, esi
call fcn.0041d2f0
lea eax, [esp + 0x18]
push str.ThisIsAFileLockxxxx
push eax
call fcn.004b5890
test eax, eax
pop ecx
pop ecx
jne 0x41c4e7
mov ebx, dword [esp + 0x14]
mov eax, ebx
call fcn.0041aa09
test eax, eax
je 0x41c4aa
mov eax, edi
jmp 0x41c4e9
push 0x64
call ebp
call fcn.004a4ba8
sub eax, dword [esp + 0x10]
mov esi, 0x2710
cmp eax, esi
jae 0x41c4cb
mov eax, ebx
call fcn.0041aa09
test eax, eax
jne 0x41c4a6
push 0x64
call ebp
call fcn.004a4ba8
sub eax, dword [esp + 0x10]
cmp eax, esi
jae 0x41c4e7
mov eax, ebx
call fcn.0041aa09
test eax, eax
jne 0x41c4a6
xor eax, eax
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b4c95
add esp, 0x20
ret

Function at 0x41c4fc
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x5345d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x103
lea eax, [ebp - 0x10f]
mov esi, edx
push 0
push eax
mov edi, ecx
mov dword [ebp - 0x114], esi
mov byte [ebp - 0x110], 0
call fcn.004b53e0
add esp, 0xc
test esi, esi
je 0x41c5dd
mov edx, edi
call fcn.0047c3ca
test eax, eax
jne 0x41c5dd
push edi
mov ecx, 0x104
lea eax, [ebp - 0x110]
call fcn.0047c3fc
mov esi, eax
call fcn.0047c6f9
mov eax, esi
push edi
push eax
call fcn.004b5890
add esp, 0xc
test eax, eax
jne 0x41c599
push edi
push eax
push eax
call fcn.0045e8df
pop ecx
pop ecx
push eax
push 0x4d5d50
mov eax, esi
push 0x104
push eax
call fcn.0047da40
add esp, 0x14
mov edi, esi
push 0x14cc
push str..File.c
mov edx, 0x4d3128
mov ecx, edi
call fcn.0041cea8
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x41c5dd
push edi
push 1
push 0x64
push dword [ebp - 0x114]
call fcn.004b56f6
mov esi, eax
add esp, 0x10
neg esi
sbb esi, esi
mov ecx, edi
neg esi
call fcn.0041d2f0
mov eax, esi
jmp 0x41c5df
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004b4c95
leave
ret
Function at 0x41c5ed
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x5345d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
push 0x103
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0x10f]
push 0
push eax
mov edi, ecx
mov byte [ebp - 0x110], 0
call fcn.004b53e0
add esp, 0xc
mov edx, edi
call fcn.0047c3ca
test eax, eax
je 0x41c63c
xor eax, eax
jmp 0x41c6dc
push edi
mov ecx, 0x104
lea eax, [ebp - 0x110]
call fcn.0047c3fc
pop ecx
mov esi, eax
call fcn.0047c6f9
mov eax, esi
push edi
push eax
call fcn.004b5890
test eax, eax
pop ecx
pop ecx
jne 0x41c686
push edi
push eax
push eax
call fcn.0045e8df
pop ecx
pop ecx
push eax
push 0x4d5d50
mov eax, esi
push 0x104
push eax
call fcn.0047da40
add esp, 0x14
mov edi, esi
cmp dword [ebp - 0x114], 0
je 0x41c6d1
push 0x14ec
push str..File.c
mov edx, 0x4d36e8
mov ecx, edi
call fcn.0041cea8
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x41c635
push edi
push 1
push 0x64
push dword [ebp - 0x114]
call fcn.004b43ca
mov esi, eax
add esp, 0x10
neg esi
sbb esi, esi
mov ecx, edi
neg esi
call fcn.0041d2f0
jmp 0x41c6da
mov eax, edi
call fcn.0041aa09
mov esi, eax
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004b4c95
leave
ret

Function at 0x41c707
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x5345d0]
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.004b53e0
add esp, 0xc
cmp edi, ebx
jne 0x41c754
lea edi, [ebp - 0x118]
mov edx, esi
call fcn.0047c3ca
test eax, eax
je 0x41c768
mov dword [edi], ebx
xor eax, eax
jmp 0x41c803
push esi
mov ecx, 0x104
lea eax, [ebp - 0x110]
call fcn.0047c3fc
mov esi, eax
call fcn.0047c6f9
push dword [ebp - 0x114]
mov eax, esi
push eax
call fcn.004b5890
add esp, 0xc
test eax, eax
jne 0x41c7c2
push dword [ebp - 0x114]
push ebx
push ebx
call fcn.0045e8df
pop ecx
pop ecx
push eax
push 0x4d5d50
mov eax, esi
push 0x104
push eax
call fcn.0047da40
mov eax, esi
add esp, 0x14
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp - 0x114]
push 0x1524
push str..File.c
mov edx, 0x4d3128
call fcn.0041cea8
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
mov dword [edi], ebx
je 0x41c761
push esi
push 1
push 4
push edi
call fcn.004b56f6
add esp, 0x10
mov ecx, esi
mov edi, eax
call fcn.0041d2f0
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b4c95
leave
ret
Function at 0x41c812
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x5345d0]
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.004b53e0
add esp, 0xc
mov edx, edi
call fcn.0047c3ca
test eax, eax
je 0x41c858
xor eax, eax
jmp 0x41c8dc
push edi
mov ecx, 0x104
lea eax, [ebp - 0x110]
call fcn.0047c3fc
mov esi, eax
call fcn.0047c6f9
mov eax, esi
push edi
push eax
call fcn.004b5890
add esp, 0xc
test eax, eax
jne 0x41c8a2
push edi
push eax
push eax
call fcn.0045e8df
pop ecx
pop ecx
push eax
push 0x4d5d50
mov eax, esi
push 0x104
push eax
call fcn.0047da40
add esp, 0x14
mov edi, esi
push 0x154a
push str..File.c
mov edx, 0x4d36e8
mov ecx, edi
call fcn.0041cea8
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x41c851
push esi
push 1
lea eax, [ebp + 8]
push 4
push eax
call fcn.004b43ca
add esp, 0x10
mov ecx, esi
mov edi, eax
call fcn.0041d2f0
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004b4c95
leave
ret
Function at 0x41cdd5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov eax, dword [0x5345d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, 0x103
xor ebx, ebx
push esi
lea eax, [ebp - 0x14f]
push ebx
push eax
mov byte [ebp - 0x150], bl
call fcn.004b53e0
push 0x3f
lea eax, [ebp - 0x47]
push ebx
push eax
mov byte [ebp - 0x48], bl
call fcn.004b53e0
add esp, 0x18
cmp edi, ebx
je 0x41ce98
mov eax, edi
call fcn.0047c34d
push 0x21e88e
lea eax, [esi - 0x25]
call fcn.0043ec82
push eax
push str.P2_Tmp__d
lea eax, [ebp - 0x48]
push 0x40
push eax
call fcn.0047da40
add esp, 0x14
lea eax, [ebp - 0x150]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x41ce61
push str._GetLastError_
push str.:2:CreateTempFile___FAILED:_GetTempPath___FAILED:__s
jmp 0x41ce91
push edi
push ebx
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x150]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
je 0x41ce87
mov edx, edi
call fcn.0047c3ca
test eax, eax
jne 0x41ce87
mov eax, edi
jmp 0x41ce9a
push str._GetLastError_
push str.:2:CreateTempFile___FAILED:_GetTempFileName___FAILED:__s
call fcn.004178df
pop ecx
pop ecx
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004b4c95
leave
ret
Function at 0x41d5ba
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x5345d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
push edi
xor ebx, ebx
push 0x103
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 0x107]
push ebx
push eax
mov esi, ecx
mov byte [ebp - 0x108], bl
call fcn.004b53e0
push 0x1c8
push 1
call fcn.004b422c
mov edi, eax
add esp, 0x14
cmp edi, ebx
jne 0x41d617
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x41d6fb
mov eax, dword [0x54e658]
cmp eax, ebx
jne 0x41d62a
call fcn.0046ed85
mov dword [0x54e658], eax
push edi
call fcn.0046ee6e
cmp dword [0x54e658], ebx
pop ecx
jne 0x41d64d
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
push edi
call fcn.004b4080
pop ecx
jmp 0x41d6fb
push 0xc
lea eax, [edi + 4]
push ebx
push eax
mov dword [edi], ebx
call fcn.004b53e0
mov eax, dword [ebp + 8]
mov dword [edi + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x14], eax
mov eax, dword [ebp + 0x10]
push esi
mov dword [edi + 0x18], eax
push 0x40
lea eax, [edi + 0x24]
pop ecx
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], ebx
call fcn.0047c3fc
push dword [ebp - 0x10c]
mov ecx, 0x104
lea eax, [ebp - 0x108]
call fcn.0047c3fc
mov esi, eax
call fcn.0047c6f9
mov eax, esi
push eax
push 0x40
lea eax, [edi + 0x64]
pop ecx
call fcn.0047c3fc
mov eax, dword [ebp + 0x18]
add esp, 0x18
mov dword [edi + 0xa4], eax
mov dword [edi + 0xb0], ebx
call fcn.004a4ba8
mov dword [edi + 0xb4], eax
lea eax, [edi + 0xb8]
call fcn.0047c34d
push ebx
push ebx
push edi
push 0x41d57a
push dword [ebp + 8]
mov dword [edi + 0xac], ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
mov dword [edi + 0xa8], eax
jne 0x41d6fd
mov eax, edi
call fcn.0041d534
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b4c95
leave
ret 0x14

Function at 0x41d70e
Capabilities:
Terminate thread

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, dword [0x54e658]
push edi
xor ebx, ebx
call fcn.0046f129
xor edi, edi
jmp 0x41d743
cmp edi, 0x56ce
jge 0x41d74b
cmp ebp, dword [eax + 0xa8]
je 0x41d749
mov esi, dword [0x54e658]
call fcn.0046f18a
inc edi
test eax, eax
jne 0x41d727
jmp 0x41d74b
mov ebx, eax
mov eax, ebx
call fcn.0041d534
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x42124d
Capabilities:
Log keystrokes via polling

Disassembly:
push dword [esp + 4]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx eax, ax
movzx eax, ax
shr eax, 0xf
ret
Function at 0x426d5f
Capabilities:
Terminate process

Disassembly:
push ecx
push ebx
push ebp
push esi
xor ebp, ebp
push edi
xor eax, eax
cmp dword [eax*4 + 0x629030], ebp
je 0x426d77
inc eax
cmp eax, 2
jl 0x426d68
xor ebx, ebx
cmp eax, 2
mov edi, 0x6cc5c
jge 0x426e49
mov esi, eax
imul esi, esi, 0x6cc5c
add esi, 0x54f778
inc ebx
mov dword [eax*4 + 0x629030], ebx
push edi
push ebp
push esi
call fcn.004b53e0
add esp, 0xc
push 0x64
lea ecx, [esi + 0x4c0]
lea eax, [esi + 0x32c]
pop edx
mov dword [eax - 0x194], ecx
mov dword [eax], ecx
add eax, 4
dec edx
jne 0x426db7
push ebp
push ebp
mov dword [esi + 0x37608], ebx
call fcn.0045e8df
push eax
push 0x4d45f8
mov edi, 0x104
lea eax, [esi + 0x240c]
push edi
push eax
call fcn.0047da40
add esp, 0x18
push str.PC.dat
push ebp
push ebp
call fcn.0045e70f
pop ecx
pop ecx
push eax
mov ebx, 0x4d5d50
push ebx
lea eax, [esi + 0x22a8]
push edi
push eax
call fcn.0047da40
add esp, 0x14
push str.PEC.dat
push ebp
push ebp
call fcn.0045e70f
pop ecx
pop ecx
push eax
push ebx
lea eax, [esi + 0x21a4]
push edi
push eax
call fcn.0047da40
add esp, 0x14
xor eax, eax
call fcn.00426ea4
cmp eax, ebp
jne 0x426e84
push str.:9:CreatePaula___encountered_a_serious_exception._The_paula_pointer_register_could_not_be_obtained.__The_paula_object_has_been_created_but_will_not_be_able_to_be_deleted_
call fcn.00417db7
jmp 0x426e8a
push edi
inc ebx
push ebx
call fcn.004b422c
mov esi, eax
cmp esi, ebp
pop ecx
pop ecx
jne 0x426d9d
push str._n_nERROR:_OUT_OF_MEMORY__Could_not_create_PAULA_object_
call fcn.0040d9a8
pop ecx
push edi
push str.:9:CreatePaula___FAILED:_Out_of_memory:_calloc_1___d__FAILED.
call fcn.004178df
pop ecx
pop ecx
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
jmp 0x426e9e
push esi
call fcn.0046ee6e
pop ecx
push esi
call fcn.004373e5
pop ecx
mov ecx, 0x43a236
call fcn.0044019e
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x43784d
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x5345d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x103
xor ebx, ebx
lea eax, [ebp - 0x10f]
push ebx
push eax
mov byte [ebp - 0x110], 0
call fcn.004b53e0
add esp, 0xc
push 5
call fcn.0040d9a8
pop ecx
call fcn.004771d6
test eax, eax
je 0x437a58
mov eax, dword [ebp + 8]
dec eax
je 0x4379b2
dec eax
dec eax
je 0x43792d
dec eax
je 0x437a58
dec eax
je 0x437a58
push ebx
push ebx
call fcn.0045e70f
push eax
lea eax, [ebp - 0x110]
push str._sSoundsPaulaLeft.wav
push eax
call fcn.004b532e
add esp, 0x14
lea edi, [ebp - 0x110]
call fcn.0041b048
test eax, eax
je 0x43790b
push 1
call fcn.0047acbe
test eax, eax
pop ecx
je 0x4378f8
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x20001
push ebx
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.WINMM.dll_PlaySoundA]
push 0x4f1b58
call fcn.0040d9a8
mov dword [esp], str._n___Paula_has_left_the_building.__She_is_no_longer_here.
call fcn.0040d9a8
mov dword [esp], str._n___Please_press_any_key_to_terminate_this_window...
jmp 0x437a30
push ebx
push ebx
call fcn.0045e70f
push eax
lea eax, [ebp - 0x110]
push str._sSoundsPaulaLeft.wav
push eax
call fcn.004b532e
add esp, 0x14
lea edi, [ebp - 0x110]
call fcn.0041b048
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, 0x3e8
je 0x437985
push 1
call fcn.0047acbe
test eax, eax
pop ecx
je 0x437972
push edi
call esi
push 0x20001
push ebx
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.WINMM.dll_PlaySoundA]
call fcn.0040ca66
push str._n_nPAULA_has_left..._n
call fcn.0040ebcf
pop ecx
push 3
pop ebx
push ebx
push str._rThis_screen_will_terminate_in__d_seconds.
call fcn.0040ebcf
pop ecx
pop ecx
push edi
call esi
dec ebx
test ebx, ebx
jg 0x437998
jmp 0x437a58
push ebx
push ebx
call fcn.0045e70f
push eax
lea eax, [ebp - 0x110]
push str._sSoundsPaulaLeft.wav
push eax
call fcn.004b532e
add esp, 0x14
lea edi, [ebp - 0x110]
call fcn.0041b048
test eax, eax
je 0x437a07
push 1
call fcn.0047acbe
test eax, eax
pop ecx
je 0x4379f4
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x20001
push ebx
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.WINMM.dll_PlaySoundA]
push 0x4f1b58
call fcn.0040d9a8
mov dword [esp], str._n___Paula_has_left_the_building.__She_is_no_longer_here.
call fcn.0040d9a8
mov dword [esp], str._n___You_will_have_to_reclick_Paula_to_get_her_to_come_back.
call fcn.0040d9a8
mov dword [esp], str._n___Press_any_key_to_close_this_window...
call fcn.0040d9a8
mov dword [esp], str._n_n_n_n
call fcn.0040d9a8
mov dword [esp], str.Press_any_key_to_exit..._n_n_n_n_n_n_n
call fcn.0040d9a8
pop ecx
mov eax, 0xea60
call fcn.00421fd0
call fcn.004373d9
push dword [ebp + 8]
call fcn.004b7eef
int3
Function at 0x43f0ba
Capabilities:
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x5345d0]
xor eax, ebp
mov dword [ebp + 0x88], eax
mov eax, dword [ebp + 0x98]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp esi, ebx
push edi
mov dword [ebp - 0x80], eax
jg 0x43f0ee
mov esi, 0x200
push 1
push 0x1f0
call fcn.004b422c
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
jne 0x43f109
xor eax, eax
jmp 0x43f1f9
lea eax, [esi + 0xa]
push eax
push 1
call fcn.004b422c
cmp eax, ebx
pop ecx
pop ecx
mov dword [edi], eax
jne 0x43f125
push edi
call fcn.004b4080
pop ecx
jmp 0x43f102
inc dword [0x62b210]
mov eax, dword [0x62b210]
mov dword [edi + 0x2c], eax
mov eax, dword [0x62b20c]
cmp eax, ebx
mov dword [edi + 4], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 8], esi
jne 0x43f14f
call fcn.0046ed85
mov dword [0x62b20c], eax
push edi
call fcn.0046ee6e
cmp dword [0x62b20c], ebx
pop ecx
jne 0x43f16e
push dword [edi]
call fcn.004b4080
push edi
call fcn.004b4080
pop ecx
jmp 0x43f122
lea ebx, [edi + 0x30]
push str..Message.c
push ebx
call fcn.0041f4a2
test eax, eax
pop ecx
pop ecx
jne 0x43f18d
push str.:5:CreateMessage___EAP:_InitializeLock___FAILED.
call fcn.004178df
pop ecx
mov esi, str.A_Message_handle_had_to_be_forced_to_unlock___
mov eax, ebx
call fcn.0041f7a1
mov eax, 0x7d0
mov ecx, ebx
call fcn.0041f7de
cmp dword [ebp - 0x80], 0
mov eax, dword [ebp + 0x94]
mov dword [edi + 0x10], eax
je 0x43f1f0
push 0x103
lea eax, [ebp - 0x7b]
push 0
push eax
mov byte [ebp - 0x7c], 0
call fcn.004b53e0
push dword [ebp - 0x80]
mov ecx, 0x104
lea eax, [ebp - 0x7c]
call fcn.0047c3fc
mov esi, eax
call fcn.0047c6f9
mov eax, esi
push eax
push 0x16
lea eax, [edi + 0x14]
pop ecx
call fcn.0047c3fc
add esp, 0x14
mov eax, edi
call fcn.0043ff67
mov eax, edi
mov ecx, dword [ebp + 0x88]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b4c95
add ebp, 0x8c
leave
ret
Function at 0x43fae4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
cmp ebx, edi
mov esi, eax
je 0x43fb57
cmp byte [ebx], 0
je 0x43fb57
call fcn.0043f31a
test eax, eax
je 0x43fb57
mov eax, esi
call fcn.0043ff51
test eax, eax
je 0x43fb57
cmp dword [ebp + 0xc], edi
mov dword [esp + 0xc], 1
mov ecx, ebx
je 0x43fb60
push edi
xor edx, edx
call fcn.0041b6bd
test eax, eax
pop ecx
jbe 0x43fb32
mov dword [esp + 0xc], edi
push 0x4ad
mov edx, 0x4de464
mov ecx, ebx
push str..Message.c
call fcn.0041cea8
mov ebx, eax
cmp ebx, edi
pop ecx
pop ecx
jne 0x43fb6c
mov eax, esi
call fcn.0043ff67
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x4b2
mov edx, 0x4d93ac
jmp 0x43fb3e
cmp dword [esi + 4], edi
jle 0x43fbdd
cmp dword [ebp + 0xc], edi
je 0x43fb89
cmp dword [esp + 0xc], edi
jne 0x43fb89
push ebx
push 0xa
call fcn.004b51ef
pop ecx
xor edi, edi
pop ecx
inc edi
push ebx
push dword [esi + 4]
push 1
push dword [esi]
call fcn.004b43ca
mov ecx, dword [esi + 4]
add edi, eax
add esp, 0x10
cmp edi, ecx
jge 0x43fbdd
mov eax, dword [esi]
call fcn.0047c3ec
test eax, eax
jne 0x43fbdd
inc dword [0x62b214]
cmp dword [0x62b214], 2
jge 0x43fbd1
push ecx
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.:4:PrintMessageToFile___s____d__FAILED:_fprintf____d____d_FAILED.
call fcn.00417db7
add esp, 0x14
mov ecx, ebx
call fcn.0041d2f0
jmp 0x43fb50
mov ecx, ebx
call fcn.0041d2f0
mov eax, esi
call fcn.0043ff67
xor eax, eax
inc eax
jmp 0x43fb59