Function at 0x1003e075
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10077989
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2a8
push esi
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1003e0a9
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x1003f0cd
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x21c], 4
mov byte [ebp - 0x22], 0
movzx eax, byte [ebp - 0x22]
test eax, eax
je 0x1003e0d3
push 0
push 0x1451
call fcn.1003ffb0
pop ecx
pop ecx
mov byte [ebp - 0x1e], 0
push 1
lea eax, [ebp - 0x1e]
push eax
call fcn.10039311
pop ecx
pop ecx
mov eax, dword [ebp - 0x54]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x54]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
mov dword [ebp - 0x18], eax
and dword [ebp - 0x7c], 0
jmp 0x1003e10f
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x18]
add eax, 0x28
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x54]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x7c], eax
jge 0x1003f0cd
mov dword [ebp - 0x8c], 1
push 1
lea ecx, [ebp - 0x1a4]
call fcn.100136d3
and dword [ebp - 4], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x5c], 0
jmp 0x1003e153
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 1
jge 0x1003e16f
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x1a4]
call fcn.10013744
mov dword [eax], 8
jmp 0x1003e14c
push 0
lea ecx, [ebp - 0x1a4]
call fcn.10013744
or ecx, 0xffffffff
sub ecx, dword [eax]
cmp ecx, 1
jle 0x1003e192
mov dword [ebp - 0xdc], 1
jmp 0x1003e199
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0xfffffffa
jle 0x1003e1ba
mov dword [ebp - 0x170], 1
jmp 0x1003e1c1
and dword [ebp - 0x170], 0
push 0
lea ecx, [ebp - 0x1a4]
call fcn.10013744
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0x8c], eax
jg 0x1003e25d
mov dword [ebp - 0x40], 0x10
jmp 0x1003e1ed
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x2e
jge 0x1003e241
mov dword [ebp - 0x3c], 0xfebf
push 0
lea eax, [ebp - 0x3c]
push eax
call fcn.1003947c
pop ecx
pop ecx
mov dword [ebp - 0x3c], 0
jmp 0x1003e217
mov eax, dword [ebp - 0x3c]
dec eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xfffffffc
jne 0x1003e23f
mov byte [ebp - 0x1f], 0
movzx eax, byte [ebp - 0x1f]
test eax, eax
je 0x1003e23d
push 0x63a5
push 0x1136
push 1
call fcn.10039428
add esp, 0xc
jmp 0x1003e210
jmp 0x1003e1e6
mov byte [ebp - 0x21], 0
movzx eax, byte [ebp - 0x21]
test eax, eax
je 0x1003e25b
push 0
push 0x5477
call fcn.1003cb6c
pop ecx
pop ecx
jmp 0x1003e2ac
mov byte [ebp - 0x23], 0
push 0x74f4
lea eax, [ebp - 0x23]
push eax
push 0x95
push 0
push 0x1183
call fcn.1003d299
add esp, 0x14
mov byte [ebp - 0x24], 0
movzx eax, byte [ebp - 0x24]
test eax, eax
je 0x1003e2ac
push 0
push 0
push 0x90e
push 0
push 0x1f72
push 0
push 0xa14
push 0x185a
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1a4]
call fcn.1001373f
push 1
push 0x3bc9
call fcn.1003947c
pop ecx
pop ecx
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x24]
and eax, 0x20000000
je 0x1003e2e2
mov dword [ebp - 0xa8], 1
jmp 0x1003e2e9
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x1c], 0x7fb0b029
mov dword [ebp - 0x18c], 0xffffffff
mov dword [ebp - 0x70], 0
jmp 0x1003e316
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 3
jge 0x1003e32c
mov eax, dword [ebp - 0x70]
mov dword [ebp + eax*4 - 0x244], 0xf84b8114
jmp 0x1003e30f
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18c]
push eax
call fcn.1003aced
add esp, 0xc
mov dword [ebp - 0x1c], 0
jmp 0x1003e351
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jg 0x1003e375
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp + eax*4 - 0x244]
mov dword [ebp + ecx*4 - 0x244], eax
cmp dword [ebp - 0x1c], 0
je 0x1003e373
jmp 0x1003e375
jmp 0x1003e34a
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x24]
and eax, 0x40000000
je 0x1003e38e
mov dword [ebp - 0xa4], 1
jmp 0x1003e395
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x184], eax
mov dword [ebp - 0x1f4], 0xf9b3198a
mov dword [ebp - 0x1f0], 0xf9b3198a
mov dword [ebp - 0x1ec], 0xf9b3198a
mov dword [ebp - 0x1e8], 0xf9b3198a
lea ecx, [ebp - 0x81]
call fcn.10009420
push eax
lea eax, [ebp - 0x1e4]
push eax
lea eax, [ebp - 0x1f4]
push eax
lea ecx, [ebp - 0x2a4]
call fcn.10013753
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x29c]
call fcn.10013715
mov dword [ebp - 4], 1
mov dword [ebp - 0x64], 0xc6f1bf50
mov dword [ebp - 0x208], 0x54a
push 3
lea ecx, [ebp - 0x264]
call fcn.100136d3
mov byte [ebp - 4], 2
mov dword [ebp - 0x224], 0x17a9413e
mov dword [ebp - 0x1bc], 0xffff
mov dword [ebp - 0x1b8], 0xffff
mov dword [ebp - 0x1b4], 0xffff
mov dword [ebp - 0x1b0], 0xffff
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x22c]
push eax
push 0x1f99
push 0x25d8
push 0
call fcn.10039c09
add esp, 0x14
mov dword [ebp - 0x64], 3
jmp 0x1003e48b
mov eax, dword [ebp - 0x64]
dec eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jl 0x1003e590
mov dword [ebp - 0x234], 0xdd8d1303
mov dword [ebp - 0x288], 0x23d1bca9
mov dword [ebp - 0x290], 9
mov dword [ebp - 0x28c], 7
mov dword [ebp - 0x27c], 0x868bb4a
mov dword [ebp - 0x20c], 1
mov dword [ebp - 0x214], 0xfffffffe
mov dword [ebp - 0x204], 0x1510afbd
push 1
lea ecx, [ebp - 0x254]
call fcn.100136d3
mov byte [ebp - 4], 3
mov dword [ebp - 0x218], 0xffffffff
push 0x6ec
lea eax, [ebp - 0x254]
push eax
push 0
lea eax, [ebp - 0x44]
push eax
call fcn.1003bde5
add esp, 0x10
mov dword [ebp - 0x44], 0
jmp 0x1003e52a
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 2
jge 0x1003e540
mov eax, dword [ebp - 0x44]
mov dword [ebp + eax*4 - 0x2ac], 0xffffffff
jmp 0x1003e523
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x1bc]
dec eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x1bc], eax
mov byte [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
push 0
push 0x127f
push 0x12d7
push 0x395
call fcn.10039eaa
add esp, 0x14
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x254]
call fcn.1001373f
jmp 0x1003e484
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x264]
call fcn.1001373f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x29c]
call fcn.1001373f
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x24]
and eax, 0x80000000
je 0x1003e5c7
mov dword [ebp - 0xf8], 1
jmp 0x1003e5ce
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x38], 6
mov dword [ebp - 0x17c], 3
mov dword [ebp - 0x48], 4
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x110], 0x12349124
cmp dword [ebp - 0x38], 0
je 0x1003e885
mov dword [ebp - 0x168], 2
mov dword [ebp - 0x80], 0x91df82d
mov dword [ebp - 0xb0], 1
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x78], 0
jmp 0x1003e642
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 2
jge 0x1003e658
mov eax, dword [ebp - 0x78]
mov dword [ebp + eax*4 - 0x1ac], 0
jmp 0x1003e63b
mov eax, dword [ebp - 0x48]
neg eax
mov dword [ebp - 0xb0], eax
je 0x1003e6ba
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x258], eax
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x38], eax
jl 0x1003e682
mov dword [ebp - 0x120], 1
jmp 0x1003e689
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x120]
jl 0x1003e6a0
mov dword [ebp - 0xb8], 1
jmp 0x1003e6a7
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0x48]
imul eax, dword [ebp - 0xb8]
cmp eax, dword [ebp - 0x4c]
jl 0x1003e6ba
cmp dword [ebp - 0x80], 0
cmp dword [ebp - 0x4c], 0xd238e486
je 0x1003e6cf
mov dword [ebp - 0x100], 1
jmp 0x1003e6d6
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x100]
sub eax, dword [ebp - 0x80]
cmp eax, dword [ebp - 0x38]
jge 0x1003e6f0
mov dword [ebp - 0xc0], 1
jmp 0x1003e6f7
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0xc0], eax
jge 0x1003e70e
mov dword [ebp - 0x140], 1
jmp 0x1003e715
and dword [ebp - 0x140], 0
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x80]
cmp dword [ebp - 0x38], eax
jl 0x1003e732
mov dword [ebp - 0xc8], 1
jmp 0x1003e739
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0x17c]
cmp dword [ebp - 0xc8], eax
jne 0x1003e753
mov dword [ebp - 0x108], 1
jmp 0x1003e75a
and dword [ebp - 0x108], 0
cmp dword [ebp - 0x108], 0xa3d88101
je 0x1003e772
mov dword [ebp - 0x128], 1
jmp 0x1003e779
and dword [ebp - 0x128], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x1ac]
dec eax
mov dword [ebp - 0xd0], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0xd0]
mov dword [ebp + eax - 0x1ac], ecx
mov eax, dword [ebp - 0xd0]
cmp eax, dword [ebp - 0x128]
je 0x1003e7cc
mov eax, 0xf47f
test eax, eax
je 0x1003e7cc
mov eax, 0x6121589a
test eax, eax
je 0x1003e7cc
mov dword [ebp - 0xd8], 1
jmp 0x1003e7d3
and dword [ebp - 0xd8], 0
cmp dword [ebp - 0xd8], 0x629342bb
jne 0x1003e7eb
mov dword [ebp - 0x160], 1
jmp 0x1003e7f2
and dword [ebp - 0x160], 0
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x280], eax
mov eax, dword [ebp - 0x168]
cmp dword [ebp - 0x48], eax
jge 0x1003e825
mov byte [ebp - 0x31], 0
movzx eax, byte [ebp - 0x31]
test eax, eax
je 0x1003e823
call fcn.1003959a
jmp 0x1003e86c
mov dword [ebp - 0x6c], 0
jmp 0x1003e835
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 3
jge 0x1003e84b
mov eax, dword [ebp - 0x6c]
mov dword [ebp + eax*4 - 0x274], 1
jmp 0x1003e82e
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x274]
dec eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x274], eax
push 1
call fcn.100395bb
pop ecx
mov byte [ebp - 0x1d], 0
push 0x7667
push 1
lea eax, [ebp - 0x1d]
push eax
call fcn.10039608
add esp, 0xc
jmp 0x1003e8cc
mov dword [ebp - 0x228], 0x7cc73ee4
mov dword [ebp - 0x268], 0xffffffff
mov dword [ebp - 0x194], 0x1cdf
push 1
push 0x5b25
push 0x3b32
push 0x590f
push 0x4f27
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x194]
push eax
call fcn.10039658
add esp, 0x1c
mov eax, dword [ebp - 0x110]
inc eax
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x24]
and eax, 0x2000000
je 0x1003eb05
push 0x4000
mov eax, dword [ebp - 0x18]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x18]
push dword [eax + 8]
push 0x9790
push 0xb5dc
call fcn.10013367
pop ecx
pop ecx
call eax
mov dword [ebp - 0xe8], 0xb25b
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x50], 3
mov dword [ebp - 0x74], 0xc8a52b4b
mov dword [ebp - 0xb4], 0x45a8cced
mov dword [ebp - 0xc4], 1
mov dword [ebp - 0x154], 8
mov dword [ebp - 0x230], 1
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x1003ea9a
cmp dword [ebp - 0x28], 0
jne 0x1003ea66
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x1003ea29
cmp dword [ebp - 0x50], 0xfff7
ja 0x1003e997
mov dword [ebp - 0xe0], 1
jmp 0x1003e99e
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x1003e9c2
mov eax, 0x81ec
test eax, eax
je 0x1003e9c2
mov dword [ebp - 0x138], 1
jmp 0x1003e9c9
and dword [ebp - 0x138], 0
mov eax, dword [ebp - 0x50]
add eax, dword [ebp - 0x138]
cmp eax, dword [ebp - 0xe8]
jl 0x1003e9e6
mov dword [ebp - 0x118], 1
jmp 0x1003e9ed
and dword [ebp - 0x118], 0
cmp dword [ebp - 0x118], 0xfffffff9
jle 0x1003ea06
push 4
pop eax
test eax, eax
jne 0x1003ea06
and dword [ebp - 0xf0], 0
jmp 0x1003ea10
mov dword [ebp - 0xf0], 1
mov eax, dword [ebp - 0xf0]
sub eax, 0x2c59
je 0x1003ea29
mov dword [ebp - 0x130], 1
jmp 0x1003ea30
and dword [ebp - 0x130], 0
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x130], eax
jg 0x1003ea47
mov dword [ebp - 0xa0], 1
jmp 0x1003ea4e
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
jne 0x1003ea66
and dword [ebp - 0xac], 0
jmp 0x1003ea70
mov dword [ebp - 0xac], 1
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0
je 0x1003ea9a
mov eax, 0x39d20578
test eax, eax
je 0x1003ea9a
mov dword [ebp - 0xbc], 1
jmp 0x1003eaa1
and dword [ebp - 0xbc], 0
push 9
pop eax
sub eax, dword [ebp - 0xbc]
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0xb79dc866
jne 0x1003eac8
mov dword [ebp - 0xcc], 1
jmp 0x1003eacf
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x154], eax
cmp dword [ebp - 0x74], 0xfffffffb
je 0x1003eaed
mov dword [ebp - 0xd4], 1
jmp 0x1003eaf4
and dword [ebp - 0xd4], 0
push 0xfffffffffffffffb
pop eax
sub eax, dword [ebp - 0xd4]
mov dword [ebp - 0x74], eax
jmp 0x1003e0ff
push 0
lea eax, [ebp - 0x184]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x38b1
lea eax, [ebp - 0x178]
push eax
lea eax, [ebp - 0x190]
push eax
push 0x7262
lea eax, [ebp - 0x174]
push eax
call fcn.1003cbbb
add esp, 0x20
lea eax, [ebp - 0x144]
push eax
push 0x79ad
push 1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.100397b5
add esp, 0x14
cmp dword [ebp - 0x144], 0
jbe 0x1003f0c8
mov dword [ebp - 0x90], 0xfffffffd
mov dword [ebp - 0x1cc], 0x979c
mov dword [ebp - 0x1c8], 0x979c
mov dword [ebp - 0x1c4], 0x979c
mov dword [ebp - 0x1c0], 0x979c
mov dword [ebp - 0x68], 0x75ee4c20
mov dword [ebp - 0x10], 0x718e5034
mov dword [ebp - 0x15c], 0x1ebdc590
mov dword [ebp - 0x58], 0
jmp 0x1003ebbe
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 1
jge 0x1003ebd1
mov eax, dword [ebp - 0x58]
mov dword [ebp + eax*4 - 0x30], 0xffffffff
jmp 0x1003ebb7
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x30], 0
jmp 0x1003ebf6
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x30]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x30], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x30], 0xfffffffe
jg 0x1003ee90
mov dword [ebp - 0x1e0], 0xffff
mov dword [ebp - 0x1dc], 0xffff
mov dword [ebp - 0x1d8], 0xffff
mov dword [ebp - 0x1d4], 0xffff
lea ecx, [ebp - 0x91]
call fcn.10009420
push eax
lea eax, [ebp - 0x1d0]
push eax
lea eax, [ebp - 0x1e0]
push eax
lea ecx, [ebp - 0x2b4]
call fcn.10013753
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x150]
call fcn.10013715
mov dword [ebp - 4], 4
mov dword [ebp - 0x88], 0x5f8d9a2b
mov dword [ebp - 0x180], 0xc7153413
push 3
lea ecx, [ebp - 0x200]
call fcn.100136d3
mov byte [ebp - 4], 5
mov dword [ebp - 0x60], 0
jmp 0x1003eca0
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 3
jge 0x1003ecbc
push dword [ebp - 0x60]
lea ecx, [ebp - 0x200]
call fcn.10013744
mov dword [eax], 0xe8cc1958
jmp 0x1003ec99
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x1cc]
mov dword [ebp - 0x88], eax
mov esi, dword [ebp - 0x88]
push 2
lea ecx, [ebp - 0x150]
call fcn.10013744
mov eax, dword [eax]
sub eax, esi
mov dword [ebp - 0x68], eax
mov esi, dword [ebp - 0x68]
push 3
lea ecx, [ebp - 0x150]
call fcn.10013744
cmp esi, dword [eax]
jne 0x1003ed09
mov dword [ebp - 0x9c], 1
jmp 0x1003ed10
and dword [ebp - 0x9c], 0
mov dword [ebp - 0x90], 0xfffffffa
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x90], eax
jle 0x1003ed3a
mov dword [ebp - 0xe4], 1
jmp 0x1003ed41
and dword [ebp - 0xe4], 0
push 2
lea ecx, [ebp - 0x150]
call fcn.10013744
mov eax, dword [eax]
cmp eax, dword [ebp - 0xe4]
jg 0x1003ed64
mov dword [ebp - 0xec], 1
jmp 0x1003ed6b
and dword [ebp - 0xec], 0
push 2
lea ecx, [ebp - 0x150]
call fcn.10013744
mov ecx, dword [ebp - 0xec]
imul ecx, dword [eax]
push 4
pop eax
imul eax, eax, 0
cmp ecx, dword [ebp + eax - 0x30]
je 0x1003ed99
mov dword [ebp - 0xf4], 1
jmp 0x1003eda0
and dword [ebp - 0xf4], 0
cmp dword [ebp - 0xf4], 5
jne 0x1003edbe
cmp dword [ebp - 0x180], 0
je 0x1003edbe
mov dword [ebp - 0xfc], 1
jmp 0x1003edc5
and dword [ebp - 0xfc], 0
push 2
lea ecx, [ebp - 0x150]
call fcn.10013744
mov ecx, dword [ebp - 0xfc]
sub ecx, dword [eax]
je 0x1003ee04
push 2
lea ecx, [ebp - 0x150]
call fcn.10013744
cmp dword [eax], 0
je 0x1003ee04
mov byte [ebp - 0x29], 0
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x1003ee02
push 0
call fcn.1003ad64
pop ecx
jmp 0x1003ee6d
cmp dword [ebp - 0x88], 0
ja 0x1003ee28
push 2
lea ecx, [ebp - 0x200]
call fcn.10013744
cmp dword [eax], 0
jne 0x1003ee28
and dword [ebp - 0x104], 0
jmp 0x1003ee32
mov dword [ebp - 0x104], 1
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x10], eax
push 0x3f6b
push 0x2621
push 0xc85
push 0xc36
push 0x2754
push 0xb99
push 0x3616
push 0x63ca
push 1
call fcn.10039819
add esp, 0x24
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x200]
call fcn.1001373f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x150]
call fcn.1001373f
jmp 0x1003ebe1
mov dword [ebp - 0x10], 0x13
jmp 0x1003eea0
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x1003f09c
mov dword [ebp - 0x14], 4
mov dword [ebp - 0x98], 0x5ddb
mov dword [ebp - 0x16c], 0xeb45d954
cmp dword [ebp - 0x10], 0
je 0x1003ef99
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x198], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x198]
mov dword [ebp + eax - 0x30], ecx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x284], eax
mov eax, 0xb133
cmp eax, 0x592e
jle 0x1003ef0c
mov dword [ebp - 0x158], 1
jmp 0x1003ef13
and dword [ebp - 0x158], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x1cc]
mov dword [ebp - 0x238], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x14]
jge 0x1003ef3c
mov dword [ebp - 0x10c], 1
jmp 0x1003ef43
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x10c], eax
jg 0x1003ef60
cmp dword [ebp - 0x15c], 0
jne 0x1003ef60
and dword [ebp - 0x164], 0
jmp 0x1003ef6a
mov dword [ebp - 0x164], 1
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x278], eax
xor eax, eax
cmp eax, 1
jbe 0x1003ef86
mov dword [ebp - 0x114], 1
jmp 0x1003ef8d
and dword [ebp - 0x114], 0
xor eax, eax
inc eax
sub eax, dword [ebp - 0x114]
sub eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x14], 0
jne 0x1003efae
cmp dword [ebp - 0x14], 0
je 0x1003efc0
cmp dword [ebp - 0x14], 0
je 0x1003efc0
mov dword [ebp - 0x11c], 1
jmp 0x1003efc7
and dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x11c]
imul eax, dword [ebp - 0x10]
mov dword [ebp - 0x90], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x30], 0
je 0x1003f001
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x68]
imul eax, eax, 0xffffffff
test eax, eax
je 0x1003f001
mov dword [ebp - 0x134], 1
jmp 0x1003f008
and dword [ebp - 0x134], 0
cmp dword [ebp - 0x14], 0
je 0x1003f023
mov eax, 0x996bd0c7
test eax, eax
je 0x1003f023
mov dword [ebp - 0x124], 1
jmp 0x1003f02a
and dword [ebp - 0x124], 0
mov eax, dword [ebp - 0x124]
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0xffffffff
jne 0x1003f05d
cmp dword [ebp - 0x98], 0
jne 0x1003f05d
mov eax, 0xf7bd
test eax, eax
jne 0x1003f05d
and dword [ebp - 0x12c], 0
jmp 0x1003f067
mov dword [ebp - 0x12c], 1
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x12c], eax
jne 0x1003f07e
mov dword [ebp - 0x13c], 1
jmp 0x1003f085
and dword [ebp - 0x13c], 0
mov eax, dword [ebp - 0x134]
sub eax, dword [ebp - 0x13c]
mov dword [ebp - 0x16c], eax
jmp 0x1003ee99
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x174]
push dword [ebp - 0x144]
mov eax, dword [ebp - 0x18]
push dword [eax + 8]
push 0x9790
push 0xd428
call fcn.10013367
pop ecx
pop ecx
call eax
jmp 0x1003e0ff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret