joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c490
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x415d70
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
movzx eax, byte [0x41e19c]
test al, al
je 0x40c661
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x40c4dc
cmp eax, 3
jne 0x40c65a
mov ebx, dword [0x41e1a0]
test ebx, ebx
je 0x40c65a
mov dword [ebp - 0x20], 0
jmp 0x40c507
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x40c538
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
test edi, edi
je 0x40c6ab
dec esi
push esi
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x40c500
push 0
push esi
mov esi, eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
push esi
call edi
add esp, 4
mov al, 1
mov dword [ebp - 0x20], eax
jmp 0x40c500
test byte [ebp - 0x20], 1
je 0x40c65a
mov ebx, dword [0x41e1a0]
test ebx, ebx
je 0x40c65a
mov dword [ebp - 0x20], 0
jmp 0x40c567
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x40c598
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
test edi, edi
je 0x40c6ab
dec esi
push esi
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x40c560
push 0
push esi
mov esi, eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
push esi
call edi
add esp, 4
mov al, 1
mov dword [ebp - 0x20], eax
jmp 0x40c560
test byte [ebp - 0x20], 1
je 0x40c65a
mov ebx, dword [0x41e1a0]
test ebx, ebx
je 0x40c65a
mov dword [ebp - 0x20], 0
jmp 0x40c5c7
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x40c5f8
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
test edi, edi
je 0x40c6ab
dec esi
push esi
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x40c5c0
push 0
push esi
mov esi, eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
push esi
call edi
add esp, 4
mov al, 1
mov dword [ebp - 0x20], eax
jmp 0x40c5c0
test byte [ebp - 0x20], 1
je 0x40c65a
mov ebx, dword [0x41e1a0]
test ebx, ebx
je 0x40c65a
mov dword [ebp - 0x20], 0
jmp 0x40c627
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x40c654
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
test edi, edi
je 0x40c6ab
dec esi
push esi
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x40c620
push 0
push esi
mov esi, eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
push esi
call edi
add esp, 4
mov al, 1
mov dword [ebp - 0x20], eax
jmp 0x40c620
test byte [ebp - 0x20], 1
jne 0x40c674
movzx eax, byte [0x41c000]
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
mov ebx, dword [0x41e1a0]
jmp 0x40c67f
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x40c65a
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
test edi, edi
je 0x40c6ab
dec esi
push esi
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x40c67c
push 0
push esi
mov esi, eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
push esi
call edi
add esp, 4
jmp 0x40c67c
mov ecx, 0x41b58c
mov dword [ebp - 0x10], 0
call fcn.00417230
ud2
Function at 0x40d130
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push edi
push esi
mov eax, dword [0x41e048]
test eax, eax
je 0x40d1e3
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 2
jb 0x40d15c
cmp dword [eax + 4], 0
mov edi, eax
je 0x40d15c
add edi, 8
jmp 0x40d1de
mov eax, dword [0x41e048]
test eax, eax
je 0x40d1f2
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
je 0x40d1dc
mov esi, eax
test eax, eax
jne 0x40d1b2
movzx eax, byte [0x41e1e4]
mov ecx, 0xc
call fcn.00413660
test eax, eax
je 0x40d20d
mov dword [eax], 0x41e048
mov dword [eax + 4], 0
mov esi, eax
mov eax, dword [0x41e048]
test eax, eax
je 0x40d201
dec eax
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov ecx, dword [esi + 8]
cmp dword [esi + 4], 0
lea edi, [esi + 8]
mov dword [esi + 4], 1
mov dword [esi + 8], 0
je 0x40d1de
test ecx, ecx
je 0x40d1de
lock dec dword [ecx]
jne 0x40d1de
call fcn.0040ce20
jmp 0x40d1de
xor edi, edi
mov eax, edi
pop esi
pop edi
ret
mov ecx, 0x41e048
call fcn.00417900
jmp 0x40d140
mov ecx, 0x41e048
call fcn.00417900
jmp 0x40d16a
mov ecx, 0x41e048
call fcn.00417900
jmp 0x40d1aa
mov ecx, 4
mov edx, 0xc
call fcn.00416d80
int3

