Function at 0x40615e
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
push ebx
push esi
push edi
or dword [ebp - 0x20], 0xffffffff
and dword [ebp - 0x18], 0
or dword [ebp - 0x134], 0xffffffff
push pe_nt_image_headers32
push 0
lea eax, [ebp - 0x1c0]
push eax
call sub.CRTDLL.DLL_memset
add esp, 0xc
and dword [ebp - 4], 0
and dword [ebp - 0x138], 0
jmp 0x406b28
mov eax, dword [ebp - 4]
inc dword [ebp - 4]
mov edx, dword [ebp + 0xc]
cmp byte [edx + eax], 0x25
jne 0x406b28
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
cmp byte [edx + eax], 0x25
jne 0x4061c6
inc dword [ebp - 4]
jmp 0x406b28
and dword [ebp - 8], 0
and dword [ebp - 0x140], 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
call fcn.0040609e
add esp, 8
mov dword [ebp - 0x14], eax
xor eax, eax
cmp dword [ebp - 0x14], 0xffffffff
setne al
mov dword [ebp - 0x1c8], eax
or eax, eax
setne al
mov byte [ebp - 0x29], al
test byte [ebp - 0x29], 1
jne 0x406209
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x40
jl 0x406221
mov edi, dword [ebp - 4]
shl edi, 8
add edi, 3
mov eax, edi
neg eax
jmp 0x407328
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x14], eax
jle 0x40622f
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
and dword [ebp - 0x24], 0
or dword [ebp - 0x30], 0xffffffff
or dword [ebp - 0x13c], 0xffffffff
or dword [ebp - 0x28], 0xffffffff
jmp 0x4066a1
mov eax, dword [ebp - 4]
inc dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov al, byte [edx + eax]
mov byte [ebp - 9], al
movsx eax, byte [ebp - 9]
cmp al, 0x5a
je 0x406641
jg 0x406295
cmp eax, 0x20
jl case.0x406277.1
cmp eax, 0x40
jg case.default.0x406277
mov edi, eax
sub edi, 0x20
jmp dword [edi*4 + 0x40dc68]
cmp eax, 0x49
je 0x40657d
cmp eax, 0x4c
je 0x406538
jmp case.0x406277.1
cmp eax, 0x71
je 0x406572
cmp eax, 0x74
je 0x406552
jg 0x4062c9
cmp eax, 0x68
je 0x4064d4
cmp eax, 0x6a
je 0x406561
cmp eax, 0x6c
je 0x406504
jmp case.0x406277.1
cmp eax, 0x77
je 0x406638
cmp eax, 0x7a
je 0x406543
jmp case.0x406277.1
or byte [ebp - 8], 2
jmp 0x4066a1
or byte [ebp - 8], 4
jmp 0x4066a1
or byte [ebp - 8], 8
and dword [ebp - 8], 0xffffdfff
jmp 0x4066a1
or byte [ebp - 8], 0x10
jmp 0x4066a1
cmp dword [ebp - 0x140], 0
jne 0x4063e9
inc dword [ebp - 0x140]
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
cmp byte [edx + eax], 0x2e
je 0x4066a1
or dword [ebp - 8], 0x40000
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movsx eax, byte [edx + eax]
cmp al, 0x2a
je 0x406347
cmp al, 0x40
jne 0x4063bd
inc dword [ebp - 4]
or dword [ebp - 8], 0x80000
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
call fcn.0040609e
add esp, 8
mov dword [ebp - 0x30], eax
cmp eax, 0xffffffff
jne 0x40638b
inc dword [ebp - 0x138]
test byte [ebp - 0x29], 1
je 0x40637f
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x30], eax
jmp 0x4063a6
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], eax
inc eax
mov dword [ebp - 0x14], eax
jmp 0x4063a6
test byte [ebp - 0x29], 1
jne 0x406398
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x24], eax
jle 0x4063a6
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x14], eax
jle 0x4066a1
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
jmp 0x4066a1
push 0xa
lea eax, [ebp - 0x1c4]
push eax
mov eax, dword [ebp - 4]
add eax, dword [ebp + 0xc]
push eax
call sub.CRTDLL.DLL_strtol
add esp, 0xc
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x1c4]
sub eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
jmp 0x4066a1
cmp dword [ebp - 0x140], 1
jne 0x4066a1
mov edi, dword [ebp - 4]
shl edi, 8
add edi, 2
mov eax, edi
neg eax
jmp 0x407328
mov dword [ebp + 8], 1
cmp dword [ebp + 8], 1
jne 0x406488
or dword [ebp - 8], 0x30000
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
call fcn.0040609e
add esp, 8
mov dword [ebp - 0x24], eax
cmp eax, 0xffffffff
jne 0x406456
inc dword [ebp - 0x138]
test byte [ebp - 0x29], 1
je 0x40644a
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x24], eax
jmp 0x406471
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
inc eax
mov dword [ebp - 0x14], eax
jmp 0x406471
test byte [ebp - 0x29], 1
jne 0x406463
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x24], eax
jle 0x406471
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x14], eax
jle 0x4066a1
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
jmp 0x4066a1
or dword [ebp - 8], 0x8000000
jmp 0x4066a1
test byte [ebp - 8], 8
jne case.0x406277.17
or word [ebp - 8], 0x2000
or dword [ebp - 8], 0x10000
push 0xa
lea eax, [ebp - 0x1c4]
push eax
mov eax, dword [ebp - 4]
dec eax
add eax, dword [ebp + 0xc]
push eax
call sub.CRTDLL.DLL_strtol
add esp, 0xc
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c4]
sub eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
jmp 0x4066a1
test byte [ebp - 8], 0x40
je 0x4064ec
mov edi, dword [ebp - 4]
shl edi, 8
add edi, 2
mov eax, edi
neg eax
jmp 0x407328
test byte [ebp - 8], 0x20
je 0x4064fb
or byte [ebp - 8], 0x40
jmp 0x4066a1
or byte [ebp - 8], 0x20
jmp 0x4066a1
test word [ebp - 8], 0x100
je 0x40651e
mov edi, dword [ebp - 4]
shl edi, 8
add edi, 2
mov eax, edi
neg eax
jmp 0x407328
test byte [ebp - 8], 0x80
je 0x40652f
or word [ebp - 8], 0x100
jmp 0x4066a1
or byte [ebp - 8], 0x80
jmp 0x4066a1
or word [ebp - 8], 0x200
jmp 0x4066a1
or word [ebp - 8], 0x400
or byte [ebp - 8], 0x80
jmp 0x4066a1
or word [ebp - 8], 0x800
or byte [ebp - 8], 0x80
jmp 0x4066a1
or word [ebp - 8], 0x1000
or word [ebp - 8], 0x100
jmp 0x4066a1
or word [ebp - 8], 0x100
jmp 0x4066a1
test dword [ebp - 8], 0x40000000
jne 0x4066a1
test dword [ebp - 8], 0x22001fe0
je 0x4065a5
mov edi, dword [ebp - 4]
shl edi, 8
add edi, 2
mov eax, edi
neg eax
jmp 0x407328
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
cmp byte [edx + eax], 0x36
jne 0x4065c5
cmp byte [eax + edx + 1], 0x34
jne 0x4065c5
mov dword [ebp - 0x28], 8
add dword [ebp - 4], 2
jmp 0x40662f
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
cmp byte [edx + eax], 0x33
jne 0x4065e5
cmp byte [eax + edx + 1], 0x32
jne 0x4065e5
mov dword [ebp - 0x28], 4
add dword [ebp - 4], 2
jmp 0x40662f
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
cmp byte [edx + eax], 0x31
jne 0x406605
cmp byte [eax + edx + 1], 0x36
jne 0x406605
mov dword [ebp - 0x28], 2
add dword [ebp - 4], 2
jmp 0x40662f
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
cmp byte [edx + eax], 0x38
jne 0x40661d
mov dword [ebp - 0x28], 1
inc dword [ebp - 4]
jmp 0x40662f
mov edi, dword [ebp - 4]
shl edi, 8
add edi, 2
mov eax, edi
neg eax
jmp 0x407328
or dword [ebp - 8], 0x40000000
jmp 0x4066a1
or dword [ebp - 8], 0x2000000
jmp 0x4066a1
or byte [ebp - 8], 0x20
jmp 0x4066a1
or dword [ebp - 8], 0x1000000
mov byte [0x40dbbe], 3
jmp 0x4066a1
or dword [ebp - 8], 0x20000000
inc dword [ebp - 0x138]
test byte [ebp - 0x29], 1
je 0x406675
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x28], eax
jmp 0x40667f
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x14], eax
jle 0x4066a1
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
jmp 0x4066a1
mov edi, dword [ebp - 4]
shl edi, 8
add edi, 2
mov eax, edi
neg eax
jmp 0x407328
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movsx eax, byte [edx + eax]
push eax
push str.0123456789__.hlLztjqZw_I
call sub.CRTDLL.DLL_strchr
add esp, 8
or eax, eax
jne 0x406247
test dword [ebp - 8], 0x20000
je 0x406729
mov edi, dword [ebp - 0x24]
lea edi, [ebp + edi*2 - 0x1c0]
inc word [edi]
mov eax, 0x58
mul dword [ebp - 0x18]
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x1cc]
mov dword [eax + edx], 7
mov eax, 0x58
mul dword [ebp - 0x18]
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x1d0]
and dword [edx + eax + 4], 0
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x18]
mov dword [ebp + edi*4 - 0x130], esi
mov eax, esi
mov edx, eax
inc edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x24], eax
test dword [ebp - 8], 0x80000
je 0x406791
mov edi, dword [ebp - 0x30]
lea edi, [ebp + edi*2 - 0x1c0]
inc word [edi]
mov eax, 0x58
mul dword [ebp - 0x18]
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x1cc]
mov dword [eax + edx], 7
mov eax, 0x58
mul dword [ebp - 0x18]
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x1d0]
and dword [edx + eax + 4], 0
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x18]
mov dword [ebp + edi*4 - 0x130], esi
mov eax, esi
mov edx, eax
inc edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x30], eax
test dword [ebp - 8], 0x20000000
je 0x4067f9
mov edi, dword [ebp - 0x28]
lea edi, [ebp + edi*2 - 0x1c0]
inc word [edi]
mov eax, 0x58
mul dword [ebp - 0x18]
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x1cc]
mov dword [eax + edx], 7
mov eax, 0x58
mul dword [ebp - 0x18]
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x1d0]
and dword [edx + eax + 4], 0
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x18]
mov dword [ebp + edi*4 - 0x130], esi
mov eax, esi
mov edx, eax
inc edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x28], eax
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
mov dword [ebp + edi*4 - 0x130], esi
mov eax, 0x58
mul dword [ebp - 0x18]
mov dword [ebp - 0x1cc], eax
add eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
inc dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movsx eax, byte [edx + eax]
cmp al, 0x53
je 0x4068a4
jg 0x40684b
cmp eax, 0x41
jl case.0x406277.36
cmp eax, 0x47
jg case.0x406277.36
mov edi, eax
sub edi, 0x41
jmp dword [edi*4 + 0x40dcec]
cmp eax, 0x58
jl case.0x406277.36
cmp eax, 0x75
jg case.default.0x40685e
mov edi, eax
sub edi, 0x58
jmp dword [edi*4 + 0x40dd08]
cmp eax, 0x78
je 0x406a18
jmp case.0x406277.36
or dword [ebp - 8], 0x2000000
test byte [ebp - 8], 0x80
je 0x406889
or dword [ebp - 8], 0x2000000
jmp 0x406896
test byte [ebp - 8], 0x20
je 0x406896
and dword [ebp - 8], 0xfdffffff
mov eax, dword [ebp - 0x10]
mov dword [eax], 3
jmp 0x406abe
or dword [ebp - 8], 0x2000000
test byte [ebp - 8], 0x80
je 0x4068ba
or dword [ebp - 8], 0x2000000
jmp 0x4068c7
test byte [ebp - 8], 0x20
je 0x4068c7
and dword [ebp - 8], 0xfdffffff
mov eax, dword [ebp - 0x10]
mov dword [eax], 4
jmp 0x406abe
cmp dword [ebp + 8], 2
jne 0x406abe
mov dword [ebp - 0x1d4], 1
mov eax, dword [ebp - 0x10]
mov dword [eax], 8
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
cmp byte [edx + eax], 0x5e
jne 0x406901
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
cmp byte [edx + eax], 0x5d
jne 0x406910
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
cmp byte [edx + eax], 0x2d
jne 0x40695d
inc dword [ebp - 4]
jmp 0x40695d
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
cmp byte [edx + eax], 0x5b
jne 0x406935
inc dword [ebp - 0x1d4]
jmp 0x40695a
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
cmp byte [edx + eax], 0x5d
jne 0x40695a
mov eax, dword [ebp - 0x1d4]
dec eax
mov dword [ebp - 0x1d4], eax
or eax, eax
jg 0x40695a
inc dword [ebp - 4]
jmp 0x406abe
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
cmp byte [edx + eax], 0
jne 0x406921
jmp 0x406abe
cmp dword [ebp + 8], 2
jne 0x40697b
or dword [ebp - 8], 0x4000000
mov eax, dword [ebp - 0x10]
mov dword [eax], 1
jmp 0x406abe
or word [ebp - 8], 0x4000
mov eax, dword [ebp - 0x10]
mov dword [eax], 1
jmp 0x406abe
mov dword [ebp - 0x13c], 0xa
mov eax, dword [ebp - 0x10]
mov dword [eax], 1
jmp 0x406abe
cmp dword [ebp + 8], 2
je 0x4069c1
or word [ebp - 8], 0x4000
test word [ebp - 8], 0x200
je 0x4069d6
and dword [ebp - 8], 0xfffffdff
or word [ebp - 8], 0x100
mov dword [ebp - 0x13c], 8
mov eax, dword [ebp - 0x10]
mov dword [eax], 1
jmp 0x406abe
or word [ebp - 8], 0x8000
or word [ebp - 8], 0x2000
mov dword [ebp - 0x13c], 2
mov eax, dword [ebp - 0x10]
mov dword [eax], 1
jmp 0x406abe
or word [ebp - 8], 0x8000
or word [ebp - 8], 0x4000
mov dword [ebp - 0x13c], 0x10
mov eax, dword [ebp - 0x10]
mov dword [eax], 1
jmp 0x406abe
or word [ebp - 8], 0x8000
or dword [ebp - 8], 0x400000
mov eax, dword [ebp - 0x10]
mov dword [eax], 2
jmp 0x406abe
or word [ebp - 8], 0x8000
or dword [ebp - 8], 0x800000
mov eax, dword [ebp - 0x10]
mov dword [eax], 2
jmp 0x406abe
or word [ebp - 8], 0x8000
mov eax, dword [ebp - 0x10]
mov dword [eax], 2
jmp 0x406abe
or byte [ebp - 8], 0x80
mov eax, dword [ebp - 0x10]
mov dword [eax], 5
jmp 0x406abe
mov eax, dword [ebp - 0x10]
mov dword [eax], 6
jmp 0x406abe
or word [ebp - 8], 0x8000
mov dword [ebp - 0x13c], 0x10
mov eax, dword [ebp - 0x10]
mov dword [eax], 2
jmp 0x406abe
mov edi, dword [ebp - 4]
shl edi, 8
add edi, 2
mov eax, edi
neg eax
jmp 0x407328
mov edi, dword [ebp - 0x14]
lea edi, [ebp + edi*2 - 0x1c0]
inc word [edi]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov dword [eax + 0x18], edx
mov edx, dword [ebp - 8]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x24]
mov dword [eax + 8], edx
mov edx, dword [ebp - 0x30]
mov dword [eax + 0xc], edx
cmp dword [ebp - 0x13c], 0xffffffff
jne 0x406afb
mov dword [ebp - 0x1d4], 0xa
jmp 0x406b07
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x1d4], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1d4]
mov dword [eax + 0x10], edx
mov edx, dword [ebp - 0x28]
mov dword [eax + 0x14], edx
inc dword [ebp - 0x18]
test byte [ebp - 0x29], 1
jne 0x406b28
inc dword [ebp - 0x138]
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
cmp byte [edx + eax], 0
jne 0x40619f
and dword [ebp - 0x1c], 0
jmp 0x407319
mov edi, dword [ebp - 0x1c]
mov edi, dword [ebp + edi*4 - 0x130]
mov dword [ebp - 0x134], edi
mov eax, 0x58
mul dword [ebp - 0x134]
mov dword [ebp - 0x1c8], eax
add eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
cmp dword [eax], 7
je 0x406b7a
test dword [eax + 4], 0x8000000
jne case.default.0x406b90
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
or eax, eax
jl case.default.0x406b90
cmp eax, 8
jg case.default.0x406b90
jmp dword [eax*4 + 0x40dd80]
cmp dword [ebp + 0x18], 0
jne 0x406bb1
mov eax, dword [ebp + 0x14]
add eax, 4
mov dword [ebp + 0x14], eax
mov eax, dword [eax - 4]
mov dword [ebp - 0x1d0], eax
jmp 0x406bc0
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp + 0x18]
mov edi, dword [esi + edi*4]
mov dword [ebp - 0x1d0], edi
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0x1d0]
mov dword [edi + 0x20], esi
jmp case.default.0x406b90
cmp dword [ebp + 0x18], 0
jne 0x406beb
mov eax, dword [ebp + 0x14]
add eax, 4
mov dword [ebp + 0x14], eax
mov eax, dword [eax - 4]
mov dword [ebp - 0x1d4], eax
jmp 0x406bfa
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp + 0x18]
mov edi, dword [esi + edi*4]
mov dword [ebp - 0x1d4], edi
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0x1d4]
mov dword [edi + 0x20], esi
jmp case.default.0x406b90
cmp dword [ebp + 8], 2
jne 0x406c79
cmp dword [ebp + 0x18], 0
jne 0x406c2e
mov eax, dword [ebp + 0x14]
add eax, 4
mov dword [ebp + 0x14], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [eax - 4]
mov dword [edx + 0x20], eax
jmp case.default.0x406b90
mov eax, dword [ebp - 0x10]
cmp dword [eax], 3
jne 0x406c49
mov edi, eax
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp + 0x18]
mov esi, dword [ebx + esi*4]
mov dword [edi + 0x20], esi
jmp case.default.0x406b90
mov eax, dword [ebp - 0x10]
test byte [eax + 4], 0x20
je 0x406c65
mov edi, eax
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp + 0x18]
mov esi, dword [ebx + esi*4]
mov dword [edi + 0x20], esi
jmp case.default.0x406b90
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp + 0x18]
mov esi, dword [ebx + esi*4]
mov dword [edi + 0x20], esi
jmp case.default.0x406b90
mov eax, dword [ebp - 0x10]
test dword [eax + 4], 0x60000000
je 0x406cf7
test dword [eax + 4], 0x20000000
je 0x406cad
mov eax, 0x58
mov edi, dword [ebp - 0x10]
mul dword [edi + 0x14]
mov dword [ebp - 0x1d8], eax
mov edi, dword [ebp + 0x10]
mov esi, eax
mov edi, dword [esi + edi + 0x20]
mov dword [ebp - 0x28], edi
jmp 0x406cb6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x10]
add eax, 4
and dword [eax], 0xffffe27f
cmp dword [ebp - 0x28], 4
jle 0x406cf7
cmp dword [ebp - 0x28], 4
jg 0x406cd9
mov eax, dword [ebp - 0x10]
add eax, 4
or byte [eax], 0x80
jmp 0x406cf7
cmp dword [ebp - 0x28], 8
jg 0x406cec
mov eax, dword [ebp - 0x10]
add eax, 4
or word [eax], 0x100
jmp 0x406cf7
mov eax, dword [ebp - 0x10]
add eax, 4
or word [eax], 0x1000
mov eax, dword [ebp - 0x10]
test word [eax + 4], 0x400
je 0x406d57
cmp dword [ebp + 0x18], 0
jne 0x406d24
mov edi, dword [ebp + 0x14]
add edi, 4
mov dword [ebp + 0x14], edi
mov eax, dword [edi - 4]
xor edx, edx
mov dword [ebp - 0x1dc], edx
mov dword [ebp - 0x1e0], eax
jmp 0x406d3d
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp + 0x18]
mov edi, dword [esi + edi*4]
mov eax, dword [edi]
xor edx, edx
mov dword [ebp - 0x1dc], edx
mov dword [ebp - 0x1e0], eax
mov edi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1dc]
mov eax, dword [ebp - 0x1e0]
mov dword [edi + 0x24], edx
mov dword [edi + 0x20], eax
jmp case.default.0x406b90
mov eax, dword [ebp - 0x10]
test word [eax + 4], 0x800
je 0x406db7
cmp dword [ebp + 0x18], 0
jne 0x406d84
mov edi, dword [ebp + 0x14]
add edi, 4
mov dword [ebp + 0x14], edi
mov eax, dword [edi - 4]
xor edx, edx
mov dword [ebp - 0x1e4], edx
mov dword [ebp - 0x1e8], eax
jmp 0x406d9d
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp + 0x18]
mov edi, dword [esi + edi*4]
mov eax, dword [edi]
xor edx, edx
mov dword [ebp - 0x1e4], edx
mov dword [ebp - 0x1e8], eax
mov edi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1e4]
mov eax, dword [ebp - 0x1e8]
mov dword [edi + 0x24], edx
mov dword [edi + 0x20], eax
jmp case.default.0x406b90
mov eax, dword [ebp - 0x10]
test word [eax + 4], 0x1000
je 0x406e1b
cmp dword [ebp + 0x18], 0
jne 0x406de7
mov edi, dword [ebp + 0x14]
add edi, 8
mov dword [ebp + 0x14], edi
add edi, 0xfffffff8
mov edx, dword [edi + 4]
mov eax, dword [edi]
mov dword [ebp - 0x1ec], edx
mov dword [ebp - 0x1f0], eax
jmp 0x406e01
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp + 0x18]
mov edi, dword [esi + edi*4]
mov edx, dword [edi + 4]
mov eax, dword [edi]
mov dword [ebp - 0x1ec], edx
mov dword [ebp - 0x1f0], eax
mov edi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1ec]
mov eax, dword [ebp - 0x1f0]
mov dword [edi + 0x24], edx
mov dword [edi + 0x20], eax
jmp case.default.0x406b90
mov eax, dword [ebp - 0x10]
test word [eax + 4], 0x100
je 0x406e7f
cmp dword [ebp + 0x18], 0
jne 0x406e4b
mov edi, dword [ebp + 0x14]
add edi, 8
mov dword [ebp + 0x14], edi
add edi, 0xfffffff8
mov edx, dword [edi + 4]
mov eax, dword [edi]
mov dword [ebp - 0x1f4], edx
mov dword [ebp - 0x1f8], eax
jmp 0x406e65
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp + 0x18]
mov edi, dword [esi + edi*4]
mov edx, dword [edi + 4]
mov eax, dword [edi]
mov dword [ebp - 0x1f4], edx
mov dword [ebp - 0x1f8], eax
mov edi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1f4]
mov eax, dword [ebp - 0x1f8]
mov dword [edi + 0x24], edx
mov dword [edi + 0x20], eax
jmp case.default.0x406b90
mov eax, dword [ebp - 0x10]
test byte [eax + 4], 0x80
je 0x406edd
cmp dword [ebp + 0x18], 0
jne 0x406eaa
mov edi, dword [ebp + 0x14]
add edi, 4
mov dword [ebp + 0x14], edi
mov eax, dword [edi - 4]
xor edx, edx
mov dword [ebp - 0x1fc], edx
mov dword [ebp - 0x200], eax
jmp 0x406ec3
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp + 0x18]
mov edi, dword [esi + edi*4]
mov eax, dword [edi]
xor edx, edx
mov dword [ebp - 0x1fc], edx
mov dword [ebp - 0x200], eax
mov edi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1fc]
mov eax, dword [ebp - 0x200]
mov dword [edi + 0x24], edx
mov dword [edi + 0x20], eax
jmp case.default.0x406b90
cmp dword [ebp + 0x18], 0
jne 0x406efc
mov edi, dword [ebp + 0x14]
add edi, 4
mov dword [ebp + 0x14], edi
mov esi, dword [ebp - 0x10]
mov eax, dword [edi - 4]
xor edx, edx
mov dword [esi + 0x24], edx
mov dword [esi + 0x20], eax
jmp 0x406f57
mov eax, dword [ebp - 0x10]
cmp dword [eax], 3
jne 0x406f1e
mov edi, eax
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp + 0x18]
mov esi, dword [ebx + esi*4]
movsx ebx, byte [esi]
mov eax, ebx
xor edx, edx
mov dword [edi + 0x24], edx
mov dword [edi + 0x20], eax
jmp 0x406f57
mov eax, dword [ebp - 0x10]
test byte [eax + 4], 0x20
je 0x406f41
mov edi, eax
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp + 0x18]
mov esi, dword [ebx + esi*4]
movsx esi, word [esi]
mov eax, esi
xor edx, edx
mov dword [edi + 0x24], edx
mov dword [edi + 0x20], eax
jmp 0x406f57
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp + 0x18]
mov esi, dword [ebx + esi*4]
mov eax, dword [esi]
xor edx, edx
mov dword [edi + 0x24], edx
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
test al, 0x40
je 0x406f7d
test ax, 0x4000
je 0x406f7d
mov edi, dword [ebp - 0x10]
add edi, 0x20
mov edx, dword [edi + 4]
movzx eax, byte [edi]
and edx, 0
mov dword [edi], eax
mov eax, edi
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
test al, 0x20
je case.default.0x406b90
test ax, 0x4000
je case.default.0x406b90
mov edi, dword [ebp - 0x10]
add edi, 0x20
mov edx, dword [edi + 4]
movzx eax, word [edi]
and edx, 0
mov dword [edi], eax
mov eax, edi
mov dword [eax + 4], edx
jmp case.default.0x406b90
mov eax, dword [ebp - 0x10]
test dword [eax + 4], 0x8000000
je 0x406ff6
cmp dword [ebp + 0x18], 0
jne 0x406fd6
mov eax, dword [ebp + 0x14]
add eax, 4
mov dword [ebp + 0x14], eax
mov eax, dword [eax - 4]
mov dword [ebp - 0x1d8], eax
jmp 0x406fe5
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp + 0x18]
mov edi, dword [esi + edi*4]
mov dword [ebp - 0x1d8], edi
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0x1d8]
mov dword [edi + 0x20], esi
jmp case.default.0x406b90
cmp dword [ebp + 0x18], 0
jne 0x407017
mov edi, dword [ebp + 0x14]
add edi, 4
mov dword [ebp + 0x14], edi
mov eax, dword [edi - 4]
cdq
mov dword [ebp - 0x1dc], edx
mov dword [ebp - 0x1e0], eax
jmp 0x40702f
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp + 0x18]
mov edi, dword [esi + edi*4]
mov eax, dword [edi]
cdq
mov dword [ebp - 0x1dc], edx
mov dword [ebp - 0x1e0], eax
mov edi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1dc]
mov eax, dword [ebp - 0x1e0]
mov dword [edi + 0x24], edx
mov dword [edi + 0x20], eax
jmp case.default.0x406b90
cmp dword [ebp + 8], 2
jne 0x40711b
mov eax, dword [ebp - 0x10]
test word [eax + 4], 0x280
jne 0x407064
add eax, 4
or byte [eax], 0x20
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
test al, 0x80
jne 0x407074
test ax, 0x200
je 0x4070ae
cmp dword [ebp + 0x18], 0
jne 0x40708e
mov eax, dword [ebp + 0x14]
add eax, 4
mov dword [ebp + 0x14], eax
mov eax, dword [eax - 4]
mov dword [ebp - 0x1e4], eax
jmp 0x40709d
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp + 0x18]
mov edi, dword [esi + edi*4]
mov dword [ebp - 0x1e4], edi
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0x1e4]
mov dword [edi + 0x20], esi
jmp case.default.0x406b90
cmp dword [ebp + 0x18], 0
jne 0x4070eb
mov eax, dword [ebp - 0x10]
test byte [eax + 4], 0x20
je 0x4070d4
mov eax, dword [ebp + 0x14]
add eax, 4
mov dword [ebp + 0x14], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [eax - 4]
mov dword [edx + 0x20], eax
jmp case.default.0x406b90
mov eax, dword [ebp + 0x14]
add eax, 4
mov dword [ebp + 0x14], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [eax - 4]
mov dword [edx + 0x20], eax
jmp case.default.0x406b90
mov eax, dword [ebp - 0x10]
test byte [eax + 4], 0x20
je 0x407107
mov edi, eax
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp + 0x18]
mov esi, dword [ebx + esi*4]
mov dword [edi + 0x20], esi
jmp case.default.0x406b90
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp + 0x18]
mov esi, dword [ebx + esi*4]
mov dword [edi + 0x20], esi
jmp case.default.0x406b90
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
test al, 0x20
jne 0x407167
test ax, 0x200
je 0x407167
cmp dword [ebp + 0x18], 0
jne 0x407145
mov eax, dword [ebp + 0x14]
add eax, 0xc
mov dword [ebp + 0x14], eax
fld xword [eax - 0xc]
fstp xword [ebp - 0x1f0]
jmp 0x407156
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp + 0x18]
mov edi, dword [esi + edi*4]
fld xword [edi]
fstp xword [ebp - 0x1f0]
mov edi, dword [ebp - 0x10]
fld xword [ebp - 0x1f0]
fstp xword [edi + 0x20]
jmp case.default.0x406b90
mov eax, dword [ebp - 0x10]
test word [eax + 4], 0x100
je 0x4071c1
cmp dword [ebp + 0x18], 0
jne 0x4071a1
mov edi, dword [ebp + 0x14]
add edi, 0x38
mov dword [ebp - 0x1f4], edi
mov dword [ebp + 0x14], edi
mov edi, eax
add edi, 0x20
mov esi, dword [ebp - 0x1f4]
lea esi, [esi - 0x38]
mov ecx, 0xe
rep movsd dword es:[edi], dword [esi]
jmp case.default.0x406b90
push 0x38
mov edi, dword [ebp - 0x1c]
shl edi, 2
add edi, dword [ebp + 0x18]
push edi
mov edi, dword [ebp - 0x10]
add edi, 0x20
push edi
call sub.CRTDLL.DLL_memcpy
add esp, 0xc
jmp case.default.0x406b90
mov eax, dword [ebp - 0x10]
test byte [eax + 4], 0x20
je 0x4072d0
cmp dword [ebp + 0x18], 0
jne 0x40725e
test word [eax + 4], 0x200
je 0x407209
mov edi, dword [ebp + 0x14]
add edi, 0x18
mov dword [ebp - 0x224], edi
mov dword [ebp + 0x14], edi
mov edi, eax
add edi, 0x20
mov esi, dword [ebp - 0x224]
lea esi, [esi - 0x18]
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
jmp case.default.0x406b90
mov edi, dword [ebp + 0x14]
add edi, 0x18
mov dword [ebp - 0x228], edi
mov dword [ebp + 0x14], edi
lea edi, [ebp - 0x220]
mov esi, dword [ebp - 0x228]
lea esi, [esi - 0x18]
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
fld xword [ebp - 0x220]
fstp xword [ebp - 0x208]
fld xword [ebp - 0x214]
fstp xword [ebp - 0x1fc]
mov edi, dword [ebp - 0x10]
add edi, 0x20
lea esi, [ebp - 0x208]
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
jmp case.default.0x406b90
mov eax, dword [ebp - 0x10]
test word [eax + 4], 0x200
je 0x407288
push 0x18
mov edi, dword [ebp - 0x1c]
shl edi, 2
add edi, dword [ebp + 0x18]
push edi
mov edi, eax
add edi, 0x20
push edi
call sub.CRTDLL.DLL_memcpy
add esp, 0xc
jmp case.default.0x406b90
push 0x18
mov edi, dword [ebp - 0x1c]
shl edi, 2
add edi, dword [ebp + 0x18]
push edi
lea edi, [ebp - 0x220]
push edi
call sub.CRTDLL.DLL_memcpy
add esp, 0xc
fld xword [ebp - 0x220]
fstp xword [ebp - 0x208]
fld xword [ebp - 0x214]
fstp xword [ebp - 0x1fc]
mov edi, dword [ebp - 0x10]
add edi, 0x20
lea esi, [ebp - 0x208]
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
jmp case.default.0x406b90
cmp dword [ebp + 0x18], 0
jne 0x4072ea
mov eax, dword [ebp + 0x14]
add eax, 8
mov dword [ebp + 0x14], eax
mov edx, dword [ebp - 0x10]
fld qword [eax - 8]
fstp xword [edx + 0x20]
jmp case.default.0x406b90
mov eax, dword [ebp - 0x10]
test byte [eax + 4], 0x20
je 0x407305
mov edi, eax
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp + 0x18]
mov esi, dword [ebx + esi*4]
fld dword [esi]
fstp xword [edi + 0x20]
jmp case.default.0x406b90
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp + 0x18]
mov esi, dword [ebx + esi*4]
fld qword [esi]
fstp xword [edi + 0x20]
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x1c], eax
jle 0x406b41
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
pop ebx
leave
ret