Function at 0x10022a97
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
and dword [ebp - 0xc], 0
and dword [ebp - 0x18], 0
and dword [ebp - 8], 0
and dword [ebp - 0x24], 0
xor eax, eax
mov word [ebp - 0x1c], ax
and dword [ebp - 0x28], 0
and dword [ebp - 0x20], 0
xor eax, eax
mov word [ebp - 0x10], ax
and dword [ebp - 0x14], 0
and dword [ebp - 0x2c], 0
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
push 0x115678
call dword [0x115064]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x1f
jbe 0x10022af6
mov dword [ebp - 0x3c4], 0x1f
jmp 0x10022aff
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c4], eax
mov eax, dword [ebp - 0x3c4]
mov dword [ebp - 0x58], eax
and dword [ebp - 0x30], 0
jmp 0x10022b15
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x58]
shr eax, 2
cmp dword [ebp - 0x30], eax
jae 0x10022b43
cmp dword [ebp - 0x30], 0
jbe 0x10022b36
call dword [0x115088]
add eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x30]
mov dword [ebp + ecx*4 - 0x54], eax
cmp dword [ebp - 0x30], 0x22db
jbe 0x10022b41
jmp 0x10022b43
jmp 0x10022b0e
mov eax, dword [ebp - 0x24]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x10022bfd
xor eax, eax
je 0x10022b5a
jmp 0x10022b54
mov dword [ebp - 0x7c], 0x55
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x7c], 0x1c
jae 0x10022b78
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x3c8], eax
jmp 0x10022b82
mov dword [ebp - 0x3c8], 0x1c
mov eax, dword [ebp - 0x3c8]
mov dword [ebp - 0x5c], eax
push dword [ebp - 0x5c]
push 0x115680
lea eax, [ebp - 0x78]
push eax
call dword [0x115068]
mov dword [ebp - 0x80], eax
call dword [0x11507c]
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0xf
jbe 0x10022bd8
push 0x36
pop eax
sub eax, dword [ebp - 0x84]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x84]
add eax, dword [ebp - 0x8c]
mov dword [ebp - 0x88], eax
jmp 0x10022bf6
push 0x6c
pop eax
sub eax, dword [ebp - 0x84]
mov dword [ebp - 0x90], eax
push 0x36
pop eax
sub eax, dword [ebp - 0x90]
mov dword [ebp - 0x88], eax
xor eax, eax
jmp 0x10023976
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
cmp dword [eax], 0x4550
je 0x10022c21
xor eax, eax
je 0x10022c1a
jmp 0x10022c14
xor eax, eax
jmp 0x10023976
mov eax, dword [ebp - 0x28]
movzx eax, word [eax + 4]
cmp eax, 0x14c
jne 0x10022c4e
xor eax, eax
je 0x10022c35
jmp 0x10022c2f
mov eax, dword [ebp - 0x28]
mov ax, word [eax + 6]
mov word [ebp - 0x10], ax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x2c], eax
jmp 0x10022df6
mov eax, dword [ebp - 0x28]
movzx eax, word [eax + 4]
cmp eax, 0x8664
jne 0x10022d20
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
and dword [ebp - 0x28], 0
xor eax, eax
je 0x10022c70
jmp 0x10022c6a
push 0x115690
call dword [0x115064]
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0x1f
jbe 0x10022c96
mov dword [ebp - 0x3cc], 0x1f
jmp 0x10022ca2
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x3cc], eax
mov eax, dword [ebp - 0x3cc]
mov dword [ebp - 0xbc], eax
and dword [ebp - 0x94], 0
jmp 0x10022cc4
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0xbc]
shr eax, 2
cmp dword [ebp - 0x94], eax
jae 0x10022d07
cmp dword [ebp - 0x94], 0
jbe 0x10022cf7
call dword [0x115088]
add eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x94]
mov dword [ebp + ecx*4 - 0xb8], eax
cmp dword [ebp - 0x94], 0x22db
jbe 0x10022d05
jmp 0x10022d07
jmp 0x10022cb7
mov eax, dword [ebp - 0x20]
mov ax, word [eax + 6]
mov word [ebp - 0x10], ax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x2c], eax
jmp 0x10022df6
xor eax, eax
je 0x10022d26
jmp 0x10022d20
mov dword [ebp - 0xe0], 0x4c
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xe0], 0x1c
jae 0x10022d53
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x3d0], eax
jmp 0x10022d5d
mov dword [ebp - 0x3d0], 0x1c
mov eax, dword [ebp - 0x3d0]
mov dword [ebp - 0xc0], eax
push dword [ebp - 0xc0]
push 0x1156a4
lea eax, [ebp - 0xdc]
push eax
call dword [0x115068]
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0x100], 0xf
and dword [ebp - 0xfc], 0
cmp dword [ebp - 0x100], 9
jae 0x10022daf
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x3d4], eax
jmp 0x10022db9
mov dword [ebp - 0x3d4], 9
push dword [ebp - 0x3d4]
lea eax, [ebp - 0xf8]
push eax
push 0xffffffffffffffff
push 0x1156a8
push 0
push 0
call dword [0x115074]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xfc]
and eax, 0xffff
mov word [ebp - 0xf8], ax
xor eax, eax
jmp 0x10023976
xor eax, eax
je 0x10022dfc
jmp 0x10022df6
push 0x1156b4
call dword [0x115064]
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0x1f
jbe 0x10022e22
mov dword [ebp - 0x3d8], 0x1f
jmp 0x10022e2e
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x3d8], eax
mov eax, dword [ebp - 0x3d8]
mov dword [ebp - 0x12c], eax
and dword [ebp - 0x104], 0
jmp 0x10022e50
mov eax, dword [ebp - 0x104]
inc eax
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x12c]
shr eax, 2
cmp dword [ebp - 0x104], eax
jae 0x10022e93
cmp dword [ebp - 0x104], 0
jbe 0x10022e83
call dword [0x115088]
add eax, dword [ebp - 0x104]
mov ecx, dword [ebp - 0x104]
mov dword [ebp + ecx*4 - 0x128], eax
cmp dword [ebp - 0x104], 0x22db
jbe 0x10022e91
jmp 0x10022e93
jmp 0x10022e43
cmp dword [ebp + 0x10], 0
je 0x100232ed
push 0x1156b8
call dword [0x115064]
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0x1f
jbe 0x10022ec3
mov dword [ebp - 0x3dc], 0x1f
jmp 0x10022ecf
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x3dc], eax
mov eax, dword [ebp - 0x3dc]
mov dword [ebp - 0x158], eax
and dword [ebp - 0x130], 0
jmp 0x10022ef1
mov eax, dword [ebp - 0x130]
inc eax
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x158]
shr eax, 2
cmp dword [ebp - 0x130], eax
jae 0x10022f34
cmp dword [ebp - 0x130], 0
jbe 0x10022f24
call dword [0x115088]
add eax, dword [ebp - 0x130]
mov ecx, dword [ebp - 0x130]
mov dword [ebp + ecx*4 - 0x154], eax
cmp dword [ebp - 0x130], 0x22db
jbe 0x10022f32
jmp 0x10022f34
jmp 0x10022ee4
mov eax, dword [ebp - 0x28]
movzx eax, word [eax + 4]
cmp eax, 0x14c
jne 0x100230ff
push 0x40
push 0x1000
push dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
push dword [eax + 0x34]
mov eax, dword [0x1203e4]
call dword [eax + 0x50]
mov dword [ebp - 0xc], eax
push 0x1156c8
call dword [0x115064]
mov dword [ebp - 0x160], eax
cmp dword [ebp - 0x160], 0x1f
jbe 0x10022f87
mov dword [ebp - 0x3e0], 0x1f
jmp 0x10022f93
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x3e0], eax
mov eax, dword [ebp - 0x3e0]
mov dword [ebp - 0x184], eax
and dword [ebp - 0x15c], 0
jmp 0x10022fb5
mov eax, dword [ebp - 0x15c]
inc eax
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x184]
shr eax, 2
cmp dword [ebp - 0x15c], eax
jae 0x10022ff8
cmp dword [ebp - 0x15c], 0
jbe 0x10022fe8
call dword [0x115088]
add eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x15c]
mov dword [ebp + ecx*4 - 0x180], eax
cmp dword [ebp - 0x15c], 0x22db
jbe 0x10022ff6
jmp 0x10022ff8
jmp 0x10022fa8
call dword [0x11507c]
mov dword [ebp - 0x188], eax
cmp dword [ebp - 0x188], 0xf
jbe 0x10023030
push 0x53
pop eax
sub eax, dword [ebp - 0x188]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x188]
add eax, dword [ebp - 0x190]
mov dword [ebp - 0x18c], eax
jmp 0x10023050
mov eax, 0xa6
sub eax, dword [ebp - 0x188]
mov dword [ebp - 0x194], eax
push 0x53
pop eax
sub eax, dword [ebp - 0x194]
mov dword [ebp - 0x18c], eax
cmp dword [ebp - 0xc], 0
je 0x100230f9
xor eax, eax
je 0x10023060
jmp 0x1002305a
push 0x1156dc
call dword [0x115064]
mov dword [ebp - 0x19c], eax
cmp dword [ebp - 0x19c], 0x1f
jbe 0x10023086
mov dword [ebp - 0x3e4], 0x1f
jmp 0x10023092
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0x3e4], eax
mov eax, dword [ebp - 0x3e4]
mov dword [ebp - 0x1c0], eax
and dword [ebp - 0x198], 0
jmp 0x100230b4
mov eax, dword [ebp - 0x198]
inc eax
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x1c0]
shr eax, 2
cmp dword [ebp - 0x198], eax
jae 0x100230f7
cmp dword [ebp - 0x198], 0
jbe 0x100230e7
call dword [0x115088]
add eax, dword [ebp - 0x198]
mov ecx, dword [ebp - 0x198]
mov dword [ebp + ecx*4 - 0x1bc], eax
cmp dword [ebp - 0x198], 0x22db
jbe 0x100230f5
jmp 0x100230f7
jmp 0x100230a7
jmp 0x100230ff
xor eax, eax
je 0x100230ff
jmp 0x100230f9
call dword [0x11507c]
mov dword [ebp - 0x1c4], eax
cmp dword [ebp - 0x1c4], 0xf
jbe 0x10023137
push 0x1c
pop eax
sub eax, dword [ebp - 0x1c4]
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp - 0x1c4]
add eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x1c8], eax
jmp 0x10023155
push 0x38
pop eax
sub eax, dword [ebp - 0x1c4]
mov dword [ebp - 0x1d0], eax
push 0x1c
pop eax
sub eax, dword [ebp - 0x1d0]
mov dword [ebp - 0x1c8], eax
cmp dword [ebp - 0xc], 0
jne 0x1002320d
push 0x40
push 0x1000
push dword [ebp - 0x2c]
push 0
mov eax, dword [0x1203e4]
call dword [eax + 0x50]
mov dword [ebp - 0xc], eax
push 0x1156e4
call dword [0x115064]
mov dword [ebp - 0x1d8], eax
cmp dword [ebp - 0x1d8], 0x1f
jbe 0x1002319c
mov dword [ebp - 0x3e8], 0x1f
jmp 0x100231a8
mov eax, dword [ebp - 0x1d8]
mov dword [ebp - 0x3e8], eax
mov eax, dword [ebp - 0x3e8]
mov dword [ebp - 0x1fc], eax
and dword [ebp - 0x1d4], 0
jmp 0x100231ca
mov eax, dword [ebp - 0x1d4]
inc eax
mov dword [ebp - 0x1d4], eax
mov eax, dword [ebp - 0x1fc]
shr eax, 2
cmp dword [ebp - 0x1d4], eax
jae 0x1002320d
cmp dword [ebp - 0x1d4], 0
jbe 0x100231fd
call dword [0x115088]
add eax, dword [ebp - 0x1d4]
mov ecx, dword [ebp - 0x1d4]
mov dword [ebp + ecx*4 - 0x1f8], eax
cmp dword [ebp - 0x1d4], 0x22db
jbe 0x1002320b
jmp 0x1002320d
jmp 0x100231bd
cmp dword [ebp - 0xc], 0
jne 0x100232e2
xor eax, eax
je 0x1002321d
jmp 0x10023217
mov dword [ebp - 0x218], 0xd
and dword [ebp - 0x214], 0
cmp dword [ebp - 0x218], 9
jae 0x10023245
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x3ec], eax
jmp 0x1002324f
mov dword [ebp - 0x3ec], 9
push dword [ebp - 0x3ec]
lea eax, [ebp - 0x210]
push eax
push 0xffffffffffffffff
push 0x1156ec
push 0
push 0
call dword [0x115074]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x214]
and eax, 0xffff
mov word [ebp - 0x210], ax
call dword [0x11507c]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0xf
jbe 0x100232bd
push 0x33
pop eax
sub eax, dword [ebp - 0x21c]
mov dword [ebp - 0x224], eax
mov eax, dword [ebp - 0x21c]
add eax, dword [ebp - 0x224]
mov dword [ebp - 0x220], eax
jmp 0x100232db
push 0x66
pop eax
sub eax, dword [ebp - 0x21c]
mov dword [ebp - 0x228], eax
push 0x33
pop eax
sub eax, dword [ebp - 0x228]
mov dword [ebp - 0x220], eax
xor eax, eax
jmp 0x10023976
xor eax, eax
je 0x100232e8
jmp 0x100232e2
jmp 0x100233db
push dword [ebp - 0x2c]
call fcn.1000bcd5
pop ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x244], 0x14
and dword [ebp - 0x240], 0
cmp dword [ebp - 0x244], 9
jae 0x10023321
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x3f0], eax
jmp 0x1002332b
mov dword [ebp - 0x3f0], 9
push dword [ebp - 0x3f0]
lea eax, [ebp - 0x23c]
push eax
push 0xffffffffffffffff
push 0x1156f4
push 0
push 0
call dword [0x115074]
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 0x240]
and eax, 0xffff
mov word [ebp - 0x23c], ax
cmp dword [ebp - 0xc], 0
jne 0x100233d5
xor eax, eax
je 0x1002336d
jmp 0x10023367
mov dword [ebp - 0x268], 0x60
mov eax, dword [ebp - 0x268]
mov dword [ebp - 0x264], eax
cmp dword [ebp - 0x268], 0x1c
jae 0x1002339a
mov eax, dword [ebp - 0x268]
mov dword [ebp - 0x3f4], eax
jmp 0x100233a4
mov dword [ebp - 0x3f4], 0x1c
mov eax, dword [ebp - 0x3f4]
mov dword [ebp - 0x248], eax
push dword [ebp - 0x248]
push 0x1156fc
lea eax, [ebp - 0x264]
push eax
call dword [0x115068]
mov dword [ebp - 0x26c], eax
xor eax, eax
jmp 0x10023976
xor eax, eax
je 0x100233db
jmp 0x100233d5
push 0x115708
call dword [0x115064]
mov dword [ebp - 0x274], eax
cmp dword [ebp - 0x274], 0x1f
jbe 0x10023401
mov dword [ebp - 0x3f8], 0x1f
jmp 0x1002340d
mov eax, dword [ebp - 0x274]
mov dword [ebp - 0x3f8], eax
mov eax, dword [ebp - 0x3f8]
mov dword [ebp - 0x298], eax
and dword [ebp - 0x270], 0
jmp 0x1002342f
mov eax, dword [ebp - 0x270]
inc eax
mov dword [ebp - 0x270], eax
mov eax, dword [ebp - 0x298]
shr eax, 2
cmp dword [ebp - 0x270], eax
jae 0x10023472
cmp dword [ebp - 0x270], 0
jbe 0x10023462
call dword [0x115088]
add eax, dword [ebp - 0x270]
mov ecx, dword [ebp - 0x270]
mov dword [ebp + ecx*4 - 0x294], eax
cmp dword [ebp - 0x270], 0x22db
jbe 0x10023470
jmp 0x10023472
jmp 0x10023422
cmp dword [ebp - 0x20], 0
je 0x1002357a
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x3c]
mov ecx, dword [ebp + 8]
lea eax, [ecx + eax + 0x108]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2bc], 0x1a
mov eax, dword [ebp - 0x2bc]
mov dword [ebp - 0x2b8], eax
cmp dword [ebp - 0x2bc], 0x1c
jae 0x100234bc
mov eax, dword [ebp - 0x2bc]
mov dword [ebp - 0x3fc], eax
jmp 0x100234c6
mov dword [ebp - 0x3fc], 0x1c
mov eax, dword [ebp - 0x3fc]
mov dword [ebp - 0x29c], eax
push dword [ebp - 0x29c]
push 0x115714
lea eax, [ebp - 0x2b8]
push eax
call dword [0x115068]
mov dword [ebp - 0x2c0], eax
mov eax, dword [ebp - 0x20]
push dword [eax + 0x54]
push dword [ebp - 0x24]
push dword [ebp - 0xc]
call fcn.1000b9fe
add esp, 0xc
mov dword [ebp - 0x2dc], 0x36
and dword [ebp - 0x2d8], 0
cmp dword [ebp - 0x2dc], 9
jae 0x1002352c
mov eax, dword [ebp - 0x2dc]
mov dword [ebp - 0x400], eax
jmp 0x10023536
mov dword [ebp - 0x400], 9
push dword [ebp - 0x400]
lea eax, [ebp - 0x2d4]
push eax
push 0xffffffffffffffff
push 0x115724
push 0
push 0
call dword [0x115074]
mov dword [ebp - 0x2d8], eax
mov eax, dword [ebp - 0x2d8]
and eax, 0xffff
mov word [ebp - 0x2d4], ax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x54]
mov dword [ebp - 4], eax
jmp 0x100236a9
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x3c]
mov ecx, dword [ebp + 8]
lea eax, [ecx + eax + 0xf8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2f8], 0x45
and dword [ebp - 0x2f4], 0
cmp dword [ebp - 0x2f8], 9
jae 0x100235b5
mov eax, dword [ebp - 0x2f8]
mov dword [ebp - 0x404], eax
jmp 0x100235bf
mov dword [ebp - 0x404], 9
push dword [ebp - 0x404]
lea eax, [ebp - 0x2f0]
push eax
push 0xffffffffffffffff
push 0x115728
push 0
push 0
call dword [0x115074]
mov dword [ebp - 0x2f4], eax
mov eax, dword [ebp - 0x2f4]
and eax, 0xffff
mov word [ebp - 0x2f0], ax
mov eax, dword [ebp - 0x28]
push dword [eax + 0x54]
push dword [ebp - 0x24]
push dword [ebp - 0xc]
call fcn.1000b9fe
add esp, 0xc
push 0x115730
call dword [0x115064]
mov dword [ebp - 0x300], eax
cmp dword [ebp - 0x300], 0x1f
jbe 0x1002362f
mov dword [ebp - 0x408], 0x1f
jmp 0x1002363b
mov eax, dword [ebp - 0x300]
mov dword [ebp - 0x408], eax
mov eax, dword [ebp - 0x408]
mov dword [ebp - 0x324], eax
and dword [ebp - 0x2fc], 0
jmp 0x1002365d
mov eax, dword [ebp - 0x2fc]
inc eax
mov dword [ebp - 0x2fc], eax
mov eax, dword [ebp - 0x324]
shr eax, 2
cmp dword [ebp - 0x2fc], eax
jae 0x100236a0
cmp dword [ebp - 0x2fc], 0
jbe 0x10023690
call dword [0x115088]
add eax, dword [ebp - 0x2fc]
mov ecx, dword [ebp - 0x2fc]
mov dword [ebp + ecx*4 - 0x320], eax
cmp dword [ebp - 0x2fc], 0x22db
jbe 0x1002369e
jmp 0x100236a0
jmp 0x10023650
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x54]
mov dword [ebp - 4], eax
mov dword [ebp - 0x340], 0x4a
and dword [ebp - 0x33c], 0
cmp dword [ebp - 0x340], 9
jae 0x100236d1
mov eax, dword [ebp - 0x340]
mov dword [ebp - 0x40c], eax
jmp 0x100236db
mov dword [ebp - 0x40c], 9
push dword [ebp - 0x40c]
lea eax, [ebp - 0x338]
push eax
push 0xffffffffffffffff
push 0x11573c
push 0
push 0
call dword [0x115074]
mov dword [ebp - 0x33c], eax
mov eax, dword [ebp - 0x33c]
and eax, 0xffff
mov word [ebp - 0x338], ax
and dword [ebp - 8], 0
jmp 0x1002371e
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
movzx eax, word [ebp - 0x10]
cmp dword [ebp - 8], eax
jae 0x10023905
push 9
push 0
lea eax, [ebp - 0x34c]
push eax
call fcn.1000bb49
add esp, 0xc
push 0x115744
call dword [0x115064]
mov dword [ebp - 0x354], eax
cmp dword [ebp - 0x354], 0x1f
jbe 0x10023764
mov dword [ebp - 0x410], 0x1f
jmp 0x10023770
mov eax, dword [ebp - 0x354]
mov dword [ebp - 0x410], eax
mov eax, dword [ebp - 0x410]
mov dword [ebp - 0x378], eax
and dword [ebp - 0x350], 0
jmp 0x10023792
mov eax, dword [ebp - 0x350]
inc eax
mov dword [ebp - 0x350], eax
mov eax, dword [ebp - 0x378]
shr eax, 2
cmp dword [ebp - 0x350], eax
jae 0x100237d5
cmp dword [ebp - 0x350], 0
jbe 0x100237c5
call dword [0x115088]
add eax, dword [ebp - 0x350]
mov ecx, dword [ebp - 0x350]
mov dword [ebp + ecx*4 - 0x374], eax
cmp dword [ebp - 0x350], 0x22db
jbe 0x100237d3
jmp 0x100237d5
jmp 0x10023785
push 8
mov eax, dword [ebp - 8]
imul eax, eax, 0x28
add eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x34c]
push eax
call fcn.1000b9fe
add esp, 0xc
push 0x115754
call dword [0x115064]
mov dword [ebp - 0x380], eax
cmp dword [ebp - 0x380], 0x1f
jbe 0x10023816
mov dword [ebp - 0x414], 0x1f
jmp 0x10023822
mov eax, dword [ebp - 0x380]
mov dword [ebp - 0x414], eax
mov eax, dword [ebp - 0x414]
mov dword [ebp - 0x3a4], eax
and dword [ebp - 0x37c], 0
jmp 0x10023844
mov eax, dword [ebp - 0x37c]
inc eax
mov dword [ebp - 0x37c], eax
mov eax, dword [ebp - 0x3a4]
shr eax, 2
cmp dword [ebp - 0x37c], eax
jae 0x10023887
cmp dword [ebp - 0x37c], 0
jbe 0x10023877
call dword [0x115088]
add eax, dword [ebp - 0x37c]
mov ecx, dword [ebp - 0x37c]
mov dword [ebp + ecx*4 - 0x3a0], eax
cmp dword [ebp - 0x37c], 0x22db
jbe 0x10023885
jmp 0x10023887
jmp 0x10023837
mov eax, dword [ebp - 8]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x14]
push dword [ecx + eax + 0x10]
mov eax, dword [ebp - 8]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax + 0x14]
push edx
mov eax, dword [ebp - 8]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
add edx, dword [ecx + eax + 0xc]
push edx
call fcn.1000b9fe
add esp, 0xc
mov eax, dword [ebp - 8]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax + 0x14]
mov eax, dword [ebp - 8]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x14]
add edx, dword [ecx + eax + 0x10]
cmp edx, dword [ebp - 0x18]
jbe 0x10023900
mov eax, dword [ebp - 8]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax + 0x14]
mov eax, dword [ebp - 8]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x14]
add edx, dword [ecx + eax + 0x10]
mov dword [ebp - 0x18], edx
jmp 0x10023717
xor eax, eax
je 0x1002390b
jmp 0x10023905
mov dword [ebp - 0x3c0], 0x56
and dword [ebp - 0x3bc], 0
cmp dword [ebp - 0x3c0], 9
jae 0x10023933
mov eax, dword [ebp - 0x3c0]
mov dword [ebp - 0x418], eax
jmp 0x1002393d
mov dword [ebp - 0x418], 9
push dword [ebp - 0x418]
lea eax, [ebp - 0x3b8]
push eax
push 0xffffffffffffffff
push 0x11575c
push 0
push 0
call dword [0x115074]
mov dword [ebp - 0x3bc], eax
mov eax, dword [ebp - 0x3bc]
and eax, 0xffff
mov word [ebp - 0x3b8], ax
mov eax, dword [ebp - 0xc]
leave
ret