joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44fa84
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x5065d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x3f
xor ebx, ebx
lea eax, [ebp - 0x47]
mov esi, ecx
push ebx
push eax
mov dword [ebp - 0x50], esi
mov byte [ebp - 0x48], 0
call fcn.004ab5d0
add esp, 0xc
call fcn.0049c471
cmp esi, ebx
je 0x44fabc
mov dword [esi], ebx
push ebx
call fcn.0044f4cd
mov edi, eax
cmp edi, ebx
pop ecx
je 0x44fb62
mov ecx, edi
mov dword [ebp - 0x4c], ebx
call fcn.0044f754
push eax
push str.SELECT_TENDER_TYPE_ACCEPTED_FROM_TENDER_TYPE_PROFILE_WHERE_LOC_d
push edi
call fcn.0044e69e
add esp, 0xc
test eax, eax
je 0x44fb38
push 1
push 9
push 0x3f
lea eax, [ebp - 0x48]
push eax
push edi
call fcn.0044e789
jmp 0x44fb2e
cmp ebx, 0xde
jge 0x44fb35
lea esi, [ebp - 0x48]
call fcn.004796e4
test eax, eax
je 0x44fb1a
xor eax, eax
inc eax
mov ecx, ebx
shl eax, cl
or dword [ebp - 0x4c], eax
push 1
push 9
push 0x3f
lea eax, [ebp - 0x48]
push eax
push edi
inc ebx
call fcn.0044e789
mov esi, dword [ebp - 0x50]
add esp, 0x14
test eax, eax
jne 0x44fafc
mov ebx, dword [ebp - 0x4c]
push edi
call fcn.0044e459
test esi, esi
pop ecx
je 0x44fb45
mov dword [esi], ebx
test bl, 1
je 0x44fb62
test bl, 2
je 0x44fb62
test bl, 8
je 0x44fb5e
test bl, 0x10
je 0x44fb5e
test bl, 4
jne 0x44fb62
xor eax, eax
jmp 0x44fb65
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004aaeb5
leave
ret
Function at 0x454bdf
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x454cb4
cmp dword [esi + 4], ebx
jle 0x454cb4
push edi
call fcn.0046aaee
cmp dword [esi + 4], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
jle 0x454c61
lea eax, [esi + 0x40]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movsx ebx, word [eax]
mov edi, dword [ebp - 8]
call fcn.0046ae77
test eax, eax
mov edi, dword [ebp - 0xc]
jne 0x454c35
movsx eax, word [edi]
mov ebx, dword [ebp - 8]
push eax
call fcn.0046aba0
pop ecx
cmp word [edi + 6], 0
jle 0x454c4b
movsx ebx, word [edi]
push 1
push dword [ebp - 8]
call fcn.0046aee9
pop ecx
pop ecx
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
add edi, 0x90
cmp eax, dword [esi + 4]
mov dword [ebp - 0xc], edi
jl 0x454c13
xor ebx, ebx
cmp dword [esi + 4], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
jle 0x454ca6
lea eax, [esi + 0x63]
mov dword [ebp - 0xc], eax
jmp 0x454c79
mov eax, dword [ebp - 0xc]
xor ebx, ebx
mov edi, dword [ebp - 8]
mov byte [eax], bl
movsx ebx, word [eax - 0x23]
call fcn.0046b00f
test eax, eax
je 0x454c94
mov eax, dword [ebp - 0xc]
inc dword [ebp - 0x10]
mov byte [eax], 1
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
add dword [ebp - 0xc], 0x90
cmp eax, dword [esi + 4]
jl 0x454c74
mov esi, dword [ebp - 8]
call fcn.0046ab63
mov eax, dword [ebp - 0x10]
pop edi
jmp 0x454cb7
or eax, 0xffffffff
pop esi
pop ebx
leave
ret
Function at 0x45a7a8
Capabilities:
Query environment variable

