Function at 0x408a00
Capabilities:
Inspect section memory permissions

Disassembly:
mov eax, dword [esp + 0x14]
sub esp, 0x224
test eax, eax
je 0x408a25
mov ecx, dword [esp + 0x23c]
push ecx
push eax
call fcn.0046c440
add esp, 8
mov dword [esp + 0x18], eax
jmp 0x408a2d
mov dword [esp + 0x18], 0
push ebx
push ebp
push esi
push edi
call fcn.00407b40
mov ebx, dword [esp + 0x23c]
mov ebp, dword [esp + 0x238]
mov dword [esp + 0x20], eax
mov eax, dword [ebx]
test eax, eax
mov dword [esp + 0x1c], eax
je 0x4097ab
cmp byte [ebp], 0
je 0x408a86
mov edi, 0x5731f8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x240]
mov edi, 0x57323c
cmp eax, 1
jne 0x408a9c
mov edi, 0x573238
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x240]
not ecx
dec ecx
add ebp, ecx
test eax, eax
jne 0x408ae8
test byte [esp + 0x1c], 0x3f
je 0x4097ab
jmp 0x409577
cmp eax, 1
jne 0x408bd9
mov eax, dword [esp + 0x1c]
test ah, 8
je 0x408b01
push 0x5eae
jmp 0x408b0f
test ah, 4
je 0x408bd9
push 0x5eaf
call fcn.004680f0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x5731f8
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x20]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ax, word [eax + 0x8eb]
test ax, ax
je 0x408bc7
cmp ax, 0xffff
je 0x408bc7
and eax, 0xffff
push eax
call fcn.0046db80
push eax
call fcn.004680f0
add esp, 8
push eax
push 0x5eb0
call fcn.004680f0
add esp, 4
push eax
push str._s:__s
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, ebp
push ecx
call dword [0x56c1a4]
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x224
ret
push 0x5eb0
call fcn.004680f0
push eax
push str._s:____
jmp 0x408ba4
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], 0
test eax, 0x40000000
je 0x408d69
mov eax, dword [ebx + 4]
test ah, 0x80
je 0x408c87
push 0x5e1a
call fcn.004680f0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 4]
and eax, 0x8000
cmp eax, 0x8000
jne 0x408c87
mov eax, dword [esp + 0x244]
test eax, eax
jne 0x408c56
mov eax, 1
mov dword [esp + 0x244], eax
push eax
push 0x5dec
call fcn.004680f0
add esp, 4
mov edi, ebp
or ecx, 0xffffffff
push eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push str.___s_d__
add ecx, ebp
push ecx
call dword [0x56c1a4]
add esp, 0x10
jmp 0x408d35
push 0x5df0
call fcn.004680f0
push eax
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 0x573218
add ecx, ebp
push ecx
call dword [0x56c1a4]
mov al, byte [ebx + 4]
add esp, 0x10
test al, 1
je 0x408cc8
push ebp
push 0x5df1
push 0
call fcn.004084e0
add esp, 0xc
jmp 0x408ccc
mov eax, dword [esp + 0x24]
test byte [ebx + 4], 2
je 0x408ce1
push ebp
push 0x5df2
push eax
call fcn.004084e0
add esp, 0xc
test byte [ebx + 4], 4
je 0x408cf6
push ebp
push 0x5df3
push eax
call fcn.004084e0
add esp, 0xc
test byte [ebx + 4], 8
je 0x408d0b
push ebp
push 0x5df4
push eax
call fcn.004084e0
add esp, 0xc
test byte [ebx + 4], 0x10
je 0x408d20
push ebp
push 0x5df5
push eax
call fcn.004084e0
add esp, 0xc
test byte [ebx + 4], 0x20
je 0x408d35
push ebp
push 0x5df6
push eax
call fcn.004084e0
add esp, 0xc
push 0x5df7
call fcn.004680f0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test dword [esp + 0x1c], 0x20000000
je 0x408e20
cmp dword [esp + 0x240], 1
jne 0x408da2
mov eax, dword [ebx + 0xc]
push 0
push 1
push ebp
push 0x5dd9
push eax
call fcn.004089e0
add esp, 4
push eax
call fcn.004086b0
add esp, 0x14
jmp 0x408e20
mov ecx, dword [esp + 0x20]
mov al, byte [ecx + 0x3ca]
cmp al, 3
je 0x408ddd
cmp al, 2
je 0x408ddd
mov edx, dword [ebx + 0xc]
push edx
call fcn.004089e0
mov edx, dword [esp + 0x248]
mov ecx, eax
add ecx, edx
push 0
push 1
push ebp
lea eax, [ecx + ecx*4]
push 0x5dd9
lea edx, [eax + eax*4]
shl edx, 2
jmp 0x408e04
mov ecx, dword [ebx + 0xc]
push ecx
call fcn.004089e0
mov edx, dword [esp + 0x248]
mov ecx, eax
add ecx, edx
push 0
push 1
push ebp
lea eax, [ecx + ecx*4]
push 0x5dd9
lea edx, [eax + eax*4]
shl edx, 3
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
add edx, ecx
push edx
call fcn.004086b0
add esp, 0x18
test dword [esp + 0x1c], 0x10000000
je 0x408e6c
mov eax, dword [esp + 0x240]
push 0
push 1
cmp eax, 1
push ebp
push 0x5dda
jne 0x408e4e
mov ecx, dword [ebx + 0x10]
push ecx
call fcn.004089e0
add esp, 4
jmp 0x408e63
mov edx, dword [ebx + 0x10]
push edx
call fcn.004089e0
mov edx, dword [esp + 0x258]
add esp, 4
add eax, edx
push eax
call fcn.004086b0
add esp, 0x14
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], 0
test eax, 0x800000
je 0x408ed8
mov eax, dword [ebx + 0x28]
push 0
push 1
push ebp
push 0x5ddb
push eax
call fcn.004089e0
mov edx, dword [esp + 0x258]
add esp, 4
add eax, edx
push eax
call fcn.004086b0
mov ecx, dword [ebx + 0x24]
mov edi, 0x5731d4
mov dword [esp + 0x24], ecx
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test dword [esp + 0x1c], 0x400000
je 0x408f3b
mov eax, dword [ebx + 0x30]
push 0
push 1
push ebp
push 0x5ddd
push eax
call fcn.004089e0
mov edx, dword [esp + 0x258]
add esp, 4
add eax, edx
push eax
call fcn.004086b0
mov ecx, dword [ebx + 0x2c]
mov edi, 0x5731d4
mov dword [esp + 0x24], ecx
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test dword [esp + 0x1c], 0x200000
je 0x40902d
cmp byte [ebp], 0
je 0x408f79
mov edi, 0x5731f8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0x5de2
mov ecx, dword [esp + 0x20]
xor eax, eax
mov al, byte [ebx + ecx - 0x5dad]
test eax, eax
mov dword [esp + 0x2c], eax
je 0x409016
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x408fd6
mov edi, 0x5731d0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x2c]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x408fde
mov dword [esp + 0x24], 1
mov ecx, dword [esp + 0x240]
push 0
cmp ecx, 2
jne 0x408ff9
mov ecx, dword [esp + 0x24]
push 0x80000002
push ebp
push ecx
jmp 0x409004
mov edx, dword [esp + 0x24]
push 0x80000000
push ebp
push edx
push eax
call fcn.004089e0
add esp, 4
push eax
call fcn.004086b0
add esp, 0x14
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x20], eax
add eax, 0xffffa21e
cmp eax, 8
jl 0x408f89
test dword [esp + 0x1c], 0x100000
je 0x409090
mov eax, dword [ebx + 0x41]
push 0
push 1
push ebp
push 0x5e8d
push eax
call fcn.004089e0
mov edx, dword [esp + 0x258]
add esp, 4
add eax, edx
push eax
call fcn.004086b0
mov ecx, dword [ebx + 0x3d]
mov edi, 0x5731d4
mov dword [esp + 0x24], ecx
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test dword [esp + 0x1c], 0x80000
je 0x4090f5
mov eax, dword [ebx + 0x49]
push eax
call fcn.004089e0
mov ecx, dword [esp + 0x248]
add esp, 4
add eax, ecx
je 0x4090ee
push 0
push 1
push ebp
push 0x5dd8
push eax
call fcn.004086b0
mov edi, 0x5731d4
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0x45]
mov dword [esp + 0x10], eax
test dword [esp + 0x1c], 0x40000
je 0x409158
mov ecx, dword [ebx + 0x51]
push 0
push 1
push ebp
push 0x5dde
push ecx
call fcn.004089e0
mov edx, dword [esp + 0x258]
add esp, 4
add eax, edx
push eax
call fcn.004086b0
mov edi, 0x5731d4
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
mov edx, dword [ebx + 0x4d]
not ecx
sub edi, ecx
mov dword [esp + 0x10], edx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test dword [esp + 0x1c], 0x20000
je 0x4091bb
mov eax, dword [ebx + 0x59]
push 0
push 1
push ebp
push 0x5ddf
push eax
call fcn.004089e0
mov edx, dword [esp + 0x258]
add esp, 4
add eax, edx
push eax
call fcn.004086b0
mov ecx, dword [ebx + 0x55]
mov edi, 0x5731d4
mov dword [esp + 0x24], ecx
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test dword [esp + 0x1c], 0x10000
je 0x40921e
mov eax, dword [ebx + 0x61]
push 0
push 1
push ebp
push 0x5de0
push eax
call fcn.004089e0
mov edx, dword [esp + 0x258]
add esp, 4
add eax, edx
push eax
call fcn.004086b0
mov ecx, dword [ebx + 0x5d]
mov edi, 0x5731d4
mov dword [esp + 0x24], ecx
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x1c]
test ah, 0x40
je 0x409292
cmp byte [ebp], 0
je 0x409257
mov edi, 0x5731f8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x5dfa
call fcn.004680f0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0x65]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
test ah, 0x20
je 0x409306
cmp byte [ebp], 0
je 0x4092cb
mov edi, 0x5731f8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x5eee
call fcn.004680f0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x10], eax
test byte [esp + 0x1c], 0x80
je 0x409397
mov ecx, dword [ebx + 0x71]
push 0
push 0x80000002
push ebp
push 0x5f1e
push ecx
call fcn.004089e0
mov edx, dword [esp + 0x258]
add esp, 4
add eax, edx
push eax
call fcn.004086b0
mov edi, 0x5731f8
or ecx, 0xffffffff
xor eax, eax
push 0x5f34
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.004680f0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 0x18
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test byte [esp + 0x1c], 0x40
je 0x4094a8
cmp byte [ebp], 0
je 0x4093d2
mov edi, 0x5731f8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0x75]
mov edx, dword [esp + 0x244]
push 0
push 0x80000000
push ebp
add eax, edx
push 0x5dd9
push eax
call fcn.004086b0
mov edi, 0x5731f8
or ecx, 0xffffffff
xor eax, eax
push 0x5f25
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.004680f0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
push 0x5f34
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x5731f8
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.004680f0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 0x1c
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40953c
cmp byte [ebp], 0
je 0x4094e4
mov edi, 0x5731f8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x34]
push 0
push eax
push 1
add edx, ecx
push 0x3e8
push edx
call fcn.00428090
fstp qword [esp + 4]
add esp, 4
call fcn.00428100
add esp, 0x10
lea eax, [esp + 0x34]
push eax
push 0x5e8b
call fcn.004680f0
add esp, 4
mov edi, ebp
or ecx, 0xffffffff
push eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, ebp
push ecx
call dword [0x56c1a4]
add esp, 0xc
test byte [esp + 0x1c], 0x3f
je 0x4097ab
cmp byte [ebp], 0
je 0x409577
mov edi, 0x5731f8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x240]
xor esi, esi
cmp eax, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x24], esi
push 0x5df7
jne 0x4095af
call fcn.004680f0
add esp, 4
push eax
push 0x5f54
call fcn.004680f0
add esp, 4
push eax
push str._s_s:
jmp 0x4095ba
call fcn.004680f0
push eax
push 0x573218
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, ebp
push ecx
call dword [0x56c1a4]
mov al, byte [esp + 0x2c]
add esp, 0x10
test al, 1
je 0x40960a
push ebp
push 0x5df1
push 0
call fcn.004084e0
mov esi, eax
mov eax, dword [ebx + 0xa5]
mov dword [esp + 0x1c], eax
xor eax, eax
mov ax, word [ebx + 0xa9]
add esp, 0xc
lea edi, [eax + eax*4]
shl edi, 1
mov dword [esp + 0x24], edi
jmp 0x40960e
mov edi, dword [esp + 0x24]
test byte [esp + 0x1c], 2
je 0x409630
push ebp
push 0x5df2
push esi
call fcn.004084e0
mov ecx, dword [ebx + 0x81]
add esp, 0xc
mov esi, eax
mov dword [esp + 0x10], ecx
test byte [esp + 0x1c], 4
je 0x409652
push ebp
push 0x5df3
push esi
call fcn.004084e0
mov edx, dword [ebx + 0x99]
add esp, 0xc
mov esi, eax
mov dword [esp + 0x10], edx
test byte [esp + 0x1c], 8
je 0x409674
push ebp
push 0x5df4
push esi
call fcn.004084e0
mov esi, eax
mov eax, dword [ebx + 0xb1]
add esp, 0xc
mov dword [esp + 0x10], eax
test byte [esp + 0x1c], 0x10
je 0x409696
push ebp
push 0x5df5
push esi
call fcn.004084e0
mov ecx, dword [ebx + 0x89]
add esp, 0xc
mov esi, eax
mov dword [esp + 0x10], ecx
test byte [esp + 0x1c], 0x20
je 0x4096b6
push ebp
push 0x5df6
push esi
call fcn.004084e0
mov edx, dword [ebx + 0x91]
add esp, 0xc
mov dword [esp + 0x10], edx
test edi, edi
je 0x409717
cmp byte [ebp], 0
je 0x4096ee
mov edi, 0x5731f8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x24]
push edi
push 5
push 0x5e91
call fcn.004680f0
add esp, 4
mov edi, ebp
or ecx, 0xffffffff
push eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, ebp
push ecx
call dword [0x56c1a4]
add esp, 0x10
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4097ab
cmp byte [ebp], 0
je 0x409753
mov edi, 0x5731f8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x34]
push 0
push eax
push 1
add ecx, edx
push 0x3e8
push ecx
call fcn.00428090
fstp qword [esp + 4]
add esp, 4
call fcn.00428100
add esp, 0x10
lea eax, [esp + 0x34]
push eax
push 0x5e8b
call fcn.004680f0
add esp, 4
mov edi, ebp
or ecx, 0xffffffff
push eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, ebp
push ecx
call dword [0x56c1a4]
add esp, 0xc
mov eax, dword [ebx + 8]
test eax, eax
mov dword [esp + 0x1c], eax
je 0x409e65
cmp byte [ebp], 0
je 0x4097ea
mov edi, 0x5731f8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x240]
mov edi, 0x57323c
cmp eax, 1
jne 0x409800
mov edi, 0x573238
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x14]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x30]
add ebp, ecx
lea ecx, [esp + 0x18]
push eax
mov eax, dword [esp + 0x250]
push ecx
mov ecx, dword [esp + 0x250]
push edx
push eax
push ecx
call fcn.0046c470
mov eax, dword [esp + 0x254]
add esp, 0x14
test eax, eax
mov eax, dword [esp + 0x1c]
jne 0x409877
test eax, 0x7fff
je 0x409e65
jmp 0x409987
test eax, 0x80000000
je 0x4098d4
mov eax, dword [esp + 0x18]
mov ecx, dword [ebx + 0xc1]
mov esi, dword [ebx + 0xbd]
add eax, ecx
push eax
push 0x5295
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], eax
call fcn.004680f0
add esp, 4
mov edi, ebp
or ecx, 0xffffffff
push eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, ebp
push ecx
call dword [0x56c1a4]
add esp, 0xc
mov dword [esp + 0x18], 0
jmp 0x409d4f
test eax, 0x20000000
je 0x409931
mov eax, dword [esp + 0x18]
mov ecx, dword [ebx + 0xc9]
mov esi, dword [ebx + 0xc5]
add eax, ecx
push eax
push 0x5296
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], eax
call fcn.004680f0
add esp, 4
mov edi, ebp
or ecx, 0xffffffff
push eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, ebp
push ecx
call dword [0x56c1a4]
add esp, 0xc
mov dword [esp + 0x18], 0
jmp 0x409d4f
test eax, 0x10000000
je 0x40994c
push ebp
push 0x5297
push 0
call fcn.004084e0
mov eax, dword [esp + 0x28]
add esp, 0xc
test eax, 0x7fff
je 0x409e65
cmp byte [ebp], 0
je 0x409987
mov edi, 0x5731f8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x240]
xor esi, esi
test eax, eax
mov dword [esp + 0x10], esi
push 0x5df7
jne 0x4099bb
call fcn.004680f0
add esp, 4
push eax
push 0x5f54
call fcn.004680f0
add esp, 4
push eax
push str._s_s:
jmp 0x4099c6
call fcn.004680f0
push eax
push 0x573218
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, ebp
push ecx
call dword [0x56c1a4]
mov eax, dword [esp + 0x2c]
add esp, 0x10
test al, 1
je 0x409a0a
mov eax, dword [ebx + 0xd1]
mov ecx, dword [ebx + 0xcd]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
add eax, ecx
mov edi, 0x5277
mov dword [esp + 0x14], eax
jmp 0x409cca
test al, 2
je 0x409a28
mov edx, dword [ebx + 0xd9]
mov eax, dword [ebx + 0xd5]
mov edi, 0x5279
mov dword [esp + 0x10], edx
jmp 0x409cc6
test al, 4
je 0x409a50
mov edx, dword [ebx + 0xdd]
mov eax, dword [esp + 0x14]
mov ecx, dword [ebx + 0xe1]
add eax, edx
mov edi, 0x527b
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jmp 0x409cca
test al, 8
je 0x409a88
mov ecx, dword [ebx + 0xf5]
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0xf9]
add edx, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], edx
mov edx, dword [ebx + 0xfd]
add eax, edx
mov edi, 0x527d
mov dword [esp + 0x18], eax
jmp 0x409cd2
test al, 0x10
je 0x409ac0
mov ecx, dword [ebx + 0x101]
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0x105]
add edx, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], edx
mov edx, dword [ebx + 0x109]
add eax, edx
mov edi, 0x527f
mov dword [esp + 0x18], eax
jmp 0x409cd2
test al, 0x20
je 0x409af8
mov ecx, dword [ebx + 0x10d]
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0x111]
add edx, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], edx
mov edx, dword [ebx + 0x115]
add eax, edx
mov edi, 0x5281
mov dword [esp + 0x18], eax
jmp 0x409cd2
test al, 0x40
je 0x409b30
mov ecx, dword [ebx + 0x119]
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0x11d]
add edx, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], edx
mov edx, dword [ebx + 0x121]
add eax, edx
mov edi, 0x5283
mov dword [esp + 0x18], eax
jmp 0x409cd2
test al, 0x80
je 0x409b68
mov ecx, dword [ebx + 0x125]
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0x129]
add edx, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], edx
mov edx, dword [ebx + 0x12d]
add eax, edx
mov edi, 0x5285
mov dword [esp + 0x18], eax
jmp 0x409cd2
test ah, 1
je 0x409ba1
mov ecx, dword [ebx + 0x131]
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0x135]
add edx, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], edx
mov edx, dword [ebx + 0x139]
add eax, edx
mov edi, 0x5287
mov dword [esp + 0x18], eax
jmp 0x409cd2
test ah, 2
je 0x409bda
mov ecx, dword [ebx + 0x13d]
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0x141]
add edx, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], edx
mov edx, dword [ebx + 0x145]
add eax, edx
mov edi, 0x5289
mov dword [esp + 0x18], eax
jmp 0x409cd2
test ah, 4
je 0x409c13
mov ecx, dword [ebx + 0x149]
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0x14d]
add edx, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], edx
mov edx, dword [ebx + 0x151]
add eax, edx
mov edi, 0x528b
mov dword [esp + 0x18], eax
jmp 0x409cd2
test ah, 8
je 0x409c4c
mov ecx, dword [ebx + 0x155]
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0x159]
add edx, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], edx
mov edx, dword [ebx + 0x15d]
add eax, edx
mov edi, 0x528d
mov dword [esp + 0x18], eax
jmp 0x409cd2
test ah, 0x10
je 0x409c82
mov ecx, dword [ebx + 0x161]
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0x165]
add edx, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], edx
mov edx, dword [ebx + 0x169]
add eax, edx
mov edi, 0x528f
mov dword [esp + 0x18], eax
jmp 0x409cd2
test ah, 0x20
je 0x409ca8
mov eax, dword [ebx + 0xe9]
mov ecx, dword [ebx + 0xe5]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
add eax, ecx
mov edi, 0x5291
mov dword [esp + 0x14], eax
jmp 0x409cca
test ah, 0x40
je 0x409d4f
mov edx, dword [ebx + 0xf1]
mov eax, dword [ebx + 0xed]
mov edi, 0x5293
mov dword [esp + 0x10], edx
add dword [esp + 0x14], eax
mov dword [esp + 0x18], 0
lea ecx, [edi + 1]
push ecx
call fcn.004680f0
add esp, 4
push eax
push edi
call fcn.004680f0
add esp, 4
mov edi, ebp
or ecx, 0xffffffff
push eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 0x573208
add ecx, ebp
push ecx
call dword [0x56c1a4]
mov eax, dword [esp + 0x28]
add esp, 0x10
test eax, eax
je 0x409d21
push 0
push 0x80000002
push ebp
push 0
push eax
call fcn.004086b0
add esp, 0x14
mov edi, 0x573204
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x409dd5
cmp byte [ebp], 0
je 0x409d87
mov edi, 0x5731f8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x5df7
call fcn.004680f0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0x80000002
and ecx, 3
push ebp
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x24]
push 0x5ddf
push eax
call fcn.004086b0
mov esi, dword [esp + 0x28]
add esp, 0x18
test esi, esi
je 0x409e65
cmp byte [ebp], 0
je 0x409e11
mov edi, 0x5731f8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x30]
lea eax, [esp + 0x34]
push 0
push eax
add esi, edi
push 1
push 0x3e8
push esi
call fcn.00428090
fstp qword [esp + 4]
add esp, 4
call fcn.00428100
add esp, 0x10
lea ecx, [esp + 0x34]
push ecx
push 0x5e8b
call fcn.004680f0
add esp, 4
mov edi, ebp
or ecx, 0xffffffff
push eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, ebp
push ecx
call dword [0x56c1a4]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x224
ret