Function at 0x404b0a
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 0x4054d4
mov eax, dword [ebp - 4]
inc dword [ebp - 4]
mov edx, dword [ebp + 0xc]
cmp byte [edx + eax], 0x25
jne 0x4054d4
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
cmp byte [edx + eax], 0x25
jne 0x404b72
inc dword [ebp - 4]
jmp 0x4054d4
and dword [ebp - 8], 0
and dword [ebp - 0x140], 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
call fcn.00404a4a
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 0x404bb5
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x40
jl 0x404bcd
mov edi, dword [ebp - 4]
shl edi, 8
add edi, 3
mov eax, edi
neg eax
jmp 0x405cd4
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x14], eax
jle 0x404bdb
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 0x40504d
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 0x404fed
jg 0x404c41
cmp eax, 0x20
jl case.0x404c23.1
cmp eax, 0x40
jg case.default.0x404c23
mov edi, eax
sub edi, 0x20
jmp dword [edi*4 + 0x40cd6c]
cmp eax, 0x49
je 0x404f29
cmp eax, 0x4c
je 0x404ee4
jmp case.0x404c23.1
cmp eax, 0x71
je 0x404f1e
cmp eax, 0x74
je 0x404efe
jg 0x404c75
cmp eax, 0x68
je 0x404e80
cmp eax, 0x6a
je 0x404f0d
cmp eax, 0x6c
je 0x404eb0
jmp case.0x404c23.1
cmp eax, 0x77
je 0x404fe4
cmp eax, 0x7a
je 0x404eef
jmp case.0x404c23.1
or byte [ebp - 8], 2
jmp 0x40504d
or byte [ebp - 8], 4
jmp 0x40504d
or byte [ebp - 8], 8
and dword [ebp - 8], 0xffffdfff
jmp 0x40504d
or byte [ebp - 8], 0x10
jmp 0x40504d
cmp dword [ebp - 0x140], 0
jne 0x404d95
inc dword [ebp - 0x140]
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
cmp byte [edx + eax], 0x2e
je 0x40504d
or dword [ebp - 8], 0x40000
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movsx eax, byte [edx + eax]
cmp al, 0x2a
je 0x404cf3
cmp al, 0x40
jne 0x404d69
inc dword [ebp - 4]
or dword [ebp - 8], 0x80000
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
call fcn.00404a4a
add esp, 8
mov dword [ebp - 0x30], eax
cmp eax, 0xffffffff
jne 0x404d37
inc dword [ebp - 0x138]
test byte [ebp - 0x29], 1
je 0x404d2b
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x30], eax
jmp 0x404d52
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], eax
inc eax
mov dword [ebp - 0x14], eax
jmp 0x404d52
test byte [ebp - 0x29], 1
jne 0x404d44
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x24], eax
jle 0x404d52
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x14], eax
jle 0x40504d
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
jmp 0x40504d
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 0x40504d
cmp dword [ebp - 0x140], 1
jne 0x40504d
mov edi, dword [ebp - 4]
shl edi, 8
add edi, 2
mov eax, edi
neg eax
jmp 0x405cd4
mov dword [ebp + 8], 1
cmp dword [ebp + 8], 1
jne 0x404e34
or dword [ebp - 8], 0x30000
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
call fcn.00404a4a
add esp, 8
mov dword [ebp - 0x24], eax
cmp eax, 0xffffffff
jne 0x404e02
inc dword [ebp - 0x138]
test byte [ebp - 0x29], 1
je 0x404df6
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x24], eax
jmp 0x404e1d
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
inc eax
mov dword [ebp - 0x14], eax
jmp 0x404e1d
test byte [ebp - 0x29], 1
jne 0x404e0f
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x24], eax
jle 0x404e1d
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x14], eax
jle 0x40504d
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
jmp 0x40504d
or dword [ebp - 8], 0x8000000
jmp 0x40504d
test byte [ebp - 8], 8
jne case.0x404c23.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 0x40504d
test byte [ebp - 8], 0x40
je 0x404e98
mov edi, dword [ebp - 4]
shl edi, 8
add edi, 2
mov eax, edi
neg eax
jmp 0x405cd4
test byte [ebp - 8], 0x20
je 0x404ea7
or byte [ebp - 8], 0x40
jmp 0x40504d
or byte [ebp - 8], 0x20
jmp 0x40504d
test word [ebp - 8], 0x100
je 0x404eca
mov edi, dword [ebp - 4]
shl edi, 8
add edi, 2
mov eax, edi
neg eax
jmp 0x405cd4
test byte [ebp - 8], 0x80
je 0x404edb
or word [ebp - 8], 0x100
jmp 0x40504d
or byte [ebp - 8], 0x80
jmp 0x40504d
or word [ebp - 8], 0x200
jmp 0x40504d
or word [ebp - 8], 0x400
or byte [ebp - 8], 0x80
jmp 0x40504d
or word [ebp - 8], 0x800
or byte [ebp - 8], 0x80
jmp 0x40504d
or word [ebp - 8], 0x1000
or word [ebp - 8], 0x100
jmp 0x40504d
or word [ebp - 8], 0x100
jmp 0x40504d
test dword [ebp - 8], 0x40000000
jne 0x40504d
test dword [ebp - 8], 0x22001fe0
je 0x404f51
mov edi, dword [ebp - 4]
shl edi, 8
add edi, 2
mov eax, edi
neg eax
jmp 0x405cd4
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
cmp byte [edx + eax], 0x36
jne 0x404f71
cmp byte [eax + edx + 1], 0x34
jne 0x404f71
mov dword [ebp - 0x28], 8
add dword [ebp - 4], 2
jmp 0x404fdb
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
cmp byte [edx + eax], 0x33
jne 0x404f91
cmp byte [eax + edx + 1], 0x32
jne 0x404f91
mov dword [ebp - 0x28], 4
add dword [ebp - 4], 2
jmp 0x404fdb
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
cmp byte [edx + eax], 0x31
jne 0x404fb1
cmp byte [eax + edx + 1], 0x36
jne 0x404fb1
mov dword [ebp - 0x28], 2
add dword [ebp - 4], 2
jmp 0x404fdb
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
cmp byte [edx + eax], 0x38
jne 0x404fc9
mov dword [ebp - 0x28], 1
inc dword [ebp - 4]
jmp 0x404fdb
mov edi, dword [ebp - 4]
shl edi, 8
add edi, 2
mov eax, edi
neg eax
jmp 0x405cd4
or dword [ebp - 8], 0x40000000
jmp 0x40504d
or dword [ebp - 8], 0x2000000
jmp 0x40504d
or byte [ebp - 8], 0x20
jmp 0x40504d
or dword [ebp - 8], 0x1000000
mov byte [0x40ccc2], 3
jmp 0x40504d
or dword [ebp - 8], 0x20000000
inc dword [ebp - 0x138]
test byte [ebp - 0x29], 1
je 0x405021
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x28], eax
jmp 0x40502b
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 0x40504d
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
jmp 0x40504d
mov edi, dword [ebp - 4]
shl edi, 8
add edi, 2
mov eax, edi
neg eax
jmp 0x405cd4
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 0x404bf3
test dword [ebp - 8], 0x20000
je 0x4050d5
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 0x40513d
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 0x4051a5
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 0x405250
jg 0x4051f7
cmp eax, 0x41
jl case.0x404c23.36
cmp eax, 0x47
jg case.0x404c23.36
mov edi, eax
sub edi, 0x41
jmp dword [edi*4 + 0x40cdf0]
cmp eax, 0x58
jl case.0x404c23.36
cmp eax, 0x75
jg case.default.0x40520a
mov edi, eax
sub edi, 0x58
jmp dword [edi*4 + 0x40ce0c]
cmp eax, 0x78
je 0x4053c4
jmp case.0x404c23.36
or dword [ebp - 8], 0x2000000
test byte [ebp - 8], 0x80
je 0x405235
or dword [ebp - 8], 0x2000000
jmp 0x405242
test byte [ebp - 8], 0x20
je 0x405242
and dword [ebp - 8], 0xfdffffff
mov eax, dword [ebp - 0x10]
mov dword [eax], 3
jmp 0x40546a
or dword [ebp - 8], 0x2000000
test byte [ebp - 8], 0x80
je 0x405266
or dword [ebp - 8], 0x2000000
jmp 0x405273
test byte [ebp - 8], 0x20
je 0x405273
and dword [ebp - 8], 0xfdffffff
mov eax, dword [ebp - 0x10]
mov dword [eax], 4
jmp 0x40546a
cmp dword [ebp + 8], 2
jne 0x40546a
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 0x4052ad
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
cmp byte [edx + eax], 0x5d
jne 0x4052bc
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
cmp byte [edx + eax], 0x2d
jne 0x405309
inc dword [ebp - 4]
jmp 0x405309
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
cmp byte [edx + eax], 0x5b
jne 0x4052e1
inc dword [ebp - 0x1d4]
jmp 0x405306
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
cmp byte [edx + eax], 0x5d
jne 0x405306
mov eax, dword [ebp - 0x1d4]
dec eax
mov dword [ebp - 0x1d4], eax
or eax, eax
jg 0x405306
inc dword [ebp - 4]
jmp 0x40546a
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
cmp byte [edx + eax], 0
jne 0x4052cd
jmp 0x40546a
cmp dword [ebp + 8], 2
jne 0x405327
or dword [ebp - 8], 0x4000000
mov eax, dword [ebp - 0x10]
mov dword [eax], 1
jmp 0x40546a
or word [ebp - 8], 0x4000
mov eax, dword [ebp - 0x10]
mov dword [eax], 1
jmp 0x40546a
mov dword [ebp - 0x13c], 0xa
mov eax, dword [ebp - 0x10]
mov dword [eax], 1
jmp 0x40546a
cmp dword [ebp + 8], 2
je 0x40536d
or word [ebp - 8], 0x4000
test word [ebp - 8], 0x200
je 0x405382
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 0x40546a
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 0x40546a
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 0x40546a
or word [ebp - 8], 0x8000
or dword [ebp - 8], 0x400000
mov eax, dword [ebp - 0x10]
mov dword [eax], 2
jmp 0x40546a
or word [ebp - 8], 0x8000
or dword [ebp - 8], 0x800000
mov eax, dword [ebp - 0x10]
mov dword [eax], 2
jmp 0x40546a
or word [ebp - 8], 0x8000
mov eax, dword [ebp - 0x10]
mov dword [eax], 2
jmp 0x40546a
or byte [ebp - 8], 0x80
mov eax, dword [ebp - 0x10]
mov dword [eax], 5
jmp 0x40546a
mov eax, dword [ebp - 0x10]
mov dword [eax], 6
jmp 0x40546a
or word [ebp - 8], 0x8000
mov dword [ebp - 0x13c], 0x10
mov eax, dword [ebp - 0x10]
mov dword [eax], 2
jmp 0x40546a
mov edi, dword [ebp - 4]
shl edi, 8
add edi, 2
mov eax, edi
neg eax
jmp 0x405cd4
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 0x4054a7
mov dword [ebp - 0x1d4], 0xa
jmp 0x4054b3
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 0x4054d4
inc dword [ebp - 0x138]
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
cmp byte [edx + eax], 0
jne 0x404b4b
and dword [ebp - 0x1c], 0
jmp 0x405cc5
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 0x405526
test dword [eax + 4], 0x8000000
jne case.default.0x40553c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
or eax, eax
jl case.default.0x40553c
cmp eax, 8
jg case.default.0x40553c
jmp dword [eax*4 + 0x40ce84]
cmp dword [ebp + 0x18], 0
jne 0x40555d
mov eax, dword [ebp + 0x14]
add eax, 4
mov dword [ebp + 0x14], eax
mov eax, dword [eax - 4]
mov dword [ebp - 0x1d0], eax
jmp 0x40556c
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.0x40553c
cmp dword [ebp + 0x18], 0
jne 0x405597
mov eax, dword [ebp + 0x14]
add eax, 4
mov dword [ebp + 0x14], eax
mov eax, dword [eax - 4]
mov dword [ebp - 0x1d4], eax
jmp 0x4055a6
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.0x40553c
cmp dword [ebp + 8], 2
jne 0x405625
cmp dword [ebp + 0x18], 0
jne 0x4055da
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.0x40553c
mov eax, dword [ebp - 0x10]
cmp dword [eax], 3
jne 0x4055f5
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.0x40553c
mov eax, dword [ebp - 0x10]
test byte [eax + 4], 0x20
je 0x405611
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.0x40553c
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.0x40553c
mov eax, dword [ebp - 0x10]
test dword [eax + 4], 0x60000000
je 0x4056a3
test dword [eax + 4], 0x20000000
je 0x405659
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 0x405662
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 0x4056a3
cmp dword [ebp - 0x28], 4
jg 0x405685
mov eax, dword [ebp - 0x10]
add eax, 4
or byte [eax], 0x80
jmp 0x4056a3
cmp dword [ebp - 0x28], 8
jg 0x405698
mov eax, dword [ebp - 0x10]
add eax, 4
or word [eax], 0x100
jmp 0x4056a3
mov eax, dword [ebp - 0x10]
add eax, 4
or word [eax], 0x1000
mov eax, dword [ebp - 0x10]
test word [eax + 4], 0x400
je 0x405703
cmp dword [ebp + 0x18], 0
jne 0x4056d0
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 0x4056e9
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.0x40553c
mov eax, dword [ebp - 0x10]
test word [eax + 4], 0x800
je 0x405763
cmp dword [ebp + 0x18], 0
jne 0x405730
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 0x405749
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.0x40553c
mov eax, dword [ebp - 0x10]
test word [eax + 4], 0x1000
je 0x4057c7
cmp dword [ebp + 0x18], 0
jne 0x405793
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 0x4057ad
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.0x40553c
mov eax, dword [ebp - 0x10]
test word [eax + 4], 0x100
je 0x40582b
cmp dword [ebp + 0x18], 0
jne 0x4057f7
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 0x405811
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.0x40553c
mov eax, dword [ebp - 0x10]
test byte [eax + 4], 0x80
je 0x405889
cmp dword [ebp + 0x18], 0
jne 0x405856
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 0x40586f
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.0x40553c
cmp dword [ebp + 0x18], 0
jne 0x4058a8
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 0x405903
mov eax, dword [ebp - 0x10]
cmp dword [eax], 3
jne 0x4058ca
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 0x405903
mov eax, dword [ebp - 0x10]
test byte [eax + 4], 0x20
je 0x4058ed
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 0x405903
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 0x405929
test ax, 0x4000
je 0x405929
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.0x40553c
test ax, 0x4000
je case.default.0x40553c
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.0x40553c
mov eax, dword [ebp - 0x10]
test dword [eax + 4], 0x8000000
je 0x4059a2
cmp dword [ebp + 0x18], 0
jne 0x405982
mov eax, dword [ebp + 0x14]
add eax, 4
mov dword [ebp + 0x14], eax
mov eax, dword [eax - 4]
mov dword [ebp - 0x1d8], eax
jmp 0x405991
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.0x40553c
cmp dword [ebp + 0x18], 0
jne 0x4059c3
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 0x4059db
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.0x40553c
cmp dword [ebp + 8], 2
jne 0x405ac7
mov eax, dword [ebp - 0x10]
test word [eax + 4], 0x280
jne 0x405a10
add eax, 4
or byte [eax], 0x20
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
test al, 0x80
jne 0x405a20
test ax, 0x200
je 0x405a5a
cmp dword [ebp + 0x18], 0
jne 0x405a3a
mov eax, dword [ebp + 0x14]
add eax, 4
mov dword [ebp + 0x14], eax
mov eax, dword [eax - 4]
mov dword [ebp - 0x1e4], eax
jmp 0x405a49
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.0x40553c
cmp dword [ebp + 0x18], 0
jne 0x405a97
mov eax, dword [ebp - 0x10]
test byte [eax + 4], 0x20
je 0x405a80
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.0x40553c
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.0x40553c
mov eax, dword [ebp - 0x10]
test byte [eax + 4], 0x20
je 0x405ab3
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.0x40553c
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.0x40553c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
test al, 0x20
jne 0x405b13
test ax, 0x200
je 0x405b13
cmp dword [ebp + 0x18], 0
jne 0x405af1
mov eax, dword [ebp + 0x14]
add eax, 0xc
mov dword [ebp + 0x14], eax
fld xword [eax - 0xc]
fstp xword [ebp - 0x1f0]
jmp 0x405b02
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.0x40553c
mov eax, dword [ebp - 0x10]
test word [eax + 4], 0x100
je 0x405b6d
cmp dword [ebp + 0x18], 0
jne 0x405b4d
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.0x40553c
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.0x40553c
mov eax, dword [ebp - 0x10]
test byte [eax + 4], 0x20
je 0x405c7c
cmp dword [ebp + 0x18], 0
jne 0x405c0a
test word [eax + 4], 0x200
je 0x405bb5
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.0x40553c
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.0x40553c
mov eax, dword [ebp - 0x10]
test word [eax + 4], 0x200
je 0x405c34
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.0x40553c
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.0x40553c
cmp dword [ebp + 0x18], 0
jne 0x405c96
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.0x40553c
mov eax, dword [ebp - 0x10]
test byte [eax + 4], 0x20
je 0x405cb1
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.0x40553c
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 0x4054ed
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
pop ebx
leave
ret