joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48e301
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.00439c56
test eax, eax
je 0x48e31e
xor eax, eax
jmp 0x48e3ad
mov ecx, dword [ebp + 8]
xor edx, edx
call fcn.0048c9ae
mov edi, eax
test edi, edi
je 0x48e317
mov ecx, dword [ebp + 8]
push 0x1389
push str.File.c
mov edx, 0x4a829c
call fcn.0048ae1a
mov ebx, eax
pop ecx
pop ecx
mov dword [esp + 0xc], ebx
test ebx, ebx
je 0x48e317
lea eax, [edi + 0xe]
push eax
call fcn.004028f8
mov esi, eax
pop ecx
test esi, esi
jne 0x48e36a
mov ecx, ebx
call fcn.0048d8ca
jmp 0x48e317
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 0x48e390
push dword [esp + 0xc]
call fcn.004019d8
pop ecx
test eax, eax
jne 0x48e390
xor ebx, ebx
mov ecx, dword [esp + 0xc]
call fcn.0048d8ca
test ebx, ebx
jne 0x48e3a9
push esi
call fcn.00401a00
pop ecx
jmp 0x48e317
mov dword [esi], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x48f4c2
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.00439c56
test eax, eax
je 0x48f4dd
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
cmp dword [0x4ec750], 0
je 0x48f4ea
xor eax, eax
jmp 0x48f4d8
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x4ec750], 1
call fcn.0048c9ae
mov ebx, 0x80000
cmp eax, ebx
ja 0x48f512
xor eax, eax
and dword [0x4ec750], 0
jmp 0x48f4d8
push dword [ebp + 8]
call fcn.0048e301
mov edi, eax
pop ecx
test edi, edi
jne 0x48f526
or eax, 0xffffffff
jmp 0x48f509
mov esi, dword [edi]
cmp esi, ebx
ja 0x48f535
push edi
call fcn.00401a00
pop ecx
jmp 0x48f521
lea ebx, [esi - 0x80000]
cmp byte [ebx + edi + 4], 0xa
je 0x48f54f
inc ebx
lea eax, [esi - 0x20000]
cmp ebx, eax
jb 0x48f53b
jmp 0x48f550
inc ebx
mov ecx, dword [ebp + 8]
push 0x4e8
push str.Error.c
mov edx, 0x4a82dc
call fcn.0048ae1a
pop ecx
pop ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x48f52c
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.0048d8ca
push edi
call fcn.00401a00
xor eax, eax
add esp, 0x14
inc eax
jmp 0x48f509
Function at 0x496aa1
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.004115d0
mov eax, dword [0x4d82d4]
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 0x496af3
xor eax, eax
jmp 0x496b95
shr esi, 2
mov eax, 0x40000
mov dword [ebp - 0x1008], esi
cmp esi, eax
jbe 0x496b0b
mov dword [ebp - 0x1008], eax
shr dword [ebp - 0x1008], 2
mov edi, 0x400
cmp dword [ebp - 0x1008], edi
jbe 0x496b34
push 4
push dword [ebp - 0x1008]
call fcn.00401a3a
mov esi, eax
pop ecx
pop ecx
cmp esi, ebx
jne 0x496b40
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 0x496b75
xor ebx, ebx
test eax, eax
je 0x496b71
add edi, dword [esi + ebx*4]
inc ebx
cmp ebx, eax
jb 0x496b69
add edi, eax
jmp 0x496b42
test edi, edi
jne 0x496b7e
test ebx, ebx
je 0x496b7e
inc edi
test esi, esi
je 0x496b93
lea eax, [ebp - 0x1004]
cmp esi, eax
je 0x496b93
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 0x496c79
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x4d82d4]
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 0x496caa
or eax, 0xffffffff
jmp 0x496d55
lea eax, [ebp - 0x54]
push eax
mov edx, str.____This_is_the_beginning_of_a_PAULA_Arkive_self_extracting_compilation.____
call fcn.00439058
push esi
call fcn.00401e22
push esi
mov dword [ebp - 0x58], ebx
call fcn.00401e7e
add esp, 0xc
cmp eax, 0xffffffff
je 0x496cf1
push 1
push eax
lea eax, [ebp - 0x58]
lea ebx, [ebp - 0x54]
call fcn.004854a3
pop ecx
pop ecx
test eax, eax
jne 0x496d4e
push esi
call fcn.00401e7e
pop ecx
cmp eax, 0xffffffff
jne 0x496ccf
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 0x496ca2
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 0x498127
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x4d82d4]
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.00439c56
test eax, eax
jne 0x4982ae
cmp esi, ebx
je 0x498174
mov dword [esi], ebx
mov eax, dword [ebp - 0x3c]
cmp eax, ebx
je 0x49817d
mov dword [eax], ebx
push dword [ebp - 0x34]
mov esi, 0x4a82ec
call fcn.00438a5c
pop ecx
test eax, eax
jne 0x4981b3
mov esi, dword [ebp - 0x34]
push str..exe
mov dword [ebp - 0x44], 0x4e20
call fcn.0043a830
push eax
call fcn.00401811
pop ecx
pop ecx
test eax, eax
je 0x4981b6
xor edi, edi
jmp 0x4981c0
mov dword [ebp - 0x44], ebx
mov ecx, dword [ebp - 0x34]
call fcn.00498074
mov edi, eax
push dword [ebp - 0x44]
mov eax, dword [ebp - 0x34]
push 0x80000020
push 3
push 1
call fcn.0048c6b2
mov esi, eax
add esp, 0x10
cmp esi, 0xffffffff
jne 0x4981e9
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4982ae
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 0x49829e
cmp dword [ebp - 0x30], 4
jb 0x49829e
push ebx
lea eax, [ebp - 0x30]
push eax
push 4
lea eax, [ebp - 0x40]
push eax
push esi
call edi
test eax, eax
je 0x498251
cmp dword [ebp - 0x30], 4
jb 0x498251
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 0x498258
call fcn.0048ad7b
jmp 0x4982ae
call fcn.0048ad7b
mov eax, dword [ebp - 0x30]
cmp eax, 0x22
jae 0x4982ae
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 0x4982ae
mov ecx, dword [ebp - 0x38]
cmp ecx, ebx
je 0x4982ae
mov eax, dword [ebp - 0x4c]
cmp eax, ebx
je 0x498290
mov edx, dword [ebp - 0x40]
mov dword [eax], edx
mov eax, dword [ebp - 0x3c]
cmp eax, ebx
je 0x498299
mov dword [eax], ecx
xor eax, eax
inc eax
jmp 0x4982b0
call fcn.0048ad7b
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x34]
call fcn.0048c9ae
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret
Function at 0x4997fd
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, eax
test esi, esi
jne 0x49981c
mov esi, dword [0x5e046c]
test esi, esi
je 0x49987f
call fcn.004439b6
and dword [0x5e046c], 0
jmp 0x49987f
mov eax, dword [0x5e046c]
test eax, eax
jne 0x499835
call fcn.004439f3
mov dword [0x5e046c], eax
test eax, eax
jne 0x499835
pop esi
ret
push ebx
mov ebx, dword [esi + 0x130]
push edi
mov edi, eax
call fcn.00443b85
test eax, eax
jne 0x49985a
push dword [esi + 0x130]
mov ebx, dword [0x5e046c]
call fcn.004439a2
pop ecx
xor ebx, ebx
cmp dword [esi], ebx
jle 0x49987d
lea edi, [esi + 4]
mov eax, dword [edi]
call fcn.00499595
test eax, eax
je 0x499875
mov ecx, dword [edi]
call fcn.00499676
inc ebx
add edi, 4
cmp ebx, dword [esi]
jl 0x499863
pop edi
pop ebx
xor eax, eax
inc eax
pop esi
ret
Function at 0x49a9d9
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 [0x4d82d4]
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.00453bf0
test eax, eax
je 0x49aa0d
xor eax, eax
jmp 0x49abe4
xor ebx, ebx
mov esi, str.Sound.c
cmp dword [0x5e0468], ebx
jne 0x49ab3f
cmp dword [0x5e057c], ebx
jne 0x49ab3f
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 [0x5e057c], 1
call fcn.0048a5d0
test eax, eax
jne 0x49aae0
mov eax, edi
push str.TempDummySound.wav
push eax
call fcn.00401ba0
pop ecx
pop ecx
push 0x52
push esi
mov edx, 0x4a82dc
lea ecx, [esp + 0x58]
call fcn.0048ae1a
mov edi, eax
pop ecx
pop ecx
cmp edi, ebx
je 0x49ab12
push edi
push 0x3a
lea eax, [esp + 0x1c]
push 1
push eax
call fcn.0040257f
add esp, 0x10
mov ecx, edi
call fcn.0048d8ca
lea eax, [esp + 0x50]
push eax
call fcn.0049a9d9
pop ecx
test eax, eax
jne 0x49ab39
lea eax, [esp + 0x50]
push str.SoundsNotifyWinIllegalKey.wav
push eax
call fcn.00453ea3
push eax
call fcn.0049a9d9
add esp, 0xc
mov dword [0x5e057c], ebx
push 1
push 0x724
call fcn.00401a3a
mov edi, eax
pop ecx
pop ecx
cmp edi, ebx
je 0x49aa06
cmp dword [0x5e0468], ebx
jne 0x49ab69
call fcn.004439f3
mov dword [0x5e0468], eax
mov ebx, dword [0x5e0468]
push edi
call fcn.004439a2
cmp dword [0x5e0468], 0
pop ecx
jne 0x49ab8b
push edi
call fcn.00401a00
pop ecx
jmp 0x49aa06
lea ebx, [edi + 0x564]
push esi
push ebx
call fcn.00488834
pop ecx
pop ecx
mov esi, str.A_Sound_handle_had_to_be_forced_to_unlock___
mov eax, ebx
call fcn.004886bf
mov eax, 0xdac
mov ecx, ebx
call fcn.004886ac
mov eax, edi
call fcn.004992bd
mov edx, dword [esp + 0x10]
call fcn.00439c56
test eax, eax
jne 0x49abe2
push dword [esp + 0x10]
mov ecx, edi
call fcn.0049a44a
pop ecx
test eax, eax
jne 0x49abe2
mov eax, edi
call fcn.00499d70
jmp 0x49aa06
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 0x49b040
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x4d82d4]
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 0x49b069
mov esi, 0x200
push 1
push 0x1f0
call fcn.00401a3a
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x49b084
xor eax, eax
jmp 0x49b180
lea eax, [esi + 0xa]
push eax
push 1
call fcn.00401a3a
pop ecx
pop ecx
mov dword [edi], eax
test eax, eax
jne 0x49b0a0
push edi
call fcn.00401a00
pop ecx
jmp 0x49b07d
and dword [edi + 4], 0
and dword [edi + 0xc], 0
inc dword [0x5cae90]
mov eax, dword [0x5cae90]
push ebx
mov ebx, dword [0x5cae8c]
mov dword [edi + 0x2c], eax
mov dword [edi + 8], esi
test ebx, ebx
jne 0x49b0d1
call fcn.004439f3
mov ebx, eax
mov dword [0x5cae8c], ebx
push edi
call fcn.004439a2
cmp dword [0x5cae8c], 0
pop ecx
jne 0x49b0f7
push dword [edi]
call fcn.00401a00
push edi
call fcn.00401a00
pop ecx
pop ecx
xor eax, eax
jmp 0x49b17f
lea ebx, [edi + 0x30]
push str.Message.c
push ebx
call fcn.00488834
pop ecx
pop ecx
mov esi, str.A_Message_handle_had_to_be_forced_to_unlock___
mov eax, ebx
call fcn.004886bf
mov eax, 0x7d0
mov ecx, ebx
call fcn.004886ac
cmp dword [ebp - 0x10c], 0
mov eax, dword [ebp + 8]
mov dword [edi + 0x10], eax
je 0x49b176
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.00438b01
mov esi, eax
call fcn.0043897b
mov eax, esi
push eax
push 0x16
lea eax, [edi + 0x14]
pop ecx
call fcn.00438b01
add esp, 0x14
mov eax, edi
call fcn.0049b01d
mov eax, edi
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00401317
leave
ret

