Function at 0x442340
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x4e7544]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1ec], 0
mov dword [ebp - 0xe8], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0x100], 0
mov dword [ebp - 0x1c8], 0
mov byte [ebp - 0xb9], 0
mov byte [ebp - 0xbb], 0
mov byte [ebp - 0xba], 0
mov byte [ebp - 0xbc], 0
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x114], 0
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0xac], ecx
cmp dword [ebp + 0xc], 0
jne 0x4423dd
cmp dword [ebp + 0x10], 0
jne 0x4423dd
mov dword [ebp + 0xc], 0x4eadbe
mov edx, dword [ebp + 0x18]
and edx, 0x1ffb9fc0
je 0x4423f2
mov eax, 0xffffffde
jmp 0x444527
cmp dword [ebp + 8], 0
je 0x442404
cmp dword [ebp + 0xc], 0
je 0x442404
cmp dword [ebp + 0x1c], 0
jne 0x44240e
mov eax, 0xffffffcd
jmp 0x444527
mov eax, dword [ebp + 0xc]
add eax, dword [ebp + 0x14]
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xb0]
sub ecx, 1
mov dword [ebp - 0x1d0], ecx
cmp dword [ebp + 0x10], 0xffffffff
jne 0x442448
mov edx, dword [ebp + 0xc]
push edx
call fcn.00476710
add esp, 4
mov dword [ebp + 0x10], eax
mov dword [ebp - 0x1ec], 1
mov eax, dword [ebp + 0xc]
add eax, dword [ebp + 0x10]
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0xe4], ecx
mov edx, dword [ebp + 0x14]
cmp edx, dword [ebp + 0x10]
jbe 0x442472
mov eax, 0xffffffdf
jmp 0x444527
mov eax, dword [ebp - 0xb8]
cmp dword [eax + 0x38], 0x50435245
je 0x44248b
mov eax, 0xffffffe1
jmp 0x444527
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx + 0x48]
and edx, 7
cmp edx, 1
je 0x4424a6
mov eax, 0xffffffe0
jmp 0x444527
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax + 0x48]
and ecx, 0x30000
shr ecx, 0xe
or ecx, dword [ebp + 0x18]
mov dword [ebp + 0x18], ecx
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx + 0x40]
and eax, 0x80000
je 0x4424da
mov dword [ebp - 0x1a0], 1
jmp 0x4424e4
mov dword [ebp - 0x1a0], 0
mov ecx, dword [ebp - 0x1a0]
mov dword [ebp - 0xd0], ecx
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx + 0x40]
and eax, 0x4000000
je 0x44250c
mov dword [ebp - 0x128], 1
jmp 0x442516
mov dword [ebp - 0x128], 0
mov ecx, dword [ebp - 0x128]
mov dword [ebp - 0x11c], ecx
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx + 0x40]
and eax, 0x20000
je 0x44253e
mov dword [ebp - 0x12c], 1
jmp 0x442548
mov dword [ebp - 0x12c], 0
mov ecx, dword [ebp - 0x12c]
mov dword [ebp - 0x120], ecx
mov edx, dword [ebp + 0x18]
and edx, 0x20
je 0x442568
mov dword [ebp - 0x134], 2
jmp 0x442592
mov eax, dword [ebp + 0x18]
and eax, 0x10
je 0x44257c
mov dword [ebp - 0x130], 1
jmp 0x442586
mov dword [ebp - 0x130], 0
mov ecx, dword [ebp - 0x130]
mov dword [ebp - 0x134], ecx
mov edx, dword [ebp - 0xac]
mov ax, word [ebp - 0x134]
mov word [edx + 0x3c], ax
mov ecx, dword [ebp - 0xac]
movzx edx, word [ecx + 0x3c]
test edx, edx
je 0x4425cf
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax + 0x40]
or ecx, dword [ebp + 0x18]
and ecx, 0x20000000
je 0x4425cf
mov eax, 0xffffffde
jmp 0x444527
cmp dword [ebp + 0x20], 0
je 0x4425f9
mov edx, dword [ebp + 0x20]
cmp dword [edx + 0x1c], 0xffffffff
je 0x4425f9
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax + 0x40]
and ecx, 0x800000
jne 0x4425f9
mov eax, 0xffffffc8
jmp 0x444527
mov edx, dword [ebp + 0x1c]
movzx eax, byte [edx + 0x31]
and eax, 1
je 0x44262e
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx + 4]
call eax
add esp, 8
mov ecx, dword [ebp + 0x1c]
movzx edx, byte [ecx + 0x31]
and edx, 0xfffffffe
mov eax, dword [ebp + 0x1c]
mov byte [eax + 0x31], dl
mov ecx, dword [ebp + 0x1c]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 0x1c]
mov dword [edx + 0x2c], 0
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x50], ecx
cmp dword [ebp - 0xd0], 0
je 0x4428af
mov edx, dword [ebp + 0x18]
and edx, 0x40000000
je 0x442673
cmp dword [ebp - 0x11c], 0
je 0x4428af
mov dword [ebp - 0x138], 0
cmp dword [ebp - 0x11c], 0
je 0x4426c8
mov eax, dword [ebp - 0xb0]
cmp eax, dword [ebp - 0xb4]
jae 0x4426c6
mov ecx, dword [ebp - 0xb0]
movzx edx, byte [ecx]
and edx, 0xc0
cmp edx, 0x80
jne 0x4426c6
mov eax, dword [ebp - 0xb0]
add eax, 1
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0x138], 1
jmp 0x442686
jmp 0x442705
mov ecx, dword [ebp - 0xb0]
cmp ecx, dword [ebp - 0xb4]
jae 0x442705
mov edx, dword [ebp - 0xb0]
movzx eax, byte [edx]
and eax, 0xc0
cmp eax, 0x80
jne 0x442705
cmp dword [ebp + 0x14], 0
jbe 0x4426fb
mov eax, 0xffffffdc
jmp 0x444527
mov eax, 0xffffffea
jmp 0x444527
mov ecx, dword [ebp - 0xac]
mov edx, dword [ebp - 0xb0]
mov dword [ecx + 0x50], edx
cmp dword [ebp - 0x138], 0
jne 0x4427ad
mov eax, dword [ebp - 0xb8]
movzx ecx, word [eax + 0x64]
mov dword [ebp - 0x118], ecx
jmp 0x442742
mov edx, dword [ebp - 0x118]
sub edx, 1
mov dword [ebp - 0x118], edx
cmp dword [ebp - 0x118], 0
jbe 0x4427ad
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax + 0x50]
cmp ecx, dword [ebp + 0xc]
jbe 0x4427ad
mov edx, dword [ebp - 0xac]
mov eax, dword [edx + 0x50]
sub eax, 1
mov ecx, dword [ebp - 0xac]
mov dword [ecx + 0x50], eax
mov edx, dword [ebp - 0xac]
mov eax, dword [edx + 0x50]
cmp eax, dword [ebp + 0xc]
jbe 0x4427ab
mov ecx, dword [ebp - 0xac]
mov edx, dword [ecx + 0x50]
movzx eax, byte [edx]
and eax, 0xc0
cmp eax, 0x80
jne 0x4427ab
mov ecx, dword [ebp - 0xac]
mov edx, dword [ecx + 0x50]
sub edx, 1
mov eax, dword [ebp - 0xac]
mov dword [eax + 0x50], edx
jmp 0x44276e
jmp 0x442733
mov ecx, dword [ebp + 0x1c]
add ecx, 0x2c
push ecx
mov edx, dword [ebp - 0xac]
mov eax, dword [edx + 0x50]
sub eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
sub ecx, eax
push ecx
mov edx, dword [ebp - 0xac]
mov eax, dword [edx + 0x50]
push eax
call fcn.004799b0
add esp, 0xc
mov ecx, dword [ebp + 0x1c]
mov dword [ecx + 0x34], eax
mov edx, dword [ebp + 0x1c]
cmp dword [edx + 0x34], 0
jne 0x4427ec
jmp 0x4428af
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax + 0x50]
sub ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x1c]
add ecx, dword [edx + 0x2c]
mov eax, dword [ebp + 0x1c]
mov dword [eax + 0x2c], ecx
cmp dword [ebp - 0x11c], 0
je 0x442816
mov ecx, dword [ebp + 0x1c]
cmp dword [ecx + 0x34], 0
jle 0x442821
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx + 0x34]
jmp 0x444527
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + 0x2c]
mov dword [ebp - 0xb4], ecx
mov edx, dword [ebp - 0xb4]
cmp edx, dword [ebp - 0xb0]
jae 0x44289e
mov eax, dword [ebp - 0xb4]
add eax, 1
mov ecx, dword [ebp - 0xac]
mov dword [ecx + 0x50], eax
mov edx, dword [ebp - 0xac]
mov eax, dword [edx + 0x50]
cmp eax, dword [ebp - 0xb0]
jae 0x442890
mov ecx, dword [ebp - 0xac]
mov edx, dword [ecx + 0x50]
movzx eax, byte [edx]
and eax, 0xc0
cmp eax, 0x80
jne 0x442890
mov ecx, dword [ebp - 0xac]
mov edx, dword [ecx + 0x50]
add edx, 1
mov eax, dword [ebp - 0xac]
mov dword [eax + 0x50], edx
jmp 0x442850
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0xb4], ecx
jmp 0x4428aa
mov dword [ebp - 0x114], 2
jmp 0x4428af
jmp 0x4427ad
cmp dword [ebp + 0x20], 0
jne 0x4428da
mov dword [ebp + 0x20], 0x4b4c88
mov edx, dword [ebp - 0xb8]
mov eax, dword [ebp - 0xac]
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov edx, dword [edx + 8]
mov dword [eax + 8], edx
jmp 0x4428f3
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp - 0xac]
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx + 0x40]
or edx, dword [ebp + 0x18]
and edx, 0x80000000
je 0x442913
mov dword [ebp - 0x13c], 1
jmp 0x44291d
mov dword [ebp - 0x13c], 0
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
jne 0x44294f
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx + 0x40]
and edx, 0x100
je 0x44294f
mov dword [ebp - 0x140], 1
jmp 0x442959
mov dword [ebp - 0x140], 0
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x1d4], eax
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx + 0x48]
and edx, 0x200
je 0x442982
mov dword [ebp - 0x144], 1
jmp 0x44298c
mov dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x1a4], eax
mov ecx, dword [ebp + 0x20]
cmp dword [ecx + 0x1c], 0xffffffff
jne 0x4429af
mov edx, dword [ebp - 0xe4]
mov dword [ebp - 0x148], edx
jmp 0x4429be
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x148], ecx
mov edx, dword [ebp - 0x148]
mov dword [ebp - 0x1f4], edx
mov eax, dword [ebp - 0xac]
lea ecx, [ebp - 0x234]
mov dword [eax + 0x98], ecx
mov dword [ebp - 0x234], 2
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x21c], edx
mov eax, dword [ebp - 0xb4]
sub eax, dword [ebp + 0xc]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x1f8], 0
mov ecx, dword [ebp - 0xac]
mov edx, dword [ebp + 0x20]
mov eax, dword [edx + 0xc]
mov dword [ecx + 0xa0], eax
mov ecx, dword [ebp - 0xac]
mov edx, dword [ebp + 0x20]
mov eax, dword [edx + 0x10]
mov dword [ecx + 0x9c], eax
mov ecx, dword [ebp - 0xac]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0x4c], edx
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0x34], ecx
mov edx, dword [ebp - 0xac]
mov eax, dword [ebp - 0xb4]
mov dword [edx + 0x54], eax
mov ecx, dword [ebp - 0xac]
mov edx, dword [ebp - 0xe4]
mov dword [ecx + 0x58], edx
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax + 0x48]
and ecx, 0x1000
je 0x442a7f
mov dword [ebp - 0x14c], 1
jmp 0x442a89
mov dword [ebp - 0x14c], 0
mov edx, dword [ebp - 0xac]
mov eax, dword [ebp - 0x14c]
mov dword [edx + 0x20], eax
mov ecx, dword [ebp - 0xb8]
movzx edx, word [ecx + 0x64]
test edx, edx
jg 0x442ac3
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax + 0x48]
and ecx, 0x2000
jne 0x442ac3
mov dword [ebp - 0x150], 0
jmp 0x442acd
mov dword [ebp - 0x150], 1
mov edx, dword [ebp - 0xac]
mov eax, dword [ebp - 0x150]
mov dword [edx + 0x24], eax
mov ecx, dword [ebp - 0xac]
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx + 0x40]
mov dword [ecx + 0x80], eax
mov ecx, dword [ebp - 0xac]
mov dword [ecx + 0x88], 0
mov edx, dword [ebp - 0xac]
mov dword [edx + 0x6c], 0
mov eax, dword [ebp - 0xac]
mov dword [eax + 0x68], 0
mov ecx, dword [ebp - 0xb8]
add ecx, 0x70
mov edx, dword [ebp - 0xac]
mov dword [edx + 0x44], ecx
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xb8]
mov dx, word [ecx + 0x6e]
mov word [eax + 0x40], dx
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xb8]
mov dx, word [ecx + 0x6c]
mov word [eax + 0x42], dx
mov eax, dword [ebp - 0xb8]
movzx ecx, word [eax + 0x6e]
mov edx, dword [ebp - 0xb8]
movzx eax, word [edx + 0x6c]
imul ecx, eax
mov edx, dword [ebp - 0xac]
add ecx, dword [edx + 0x44]
mov eax, dword [ebp - 0xac]
mov dword [eax + 0x48], ecx
mov ecx, dword [ebp - 0xac]
mov edx, dword [ebp - 0xb8]
mov ax, word [edx + 0x60]
mov word [ecx + 0x3e], ax
mov ecx, dword [ebp - 0xac]
mov dword [ecx + 0x8c], 0
mov edx, dword [ebp - 0xb8]
movzx eax, word [edx + 0x62]
mov dword [ebp - 0x104], eax
mov ecx, dword [ebp - 0x104]
sub ecx, 1
mov dword [ebp - 0x104], ecx
cmp dword [ebp - 0x104], 5
ja case.default.0x442bd4
mov edx, dword [ebp - 0x104]
jmp dword [edx*4 + 0x444538]
mov eax, dword [ebp - 0xac]
mov dword [eax + 0x90], 1
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp - 0xac]
mov byte [eax + edx + 0x94], 0xd
jmp 0x442cc5
mov ecx, dword [ebp - 0xac]
mov dword [ecx + 0x90], 1
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp - 0xac]
mov byte [ecx + eax + 0x94], 0xa
jmp 0x442cc5
mov edx, dword [ebp - 0xac]
mov dword [edx + 0x90], 1
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 0xac]
mov byte [edx + ecx + 0x94], 0
jmp 0x442cc5
mov eax, dword [ebp - 0xac]
mov dword [eax + 0x90], 2
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp - 0xac]
mov byte [eax + edx + 0x94], 0xd
mov ecx, 1
shl ecx, 0
mov edx, dword [ebp - 0xac]
mov byte [edx + ecx + 0x94], 0xa
jmp 0x442cc5
mov eax, dword [ebp - 0xac]
mov dword [eax + 0x8c], 1
jmp 0x442cc5
mov ecx, dword [ebp - 0xac]
mov dword [ecx + 0x8c], 2
jmp 0x442cc5
mov eax, 0xffffffd4
jmp 0x444527
mov edx, dword [ebp - 0xb8]
movzx eax, word [edx + 0x68]
shl eax, 1
lea ecx, [eax*4 + 0x5b]
and ecx, 0xfffffffc
mov dword [ebp - 0x10c], ecx
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp - 0xb8]
mov ecx, dword [edx + 0x20]
cmp ecx, dword [eax + 0x4c]
jae 0x442d00
mov edx, dword [ebp + 0x20]
mov eax, dword [edx + 0x20]
mov dword [ebp - 0x154], eax
jmp 0x442d0f
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx + 0x4c]
mov dword [ebp - 0x154], edx
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0x154]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp - 0xb8]
mov ecx, dword [edx + 0x24]
cmp ecx, dword [eax + 0x50]
jae 0x442d3d
mov edx, dword [ebp + 0x20]
mov eax, dword [edx + 0x24]
mov dword [ebp - 0x158], eax
jmp 0x442d4c
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx + 0x50]
mov dword [ebp - 0x158], edx
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0x158]
mov dword [eax + 0x10], ecx
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp - 0xb8]
mov ecx, dword [edx + 0x28]
cmp ecx, dword [eax + 0x54]
jae 0x442d7a
mov edx, dword [ebp + 0x20]
mov eax, dword [edx + 0x28]
mov dword [ebp - 0x15c], eax
jmp 0x442d89
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx + 0x54]
mov dword [ebp - 0x15c], edx
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0x15c]
mov dword [eax + 0x14], ecx
imul edx, dword [ebp - 0x10c], 0xa
mov dword [ebp - 0xd8], edx
cmp dword [ebp - 0xd8], 0x5000
jae 0x442dbb
mov dword [ebp - 0xd8], 0x5000
mov eax, dword [ebp - 0xd8]
shr eax, 0xa
mov ecx, dword [ebp - 0xac]
cmp eax, dword [ecx + 0xc]
jbe 0x442e05
mov edx, dword [ebp - 0xac]
mov eax, dword [edx + 0xc]
shl eax, 0xa
mov dword [ebp - 0x160], eax
mov ecx, dword [ebp - 0x160]
cmp ecx, dword [ebp - 0x10c]
jae 0x442df9
mov eax, 0xffffffc1
jmp 0x444527
mov edx, dword [ebp - 0x160]
mov dword [ebp - 0xd8], edx
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + 0x1c]
cmp ecx, dword [ebp - 0xd8]
jae 0x442e73
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + 4]
call ecx
add esp, 8
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0xd8]
push ecx
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx]
call eax
add esp, 8
mov ecx, dword [ebp + 0x1c]
mov dword [ecx + 0x18], eax
mov edx, dword [ebp + 0x1c]
cmp dword [edx + 0x18], 0
jne 0x442e67
mov eax, dword [ebp + 0x1c]
mov dword [eax + 0x1c], 0
mov eax, 0xffffffd0
jmp 0x444527
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp - 0xd8]
mov dword [ecx + 0x1c], edx
mov eax, dword [ebp - 0x10c]
sub eax, 0x58
push eax
push 0xff
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx + 0x18]
add edx, 0x58
push edx
call fcn.0047d540
add esp, 0xc
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x28], edx
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax + 0xc]
add ecx, 0x100
mov edx, dword [ebp - 0xac]
mov dword [edx + 0x2c], ecx
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax + 0xc]
add ecx, 0x340
mov edx, dword [ebp - 0xac]
mov dword [edx + 0x30], ecx
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax + 0x48]
and ecx, 0x10
je 0x442fa6
mov dword [ebp - 0x100], 1
mov edx, dword [ebp - 0xb8]
mov al, byte [edx + 0x58]
mov byte [ebp - 0xbb], al
mov cl, byte [ebp - 0xbb]
mov byte [ebp - 0xb9], cl
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx + 0x48]
and eax, 0x20
je 0x442fa4
movzx ecx, byte [ebp - 0xb9]
mov edx, dword [ebp - 0xac]
mov eax, dword [edx + 0x2c]
mov cl, byte [eax + ecx]
mov byte [ebp - 0xbb], cl
movzx edx, byte [ebp - 0xb9]
cmp edx, 0x7f
jle 0x442fa4
cmp dword [ebp - 0x120], 0
je 0x442fa4
cmp dword [ebp - 0xd0], 0
jne 0x442fa4
movzx ecx, byte [ebp - 0xb9]
movzx eax, byte [ebp - 0xb9]
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
movzx edx, word [eax*2 + 0x4be2f8]
shl edx, 7
movzx eax, byte [ebp - 0xb9]
and eax, 0x8000007f
jns 0x442f8b
dec eax
or eax, 0xffffff80
inc eax
add edx, eax
movzx edx, word [edx*2 + 0x4c26f8]
imul eax, edx, 0xc
add ecx, dword [eax + 0x4ba044]
mov byte [ebp - 0xbb], cl
jmp 0x442fcc
cmp dword [ebp - 0x1a4], 0
jne 0x442fcc
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx + 0x48]
and edx, 0x40
je 0x442fcc
mov eax, dword [ebp - 0xb8]
add eax, 0x14
mov dword [ebp - 0xe8], eax
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx + 0x48]
and edx, 0x80
je 0x4430a0
mov dword [ebp - 0x1c8], 1
mov eax, dword [ebp - 0xb8]
mov cl, byte [eax + 0x5c]
mov byte [ebp - 0xbc], cl
mov dl, byte [ebp - 0xbc]
mov byte [ebp - 0xba], dl
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax + 0x48]
and ecx, 0x100
je 0x4430a0
movzx edx, byte [ebp - 0xba]
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax + 0x2c]
mov dl, byte [ecx + edx]
mov byte [ebp - 0xbc], dl
movzx eax, byte [ebp - 0xba]
cmp eax, 0x7f
jle 0x4430a0
cmp dword [ebp - 0x120], 0
je 0x4430a0
cmp dword [ebp - 0xd0], 0
jne 0x4430a0
movzx ecx, byte [ebp - 0xba]
movzx eax, byte [ebp - 0xba]
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
movzx edx, word [eax*2 + 0x4be2f8]
shl edx, 7
movzx eax, byte [ebp - 0xba]
and eax, 0x8000007f
jns 0x443087
dec eax
or eax, 0xffffff80
inc eax
add edx, eax
movzx edx, word [edx*2 + 0x4c26f8]
imul eax, edx, 0xc
add ecx, dword [eax + 0x4ba044]
mov byte [ebp - 0xbc], cl
mov dword [ebp - 0xf0], 0
mov ecx, dword [ebp - 0xf0]
mov dword [ebp - 0x124], ecx
mov edx, dword [ebp - 0xac]
mov dword [edx + 0x1c], 0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax + 0x40]
and ecx, 0x10000
jne 0x443d8e
cmp dword [ebp - 0x1d4], 0
je 0x4433e9
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0xc0], edx
cmp dword [ebp - 0xd0], 0
je 0x443294
mov eax, dword [ebp - 0xc0]
cmp eax, dword [ebp - 0xb4]
jae 0x44328f
mov ecx, dword [ebp - 0xac]
cmp dword [ecx + 0x8c], 0
je 0x4431a9
mov edx, dword [ebp - 0xac]
mov eax, dword [ebp - 0xc0]
cmp eax, dword [edx + 0x54]
jae 0x44318e
mov ecx, dword [ebp - 0xd0]
push ecx
mov edx, dword [ebp - 0xac]
add edx, 0x90
push edx
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax + 0x54]
push ecx
mov edx, dword [ebp - 0xac]
mov eax, dword [edx + 0x8c]
push eax
mov ecx, dword [ebp - 0xc0]
push ecx
call fcn.00475e60
add esp, 0x14
test eax, eax
je 0x44318e
mov dword [ebp - 0x164], 1
jmp 0x443198
mov dword [ebp - 0x164], 0
mov edx, dword [ebp - 0x164]
mov dword [ebp - 0x16c], edx
jmp 0x44323e
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xac]
mov edx, dword [eax + 0x54]
sub edx, dword [ecx + 0x90]
cmp dword [ebp - 0xc0], edx
ja 0x443228
mov eax, dword [ebp - 0xc0]
movzx ecx, byte [eax]
mov edx, 1
imul eax, edx, 0
mov edx, dword [ebp - 0xac]
movzx eax, byte [edx + eax + 0x94]
cmp ecx, eax
jne 0x443228
mov ecx, dword [ebp - 0xac]
cmp dword [ecx + 0x90], 1
je 0x44321c
mov edx, dword [ebp - 0xc0]
movzx eax, byte [edx + 1]
mov ecx, 1
shl ecx, 0
mov edx, dword [ebp - 0xac]
movzx ecx, byte [edx + ecx + 0x94]
cmp eax, ecx
jne 0x443228
mov dword [ebp - 0x168], 1
jmp 0x443232
mov dword [ebp - 0x168], 0
mov edx, dword [ebp - 0x168]
mov dword [ebp - 0x16c], edx
cmp dword [ebp - 0x16c], 0
jne 0x44328f
mov eax, dword [ebp - 0xc0]
add eax, 1
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc0]
cmp ecx, dword [ebp - 0xb4]
jae 0x44328a
mov edx, dword [ebp - 0xc0]
movzx eax, byte [edx]
and eax, 0xc0
cmp eax, 0x80
jne 0x44328a
mov ecx, dword [ebp - 0xc0]
add ecx, 1
mov dword [ebp - 0xc0], ecx
jmp 0x443256
jmp 0x443112
jmp 0x4433dd
mov edx, dword [ebp - 0xc0]
cmp edx, dword [ebp - 0xb4]
jae 0x4433dd
mov eax, dword [ebp - 0xac]
cmp dword [eax + 0x8c], 0
je 0x44332b
mov ecx, dword [ebp - 0xac]
mov edx, dword [ebp - 0xc0]
cmp edx, dword [ecx + 0x54]
jae 0x443310
mov eax, dword [ebp - 0xd0]
push eax
mov ecx, dword [ebp - 0xac]
add ecx, 0x90
push ecx
mov edx, dword [ebp - 0xac]
mov eax, dword [edx + 0x54]
push eax
mov ecx, dword [ebp - 0xac]
mov edx, dword [ecx + 0x8c]
push edx
mov eax, dword [ebp - 0xc0]
push eax
call fcn.00475e60
add esp, 0x14
test eax, eax
je 0x443310
mov dword [ebp - 0x170], 1
jmp 0x44331a
mov dword [ebp - 0x170], 0
mov ecx, dword [ebp - 0x170]
mov dword [ebp - 0x178], ecx
jmp 0x4433c0
mov edx, dword [ebp - 0xac]
mov eax, dword [ebp - 0xac]
mov ecx, dword [edx + 0x54]
sub ecx, dword [eax + 0x90]
cmp dword [ebp - 0xc0], ecx
ja 0x4433aa
mov edx, dword [ebp - 0xc0]
movzx eax, byte [edx]
mov ecx, 1
imul edx, ecx, 0
mov ecx, dword [ebp - 0xac]
movzx edx, byte [ecx + edx + 0x94]
cmp eax, edx
jne 0x4433aa
mov eax, dword [ebp - 0xac]
cmp dword [eax + 0x90], 1
je 0x44339e
mov ecx, dword [ebp - 0xc0]
movzx edx, byte [ecx + 1]
mov eax, 1
shl eax, 0
mov ecx, dword [ebp - 0xac]
movzx eax, byte [ecx + eax + 0x94]
cmp edx, eax
jne 0x4433aa
mov dword [ebp - 0x174], 1
jmp 0x4433b4
mov dword [ebp - 0x174], 0
mov ecx, dword [ebp - 0x174]
mov dword [ebp - 0x178], ecx
cmp dword [ebp - 0x178], 0
jne 0x4433dd
mov edx, dword [ebp - 0xc0]
add edx, 1
mov dword [ebp - 0xc0], edx
jmp 0x443294
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0x110], 0
je 0x443526
cmp dword [ebp - 0x100], 0
jne 0x44340c
cmp dword [ebp - 0xe8], 0
je 0x443521
mov ecx, dword [ebp - 0xb0]
cmp ecx, dword [ebp - 0xb4]
jae 0x443426
mov dword [ebp - 0x17c], 1
jmp 0x443430
mov dword [ebp - 0x17c], 0
mov edx, dword [ebp - 0x17c]
mov dword [ebp - 0xf4], edx
cmp dword [ebp - 0xf4], 0
je 0x443509
mov eax, dword [ebp - 0xb0]
mov cl, byte [eax]
mov byte [ebp - 0xc1], cl
cmp dword [ebp - 0x100], 0
je 0x443490
movzx edx, byte [ebp - 0xc1]
movzx eax, byte [ebp - 0xb9]
cmp edx, eax
je 0x443484
movzx ecx, byte [ebp - 0xc1]
movzx edx, byte [ebp - 0xbb]
cmp ecx, edx
jne 0x443490
mov dword [ebp - 0x180], 1
jmp 0x44349a
mov dword [ebp - 0x180], 0
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xf4], 0
jne 0x443509
cmp dword [ebp - 0xe8], 0
je 0x443509
movzx eax, byte [ebp - 0xc1]
cdq
and edx, 7
add eax, edx
sar eax, 3
mov ecx, dword [ebp - 0xe8]
movzx edx, byte [ecx + eax]
movzx ecx, byte [ebp - 0xc1]
and ecx, 7
mov eax, 1
shl eax, cl
and edx, eax
je 0x4434f3
mov dword [ebp - 0x184], 1
jmp 0x4434fd
mov dword [ebp - 0x184], 0
mov ecx, dword [ebp - 0x184]
mov dword [ebp - 0xf4], ecx
cmp dword [ebp - 0xf4], 0
jne 0x443521
mov dword [ebp - 0xc8], 0
jmp 0x4441a7
jmp 0x443bbb
cmp dword [ebp - 0x100], 0
je 0x443796
movzx edx, byte [ebp - 0xb9]
movzx eax, byte [ebp - 0xbb]
cmp edx, eax
je 0x443724
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd4], 0
mov ecx, dword [ebp - 0xb4]
sub ecx, dword [ebp - 0xb0]
mov dword [ebp - 0x190], ecx
cmp dword [ebp - 0xf8], 0
je 0x443586
mov edx, dword [ebp - 0xb0]
cmp edx, dword [ebp - 0xf8]
jbe 0x4435db
mov eax, dword [ebp - 0x190]
push eax
movzx ecx, byte [ebp - 0xb9]
push ecx
mov edx, dword [ebp - 0xb0]
push edx
call fcn.0047f180
add esp, 0xc
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0
jne 0x4435c1
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x188], eax
jmp 0x4435cd
mov ecx, dword [ebp - 0xdc]
mov dword [ebp - 0x188], ecx
mov edx, dword [ebp - 0x188]
mov dword [ebp - 0xf8], edx
jmp 0x44360d
mov eax, dword [ebp - 0xf8]
cmp eax, dword [ebp - 0xb4]
jne 0x4435f5
mov dword [ebp - 0x18c], 0
jmp 0x443601
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 0x18c], ecx
mov edx, dword [ebp - 0x18c]
mov dword [ebp - 0xdc], edx
cmp dword [ebp - 0xfc], 0
je 0x443624
mov eax, dword [ebp - 0xb0]
cmp eax, dword [ebp - 0xfc]
jbe 0x443679
mov ecx, dword [ebp - 0x190]
push ecx
movzx edx, byte [ebp - 0xbb]
push edx
mov eax, dword [ebp - 0xb0]
push eax
call fcn.0047f180
add esp, 0xc
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 0
jne 0x44365f
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0x194], ecx
jmp 0x44366b
mov edx, dword [ebp - 0xd4]
mov dword [ebp - 0x194], edx
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0xfc], eax
jmp 0x4436ab
mov ecx, dword [ebp - 0xfc]
cmp ecx, dword [ebp - 0xb4]
jne 0x443693
mov dword [ebp - 0x198], 0
jmp 0x44369f
mov edx, dword [ebp - 0xfc]
mov dword [ebp - 0x198], edx
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xdc], 0
jne 0x4436e5
cmp dword [ebp - 0xd4], 0
jne 0x4436cb
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0x19c], ecx
jmp 0x4436d7
mov edx, dword [ebp - 0xd4]
mov dword [ebp - 0x19c], edx
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0xb0], eax
jmp 0x443722
cmp dword [ebp - 0xd4], 0
je 0x44370a
mov ecx, dword [ebp - 0xdc]
cmp ecx, dword [ebp - 0xd4]
jb 0x44370a
mov edx, dword [ebp - 0xd4]
mov dword [ebp - 0x1cc], edx
jmp 0x443716
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x1cc], eax
mov ecx, dword [ebp - 0x1cc]
mov dword [ebp - 0xb0], ecx
jmp 0x443763
mov edx, dword [ebp - 0xb4]
sub edx, dword [ebp - 0xb0]
push edx
movzx eax, byte [ebp - 0xb9]
push eax
mov ecx, dword [ebp - 0xb0]
push ecx
call fcn.0047f180
add esp, 0xc
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0
jne 0x443763
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0xb0], edx
mov eax, dword [ebp - 0xac]
movzx ecx, word [eax + 0x3c]
test ecx, ecx
jne 0x443791
mov edx, dword [ebp - 0xac]
mov eax, dword [ebp - 0xb0]
cmp eax, dword [edx + 0x54]
jb 0x443791
mov dword [ebp - 0xc8], 0
jmp 0x4441a7
jmp 0x443bbb
cmp dword [ebp - 0x1a4], 0
je 0x443b29
mov ecx, dword [ebp - 0xac]
mov edx, dword [ecx + 0x4c]
add edx, dword [ebp + 0x14]
cmp dword [ebp - 0xb0], edx
jbe 0x443b24
cmp dword [ebp - 0xd0], 0
je 0x443964
mov eax, dword [ebp - 0xb0]
cmp eax, dword [ebp - 0xb4]
jae 0x44395f
mov ecx, dword [ebp - 0xac]
cmp dword [ecx + 0x8c], 0
je 0x44385f
mov edx, dword [ebp - 0xac]
mov eax, dword [ebp - 0xb0]
cmp eax, dword [edx + 0x4c]
jbe 0x443844
mov ecx, dword [ebp - 0xd0]
push ecx
mov edx, dword [ebp - 0xac]
add edx, 0x90
push edx
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0xac]
mov eax, dword [edx + 0x8c]
push eax
mov ecx, dword [ebp - 0xb0]
push ecx
call fcn.004761b0
add esp, 0x14
test eax, eax
je 0x443844
mov dword [ebp - 0x1a8], 1
jmp 0x44384e
mov dword [ebp - 0x1a8], 0
mov edx, dword [ebp - 0x1a8]
mov dword [ebp - 0x1b0], edx
jmp 0x44390c
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax + 0x4c]
mov edx, dword [ebp - 0xac]
add ecx, dword [edx + 0x90]
cmp dword [ebp - 0xb0], ecx
jb 0x4438f6
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xb0]
sub ecx, dword [eax + 0x90]
movzx edx, byte [ecx]
mov eax, 1
imul ecx, eax, 0
mov eax, dword [ebp - 0xac]
movzx ecx, byte [eax + ecx + 0x94]
cmp edx, ecx
jne 0x4438f6
mov edx, dword [ebp - 0xac]
cmp dword [edx + 0x90], 1
je 0x4438ea
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xb0]
sub ecx, dword [eax + 0x90]
movzx edx, byte [ecx + 1]
mov eax, 1
shl eax, 0
mov ecx, dword [ebp - 0xac]
movzx eax, byte [ecx + eax + 0x94]
cmp edx, eax
jne 0x4438f6
mov dword [ebp - 0x1ac], 1
jmp 0x443900
mov dword [ebp - 0x1ac], 0
mov ecx, dword [ebp - 0x1ac]
mov dword [ebp - 0x1b0], ecx
cmp dword [ebp - 0x1b0], 0
jne 0x44395f
mov edx, dword [ebp - 0xb0]
add edx, 1
mov dword [ebp - 0xb0], edx
mov eax, dword [ebp - 0xb0]
cmp eax, dword [ebp - 0xb4]
jae 0x44395a
mov ecx, dword [ebp - 0xb0]
movzx edx, byte [ecx]
and edx, 0xc0
cmp edx, 0x80
jne 0x44395a
mov eax, dword [ebp - 0xb0]
add eax, 1
mov dword [ebp - 0xb0], eax
jmp 0x443924
jmp 0x4437c8
jmp 0x443ac4
mov ecx, dword [ebp - 0xb0]
cmp ecx, dword [ebp - 0xb4]
jae 0x443ac4
mov edx, dword [ebp - 0xac]
cmp dword [edx + 0x8c], 0
je 0x4439fa
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xb0]
cmp ecx, dword [eax + 0x4c]
jbe 0x4439df
mov edx, dword [ebp - 0xd0]
push edx
mov eax, dword [ebp - 0xac]
add eax, 0x90
push eax
mov ecx, dword [ebp - 0xac]
mov edx, dword [ecx + 0x4c]
push edx
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax + 0x8c]
push ecx
mov edx, dword [ebp - 0xb0]
push edx
call fcn.004761b0
add esp, 0x14
test eax, eax
je 0x4439df
mov dword [ebp - 0x1b4], 1
jmp 0x4439e9
mov dword [ebp - 0x1b4], 0
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x1bc], eax
jmp 0x443aa7
mov ecx, dword [ebp - 0xac]
mov edx, dword [ecx + 0x4c]
mov eax, dword [ebp - 0xac]
add edx, dword [eax + 0x90]
cmp dword [ebp - 0xb0], edx
jb 0x443a91
mov ecx, dword [ebp - 0xac]
mov edx, dword [ebp - 0xb0]
sub edx, dword [ecx + 0x90]
movzx eax, byte [edx]
mov ecx, 1
imul edx, ecx, 0
mov ecx, dword [ebp - 0xac]
movzx edx, byte [ecx + edx + 0x94]
cmp eax, edx
jne 0x443a91
mov eax, dword [ebp - 0xac]
cmp dword [eax + 0x90], 1
je 0x443a85
mov ecx, dword [ebp - 0xac]
mov edx, dword [ebp - 0xb0]
sub edx, dword [ecx + 0x90]
movzx eax, byte [edx + 1]
mov ecx, 1
shl ecx, 0
mov edx, dword [ebp - 0xac]
movzx ecx, byte [edx + ecx + 0x94]
cmp eax, ecx
jne 0x443a91
mov dword [ebp - 0x1b8], 1
jmp 0x443a9b
mov dword [ebp - 0x1b8], 0
mov edx, dword [ebp - 0x1b8]
mov dword [ebp - 0x1bc], edx
cmp dword [ebp - 0x1bc], 0
jne 0x443ac4
mov eax, dword [ebp - 0xb0]
add eax, 1
mov dword [ebp - 0xb0], eax
jmp 0x443964
mov ecx, 1
imul edx, ecx, 0xffffffff
mov eax, dword [ebp - 0xb0]
movzx ecx, byte [eax + edx]
cmp ecx, 0xd
jne 0x443b24
mov edx, dword [ebp - 0xac]
cmp dword [edx + 0x8c], 1
je 0x443af9
mov eax, dword [ebp - 0xac]
cmp dword [eax + 0x8c], 2
jne 0x443b24
mov ecx, dword [ebp - 0xb0]
cmp ecx, dword [ebp - 0xb4]
jae 0x443b24
mov edx, dword [ebp - 0xb0]
movzx eax, byte [edx]
cmp eax, 0xa
jne 0x443b24
mov ecx, dword [ebp - 0xb0]
add ecx, 1
mov dword [ebp - 0xb0], ecx
jmp 0x443bbb
cmp dword [ebp - 0xe8], 0
je 0x443bbb
mov edx, dword [ebp - 0xb0]
cmp edx, dword [ebp - 0xb4]
jae 0x443b8d
mov eax, dword [ebp - 0xb0]
movzx ecx, byte [eax]
mov dword [ebp - 0x1c0], ecx
mov edx, dword [ebp - 0x1c0]
shr edx, 3
mov eax, dword [ebp - 0xe8]
movzx edx, byte [eax + edx]
mov ecx, dword [ebp - 0x1c0]
and ecx, 7
mov eax, 1
shl eax, cl
and edx, eax
je 0x443b7c
jmp 0x443b8d
mov ecx, dword [ebp - 0xb0]
add ecx, 1
mov dword [ebp - 0xb0], ecx
jmp 0x443b36
mov edx, dword [ebp - 0xac]
movzx eax, word [edx + 0x3c]
test eax, eax
jne 0x443bbb
mov ecx, dword [ebp - 0xac]
mov edx, dword [ebp - 0xb0]
cmp edx, dword [ecx + 0x54]
jb 0x443bbb
mov dword [ebp - 0xc8], 0
jmp 0x4441a7
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax + 0x54]
mov dword [ebp - 0xb4], ecx
mov edx, dword [ebp - 0xac]
movzx eax, word [edx + 0x3c]
test eax, eax
jne 0x443d8e
mov ecx, dword [ebp - 0xb4]
sub ecx, dword [ebp - 0xb0]
mov edx, dword [ebp - 0xb8]
movzx eax, word [edx + 0x66]
cmp ecx, eax
jge 0x443c05
mov dword [ebp - 0xc8], 0
jmp 0x4441a7
cmp dword [ebp - 0x100], 0
je 0x443c1a
mov dword [ebp - 0x1c4], 1
jmp 0x443c24
mov dword [ebp - 0x1c4], 0
mov ecx, dword [ebp - 0xb0]
add ecx, dword [ebp - 0x1c4]
mov dword [ebp - 0xcc], ecx
cmp dword [ebp - 0x1c8], 0
je 0x443d8e
mov edx, dword [ebp - 0xcc]
cmp edx, dword [ebp - 0x1d0]
jbe 0x443d8e
mov eax, dword [ebp - 0xb4]
sub eax, dword [ebp - 0xb0]
mov dword [ebp - 0x1f0], eax
cmp dword [ebp - 0x1f0], 0x1388
jb 0x443c90
cmp dword [ebp - 0x110], 0
jne 0x443d8e
cmp dword [ebp - 0x1f0], 0x4c4b40
jae 0x443d8e
movzx ecx, byte [ebp - 0xba]
movzx edx, byte [ebp - 0xbc]
cmp ecx, edx
je 0x443d26
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x108], eax
mov ecx, dword [ebp - 0xb4]
sub ecx, dword [ebp - 0x108]
push ecx
movzx edx, byte [ebp - 0xba]
push edx
mov eax, dword [ebp - 0x108]
push eax
call fcn.0047f180
add esp, 0xc
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0
jne 0x443d24
mov ecx, dword [ebp - 0xb4]
sub ecx, dword [ebp - 0x108]
push ecx
movzx edx, byte [ebp - 0xbc]
push edx
mov eax, dword [ebp - 0x108]
push eax
call fcn.0047f180
add esp, 0xc
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0
jne 0x443d24
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0xcc], ecx
jmp 0x443d65
mov edx, dword [ebp - 0xb4]
sub edx, dword [ebp - 0xcc]
push edx
movzx eax, byte [ebp - 0xba]
push eax
mov ecx, dword [ebp - 0xcc]
push ecx
call fcn.0047f180
add esp, 0xc
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0
jne 0x443d65
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0xcc], edx
mov eax, dword [ebp - 0xcc]
cmp eax, dword [ebp - 0xb4]
jb 0x443d82
mov dword [ebp - 0xc8], 0
jmp 0x4441a7
mov ecx, dword [ebp - 0xcc]
mov dword [ebp - 0x1d0], ecx
mov edx, dword [ebp - 0xb0]
cmp edx, dword [ebp - 0x1f4]
jbe 0x443dab
mov dword [ebp - 0xc8], 0
jmp 0x4441a7
mov eax, dword [ebp - 0xb0]
sub eax, dword [ebp + 0xc]
mov dword [ebp - 0x214], eax
mov ecx, dword [ebp - 0x1f8]
or ecx, 1
mov dword [ebp - 0x1f8], ecx
mov edx, dword [ebp - 0xac]
mov eax, dword [ebp - 0xb0]
mov dword [edx + 0x60], eax
mov ecx, dword [ebp - 0xac]
mov edx, dword [ebp - 0xb0]
mov dword [ecx + 0x64], edx
mov eax, dword [ebp + 0x18]
or eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0xac]
mov dword [ecx + 0x7c], eax
mov edx, dword [ebp - 0xac]
mov dword [edx + 0x18], 0
mov eax, dword [ebp - 0xac]
mov dword [eax + 0x38], 0
mov ecx, dword [ebp - 0xac]
mov dword [ecx + 0x84], 0
mov edx, dword [ebp - 0xac]
push edx
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp - 0x10c]
push ecx
mov edx, dword [ebp - 0xb8]
movzx eax, word [edx + 0x68]
push eax
mov ecx, dword [ebp - 0xac]
mov edx, dword [ecx + 0x48]
push edx
mov eax, dword [ebp - 0xb0]
push eax
call fcn.00444e60
add esp, 0x18
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0xac]
cmp dword [ecx + 0x1c], 0
je 0x443e8f
cmp dword [ebp - 0x124], 0
jne 0x443e8f
mov edx, dword [ebp - 0xac]
mov eax, dword [edx + 0x60]
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 0xf0], ecx
mov edx, dword [ebp - 0xc8]
mov dword [ebp - 0xec], edx
cmp dword [ebp - 0xec], 0
jg 0x443ed8
cmp dword [ebp - 0xec], 0
je case.0x443ed1.1
mov eax, dword [ebp - 0xec]
add eax, 0x3e5
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 4
ja case.default.0x443ed1
mov ecx, dword [ebp - 0xec]
jmp dword [ecx*4 + 0x444550]
jmp case.default.0x443ed1
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0xe0], edx
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xac]
mov edx, dword [ecx + 0x84]
mov dword [eax + 0x88], edx
jmp 0x443f9c
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax + 0x74]
cmp ecx, dword [ebp - 0xb0]
jbe case.0x443ed1.1
mov edx, dword [ebp - 0xac]
mov eax, dword [edx + 0x74]
mov dword [ebp - 0xe0], eax
jmp 0x443f9c
mov ecx, dword [ebp - 0xac]
mov dword [ecx + 0x88], 0
mov edx, dword [ebp - 0xb0]
add edx, 1
mov dword [ebp - 0xe0], edx
cmp dword [ebp - 0xd0], 0
je 0x443f86
mov eax, dword [ebp - 0xe0]
cmp eax, dword [ebp - 0xb4]
jae 0x443f86
mov ecx, dword [ebp - 0xe0]
movzx edx, byte [ecx]
and edx, 0xc0
cmp edx, 0x80
jne 0x443f86
mov eax, dword [ebp - 0xe0]
add eax, 1
mov dword [ebp - 0xe0], eax
jmp 0x443f50
jmp 0x443f9c
mov dword [ebp - 0xc8], 0
jmp 0x4441a7
jmp 0x4441a7
mov dword [ebp - 0xc8], 0
cmp dword [ebp - 0x1d4], 0
je 0x4440db
mov ecx, dword [ebp - 0xac]
cmp dword [ecx + 0x8c], 0
je 0x444038
mov edx, dword [ebp - 0xac]
mov eax, dword [ebp - 0xb0]
cmp eax, dword [edx + 0x54]
jae 0x44401d
mov ecx, dword [ebp - 0xd0]
push ecx
mov edx, dword [ebp - 0xac]
add edx, 0x90
push edx
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax + 0x54]
push ecx
mov edx, dword [ebp - 0xac]
mov eax, dword [edx + 0x8c]
push eax
mov ecx, dword [ebp - 0xb0]
push ecx
call fcn.00475e60
add esp, 0x14
test eax, eax
je 0x44401d
mov dword [ebp - 0x1d8], 1
jmp 0x444027
mov dword [ebp - 0x1d8], 0
mov edx, dword [ebp - 0x1d8]
mov dword [ebp - 0x1e0], edx
jmp 0x4440cd
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xac]
mov edx, dword [eax + 0x54]
sub edx, dword [ecx + 0x90]
cmp dword [ebp - 0xb0], edx
ja 0x4440b7
mov eax, dword [ebp - 0xb0]
movzx ecx, byte [eax]
mov edx, 1
imul eax, edx, 0
mov edx, dword [ebp - 0xac]
movzx eax, byte [edx + eax + 0x94]
cmp ecx, eax
jne 0x4440b7
mov ecx, dword [ebp - 0xac]
cmp dword [ecx + 0x90], 1
je 0x4440ab
mov edx, dword [ebp - 0xb0]
movzx eax, byte [edx + 1]
mov ecx, 1
shl ecx, 0
mov edx, dword [ebp - 0xac]
movzx ecx, byte [edx + ecx + 0x94]
cmp eax, ecx
jne 0x4440b7
mov dword [ebp - 0x1dc], 1
jmp 0x4440c1
mov dword [ebp - 0x1dc], 0
mov edx, dword [ebp - 0x1dc]
mov dword [ebp - 0x1e0], edx
cmp dword [ebp - 0x1e0], 0
je 0x4440db
jmp 0x4441a7
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0x110], 0
jne 0x4440fe
mov ecx, dword [ebp - 0xb0]
cmp ecx, dword [ebp - 0xb4]
jbe 0x444103
jmp 0x4441a7
mov edx, dword [ebp + 0xc]
add edx, dword [ebp + 0x14]
cmp dword [ebp - 0xb0], edx
jbe 0x444195
mov eax, 1
imul ecx, eax, 0xffffffff
mov edx, dword [ebp - 0xb0]
movzx eax, byte [edx + ecx]
cmp eax, 0xd
jne 0x444195
mov ecx, dword [ebp - 0xb0]
cmp ecx, dword [ebp - 0xb4]
jae 0x444195
mov edx, dword [ebp - 0xb0]
movzx eax, byte [edx]
cmp eax, 0xa
jne 0x444195
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx + 0x48]
and edx, 0x800
jne 0x444195
mov eax, dword [ebp - 0xac]
cmp dword [eax + 0x8c], 1
je 0x444186
mov ecx, dword [ebp - 0xac]
cmp dword [ecx + 0x8c], 2
je 0x444186
mov edx, dword [ebp - 0xac]
cmp dword [edx + 0x90], 2
jne 0x444195
mov eax, dword [ebp - 0xb0]
add eax, 1
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xac]
mov dword [ecx + 0x68], 0
jmp 0x4430d7
cmp dword [ebp - 0xd0], 0
je 0x444301
mov edx, dword [ebp - 0xb4]
cmp edx, dword [ebp - 0xe4]
je 0x444301
cmp dword [ebp - 0xc8], 0
je 0x4441dc
cmp dword [ebp - 0xc8], 0xfffffffe
jne 0x444301
mov eax, dword [ebp - 0xb4]
add eax, 1
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xb0]
cmp ecx, dword [ebp - 0xe4]
jae 0x44421f
mov edx, dword [ebp - 0xb0]
movzx eax, byte [edx]
and eax, 0xc0
cmp eax, 0x80
jne 0x44421f
mov ecx, dword [ebp - 0xb0]
add ecx, 1
mov dword [ebp - 0xb0], ecx
jmp 0x4441eb
mov edx, dword [ebp - 0xb0]
cmp edx, dword [ebp - 0xe4]
jb 0x444246
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xf0], 0
jmp 0x444301
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xb0]
mov dword [eax + 0x50], ecx
mov edx, dword [ebp + 0x1c]
add edx, 0x2c
push edx
mov eax, dword [ebp - 0xb0]
sub eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
sub ecx, eax
push ecx
mov edx, dword [ebp - 0xb0]
push edx
call fcn.004799b0
add esp, 0xc
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0
jne 0x4442b5
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xac]
mov edx, dword [ebp - 0xb4]
mov dword [ecx + 0x54], edx
mov dword [ebp - 0x114], 1
jmp 0x4430a0
cmp dword [ebp - 0xc8], 0
jge 0x4442fc
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp - 0xb0]
add ecx, dword [eax + 0x2c]
mov dword [ebp - 0xb4], ecx
mov edx, dword [ebp - 0xac]
mov eax, dword [ebp - 0xb4]
mov dword [edx + 0x54], eax
mov ecx, dword [ebp - 0xb4]
cmp ecx, dword [ebp - 0xb0]
jbe 0x4442fc
mov dword [ebp - 0x114], 3
jmp 0x4430a0
jmp 0x4441dc
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp - 0xb8]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp - 0xac]
mov eax, dword [edx + 0x68]
mov dword [ecx + 0x14], eax
mov ecx, dword [ebp + 0x1c]
mov byte [ecx + 0x30], 0
cmp dword [ebp - 0xc8], 1
jne 0x444461
mov edx, dword [ebp + 0x1c]
movzx eax, word [edx + 0x32]
shl eax, 1
mov ecx, dword [ebp - 0xac]
cmp dword [ecx + 0x38], eax
jl 0x444350
mov dword [ebp - 0x1e4], 0
jmp 0x444367
mov edx, dword [ebp - 0xac]
mov eax, dword [edx + 0x38]
cdq
sub eax, edx
sar eax, 1
add eax, 1
mov dword [ebp - 0x1e4], eax
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp - 0x1e4]
mov dword [eax + 0x34], ecx
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x10]
mov dword [edx + 0x20], eax
mov ecx, dword [ebp - 0xb0]
sub ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x1c]
mov dword [edx + 0x2c], ecx
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax + 0x60]
sub ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x1c]
mov dword [edx + 0x24], ecx
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xac]
mov edx, dword [eax + 0x64]
cmp edx, dword [ecx + 0x5c]
jbe 0x4443c2
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax + 0x64]
mov dword [ebp - 0x1e8], ecx
jmp 0x4443d1
mov edx, dword [ebp - 0xac]
mov eax, dword [edx + 0x5c]
mov dword [ebp - 0x1e8], eax
mov ecx, dword [ebp - 0x1e8]
sub ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x1c]
mov dword [edx + 0x28], ecx
mov eax, dword [ebp + 0x18]
and eax, 0x4000
je 0x44444d
mov ecx, dword [ebp + 0x10]
add ecx, dword [ebp - 0x1ec]
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx]
call eax
add esp, 8
mov ecx, dword [ebp + 0x1c]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp + 0x1c]
cmp dword [edx + 0x10], 0
jne 0x444424
mov eax, 0xffffffd0
jmp 0x444527
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx + 0x10]
push eax
call fcn.0047cfc0
add esp, 0xc
mov ecx, dword [ebp + 0x1c]
movzx edx, byte [ecx + 0x31]
or edx, 1
mov eax, dword [ebp + 0x1c]
mov byte [eax + 0x31], dl
jmp 0x444456
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0x10], edx
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax + 0x34]
jmp 0x444527
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp - 0xac]
mov eax, dword [edx + 0x6c]
mov dword [ecx + 0x14], eax
cmp dword [ebp - 0xc8], 0
je 0x444493
cmp dword [ebp - 0xc8], 0xfffffffe
je 0x444493
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp - 0xc8]
mov dword [ecx + 0x34], edx
jmp 0x444521
cmp dword [ebp - 0xf0], 0
je 0x444517
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x10], ecx
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x10]
mov dword [edx + 0x20], eax
mov ecx, dword [ebp - 0xf0]
sub ecx, dword [ebp + 0xc]
mov edx, 4
imul eax, edx, 0
mov edx, dword [ebp + 0x1c]
mov dword [edx + eax + 0x38], ecx
mov eax, dword [ebp - 0xb4]
sub eax, dword [ebp + 0xc]
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 0x1c]
mov dword [edx + ecx + 0x38], eax
mov eax, dword [ebp - 0xf0]
sub eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
mov dword [ecx + 0x2c], eax
mov edx, dword [ebp - 0x124]
sub edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x1c]
mov dword [eax + 0x24], edx
mov ecx, dword [ebp - 0xb4]
sub ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x1c]
mov dword [edx + 0x28], ecx
mov eax, dword [ebp + 0x1c]
mov dword [eax + 0x34], 0xfffffffe
jmp 0x444521
mov ecx, dword [ebp + 0x1c]
mov dword [ecx + 0x34], 0xffffffff
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx + 0x34]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047be9b
mov esp, ebp
pop ebp
ret