joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4583c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push ebp
mov ebp, ecx
xor ebx, ebx
push esi
push edi
mov al, byte [ebp + 0x10]
cmp al, bl
jne 0x4584a0
mov eax, dword [ebp + 0x18]
cmp eax, ebx
jne 0x458412
mov eax, dword [0x658e84]
cmp eax, ebx
jne 0x4583f5
push ebx
push 7
push 0x658b38
call fcn.0045a390
add esp, 0xc
jmp 0x45845a
cmp eax, 9
jge 0x45845f
lea ecx, [eax*8]
sub ecx, eax
shl ecx, 4
add ecx, 0x6577e9
push ecx
push ebx
push 8
jmp 0x45844d
cmp eax, 1
jne 0x45845a
mov eax, dword [0x658e84]
cmp eax, ebx
jne 0x458432
push ebx
push 0x23
push 0x658b38
call fcn.0045a390
add esp, 0xc
jmp 0x45845a
cmp eax, 9
jge 0x45845f
lea edx, [eax*8]
sub edx, eax
shl edx, 4
add edx, 0x6577e9
push edx
push ebx
push 0x24
push 0x658b38
call fcn.0045a390
add esp, 0x10
mov eax, dword [0x658e84]
lea edi, [eax*8]
or ecx, 0xffffffff
sub edi, eax
xor eax, eax
shl edi, 4
add edi, 0x6577e9
lea edx, [ebp + 0x1c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov al, byte [ebp + 0x10]
pop edi
inc al
pop esi
mov byte [ebp + 0x10], al
pop ebp
mov al, 1
pop ebx
ret
cmp al, 1
jne 0x4585f7
mov eax, dword [0x658e84]
lea ecx, [eax*8]
sub ecx, eax
shl ecx, 4
test byte [ecx + 0x657798], 8
je 0x4584ed
mov edx, dword [ebp + 0xc]
push ebx
push ebx
push 0x30
mov ecx, 0x656120
mov dword [ebp], edx
mov dword [ebp + 0x14], 0x1e
call fcn.00449fa0
mov dword [0x657ba8], ebx
pop edi
mov byte [ebp + 0x10], bl
pop esi
pop ebp
mov al, 1
pop ebx
ret
mov eax, dword [0x657ba8]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, ebx
jne 0x458503
call esi
mov dword [0x657ba8], eax
call esi
sub eax, dword [0x657ba8]
cmp eax, 0x3e8
jl 0x4585f7
mov eax, dword [ebp + 0x18]
cmp eax, ebx
jne 0x458526
mov al, byte [0x658e84]
push ebx
push eax
jmp 0x458533
cmp eax, 1
jne 0x458547
mov cl, byte [0x658e84]
push eax
push ecx
mov ecx, 0x657798
call fcn.00457b60
and eax, 0xff
mov dword [0x657b98], eax
mov byte [ebp + 0xbc], bl
mov eax, dword [0x657b98]
cmp eax, ebx
je 0x4585c0
mov edx, dword [ebp + 4]
push ebx
push ebx
push 0x43
mov ecx, 0x656120
mov dword [ebp], edx
mov dword [ebp + 0x14], 9
call fcn.00449fa0
mov eax, dword [ebp + 0x18]
mov byte [ebp + 0xbc], 1
cmp eax, ebx
jne 0x4585db
cmp byte [0x656d30], bl
je 0x4585db
mov eax, dword [0x658e84]
mov ecx, 0x657798
push eax
mov dword [0x656d34], eax
call fcn.00457b30
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, 0x656d38
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x4585db
mov ecx, dword [ebp + 8]
push ebx
mov dword [ebp], ecx
push ebx
push 0x30
mov ecx, 0x656120
mov dword [ebp + 0x14], 0xa
call fcn.00449fa0
cmp byte [ebp + 0xbc], bl
je 0x4585ee
cmp dword [ebp + 0x18], ebx
jne 0x4585ee
mov byte [0x656e3d], bl
mov dword [0x657ba8], ebx
mov byte [ebp + 0x10], bl
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
ret
Function at 0x4587a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
mov esi, ecx
mov al, byte [esi + 0x10]
test al, al
jne 0x4587e0
lea eax, [esi + 0x9c]
lea ecx, [esi + 0x7c]
push eax
lea edx, [esi + 0x5c]
push ecx
lea eax, [esi + 0x3c]
push edx
mov dl, byte [esi + 0x14]
lea ecx, [esi + 0x1c]
push eax
push ecx
push 0xf
push edx
push 0x658b38
call fcn.0045a390
mov al, byte [esi + 0x10]
add esp, 0x20
inc al
mov byte [esi + 0x10], al
mov al, 1
pop esi
ret
cmp al, 1
jne 0x45883c
mov eax, dword [0x657bac]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
test eax, eax
jne 0x4587fb
call edi
mov dword [0x657bac], eax
call edi
mov edx, dword [0x657bac]
pop edi
sub eax, edx
cmp eax, 0x3e8
jae 0x458819
test dword [0x658e80], 0x2020
je 0x45883c
push 0
push 0
push 0x45
mov ecx, 0x656120
call fcn.00449fa0
mov dword [0x657bac], 0
mov eax, dword [esi + 4]
mov byte [esi + 0x10], 0
mov dword [esi], eax
mov al, 1
pop esi
ret

Function at 0x45ebb0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
mov al, byte [esp + 8]
push esi
test al, al
push edi
mov esi, ecx
je 0x45ebc3
push 1
push 1
jmp 0x45ebc7
push 0
push 0
mov ecx, 0x657418
call fcn.00456cb0
mov al, byte [esi + 0x17c]
test al, al
jne 0x45ec80
mov eax, dword [0x657678]
test eax, eax
je 0x45ec25
mov eax, dword [esi + 4]
push 2
push 0
mov cl, byte [eax + 0x9f]
cmp cl, 4
mov ecx, 0x657418
je 0x45ec1c
call fcn.00456ce0
test al, al
je 0x45ec2c
push 2
push 1
mov ecx, 0x657418
call fcn.00456ce0
test al, al
je 0x45ec2c
jmp 0x45ec25
call fcn.00456ce0
test al, al
je 0x45ec2c
mov byte [esi + 0x17c], 1
mov eax, dword [esi + 0x170]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
test eax, eax
jne 0x45ec44
call edi
mov dword [esi + 0x170], eax
call edi
sub eax, dword [esi + 0x170]
cmp eax, 0x1e
jbe 0x45ec62
mov byte [esi + 0x17c], 1
mov dword [esi + 0x170], 0
mov al, byte [esi + 0x17c]
test al, al
je 0x45ed58
mov dword [esi + 0x170], 0
pop edi
pop esi
pop ecx
ret 4
mov ecx, dword [esi + 0x158]
mov dword [esp + 0x10], ecx
mov ecx, esi
call fcn.0045eef0
mov ecx, esi
call fcn.0045f090
mov edx, dword [0x6213fc]
fld dword [0x6213fc]
mov dword [esp + 8], edx
call fcn.005755f0
test eax, eax
jne 0x45ecb6
mov eax, 1
test eax, eax
mov dword [0x6213fc], 0x3f800000
jbe 0x45ed4f
mov edi, eax
mov al, byte [esi + 0x17c]
test al, al
je 0x45ed3a
test byte [esi + 0xa4], 0xf
jbe 0x45ecee
mov eax, dword [esp + 0x10]
mov ecx, 0x65a910
push eax
call fcn.00460570
jmp 0x45ecfd
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, 0x65a910
call fcn.00405d80
mov al, byte [esi + 0x17c]
test al, al
je 0x45ed3a
mov al, byte [esi + 0x17b]
test al, al
jne 0x45ed3a
cmp byte [esi + 0x15e], 1
jne 0x45ed24
mov ecx, 0x63ab88
call fcn.0046c170
mov edx, dword [esi + 4]
cmp byte [edx + 0x9f], 4
je 0x45ed3a
mov ecx, 0x657298
call fcn.00455aa0
fld dword [0x6213fc]
fadd dword [esp + 0x10]
dec edi
fstp dword [esp + 0x10]
jne 0x45ecca
mov eax, dword [esp + 8]
mov dword [0x6213fc], eax
pop edi
pop esi
pop ecx
ret 4
Function at 0x4609e0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 8
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
mov edi, dword [esp + 0x18]
xor esi, esi
mov dword [esp + 0xc], esi
cmp word [edi + 6], si
jbe 0x460b31
push ebx
mov eax, dword [edi + 0x4c]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
cmp word [esi + eax + 4], bx
jbe 0x460b16
mov edx, dword [esi + eax + 8]
lea ecx, [esp + 0x14]
push 0
push ecx
mov eax, dword [edx + ebx + 0x10]
push 0
push 0
push eax
mov ecx, 0x620cd0
call fcn.0040d2b0
mov ecx, dword [edi + 0x4c]
xor edx, edx
mov eax, dword [esi + ecx + 8]
cmp word [eax + ebx + 6], dx
jbe 0x460adc
mov ecx, dword [esp + 0x14]
add ecx, 8
fld dword [ebp]
fcomp dword [ecx - 8]
fnstsw ax
test ah, 0x41
jne 0x460a5f
mov eax, dword [ecx - 8]
mov dword [ebp], eax
fld dword [ebp + 4]
fcomp dword [ecx - 4]
fnstsw ax
test ah, 0x41
jne 0x460a72
mov eax, dword [ecx - 4]
mov dword [ebp + 4], eax
fld dword [ebp + 8]
fcomp dword [ecx]
fnstsw ax
test ah, 0x41
jne 0x460a83
mov eax, dword [ecx]
mov dword [ebp + 8], eax
mov ebp, dword [esp + 0x24]
fld dword [ebp]
fcomp dword [ecx - 8]
fnstsw ax
test ah, 1
je 0x460a9a
mov eax, dword [ecx - 8]
mov dword [ebp], eax
fld dword [ebp + 4]
fcomp dword [ecx - 4]
fnstsw ax
test ah, 1
je 0x460aad
mov eax, dword [ecx - 4]
mov dword [ebp + 4], eax
fld dword [ebp + 8]
fcomp dword [ecx]
fnstsw ax
test ah, 1
je 0x460abe
mov eax, dword [ecx]
mov dword [ebp + 8], eax
mov eax, dword [edi + 0x4c]
xor ebp, ebp
inc edx
add ecx, 0x18
mov eax, dword [esi + eax + 8]
mov bp, word [eax + ebx + 6]
cmp edx, ebp
mov ebp, dword [esp + 0x20]
jl 0x460a4c
mov ecx, dword [edi + 0x4c]
push 1
mov edx, dword [esi + ecx + 8]
mov ecx, 0x620cd0
mov eax, dword [edx + ebx + 0x10]
push eax
call fcn.0040d2f0
mov ecx, dword [esp + 0x1c]
mov eax, dword [edi + 0x4c]
inc ecx
add ebx, 0x20
mov dword [esp + 0x1c], ecx
xor ecx, ecx
mov cx, word [esi + eax + 4]
mov edx, dword [esp + 0x1c]
cmp edx, ecx
jl 0x460a13
mov eax, dword [esp + 0x10]
xor edx, edx
mov dx, word [edi + 6]
inc eax
add esi, 0xc
cmp eax, edx
mov dword [esp + 0x10], eax
jl 0x4609ff
pop ebx
xor esi, esi
cmp word [edi + 8], si
jbe 0x460b59
mov ecx, dword [edi + 0x50]
mov eax, dword [esp + 0x20]
push eax
push ebp
mov edx, dword [ecx + esi*4]
push edx
call fcn.004609e0
xor eax, eax
add esp, 0xc
mov ax, word [edi + 8]
inc esi
cmp esi, eax
jl 0x460b39
pop edi
pop esi
pop ebp
add esp, 8
ret
Function at 0x460d90
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x2c
push ebx
mov ebx, dword [esp + 0x34]
push ebp
push esi
xor esi, esi
push edi
cmp word [ebx + 6], si
mov edi, dword [esp + 0x48]
mov dword [esp + 0x18], esi
jbe 0x460f2b
mov dword [esp + 0x1c], esi
mov eax, dword [ebx + 0x4c]
xor ebp, ebp
mov dword [esp + 0x10], ebp
cmp word [esi + eax + 4], bp
jbe 0x460f0d
mov dword [esp + 0x14], ebp
mov edx, dword [esi + eax + 8]
lea ecx, [esp + 0x20]
push 0
push ecx
mov eax, dword [edx + ebp + 0x10]
push 0
push 0
push eax
mov ecx, 0x620cd0
call fcn.0040d2b0
mov edx, dword [ebx + 0x4c]
xor ecx, ecx
mov dword [esp + 0x40], ecx
mov eax, dword [esi + edx + 8]
cmp word [eax + ebp + 6], cx
jbe 0x460ed3
mov dword [esp + 0x48], ecx
jmp 0x460e09
xor ecx, ecx
mov eax, dword [edi]
mov dword [esp + 0x28], ecx
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x44]
mov esi, dword [eax + edx*8 + 0xc]
mov edx, esi
shr edx, 0x10
and edx, 0xff
mov dword [esp + 0x24], edx
fild qword [esp + 0x24]
fmul dword [esp + 0x4c]
call fcn.005755f0
mov ebp, eax
mov eax, esi
shr eax, 8
and eax, 0xff
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], eax
or ebp, 0xffffff00
fild qword [esp + 0x2c]
shl ebp, 8
fmul dword [esp + 0x50]
call fcn.005755f0
and esi, 0xff
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], esi
and eax, 0xff
fild qword [esp + 0x34]
or ebp, eax
shl ebp, 8
fmul dword [esp + 0x54]
call fcn.005755f0
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x48]
and eax, 0xff
mov esi, dword [esp + 0x1c]
or ebp, eax
mov dword [ecx + edx + 0xc], ebp
mov eax, dword [edi]
mov ebp, dword [esp + 0x14]
inc eax
add ecx, 0x18
mov dword [edi], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x48], ecx
mov ecx, dword [ebx + 0x4c]
inc eax
mov dword [esp + 0x40], eax
mov edx, dword [esi + ecx + 8]
xor ecx, ecx
mov cx, word [edx + ebp + 6]
cmp eax, ecx
jl 0x460e07
mov edx, dword [ebx + 0x4c]
push 1
mov eax, dword [esi + edx + 8]
mov ecx, dword [eax + ebp + 0x10]
push ecx
mov ecx, 0x620cd0
call fcn.0040d2f0
mov eax, dword [ebx + 0x4c]
mov ecx, dword [esp + 0x10]
xor edx, edx
inc ecx
mov dx, word [esi + eax + 4]
add ebp, 0x20
cmp ecx, edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebp
jl 0x460dcb
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov cx, word [ebx + 6]
inc eax
add esi, 0xc
cmp eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], esi
jl 0x460db3
xor esi, esi
cmp word [ebx + 8], si
jbe 0x460f62
mov ebp, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x44]
push ebp
push edx
mov edx, dword [ebx + 0x50]
push eax
push edi
mov eax, dword [edx + esi*4]
push ecx
push eax
call fcn.00460d90
xor ecx, ecx
add esp, 0x18
mov cx, word [ebx + 8]
inc esi
cmp esi, ecx
jl 0x460f37
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
Function at 0x4633d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], 0x588da8
lea esi, [ecx + 0x3c]
mov dword [esp + 0x18], 0xc
xor ebp, ebp
mov dword [esi], 0x7f7fffff
or ebx, 0xffffffff
cmp word [0x64f55c], bp
jbe 0x4634d6
mov edi, ebp
and edi, 0xffff
mov eax, edi
shl eax, 0xa
add eax, 0x64f560
mov cl, byte [eax + 1]
test cl, cl
je 0x46346d
fld dword [eax + 0x3b4]
fstp dword [esp + 0x1c]
fld dword [eax + 0x3b8]
fstp dword [esp + 0x20]
fld dword [eax + 0x3bc]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
push 0x43480000
lea edx, [esi + 0x44]
push ecx
fstp dword [esp + 0x30]
push edx
call fcn.004619a0
add esp, 0x10
test al, al
je 0x46346d
fld dword [esi]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x46346d
mov eax, dword [esp + 0x14]
mov ebx, edi
mov dword [esi], eax
inc ebp
cmp bp, word [0x64f55c]
jb 0x463402
test ebx, ebx
jl 0x4634d6
shl ebx, 0xa
mov eax, dword [esi + 0x4c]
add ebx, 0x64f560
mov edi, ebx
mov ecx, dword [edi + 0x3bc]
mov edx, dword [edi + 0x3b4]
push ecx
mov ecx, dword [esi + 0x44]
push edx
push eax
push ecx
call fcn.004617f0
fmul dword [0x5884cc]
add esp, 0x10
fmul dword [0x588f74]
fsubr dword [0x5884d0]
fstp dword [esi - 0x1c]
mov edx, dword [edi + 0x3b4]
mov dword [esi - 0x18], edx
mov eax, dword [edi + 0x3b8]
mov dword [esi - 0x14], eax
mov ecx, dword [edi + 0x3bc]
mov dword [esi - 0x10], ecx
jmp 0x4634df
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
mov dword [esi - 0x1c], eax
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
add edx, 4
add esi, 0x78
dec eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], eax
jne 0x4633ea
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x483ca0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x585edc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push esi
xor ebx, ebx
mov esi, ecx
push ebx
push ebx
push ebx
lea ecx, [esi + 0x10]
mov dword [esp + 0x18], esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call fcn.00465350
push ebx
push ebx
push ebx
lea ecx, [esi + 0x1c]
call fcn.00465350
push ebx
push ebx
push ebx
lea ecx, [esp + 0x28]
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov byte [esi + 0x34], bl
call fcn.00465350
push ebx
push ebx
push ebx
lea ecx, [esp + 0x34]
call fcn.00465350
push ebx
push ebx
push ebx
lea ecx, [esp + 0x40]
call fcn.00465350
mov al, byte [esp + 0xb]
push ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x50], bl
mov byte [esi + 0x84], al
call fcn.005756f6
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], eax
mov dword [esi + 0x90], eax
mov cl, byte [esp + 0xf]
mov dword [esi + 0x94], ebx
mov dword [esi + 0x98], ebx
push ebx
mov dword [esp + 0x6c], ebx
mov byte [esi + 0x9c], cl
call fcn.005756f6
add esp, 8
mov dword [esi + 0xa0], eax
mov dword [esi + 0xa4], eax
mov dword [esi + 0xa8], eax
mov ecx, 1
mov eax, 0x3f800000
lea edx, [esp + 0x10]
mov byte [esp + 0x64], cl
mov dword [esi + 0xf4], ecx
mov dword [esi + 0xd8], 5
mov dword [esi + 0xdc], 2
mov dword [esi + 0xe0], eax
mov dword [esi + 0xe4], eax
mov byte [esi + 0xe8], bl
mov dword [esi + 0xec], ebx
mov dword [esi + 0xf0], ebx
mov dword [esi + 0xf8], ebx
mov byte [esi + 0xfc], bl
mov dword [esi], fcn.00484510
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
push edx
mov ecx, esi
call fcn.00484920
mov ecx, dword [esp + 0x5c]
mov dword [esi + 0xd0], 0xffffffff
mov dword [esi + 0xd4], 0x7fffffff
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret
Function at 0x48e8b0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x108
push edi
lea eax, [esp + 8]
push str.TanakaFiles_soundlistmenu_music.lst
mov edi, ecx
push eax
call fcn.00404300
push 1
lea ecx, [esp + 0x14]
push 0x598194
push ecx
call fcn.00401040
add esp, 0x14
mov dword [esp + 4], eax
test eax, eax
jne 0x48e8f9
push str.v_oo_v_Load_Failed_menu_music.lst
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor al, al
pop edi
add esp, 0x108
ret
push ebx
push ebp
push esi
push 0x1e
call fcn.005756f6
lea edx, [edi + 0x15135]
mov esi, eax
mov ecx, 0x78
xor eax, eax
mov edi, edx
add esp, 4
rep stosd dword es:[edi], eax
xor ebp, ebp
mov ebx, edx
mov ecx, 7
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [esp + 0x10]
push edi
push 0x1e
push esi
call fcn.004010b0
add esp, 0xc
test eax, eax
je 0x48e95e
xor eax, eax
mov cl, byte [eax + esi]
cmp cl, 0xa
je 0x48e955
test cl, cl
je 0x48e955
mov byte [ebx + eax], cl
inc eax
cmp eax, 0x1e
jl 0x48e940
inc ebp
add ebx, 0x1e
cmp ebp, 0x10
jl 0x48e91d
push esi
call fcn.005756eb
push edi
call fcn.004010e0
add esp, 8
mov al, 1
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x108
ret
Function at 0x494620
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x108
push edi
lea eax, [esp + 8]
push str.TanakaFilesEditListEntranceEntMovFileTable.lst
mov edi, ecx
push eax
call fcn.00404300
push 1
lea ecx, [esp + 0x14]
push 0x598194
push ecx
call fcn.00401040
add esp, 0x14
mov dword [esp + 4], eax
test eax, eax
jne 0x494669
push str.v_oo_v_Load_Failed_EntMovFileTable.lst
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor al, al
pop edi
add esp, 0x108
ret
push ebx
push ebp
push esi
push 0x20
call fcn.005756f6
lea edx, [edi + 0x628]
mov esi, eax
mov ecx, 0x190
xor eax, eax
mov edi, edx
add esp, 4
rep stosd dword es:[edi], eax
xor ebp, ebp
mov ebx, edx
mov ecx, 8
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x10]
push edi
push 0x20
push esi
call fcn.004010b0
add esp, 0xc
test eax, eax
je 0x4946cc
xor eax, eax
mov cl, byte [eax + esi]
cmp cl, 0xa
je 0x4946c3
test cl, cl
je 0x4946c3
mov byte [ebx + eax], cl
inc eax
cmp eax, 0x20
jl 0x4946ae
inc ebp
add ebx, 0x10
cmp ebp, 0x64
jl 0x49468d
push esi
call fcn.005756eb
push edi
call fcn.004010e0
add esp, 8
mov al, 1
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x108
ret

