Function at 0x446a00
Capabilities:
Terminate process

Disassembly:
sub esp, 0x34c
push ebx
push ebp
push esi
push edi
mov byte [esp + 0x140], 0
mov eax, dword [0x57dd3c]
test eax, eax
mov ebp, dword [esp + 0x364]
jne 0x4472a9
mov al, byte [0x57dc30]
test al, al
je 0x446ca2
or ecx, 0xffffffff
xor eax, eax
mov edi, 0x57dc30
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
lea edx, [esp + 0x140]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x360]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebx, ecx
or ecx, 0xffffffff
mov esi, edi
lea edx, [esp + 0x140]
mov edi, edx
repne scasb al, byte es:[edi]
dec edi
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov edi, str..arc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebx, ecx
or ecx, 0xffffffff
mov esi, edi
lea edx, [esp + 0x140]
mov edi, edx
repne scasb al, byte es:[edi]
mov ecx, ebx
shr ecx, 2
dec edi
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x140]
and ecx, 3
push 0x4881f4
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00457a19
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x446ca2
push ebx
push 1
lea esi, [ebp + 0x204]
push 0x1c
push esi
call fcn.00458a9d
add esp, 0x10
cmp eax, 1
jne 0x446f4b
mov ecx, 4
mov edi, str.MajiroArcV1.000
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x446bec
mov eax, dword [ebp + 0x214]
lea ecx, [eax*8 + 0x108]
push ecx
call fcn.004466e0
mov edx, dword [ebp + 0x214]
mov esi, eax
push ebx
push 1
lea eax, [edx*8 + 8]
push eax
push esi
mov dword [esp + 0x24], esi
call fcn.00458a9d
add esp, 0x14
cmp eax, 1
jne 0x446f4b
mov eax, dword [ebp + 0x214]
lea ecx, [eax + eax*2]
lea edx, [ecx*4 + 0x10c]
push edx
call fcn.004466e0
mov dword [ebp + 0x220], eax
mov eax, dword [ebp + 0x214]
add esp, 4
xor edx, edx
test eax, eax
jle 0x446bb8
xor ecx, ecx
lea eax, [esi + 4]
mov edi, dword [eax - 4]
mov esi, dword [ebp + 0x220]
mov dword [ecx + esi], edi
mov edi, dword [eax]
mov esi, dword [ebp + 0x220]
mov dword [ecx + esi + 4], edi
mov edi, dword [eax]
mov esi, dword [eax + 8]
sub esi, edi
mov edi, dword [ebp + 0x220]
mov dword [ecx + edi + 8], esi
mov esi, dword [ebp + 0x214]
inc edx
add eax, 8
add ecx, 0xc
cmp edx, esi
jl 0x446b7a
mov esi, dword [esp + 0x10]
push esi
call fcn.00457a5b
mov eax, dword [ebp + 0x214]
mov ecx, dword [ebp + 0x220]
lea eax, [eax + eax*2]
mov edx, dword [ecx + eax*4 - 8]
lea eax, [ecx + eax*4]
mov eax, dword [eax - 4]
push 0
lea ecx, [edx + eax - 1]
push ecx
push ebx
call fcn.00459659
add esp, 0x10
jmp 0x446c7b
mov ecx, 4
mov edi, str.MajiroArcV2.000
lea esi, [ebp + 0x204]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x446f4b
mov eax, dword [ebp + 0x214]
lea eax, [eax + eax*2]
lea ecx, [eax*4 + 0x100]
push ecx
call fcn.004466e0
mov ecx, dword [ebp + 0x214]
push ebx
lea edx, [ecx + ecx*2]
push 1
shl edx, 2
push edx
push eax
mov dword [ebp + 0x220], eax
call fcn.00458a9d
add esp, 0x14
cmp eax, 1
jne 0x446f4b
mov ecx, dword [ebp + 0x214]
xor edx, edx
test ecx, ecx
jle 0x446c6e
mov eax, dword [ebp + 0x220]
add eax, 4
mov esi, ecx
mov ecx, dword [eax + 4]
mov edi, dword [eax]
add ecx, edi
cmp edx, ecx
jg 0x446c68
mov edx, ecx
add eax, 0xc
dec esi
jne 0x446c5b
push 0
dec edx
push edx
push ebx
call fcn.00459659
add esp, 0xc
push ebx
push 1
lea edx, [esp + 0x1c]
push 1
push edx
call fcn.00458a9d
add esp, 0x10
cmp eax, 1
jne 0x446f4b
push ebx
push eax
push eax
lea eax, [esp + 0x20]
jmp 0x446ed9
mov edi, dword [esp + 0x360]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
lea edx, [esp + 0x140]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
xor eax, eax
mov edi, str..arc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebx, ecx
or ecx, 0xffffffff
mov esi, edi
lea edx, [esp + 0x140]
mov edi, edx
repne scasb al, byte es:[edi]
mov ecx, ebx
shr ecx, 2
dec edi
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x140]
and ecx, 3
push 0x4881f4
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00457a19
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x446f6d
push ebx
push 1
lea esi, [ebp + 0x204]
push 0x1c
push esi
call fcn.00458a9d
add esp, 0x10
cmp eax, 1
jne 0x446f4b
mov ecx, 4
mov edi, str.MajiroArcV1.000
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x446e2c
mov eax, dword [ebp + 0x214]
lea ecx, [eax*8 + 0x108]
push ecx
call fcn.004466e0
mov edx, dword [ebp + 0x214]
mov esi, eax
push ebx
push 1
lea eax, [edx*8 + 8]
push eax
push esi
mov dword [esp + 0x28], esi
call fcn.00458a9d
add esp, 0x14
cmp eax, 1
jne 0x446f4b
mov eax, dword [ebp + 0x214]
lea ecx, [eax + eax*2]
lea edx, [ecx*4 + 0x10c]
push edx
call fcn.004466e0
mov dword [ebp + 0x220], eax
mov eax, dword [ebp + 0x214]
add esp, 4
xor edx, edx
test eax, eax
jle 0x446df8
xor ecx, ecx
lea eax, [esi + 4]
mov edi, dword [eax - 4]
mov esi, dword [ebp + 0x220]
mov dword [ecx + esi], edi
mov edi, dword [eax]
mov esi, dword [ebp + 0x220]
mov dword [ecx + esi + 4], edi
mov edi, dword [eax]
mov esi, dword [eax + 8]
sub esi, edi
mov edi, dword [ebp + 0x220]
mov dword [ecx + edi + 8], esi
mov esi, dword [ebp + 0x214]
inc edx
add eax, 8
add ecx, 0xc
cmp edx, esi
jl 0x446dba
mov esi, dword [esp + 0x14]
push esi
call fcn.00457a5b
mov eax, dword [ebp + 0x214]
mov ecx, dword [ebp + 0x220]
lea eax, [eax + eax*2]
mov edx, dword [ecx + eax*4 - 8]
lea eax, [ecx + eax*4]
mov eax, dword [eax - 4]
push 0
lea ecx, [edx + eax - 1]
push ecx
push ebx
call fcn.00459659
add esp, 0x10
jmp 0x446ebb
mov ecx, 4
mov edi, str.MajiroArcV2.000
lea esi, [ebp + 0x204]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x446f4b
mov eax, dword [ebp + 0x214]
lea eax, [eax + eax*2]
lea ecx, [eax*4 + 0x100]
push ecx
call fcn.004466e0
mov ecx, dword [ebp + 0x214]
push ebx
lea edx, [ecx + ecx*2]
push 1
shl edx, 2
push edx
push eax
mov dword [ebp + 0x220], eax
call fcn.00458a9d
add esp, 0x14
cmp eax, 1
jne 0x446f4b
mov ecx, dword [ebp + 0x214]
xor edx, edx
test ecx, ecx
jle 0x446eae
mov eax, dword [ebp + 0x220]
add eax, 4
mov esi, ecx
mov ecx, dword [eax + 4]
mov edi, dword [eax]
add ecx, edi
cmp edx, ecx
jg 0x446ea8
mov edx, ecx
add eax, 0xc
dec esi
jne 0x446e9b
push 0
dec edx
push edx
push ebx
call fcn.00459659
add esp, 0xc
push ebx
push 1
lea edx, [esp + 0x18]
push 1
push edx
call fcn.00458a9d
add esp, 0x10
cmp eax, 1
jne 0x446f4b
push ebx
push eax
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00458a9d
add esp, 0x10
cmp eax, 1
je 0x446f4b
push ebx
call fcn.00457832
or ecx, 0xffffffff
xor eax, eax
add esp, 4
lea edi, [esp + 0x140]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
shr ecx, 2
mov esi, edi
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x360]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
lea edx, [ebp + 0x104]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp + 0x234], 1
jmp 0x4472a9
mov ecx, dword [esp + 0x360]
push ecx
push 0x48efd4
call fcn.00445140
push ebx
call fcn.00457832
add esp, 0xc
push 0xffffffffffffffff
call fcn.00458675
xor eax, eax
mov ecx, 7
lea edi, [ebp + 0x204]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x220]
test eax, eax
je 0x446f99
push eax
call fcn.00457a5b
add esp, 4
mov dword [ebp + 0x220], 0
mov al, byte [0x57dc30]
test al, al
je 0x447158
or ecx, 0xffffffff
xor eax, eax
mov edi, 0x57dc30
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
mov ebx, dword [esp + 0x360]
lea edx, [esp + 0x140]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
xor eax, eax
mov edi, ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
lea edx, [esp + 0x140]
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
shr ecx, 2
dec edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
lea eax, [esp + 0x18]
rep movsb byte es:[edi], byte [esi]
push eax
lea ecx, [esp + 0x144]
push ecx
call fcn.0047db04
add esp, 8
test eax, eax
jne 0x44715f
mov eax, dword [esp + 0x1e]
test ah, 0x40
je 0x44715f
or ecx, 0xffffffff
xor eax, eax
mov edi, ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
lea edx, [ebp + 0x104]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
xor eax, eax
lea edi, [esp + 0x140]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
shr ecx, 2
mov esi, edi
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov edi, ebp
repne scasb al, byte es:[edi]
not ecx
mov al, byte [ecx + ebp - 2]
dec ecx
mov bl, 0x5c
cmp al, bl
je 0x4470b5
or ecx, 0xffffffff
xor eax, eax
mov edi, 0x48831c
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
or ecx, 0xffffffff
mov esi, edi
mov edi, ebp
repne scasb al, byte es:[edi]
mov ecx, edx
shr ecx, 2
dec edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x140]
push eax
push 0x104
mov dword [ebp + 0x234], 0
call dword [0x4820c8]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x40]
push edx
push 0x103
push ebp
call dword [0x4821dc]
push 0
push 0
lea eax, [esp + 0x24c]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x4c]
push edx
call fcn.00457f3f
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x54]
push ecx
call fcn.004576a0
lea edx, [esp + 0x260]
push edx
lea eax, [esp + 0x5c]
push eax
call fcn.004576b0
or ecx, 0xffffffff
xor eax, eax
add esp, 0x24
lea edi, [esp + 0x3c]
repne scasb al, byte es:[edi]
not ecx
mov al, byte [esp + ecx + 0x3a]
dec ecx
cmp al, bl
jne 0x44714f
or ecx, 0xffffffff
xor eax, eax
lea edi, [esp + 0x3c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + ecx + 0x3b], al
lea ecx, [esp + 0x3c]
jmp 0x4472a2
mov ebx, dword [esp + 0x360]
lea edx, [esp + 0x18]
push edx
push ebx
call fcn.0047db04
add esp, 8
test eax, eax
jne 0x4473c4
mov eax, dword [esp + 0x1e]
test ah, 0x40
je 0x4473c4
or ecx, 0xffffffff
xor eax, eax
mov edi, ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
lea edx, [ebp + 0x104]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
xor eax, eax
mov edi, ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
shr ecx, 2
mov esi, edi
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov edi, ebp
repne scasb al, byte es:[edi]
not ecx
mov al, byte [ecx + ebp - 2]
dec ecx
mov bl, 0x5c
cmp al, bl
je 0x447204
or ecx, 0xffffffff
xor eax, eax
mov edi, 0x48831c
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
or ecx, 0xffffffff
mov esi, edi
mov edi, ebp
repne scasb al, byte es:[edi]
mov ecx, edx
shr ecx, 2
dec edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x140]
push eax
push 0x104
mov dword [ebp + 0x234], 0
call dword [0x4820c8]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x40]
push edx
push 0x103
push ebp
call dword [0x4821dc]
push 0
push 0
lea eax, [esp + 0x24c]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x4c]
push edx
call fcn.00457f3f
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x54]
push ecx
call fcn.004576a0
lea edx, [esp + 0x260]
push edx
lea eax, [esp + 0x5c]
push eax
call fcn.004576b0
or ecx, 0xffffffff
xor eax, eax
add esp, 0x24
lea edi, [esp + 0x3c]
repne scasb al, byte es:[edi]
not ecx
mov al, byte [esp + ecx + 0x3a]
dec ecx
cmp al, bl
jne 0x44729e
or ecx, 0xffffffff
xor eax, eax
lea edi, [esp + 0x3c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + ecx + 0x3b], al
lea ecx, [esp + 0x3c]
push ecx
call dword [0x482090]
mov edx, dword [0x57dd3c]
inc edx
mov dword [0x57dd3c], edx
mov eax, dword [ebp + 0x234]
test eax, eax
jne 0x44738a
lea eax, [esp + 0x3c]
push eax
push 0x104
call dword [0x4820c8]
or ecx, 0xffffffff
xor eax, eax
lea edi, [esp + 0x3c]
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.004466e0
or ecx, 0xffffffff
mov ebx, eax
xor eax, eax
lea edi, [esp + 0x40]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
shr ecx, 2
mov esi, edi
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x248]
mov ecx, edx
push eax
and ecx, 3
push 0x48efd0
rep movsb byte es:[edi], byte [esi]
call fcn.00459440
mov esi, eax
add esp, 0xc
cmp esi, 0xffffffff
je 0x447377
push ebx
lea ecx, [esp + 0x248]
push ecx
push ebp
call fcn.004473e0
lea edx, [esp + 0x250]
push edx
push esi
call fcn.0045950d
add esp, 0x14
test eax, eax
jne 0x44736e
push ebx
lea eax, [esp + 0x248]
push eax
push ebp
call fcn.004473e0
lea ecx, [esp + 0x250]
push ecx
push esi
call fcn.0045950d
add esp, 0x14
test eax, eax
je 0x44734a
push esi
call fcn.004595d5
add esp, 4
mov eax, dword [ebp + 0x228]
test eax, eax
jne 0x44738a
push ebx
call fcn.00457a5b
add esp, 4
mov edx, dword [0x57dd3c]
dec edx
mov dword [0x57dd3c], edx
mov al, byte [esp + 0x140]
test al, al
je 0x4473b0
lea eax, [esp + 0x140]
push eax
call dword [0x482090]
mov eax, dword [ebp + 0x234]
test eax, eax
jne 0x4473c7
mov ecx, dword [ebp + 0x228]
test ecx, ecx
jne 0x4473c7
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34c
ret