Disassembly:
push ebx
mov ebx, eax
test ebx, ebx
push esi
push edi
jne 0x45a7c5
cmp dword [esp + 0x10], eax
je 0x45a7c5
cmp dword [esp + 0x10], 0xffffffff
je 0x45a7c5
call fcn.0045aeba
mov ebx, eax
mov esi, 0x601588
mov edx, esi
call fcn.00476b3a
test eax, eax
mov edi, 0x104
je 0x45a814
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push edi
push esi
push str.APPDATA
call ebp
test eax, eax
jne 0x45a80c
push edi
push esi
push str.SystemDrive
call ebp
test eax, eax
jne 0x45a813
push 0x4e726c
mov ecx, edi
mov eax, esi
call fcn.00476b6c
pop ecx
jmp 0x45a813
mov byte [0x60158a], 0
pop ebp
push esi
mov esi, 0x601690
mov ecx, edi
mov eax, esi
call fcn.00476b6c
test ebx, ebx
pop ecx
je 0x45a866
push esi
push ebx
call fcn.004aa9a0
push esi
call fcn.004aa880
mov ecx, dword [esp + 0x1c]
add esp, 0xc
test ecx, ecx
je 0x45a864
cmp ecx, 0xffffffff
je 0x45a864
lea edx, [esp + 0x14]
push edx
push ecx
sub edi, eax
add eax, ebx
push edi
push eax
call fcn.004ac225
add esp, 0x10
test eax, eax
jge 0x45a864
mov byte [ebx + 0x103], 0
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x45aa3a
Capabilities:
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x5065d0]
xor eax, ebp
mov dword [ebp + 0x88], eax
mov eax, dword [ebp + 0x94]
push ebx
xor ebx, ebx
cmp eax, ebx
push esi
push edi
mov dword [ebp - 0x80], eax
jne 0x45aa80
cmp dword [ebp + 0x98], ebx
je 0x45aa80
cmp dword [ebp + 0x98], 0xffffffff
je 0x45aa80
call fcn.0045aeba
mov dword [ebp - 0x80], eax
mov eax, fcn.0045a93b
cmp eax, fcn.0045aa3a
mov esi, 0x601cc0
mov edi, 0x104
mov edx, esi
je 0x45aadd
call fcn.00476b3a
test eax, eax
jne 0x45aaad
cmp dword [0x60157c], ebx
je 0x45ab75
push edi
push ebx
push esi
call fcn.004ab5d0
push ebx
push ebx
mov dword [0x60157c], ebx
call fcn.0045a93b
push eax
push str._sPAULA_
push edi
push esi
call fcn.004781b1
push esi
call fcn.004aa880
add esp, 0x28
jmp 0x45ab70
call fcn.00476b3a
test eax, eax
jne 0x45aaf2
cmp dword [0x60157c], ebx
je 0x45ab75
push edi
push ebx
push esi
call fcn.004ab5d0
add esp, 0xc
push edi
lea eax, [ebp - 0x7c]
push eax
mov dword [0x60157c], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push str.APPDATA
call ebx
test eax, eax
jne 0x45ab49
push edi
lea eax, [ebp - 0x7c]
push eax
push str.USERPROFILE
call ebx
test eax, eax
jne 0x45ab49
push edi
lea eax, [ebp - 0x7c]
push eax
push str.ProgramData
call ebx
test eax, eax
jne 0x45ab49
push str.C:ProgramData
mov ecx, edi
lea eax, [ebp - 0x7c]
call fcn.00476b6c
pop ecx
lea eax, [ebp - 0x7c]
push 0x4ce74c
push eax
call fcn.004aa9b0
lea eax, [ebp - 0x7c]
push eax
push str._sPAULA_
push edi
push esi
call fcn.004781b1
push esi
call fcn.004aa880
add esp, 0x1c
mov dword [0x60168c], eax
mov ebx, 0x601dc8
push esi
mov ecx, edi
mov eax, ebx
call fcn.00476b6c
mov ecx, dword [0x60168c]
push esi
mov esi, 0x601ed0
mov eax, esi
call fcn.00476b6c
cmp dword [ebp - 0x80], 0
pop ecx
pop ecx
jne 0x45abac
cmp dword [ebp + 0x98], 0xffffffff
je 0x45ac10
mov eax, ebx
jmp 0x45ac10
cmp dword [ebp + 0x98], 0xffffffff
jne 0x45abc9
push esi
push dword [ebp - 0x80]
call fcn.004aa9a0
push esi
call fcn.004aa880
add esp, 0xc
jmp 0x45ac0d
push ebx
push dword [ebp - 0x80]
call fcn.004aa9a0
push ebx
call fcn.004aa880
add esp, 0xc
cmp dword [ebp + 0x98], 0
je 0x45ac0d
mov esi, dword [ebp - 0x80]
lea ecx, [ebp + 0x9c]
push ecx
push dword [ebp + 0x98]
sub edi, eax
add eax, esi
push edi
push eax
call fcn.004ac225
add esp, 0x10
test eax, eax
jge 0x45ac0d
mov byte [esi + 0x103], 0
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp + 0x88]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004aaeb5
add ebp, 0x8c
leave
ret
Function at 0x464e03
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push edi
xor edi, edi
push 0x3e
lea eax, [ebp - 0x54]
push edi
push eax
mov dword [ebp - 0x58], edi
call fcn.004ab5d0
mov edx, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 4], edi
call fcn.00476b3a
test eax, eax
jne 0x464fad
mov ecx, dword [ebp + 8]
push 0x15b9
push str..Printer.c
mov edx, 0x4c9338
call fcn.0041c646
mov ebx, eax
cmp ebx, edi
pop ecx
pop ecx
mov dword [ebp - 8], ebx
jne 0x464e68
push dword [ebp + 8]
push str.PrinterSaveConfig___FAILED:_Could_not_open_the_given_file___s__for_writing.
call fcn.004176d1
pop ecx
pop ecx
jmp 0x464fad
push 0x15c0
push esi
call fcn.00467caa
test eax, eax
pop ecx
pop ecx
je 0x464fa6
mov edx, esi
call fcn.00467ce2
test eax, eax
je 0x464fa6
push 0x42
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004aaed0
add esp, 0xc
push ebx
push 0x42
lea eax, [ebp - 0x58]
push 1
push eax
call fcn.004aa5f2
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalLock]
add esp, 0x10
cmp dword [ebp - 0x50], edi
je 0x464f25
push dword [esi + 0xc]
call ebx
cmp eax, edi
push dword [esi + 0xc]
mov dword [ebp - 0xc], eax
je 0x464f16
call dword [sym.imp.KERNEL32.dll_GlobalSize]
cmp eax, edi
mov dword [ebp - 4], eax
jle 0x464efb
push dword [ebp - 8]
lea eax, [ebp - 4]
push 4
push 1
push eax
call fcn.004aa5f2
push dword [ebp - 8]
push dword [ebp - 4]
push 1
push dword [ebp - 0xc]
call fcn.004aa5f2
add esp, 0x20
jmp 0x464f0b
push eax
push str.PrinterSaveConfig___encountered_a_problem:_GlobalSize___returned__ld_for_hDevMode:__GetLastError_
call fcn.004176d1
pop ecx
pop ecx
mov dword [ebp - 0x50], edi
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x464f25
push str.PrinterSaveConfig___encountered_a_problem:_Could_not_GlobalLock___hDevMode_during_save___ld_:__GetLastError_
call fcn.004176d1
pop ecx
pop ecx
mov dword [ebp - 0x50], edi
cmp dword [ebp - 0x4c], edi
je 0x464f92
push dword [esi + 0x10]
call ebx
push dword [esi + 0x10]
mov ebx, eax
cmp ebx, edi
je 0x464f83
call dword [sym.imp.KERNEL32.dll_GlobalSize]
cmp eax, edi
mov dword [ebp - 4], eax
jle 0x464f68
push dword [ebp - 8]
lea eax, [ebp - 4]
push 4
push 1
push eax
call fcn.004aa5f2
push dword [ebp - 8]
push dword [ebp - 4]
push 1
push ebx
call fcn.004aa5f2
add esp, 0x20
jmp 0x464f78
push eax
push str.PrinterSaveConfig___encountered_a_problem:_GlobalSize___returned__ld_for_hDevNames:__GetLastError_
call fcn.004176d1
pop ecx
pop ecx
mov dword [ebp - 0x4c], edi
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x464f92
push str.PrinterSaveConfig___encountered_a_problem:_Could_not_GlobalLock___hDevNames_during_save___ld_:__GetLastError_
call fcn.004176d1
pop ecx
pop ecx
mov dword [ebp - 0x4c], edi
mov eax, esi
call fcn.00467d15
mov ecx, dword [ebp - 8]
call fcn.0041ca73
xor eax, eax
inc eax
jmp 0x464faf
mov ecx, ebx
call fcn.0041ca73
xor eax, eax
pop edi
pop ebx
leave
ret
Function at 0x46b4ec
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
mov esi, ecx
test esi, esi
push edi
mov ebx, eax
jge 0x46b4fe
call fcn.0040c567
mov esi, eax
test ebx, ebx
jge 0x46b509
call fcn.0040c4e5
mov ebx, eax
test esi, esi
jle 0x46b550
test ebx, ebx
jle 0x46b550
push 1
push 0x1f8
call fcn.004aa454
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x46b550
mov dword [edi], esi
imul esi, ebx
mov eax, esi
cdq
sub eax, edx
sar eax, 1
lea eax, [eax + esi + 0x14]
push eax
push 4
mov dword [edi + 4], ebx
call fcn.004aa454
test eax, eax
pop ecx
pop ecx
mov dword [edi + 0x14], eax
jne 0x46b556
push edi
call fcn.004aa2a8
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
ret
xor eax, eax
test esi, esi
push 7
pop ebx
jle 0x46b573
mov ecx, dword [edi + 0x14]
mov byte [ecx + eax*4], 0x20
mov ecx, dword [edi + 0x14]
mov word [ecx + eax*4 + 2], bx
inc eax
cmp eax, esi
jl 0x46b55f
mov eax, dword [0x605fbc]
test eax, eax
jne 0x46b59b
call fcn.0046aaee
test eax, eax
mov dword [0x605fbc], eax
jne 0x46b59b
push dword [edi + 0x14]
call fcn.004aa2a8
push edi
call fcn.004aa2a8
pop ecx
jmp 0x46b54f
mov ecx, dword [edi + 0x14]
lea ecx, [ecx + esi*4 + 4]
push 5
mov dword [edi + 0x24], ecx
lea ecx, [esi + 2]
pop edx
cmp ecx, edx
mov dword [edi + 0x20], ecx
jge 0x46b5b5
mov dword [edi + 0x20], edx
mov dword [edi + 0x10], ebx
mov byte [edi + 0x1d], bl
push edi
mov ebx, eax
mov byte [edi + 0x1c], 9
call fcn.0046aba0
lea ebx, [edi + 0x38]
mov dword [esp], str..ScreenBuffer.c
push ebx
call fcn.0041ebbf
pop ecx
pop ecx
mov esi, str.A_ScreenBuffer_handle_had_to_be_forced_to_unlock___
mov eax, ebx
call fcn.0041edba
mov eax, 0x7d0
mov ecx, ebx
call fcn.0041ede3
mov eax, edi
call fcn.0046da20
mov eax, edi
jmp 0x46b552
Function at 0x46c80d
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push 0x20
pop eax
jmp 0x46c81d
push ebx
push esi
push edi
mov esi, ecx
mov edi, 0x693
mov ebx, eax
call fcn.0046d9bc
test eax, eax
je 0x46c8cd
mov eax, esi
call fcn.0046da0a
test eax, eax
je 0x46c8cd
test ebx, ebx
jge 0x46c84e
mov ebx, 0xff
mov eax, dword [esi]
imul eax, dword [esi + 4]
xor edi, edi
test eax, eax
jle 0x46c8b9
mov eax, dword [esi + 0x14]
lea eax, [eax + edi*4]
cmp byte [eax], bl
jne 0x46c870
test word [eax + 2], 0x2000
jne 0x46c870
xor ecx, ecx
jmp 0x46c875
xor ecx, ecx
mov byte [eax], bl
inc ecx
mov eax, dword [esi + 0x14]
lea eax, [eax + edi*4 + 2]
movzx edx, word [eax]
xor edx, dword [esi + 0x10]
test dl, dl
je 0x46c89e
mov dl, byte [esi + 0x10]
and dx, 0xff
cmp ebx, 0xff
je 0x46c89b
or dx, 0x200
mov word [eax], dx
test ecx, ecx
je 0x46c8ae
mov eax, dword [esi + 0x14]
lea eax, [eax + edi*4 + 2]
or word [eax], 0x2000
mov eax, dword [esi]
imul eax, dword [esi + 4]
inc edi
cmp edi, eax
jl 0x46c85a
and dword [esi + 8], 0
and dword [esi + 0xc], 0
mov eax, esi
call fcn.0046da20
xor eax, eax
inc eax
jmp 0x46c8cf
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x46da2d
Capabilities:
Write file on windows

Disassembly:
push 0x10
push 0x503a40
call fcn.004b13bc
or dword [ebp - 0x1c], 0xffffffff
and dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
je 0x46dae9
push 1
mov esi, 0xfffc
push esi
call fcn.004aa454
mov edi, eax
push 1
push esi
call fcn.004aa454
mov esi, eax
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
push 0xffffffffffffffff
push 0xffdc
push edi
call fcn.004ac156
add esp, 0x24
xor ecx, ecx
mov dword [ebp - 0x20], ecx
lea eax, [edi + ecx]
mov dl, byte [eax]
cmp dl, 0xd
je 0x46dadc
cmp dl, 0xa
je 0x46dadc
add ecx, esi
mov byte [ecx], 0x1c
mov byte [ecx + 1], 0x1d
mov byte [ecx + 2], 0x1e
mov byte [ecx + 3], 0x1f
add ecx, 4
push ecx
call fcn.0046dc82
pop ecx
push dword [ebp + 8]
push esi
call fcn.004aa880
pop ecx
push eax
push 1
push esi
call fcn.004aa5f2
add esp, 0x10
mov dword [ebp - 0x1c], eax
cmp eax, 4
jle 0x46dacc
sub dword [ebp - 0x1c], 4
push edi
call fcn.004aa2a8
push esi
call fcn.004aa2a8
pop ecx
pop ecx
jmp 0x46dae9
mov byte [esi + ecx], dl
inc ecx
jmp 0x46da7d
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x1c]
call fcn.004b1401
ret
Function at 0x46f604
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
mov eax, dword [0x5065d0]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push esi
push edi
push 0x103
lea eax, [esp + 0x2d]
mov ebx, ecx
mov esi, edx
push 0
push eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], esi
mov byte [esp + 0x34], 0
call fcn.004ab5d0
and word [esp + 0x24], 0
xor eax, eax
lea edi, [esp + 0x26]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
test ebx, ebx
stosw word es:[edi], ax
jne 0x46f667
test esi, esi
jne 0x46f667
xor eax, eax
inc eax
jmp 0x46f757
push str.S7.tim
lea edi, [esp + 0x2c]
call fcn.004411d9
test ebx, ebx
pop ecx
jne 0x46f688
lea eax, [esp + 0x18]
mov dword [esp + 0x14], eax
xor edx, edx
mov ecx, eax
jmp 0x46f69a
test esi, esi
jne 0x46f6a7
lea eax, [esp + 0x18]
mov dword [esp + 0x10], eax
mov esi, ebx
mov edx, eax
xor ecx, ecx
lea edi, [esp + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0046f76c
and dword [esp + 0xc], 0
mov edi, 0x190
lea esi, [edi - 0x64]
push 0x669
push str..ServerPAULA.c
mov edx, 0x4c9338
lea ecx, [esp + 0x30]
call fcn.0041c646
mov ebx, eax
test ebx, ebx
pop ecx
pop ecx
jne 0x46f71c
call fcn.004aba8c
cdq
mov ecx, edi
idiv ecx
add edx, esi
js 0x46f705
call fcn.004aba8c
cdq
mov ecx, edi
idiv ecx
add edx, esi
cmp edx, 0x7fffffff
jge 0x46f705
call fcn.004aba8c
cdq
mov ecx, edi
idiv ecx
add edx, esi
push edx
jmp 0x46f707
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 3
jl 0x46f6b4
xor eax, eax
jmp 0x46f757
xor esi, esi
push ebx
inc esi
push esi
push 0x10
push dword [esp + 0x20]
call fcn.004aa5f2
add esp, 0x10
cmp eax, esi
jne 0x46f747
push ebx
push esi
push 0x10
push dword [esp + 0x1c]
call fcn.004aa5f2
add esp, 0x10
cmp eax, esi
je 0x46f749
xor esi, esi
mov ecx, ebx
call fcn.0041ca73
xor eax, eax
test esi, esi
setne al
mov ecx, dword [esp + 0x134]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004aaeb5
mov esp, ebp
pop ebp
ret
Function at 0x46f76c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
mov eax, dword [0x5065d0]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push esi
push edi
push 0x103
lea eax, [esp + 0x2d]
mov esi, ecx
mov ebx, edx
push 0
push eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x34], 0
call fcn.004ab5d0
and word [esp + 0x24], 0
xor eax, eax
lea edi, [esp + 0x26]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
stosw word es:[edi], ax
push str.S7.tim
lea edi, [esp + 0x2c]
call fcn.004411d9
test esi, esi
pop ecx
jne 0x46f7da
lea eax, [esp + 0x18]
mov dword [esp + 0x14], eax
test ebx, ebx
jne 0x46f7e6
lea eax, [esp + 0x18]
mov dword [esp + 0x10], eax
and dword [esp + 0xc], 0
mov esi, 0x15e
lea ebx, [esi - 0x64]
push 0x6a6
push str..ServerPAULA.c
mov edx, 0x4c91fc
lea ecx, [esp + 0x30]
call fcn.0041c646
mov edi, eax
test edi, edi
pop ecx
pop ecx
jne 0x46f884
lea edi, [esp + 0x28]
call fcn.0041a629
test eax, eax
je 0x46f864
call fcn.004aba8c
cdq
mov ecx, esi
idiv ecx
add edx, ebx
js 0x46f851
call fcn.004aba8c
cdq
mov ecx, esi
idiv ecx
add edx, ebx
cmp edx, 0x7fffffff
jge 0x46f851
call fcn.004aba8c
cdq
mov ecx, esi
idiv ecx
add edx, ebx
push edx
jmp 0x46f853
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 3
jl 0x46f7f3
lea edi, [esp + 0x28]
call fcn.0041a629
xor eax, eax
mov ecx, dword [esp + 0x134]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004aaeb5
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x14]
xor ebx, ebx
push edi
inc ebx
push ebx
push 0x10
push esi
mov dword [esp + 0x1c], ebx
call fcn.004ab915
add esp, 0x10
cmp eax, ebx
jne 0x46f8b4
push edi
push ebx
push 0x10
push dword [esp + 0x1c]
call fcn.004ab915
add esp, 0x10
cmp eax, ebx
je 0x46f8b9
and dword [esp + 0xc], 0
mov ecx, edi
call fcn.0041ca73
push ebx
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0049b57e
add esp, 0x14
test eax, eax
je 0x46f86d
mov esi, dword [esp + 0x10]
push ebx
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0049b57e
add esp, 0x14
test eax, eax
je 0x46f86d
xor eax, eax
cmp dword [esp + 0xc], eax
setne al
jmp 0x46f86f
Function at 0x46f902
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x5065d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
xor ebx, ebx
lea eax, [ebp - 0x10f]
mov edi, ecx
push ebx
push eax
mov dword [ebp - 0x118], edi
mov byte [ebp - 0x110], 0
call fcn.004ab5d0
add esp, 0xc
cmp edi, ebx
jne 0x46f949
xor eax, eax
jmp 0x46fa3d
mov esi, 0x188
push esi
push ebx
push edi
call fcn.004ab5d0
add esp, 0xc
push str.eod.tim
lea edi, [ebp - 0x110]
call fcn.004411d9
mov dword [ebp - 0x114], ebx
pop ecx
mov ebx, 0xfa
push 0x6f3
push str..ServerPAULA.c
mov edx, 0x4c91fc
lea ecx, [ebp - 0x110]
call fcn.0041c646
mov edi, eax
test edi, edi
pop ecx
pop ecx
jne 0x46fa01
lea edi, [ebp - 0x110]
call fcn.0041a629
test eax, eax
je 0x46f9f1
call fcn.004aba8c
mov edi, 0x226
cdq
mov ecx, edi
idiv ecx
add edx, ebx
js 0x46f9da
call fcn.004aba8c
cdq
mov ecx, edi
idiv ecx
add edx, ebx
cmp edx, 0x7fffffff
jge 0x46f9da
call fcn.004aba8c
cdq
idiv edi
add edx, ebx
push edx
jmp 0x46f9dc
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp - 0x114]
cmp dword [ebp - 0x114], 3
jl 0x46f975
lea edi, [ebp - 0x110]
call fcn.0041a629
jmp 0x46f942
push edi
push 1
push esi
push dword [ebp - 0x118]
call fcn.004ab915
add esp, 0x10
cmp eax, 1
mov ecx, edi
je 0x46fa35
call fcn.0041ca73
push esi
push 0
push dword [ebp - 0x118]
call fcn.004ab5d0
add esp, 0xc
jmp 0x46f942
call fcn.0041ca73
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004aaeb5
leave
ret

Function at 0x46fa4c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x5065d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x10f]
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x118], esi
mov byte [ebp - 0x110], 0
call fcn.004ab5d0
add esp, 0xc
test esi, esi
jne 0x46fa92
xor eax, eax
jmp 0x46fb54
push str.eod.tim
lea edi, [ebp - 0x110]
call fcn.004411d9
and dword [ebp - 0x114], 0
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
pop ecx
mov edi, 0x226
mov esi, 0x12c
push 0x726
push str..ServerPAULA.c
mov edx, 0x4c9338
lea ecx, [ebp - 0x110]
call fcn.0041c646
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x11c], eax
jne 0x46fb29
call fcn.004aba8c
cdq
mov ecx, edi
idiv ecx
add edx, esi
js 0x46fb11
call fcn.004aba8c
cdq
mov ecx, edi
idiv ecx
add edx, esi
cmp edx, 0x7fffffff
jge 0x46fb11
call fcn.004aba8c
cdq
mov ecx, edi
idiv ecx
add edx, esi
push edx
jmp 0x46fb13
push 0xa
call ebx
inc dword [ebp - 0x114]
cmp dword [ebp - 0x114], 3
jl 0x46faba
jmp 0x46fa8b
push eax
xor esi, esi
inc esi
push esi
push 0x188
push dword [ebp - 0x118]
call fcn.004aa5f2
add esp, 0x10
cmp eax, esi
je 0x46fb47
xor esi, esi
mov ecx, dword [ebp - 0x11c]
call fcn.0041ca73
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004aaeb5
leave
ret
Function at 0x474de9
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, eax
test esi, esi
jne 0x474e08
mov esi, dword [0x61028c]
test esi, esi
je 0x474e6d
call fcn.0046ab63
and dword [0x61028c], 0
jmp 0x474e6d
mov eax, dword [0x61028c]
test eax, eax
jne 0x474e21
call fcn.0046aaee
test eax, eax
mov dword [0x61028c], eax
jne 0x474e21
pop esi
ret
push ebx
push ebp
push edi
lea ebp, [esi + 0x130]
mov ebx, dword [ebp]
mov edi, eax
call fcn.0046ae77
test eax, eax
jne 0x474e47
push dword [ebp]
mov ebx, dword [0x61028c]
call fcn.0046aba0
pop ecx
xor ebx, ebx
cmp dword [esi], ebx
jle 0x474e6a
lea edi, [esi + 4]
mov eax, dword [edi]
call fcn.0047562e
test eax, eax
je 0x474e62
mov ecx, dword [edi]
call fcn.00474fed
inc ebx
add edi, 4
cmp ebx, dword [esi]
jl 0x474e50
pop edi
pop ebp
pop ebx
xor eax, eax
inc eax
pop esi
ret

Function at 0x4756c2
Capabilities:
Terminate process

Disassembly:
push esi
push edi
xor esi, esi
push 0x248
inc esi
push esi
call fcn.004aa454
mov edi, eax
test edi, edi
pop ecx
pop ecx
jne 0x4756e1
xor eax, eax
jmp 0x475788
push 0x30
push esi
call fcn.004aa454
test eax, eax
pop ecx
pop ecx
mov dword [edi + 0x70], eax
jne 0x4756fb
push edi
call fcn.004aa2a8
pop ecx
jmp 0x4756da
cmp dword [0x6104d8], 0
mov dword [edi + 0x5c], esi
jne 0x475725
call fcn.0046aaee
test eax, eax
mov dword [0x6104d8], eax
jne 0x475725
mov eax, dword [edi + 0x70]
test eax, eax
je 0x4756f2
push eax
call fcn.004aa2a8
pop ecx
jmp 0x4756f2
fld1
or dword [edi + 0x68], 0xffffffff
and dword [edi + 0x40], 0
fstp dword [edi + 0x44]
mov eax, 0xffff8000
push ebx
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], eax
call fcn.0040c5e9
lea ebx, [edi + 0x88]
push str..Sprite.c
push ebx
mov dword [edi + 0x7c], eax
call fcn.0041ebbf
mov esi, str.A_sprite_handle_had_to_be_forced_to_unlock___
mov eax, ebx
call fcn.0041edba
mov eax, 0x7d0
mov ecx, ebx
call fcn.0041ede3
mov ebx, dword [0x6104d8]
push edi
call fcn.0046aba0
add esp, 0xc
mov eax, edi
call fcn.004769ae
mov eax, edi
pop ebx
pop edi
pop esi
ret