Function at 0x494710
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x108
push edi
lea eax, [esp + 8]
push str.TanakaFilesEditListEntranceEntMscFileTable.lst
mov edi, ecx
push eax
call fcn.00404300
push 1
lea ecx, [esp + 0x14]
push 0x598194
push ecx
call fcn.00401040
add esp, 0x14
mov dword [esp + 4], eax
test eax, eax
jne 0x494759
push str.v_oo_v_Load_Failed_EntMscFileTable.lst
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor al, al
pop edi
add esp, 0x108
ret
push ebx
push ebp
push esi
push 0x20
call fcn.005756f6
lea edx, [edi + 0xc68]
mov esi, eax
mov ecx, 0x320
xor eax, eax
mov edi, edx
add esp, 4
rep stosd dword es:[edi], eax
xor ebp, ebp
mov ebx, edx
mov ecx, 8
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x10]
push edi
push 0x20
push esi
call fcn.004010b0
add esp, 0xc
test eax, eax
je 0x4947bc
xor eax, eax
mov cl, byte [eax + esi]
cmp cl, 0xa
je 0x4947b3
test cl, cl
je 0x4947b3
mov byte [ebx + eax], cl
inc eax
cmp eax, 0x20
jl 0x49479e
inc ebp
add ebx, 0x20
cmp ebp, 0x64
jl 0x49477d
push esi
call fcn.005756eb
push edi
call fcn.004010e0
add esp, 8
mov al, 1
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x108
ret
Function at 0x494800
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x108
push edi
lea eax, [esp + 8]
push str.TanakaFilesEditListEntranceEntMotFileTable.lst
mov edi, ecx
push eax
call fcn.00404300
push 1
lea ecx, [esp + 0x14]
push 0x598194
push ecx
call fcn.00401040
add esp, 0x14
mov dword [esp + 4], eax
test eax, eax
jne 0x494849
push str.v_oo_v_Load_Failed_EntMotFileTable.lst
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor al, al
pop edi
add esp, 0x108
ret
push ebx
push ebp
push esi
push 0x20
call fcn.005756f6
lea edx, [edi + 0x18e8]
mov esi, eax
mov ecx, 0xc8
xor eax, eax
mov edi, edx
add esp, 4
rep stosd dword es:[edi], eax
xor ebp, ebp
mov ebx, edx
mov ecx, 8
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x10]
push edi
push 0x20
push esi
call fcn.004010b0
add esp, 0xc
test eax, eax
je 0x4948ac
xor eax, eax
mov cl, byte [eax + esi]
cmp cl, 0xa
je 0x4948a3
test cl, cl
je 0x4948a3
mov byte [ebx + eax], cl
inc eax
cmp eax, 0x10
jl 0x49488e
inc ebp
add ebx, 8
cmp ebp, 0x64
jl 0x49486d
push esi
call fcn.005756eb
push edi
call fcn.004010e0
add esp, 8
mov al, 1
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x108
ret