Function at 0x40d710
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
mov eax, dword [0x41e058]
test eax, eax
je 0x40d78f
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 2
jb 0x40d72f
cmp byte [eax + 4], 0
mov esi, eax
jne 0x40d784
mov eax, dword [0x41e058]
test eax, eax
je 0x40d79b
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
je 0x40d789
mov esi, eax
test eax, eax
jne 0x40d77e
movzx eax, byte [0x41e1e4]
mov ecx, 8
call fcn.00413660
test eax, eax
je 0x40d7b3
mov dword [eax], 0x41e058
mov byte [eax + 4], 0
mov esi, eax
mov eax, dword [0x41e058]
test eax, eax
je 0x40d7a7
dec eax
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov word [esi + 4], 1
add esi, 5
jmp 0x40d78b
xor esi, esi
mov eax, esi
pop esi
ret
mov ecx, 0x41e058
call fcn.00417900
jmp 0x40d71b
mov ecx, 0x41e058
call fcn.00417900
jmp 0x40d739
mov ecx, 0x41e058
call fcn.00417900
jmp 0x40d776
mov ecx, 4
mov edx, 8
call fcn.00416d80
int3
Function at 0x40e570
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
mov eax, dword [0x41e038]
test eax, eax
je 0x40e603
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 2
jb 0x40e596
cmp dword [eax + 4], 0
je 0x40e596
add eax, 8
pop esi
ret
mov eax, dword [0x41e038]
test eax, eax
je 0x40e612
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
je 0x40e5ff
mov esi, eax
test eax, eax
jne 0x40e5e8
movzx eax, byte [0x41e1e4]
mov ecx, 0x10
call fcn.00413660
test eax, eax
je 0x40e62a
mov dword [eax], 0x41e038
mov dword [eax + 4], 0
mov esi, eax
mov eax, dword [0x41e038]
test eax, eax
je 0x40e61e
dec eax
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov dword [esi + 4], 1
mov dword [esi + 8], 0
lea eax, [esi + 8]
mov byte [esi + 0xc], 0
pop esi
ret
xor eax, eax
pop esi
ret
mov ecx, 0x41e038
call fcn.00417900
jmp 0x40e57f
mov ecx, 0x41e038
call fcn.00417900
jmp 0x40e5a0
mov ecx, 0x41e038
call fcn.00417900
jmp 0x40e5e0
mov ecx, 4
mov edx, 0x10
call fcn.00416d80
int3
Function at 0x4167a1
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
test eax, eax
je 0x4167e0
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4167e0
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4167e0
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4167e0
cmp dword [ecx + 0x74], 0xe
jbe 0x4167e0
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x417900
Capabilities:
Allocate thread local storage

Disassembly:
push ebx
push edi
push esi
sub esp, 0x20
cmp dword [ecx + 4], 0
mov esi, ecx
je 0x417971
lea ebx, [esi + 0xc]
mov dword [esp + 4], 0
lea eax, [esp + 4]
push 0
push eax
push 0
push ebx
call dword [sym.imp.kernel32.dll_InitOnceBeginInitialize]
cmp eax, 1
mov dword [esp], eax
jne 0x4179a8
cmp dword [esp + 4], 0
je 0x41798f
call dword [sym.imp.kernel32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x4179bb
mov edi, eax
inc eax
mov dword [esi], eax
mov eax, dword [0x41e1a0]
nop dword [eax]
mov dword [esi + 8], eax
lock cmpxchg dword [0x41e1a0], esi
jne 0x417950
mov byte [0x41e19c], 1
push 0
push 0
push ebx
call dword [sym.imp.kernel32.dll_InitOnceComplete]
jmp 0x41799f
call dword [sym.imp.kernel32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esp], eax
je 0x4179fc
mov ecx, eax
xor eax, eax
inc ecx
lock cmpxchg dword [esi], ecx
jne 0x417993
mov edi, dword [esp]
jmp 0x41799f
mov edi, dword [esi]
jmp 0x41799e
mov edi, eax
push dword [esp]
call dword [sym.imp.kernel32.dll_TlsFree]
dec edi
mov eax, edi
add esp, 0x20
pop esi
pop edi
pop ebx
ret
mov ecx, esp
lea edx, [esp + 8]
mov dword [esp + 8], 0
call fcn.00417a30
push 0
push 4
push ebx
call dword [sym.imp.kernel32.dll_InitOnceComplete]
lea ecx, [esp + 8]
mov edx, 0x41b558
mov dword [esp + 8], 0x41b51c
mov dword [esp + 0xc], 1
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], str.kernel_drivers_do_not_support_launch_arguments
mov dword [esp + 0x14], 0
call fcn.00416e20
mov ecx, esp
lea edx, [esp + 8]
mov dword [esp + 8], 0x41b51c
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], str.kernel_drivers_do_not_support_launch_arguments
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.00417a60
int3
Function at 0x406273
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x406298
mov eax, dword [0x40a8a0]
cmp eax, 0xffffffff
je 0x40628f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [0x40a8a0], 0xffffffff
jmp 0x40630b
cmp dword [0x440a40], ebx
je 0x40630b
cmp byte [0x440640], bl
je 0x4062d7
cmp dword [0x40a8a0], 0xffffffff
jne 0x4062e0
push 4
push 0x40000000
push 0x440640
call fcn.00405c27
cmp eax, 0xffffffff
mov dword [0x40a8a0], eax
je 0x40630b
push 2
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [0x40a8a0], 0xffffffff
je 0x40630b
push esi
mov esi, 0x444a60
push 0x40aae8
push esi
call fcn.00405f75
lea eax, [ebp + 8]
push ebx
push eax
push esi
call fcn.00405f68
push eax
push esi
push dword [0x40a8a0]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
pop ebx
pop ebp
ret 4