Function at 0x49bc98
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 0x49bd08
cmp byte [ebx], 0
je 0x49bd08
mov eax, esi
call fcn.0049b1ac
test eax, eax
je 0x49bd08
mov eax, esi
call fcn.0049b02a
test eax, eax
je 0x49bd08
mov dword [esp + 0xc], 1
mov ecx, ebx
cmp dword [ebp + 8], edi
je 0x49bd10
xor edx, edx
call fcn.0048c9ae
test eax, eax
je 0x49bce3
mov dword [esp + 0xc], edi
push 0x4ad
mov edx, 0x4aad10
mov ecx, ebx
push str.Message.c
call fcn.0048ae1a
mov ebx, eax
pop ecx
pop ecx
cmp ebx, edi
jne 0x49bd1c
mov eax, esi
call fcn.0049b01d
xor eax, eax
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x4b2
mov edx, 0x4ab580
jmp 0x49bcef
cmp dword [esi + 4], edi
jle 0x49bd6a
cmp dword [ebp + 8], edi
je 0x49bd39
cmp dword [esp + 0xc], edi
jne 0x49bd39
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 0x49bd6a
mov eax, dword [esi]
call fcn.00438b41
test eax, eax
jne 0x49bd6a
inc dword [0x5cae94]
mov ecx, ebx
call fcn.0048d8ca
jmp 0x49bd01
mov ecx, ebx
call fcn.0048d8ca
mov eax, esi
call fcn.0049b01d
xor eax, eax
inc eax
jmp 0x49bd0a
Function at 0x49bd7d
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.00439c56
test eax, eax
je 0x49bda9
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, edi
call fcn.0049b1ac
test eax, eax
je 0x49bda0
mov ecx, dword [ebp + 8]
xor edx, edx
call fcn.0048c9ae
cmp eax, esi
jae 0x49bdd2
mov dword [esp + 0x10], eax
test eax, eax
jg 0x49bdd2
mov dword [esp + 0x10], 0x400
mov eax, edi
call fcn.0049b02a
test eax, eax
je 0x49bda0
mov ecx, dword [ebp + 8]
push 0x435
push str.Message.c
mov edx, 0x4ab504
call fcn.0048ae1a
pop ecx
pop ecx
mov dword [esp + 0x14], eax
test eax, eax
jne 0x49be07
mov eax, edi
call fcn.0049b01d
jmp 0x49bda0
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 0x49bdfe
push dword [esp + 0x14]
push ebx
jmp 0x49be72
and dword [esp + 0xc], 0
test ebx, ebx
jle 0x49be6a
mov eax, dword [edi + 0xc]
inc eax
cmp eax, dword [edi + 8]
jl 0x49be43
call fcn.0049b232
test eax, eax
je 0x49be88
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 0x49be60
mov dword [edi + 4], eax
inc dword [esp + 0xc]
cmp dword [esp + 0xc], ebx
jl 0x49be31
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 0x49be28
xor ebx, ebx
inc ebx
jmp 0x49be8a
xor ebx, ebx
mov ecx, dword [esp + 0x14]
call fcn.0048d8ca
mov eax, edi
call fcn.0049b01d
push esi
call fcn.00401a00
pop ecx
mov eax, ebx
jmp 0x49bda2
Function at 0x4a0485
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x4d82d4]
xor eax, esp
mov dword [esp + 0x130], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x103
mov dword [esp + 0x10], eax
xor esi, esi
lea eax, [esp + 0x35]
push esi
push eax
mov ebx, ecx
mov byte [esp + 0x3c], 0
call fcn.00401f80
xor eax, eax
lea edi, [esp + 0x28]
mov dword [esp + 0x24], esi
stosd dword es:[edi], eax
lea edi, [esp + 0x38]
mov dword [esp + 0x34], esi
stosd dword es:[edi], eax
lea edi, [esp + 0x30]
add esp, 0xc
mov dword [esp + 0x20], esi
mov edx, ebx
stosd dword es:[edi], eax
mov dword [esp + 0x14], esi
call fcn.00439c56
test eax, eax
jne 0x4a05f9
mov edx, dword [esp + 0xc]
call fcn.00439c56
test eax, eax
jne 0x4a05f9
push esi
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x24]
push eax
push ebx
call fcn.0048c8a7
add esp, 0x14
test eax, eax
jne 0x4a0542
mov edi, ebx
call fcn.0048c243
test eax, eax
je 0x4a05f9
cmp dword [0x4d9360], esi
je 0x4a054a
mov dword [0x4d9360], esi
jmp 0x4a054a
mov dword [esp + 0x14], 1
push 0x4a829c
push ebx
call fcn.004a0469
pop ecx
pop ecx
mov dword [esp + 0x10], eax
cmp eax, esi
je 0x4a05f9
push dword [esp + 0xc]
mov edi, 0x104
mov ecx, edi
lea eax, [esp + 0x34]
call fcn.00438b01
pop ecx
mov esi, eax
call fcn.00439757
mov edx, esi
call fcn.00439c56
test eax, eax
jne 0x4a05b3
mov eax, esi
push eax
call fcn.00401a80
pop ecx
mov ecx, esi
cmp byte [eax + ecx - 1], 0x5c
jne 0x4a05b3
push ebx
mov ecx, edi
mov eax, esi
call fcn.00438b01
pop ecx
push dword [esp + 0xc]
call fcn.0043adc0
pop ecx
jmp 0x4a05c4
lea eax, [esp + 0x30]
push ebx
push eax
call fcn.00401811
pop ecx
pop ecx
test eax, eax
jne 0x4a05cd
lea esi, [esp + 0x30]
call fcn.0043a989
push 0x169
push str.zLib.c
mov edx, 0x4a82dc
lea ecx, [esp + 0x38]
call fcn.0048ae1a
mov edi, eax
xor ebx, ebx
pop ecx
pop ecx
cmp edi, ebx
jne 0x4a0610
push dword [esp + 0x10]
call fcn.004a03c5
pop ecx
xor eax, eax
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401317
mov esp, ebp
pop ebp
ret
push 0x100002
call fcn.004028f8
mov esi, eax
pop ecx
mov dword [esp + 0xc], ebx
test esi, esi
je 0x4a0663
push 0x100000
push esi
push dword [esp + 0x18]
call fcn.004a042c
add esp, 0xc
test eax, eax
jle 0x4a065a
push edi
push 1
push eax
push esi
add ebx, eax
call fcn.0040257f
add esp, 0x10
test eax, eax
jg 0x4a0625
inc dword [0x5e879c]
inc dword [esp + 0xc]
jmp 0x4a0625
push esi
call fcn.00401a00
pop ecx
jmp 0x4a066b
mov dword [esp + 0xc], 1
mov ecx, edi
call fcn.0048d8ca
push dword [esp + 0x10]
call fcn.004a03c5
cmp dword [esp + 0x18], 0
pop ecx
je 0x4a069c
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x30]
lea ecx, [esp + 0x28]
call fcn.0048c81f
pop ecx
pop ecx
test ebx, ebx
je 0x4a05f9
cmp dword [esp + 0xc], 0
jne 0x4a05f9
xor eax, eax
inc eax
jmp 0x4a05fb