Function at 0x4949a0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x104
lea eax, [esp]
push ebp
push edi
push str.TanakaFilesEditListEntranceEntFreFileTable.lst
mov edi, ecx
push eax
call fcn.00404300
push 1
lea ecx, [esp + 0x14]
push 0x598194
push ecx
call fcn.00401040
mov ebp, eax
add esp, 0x14
test ebp, ebp
jne 0x4949e9
push str.v_oo_v_Load_Failed_EntFreFileTable.lst
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
xor al, al
pop ebp
add esp, 0x104
ret
push ebx
push esi
push 0x10
call fcn.005756f6
lea edx, [edi + 0x1c08]
mov esi, eax
mov ecx, 0x190
xor eax, eax
mov edi, edx
add esp, 4
rep stosd dword es:[edi], eax
xor ebx, ebx
mov edi, edx
mov eax, esi
xor edx, edx
push ebp
push 0x10
mov dword [eax], edx
push esi
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
call fcn.004010b0
add esp, 0xc
test eax, eax
je 0x494a4b
xor eax, eax
mov cl, byte [eax + esi]
cmp cl, 0xa
je 0x494a42
test cl, cl
je 0x494a42
mov byte [edi + eax], cl
inc eax
cmp eax, 0x10
jl 0x494a2d
inc ebx
add edi, 0x10
cmp ebx, 0x64
jl 0x494a0c
push esi
call fcn.005756eb
push ebp
call fcn.004010e0
add esp, 8
mov al, 1
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x104
ret
Function at 0x494a90
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x108
push edi
lea eax, [esp + 8]
push str.TanakaFilescharheader_finish.lst
mov edi, ecx
push eax
call fcn.00404300
push 1
lea ecx, [esp + 0x14]
push 0x598194
push ecx
call fcn.00401040
add esp, 0x14
mov dword [esp + 4], eax
test eax, eax
jne 0x494ad9
push str.v_oo_v_Load_Failed_finish.lst
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor al, al
pop edi
add esp, 0x108
ret
push ebx
push ebp
push esi
push 0x1e
call fcn.005756f6
lea edx, [edi + 0x2248]
mov esi, eax
mov ecx, 0x177
xor eax, eax
mov edi, edx
add esp, 4
rep stosd dword es:[edi], eax
xor ebp, ebp
mov ebx, edx
mov ecx, 7
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [esp + 0x10]
push edi
push 0x1e
push esi
call fcn.004010b0
add esp, 0xc
test eax, eax
je 0x494b3e
xor eax, eax
mov cl, byte [eax + esi]
cmp cl, 0xa
je 0x494b35
test cl, cl
je 0x494b35
mov byte [ebx + eax], cl
inc eax
cmp eax, 0x1e
jl 0x494b20
inc ebp
add ebx, 0x1e
cmp ebp, 0x32
jl 0x494afd
push esi
call fcn.005756eb
push edi
call fcn.004010e0
add esp, 8
mov al, 1
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x108
ret