Function at 0x4064bd
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor esi, esi
cmp dword [0x44023c], esi
push edi
jne 0x4064f7
mov ecx, 0x440238
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x4064d3
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x440638
jl 0x4064ce
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x40652c
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x440238]
xor eax, esi
inc ecx
dec edx
jne 0x40650f
pop edi
pop esi
not eax
ret 0xc

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x40d5c8
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419428]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0040804b
mov dword [ebp - 0x14], eax
cmp dword [0x4ad780], esi
jne 0x40d6bb
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d648
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d79b
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d79b
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d79b
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4ad780], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4ad784], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4ad788], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4ad790], eax
test eax, eax
je 0x40d6b8
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4ad78c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d6e0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d6d3
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d6f5
push 4
pop eax
jmp 0x40d79d
cmp dword [ebp - 0x14], esi
je 0x40d6f5
push dword [0x4ad780]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d6da
mov eax, dword [0x4ad78c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d753
cmp dword [0x4ad790], edi
je 0x40d753
push eax
call ebx
push dword [0x4ad790]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d753
test eax, eax
je 0x40d753
call ecx
test eax, eax
je 0x40d748
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40d748
test byte [ebp - 8], 1
jne 0x40d753
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d783
mov eax, dword [0x4ad784]
cmp eax, edi
je 0x40d780
push eax
call ebx
test eax, eax
je 0x40d780
call eax
mov esi, eax
test esi, esi
je 0x40d780
mov eax, dword [0x4ad788]
cmp eax, edi
je 0x40d780
push eax
call ebx
test eax, eax
je 0x40d780
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4ad780]
call ebx
test eax, eax
je 0x40d79b
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d79d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040434c
mov esp, ebp
pop ebp
ret
Function at 0x4011b3
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
push edi
xor edi, edi
mov eax, 0x5a4d
mov ecx, edi
cmp word [esi], ax
jne 0x4011e0
mov eax, dword [esi + 0x3c]
cmp dword [eax + esi], 0x4550
jne 0x4011e0
lea ecx, [esi + 0x18]
add ecx, eax
mov eax, dword [ecx + 0x60]
add eax, esi
mov edx, dword [eax + 0x20]
mov ebx, dword [eax + 0x1c]
add edx, esi
mov ecx, dword [eax + 0x24]
add ebx, esi
mov eax, dword [eax + 0x18]
add ecx, esi
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x40121e
mov ecx, dword [edx + edi*4]
mov edx, dword [ebp - 4]
add ecx, esi
call fcn.004010f9
test eax, eax
je 0x401225
mov edx, dword [ebp - 0xc]
inc edi
cmp edi, dword [ebp - 8]
jb 0x401204
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + edi*2]
mov eax, dword [ebx + eax*4]
add eax, esi
jmp 0x401220
Function at 0x403c5d
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x403c9c
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x403c9c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x403c9c
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x403c9c
cmp dword [ecx + 0x74], 0xe
jbe 0x403c9c
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x411a50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x62677e
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x67e034]
xor eax, esp
mov dword [esp + 0x8c], eax
push esi
push edi
mov eax, dword [0x67e034]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
push 5
xor esi, esi
push str._save
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], esi
mov byte [esp + 0x18], 0
call fcn.00401500
lea ecx, [esp + 0x44]
mov dword [esp + 0xa8], esi
call fcn.0048920c
lea ecx, [esp + 0xc]
push ecx
push eax
lea edi, [esp + 0x30]
mov byte [esp + 0xb0], 1
call fcn.00413200
push eax
lea ecx, [esp + 0x88]
mov byte [esp + 0xb4], 2
call fcn.00488cf7
add esp, 0xc
mov edi, 0x10
cmp dword [esp + 0x40], edi
jb 0x411b09
mov edx, dword [esp + 0x2c]
push edx
call fcn.0045ba36
add esp, 4
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], esi
mov byte [esp + 0x2c], 0
cmp dword [esp + 0x5c], edi
jb 0x411b2d
mov eax, dword [esp + 0x48]
push eax
call fcn.0045ba36
add esp, 4
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], esi
mov byte [esp + 0x48], 0
mov byte [esp + 0xa8], 6
cmp dword [esp + 0x24], edi
jb 0x411b59
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0045ba36
add esp, 4
mov eax, dword [esp + 0x80]
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], esi
mov byte [esp + 0x10], 0
cmp dword [esp + 0x94], edi
jae 0x411b81
lea eax, [esp + 0x80]
mov edx, dword [ebp + 8]
push edx
push eax
push str._s_num_03d.sav
lea esi, [esp + 0x6c]
call fcn.00488abf
add esp, 0xc
mov byte [esp + 0xa8], 7
mov esi, dword [ebx + 8]
add esi, 0x87d94
call fcn.004666eb
mov ecx, dword [ebx + 8]
lea eax, [esp + 0x60]
push eax
add ecx, 0x291b0
call fcn.0046676f
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x7e14c]
mov dword [eax + 0x7e14c], ecx
mov edx, dword [ebx + 8]
mov dword [edx + ecx*4 + 0x3138], 1
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + 0x87d74]
mov ecx, dword [ecx + 0xe6978]
call fcn.004651d4
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x7e2c4]
mov dword [eax + 0x7e2c4], ecx
mov eax, dword [ebx + 0x18]
push ecx
push eax
call fcn.00489d13
mov ecx, dword [ebx + 0x18]
push 0
push 0
call fcn.00489e4c
cmp dword [esp + 0x78], edi
jb 0x411c29
mov ecx, dword [esp + 0x64]
push ecx
call fcn.0045ba36
add esp, 4
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], 0
mov byte [esp + 0x64], 0
cmp dword [esp + 0x94], edi
jb 0x411c57
mov edx, dword [esp + 0x80]
push edx
call fcn.0045ba36
add esp, 4
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.005a7b0e
mov esp, ebp
pop ebp
ret 4
Function at 0x436270
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x619208
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x67e034]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push 0xd
xor ebx, ebx
push str.bgm_bgm05.ogg
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
call fcn.00401500
mov dword [esp + 0x30], ebx
mov eax, dword [edi + 0x2a404]
mov edx, dword [eax]
lea esi, [edi + 0x2a404]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call edx
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x24], 0x10
jb 0x4362ee
mov eax, dword [esp + 0x10]
push eax
call fcn.0045ba36
add esp, 4
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x2028]
mov edx, dword [esi]
mov edx, dword [edx + 0x68]
lea ecx, [eax + eax*4]
add ecx, ecx
push ecx
mov ecx, esi
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
call edx
fldz
mov eax, dword [esi]
mov edx, dword [eax + 8]
sub esp, 8
fstp qword [esp]
push 1
mov ecx, esi
call edx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x28
ret

Function at 0x436340
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x619208
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x67e034]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push 0xd
xor ebx, ebx
push str.se_se_707.ogg
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
call fcn.00401500
mov dword [esp + 0x30], ebx
mov eax, dword [edi + 0x2a4a4]
mov edx, dword [eax]
lea esi, [edi + 0x2a4a4]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call edx
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x24], 0x10
jb 0x4363be
mov eax, dword [esp + 0x10]
push eax
call fcn.0045ba36
add esp, 4
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x202c]
mov edx, dword [esi]
mov edx, dword [edx + 0x68]
lea ecx, [eax + eax*4]
add ecx, ecx
push ecx
mov ecx, esi
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
call edx
fldz
mov eax, dword [esi]
mov edx, dword [eax + 8]
sub esp, 8
fstp qword [esp]
push 1
mov ecx, esi
call edx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x28
ret
Function at 0x436410
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x619208
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x67e034]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push 0x13
xor ebx, ebx
push str.voice_aya0_0268.ogg
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
call fcn.00401500
mov dword [esp + 0x30], ebx
mov eax, dword [edi + 0x2a544]
mov edx, dword [eax]
lea esi, [edi + 0x2a544]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call edx
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x24], 0x10
jb 0x43648e
mov eax, dword [esp + 0x10]
push eax
call fcn.0045ba36
add esp, 4
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x2030]
mov edx, dword [esi]
mov edx, dword [edx + 0x68]
lea ecx, [eax + eax*4]
add ecx, ecx
push ecx
mov ecx, esi
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
call edx
fldz
mov eax, dword [esi]
mov edx, dword [eax + 8]
sub esp, 8
fstp qword [esp]
push 1
mov ecx, esi
call edx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x28
ret

Function at 0x4364e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x619208
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x67e034]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push 0x13
xor ebx, ebx
push str.voice_aya9_0002.ogg
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
call fcn.00401500
mov dword [esp + 0x30], ebx
mov eax, dword [edi + 0x2a5e4]
mov edx, dword [eax]
lea esi, [edi + 0x2a5e4]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call edx
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x24], 0x10
jb 0x43655e
mov eax, dword [esp + 0x10]
push eax
call fcn.0045ba36
add esp, 4
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x2324]
mov edx, dword [esi]
mov edx, dword [edx + 0x68]
lea ecx, [eax + eax*4]
add ecx, ecx
push ecx
mov ecx, esi
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
call edx
fldz
mov eax, dword [esi]
mov edx, dword [eax + 8]
sub esp, 8
fstp qword [esp]
push 1
mov ecx, esi
call edx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x28
ret