Function at 0x4a06b7
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004a0485
Function at 0x4a1bc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x4d82d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x10f]
push ebx
push eax
mov esi, ecx
mov byte [ebp - 0x110], bl
call fcn.00401f80
add esp, 0xc
mov edx, esi
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0x118], ebx
call fcn.00439c56
test eax, eax
je 0x4a1c13
xor eax, eax
jmp 0x4a1cd7
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x11c]
mov edx, esi
call fcn.00498127
pop ecx
test eax, eax
je 0x4a1c0c
call fcn.0041b82a
push ebx
push ebx
mov edi, eax
call fcn.004541af
push eax
lea eax, [ebp - 0x110]
push str._sLUA.DAT
push eax
call fcn.00401954
add esp, 0x14
mov dword [ebp - 0x114], ebx
push 0x327
push str.UpdatePAULA2.c
mov edx, 0x4a82dc
lea ecx, [ebp - 0x110]
call fcn.0048ae1a
mov esi, eax
pop ecx
pop ecx
cmp esi, ebx
jne 0x4a1ca8
push 0x96
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.0041b82a
sub eax, edi
cmp eax, 0x157c
ja 0x4a1c0c
inc dword [ebp - 0x114]
cmp dword [ebp - 0x114], 0xf
jl 0x4a1c55
jmp 0x4a1c0c
push esi
push 1
lea eax, [ebp - 0x118]
push 4
push eax
call fcn.0040257f
push esi
push 1
lea eax, [ebp - 0x11c]
push 4
push eax
call fcn.0040257f
add esp, 0x20
mov ecx, esi
call fcn.0048d8ca
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret

Function at 0x4a1ce6
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x4d82d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
push edi
push 0x103
lea eax, [ebp - 0x10f]
push ebx
push eax
mov dword [ebp - 0x124], ebx
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x11c], ebx
mov byte [ebp - 0x110], bl
call fcn.00401f80
lea eax, [ebp - 0x118]
add esp, 0xc
push eax
lea ecx, [ebp - 0x124]
lea edx, [ebp - 0x110]
call fcn.00498127
pop ecx
test eax, eax
jne 0x4a1d55
xor eax, eax
jmp 0x4a1e30
call fcn.0041b82a
push ebx
push ebx
mov dword [ebp - 0x128], eax
call fcn.004541af
push eax
lea eax, [ebp - 0x110]
push str._sLUA.DAT
push eax
call fcn.00401954
add esp, 0x14
mov dword [ebp - 0x114], ebx
push 0x2e6
push str.UpdatePAULA2.c
mov edx, 0x4a829c
lea ecx, [ebp - 0x110]
call fcn.0048ae1a
mov esi, eax
pop ecx
pop ecx
cmp esi, ebx
jne 0x4a1de1
lea edi, [ebp - 0x110]
call fcn.0048c243
test eax, eax
je 0x4a1e2d
push 0x96
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.0041b82a
sub eax, dword [ebp - 0x128]
cmp eax, 0x157c
ja 0x4a1e2d
inc dword [ebp - 0x114]
cmp dword [ebp - 0x114], 0xf
jl 0x4a1d82
jmp 0x4a1e2d
push esi
push 1
lea eax, [ebp - 0x11c]
push 4
push eax
call fcn.00402244
push esi
push 1
lea eax, [ebp - 0x120]
push 4
push eax
call fcn.00402244
add esp, 0x20
mov ecx, esi
call fcn.0048d8ca
mov eax, dword [ebp - 0x124]
cmp eax, dword [ebp - 0x120]
jne 0x4a1e2d
mov eax, dword [ebp - 0x118]
cmp eax, dword [ebp - 0x11c]
je 0x4a1d4e
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret