Function at 0x4d1680
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2cc
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x1bc], ecx
mov dword [ebp - 0x90], 0
mov edx, dword [ebp + 0xc]
movsx eax, word [edx]
cmp eax, 0x20
jbe 0x4d16c4
push 0x20
push str.at_most__d_tables_in_a_join
mov ecx, dword [ebp + 8]
push ecx
call fcn.004a060a
add esp, 0xc
xor eax, eax
jmp 0x4d2f8f
push 0x84
push 0
lea edx, [ebp - 0x8c]
push edx
call fcn.00471250
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x1b8]
push ecx
call fcn.004d2f93
add esp, 8
push 0x3c
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x1b8]
push eax
call fcn.004d3035
add esp, 0xc
push 1
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx]
shl edx, 6
add edx, 0x58
push edx
call fcn.004a038c
add esp, 8
mov dword [ebp - 8], eax
call fcn.004a17af
test eax, eax
je 0x4d172a
jmp 0x4d2f72
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 0x1bc]
push ecx
call fcn.004b1bd8
add esp, 4
mov edx, dword [ebp - 8]
mov dword [edx + 0x10], eax
cmp dword [ebp + 0x10], 0
je 0x4d1790
mov eax, dword [ebp + 0xc]
movsx ecx, word [eax]
test ecx, ecx
je 0x4d1770
mov edx, dword [ebp + 0x10]
push edx
call fcn.004c5def
add esp, 4
test eax, eax
je 0x4d1790
push 1
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004c8302
add esp, 0x10
mov dword [ebp + 0x10], 0
mov dword [ebp - 0x1c4], 0
jmp 0x4d17ab
mov ecx, dword [ebp - 0x1c4]
add ecx, 1
mov dword [ebp - 0x1c4], ecx
mov edx, dword [ebp + 0xc]
movsx eax, word [edx]
cmp dword [ebp - 0x1c4], eax
jge 0x4d17dc
mov ecx, dword [ebp - 0x1c4]
imul ecx, ecx, 0x24
mov edx, dword [ebp + 0xc]
movsx eax, word [edx + ecx + 0x1a]
push eax
lea ecx, [ebp - 0x8c]
push ecx
call fcn.004d31b1
add esp, 8
jmp 0x4d179c
lea edx, [ebp - 0x1b8]
push edx
lea eax, [ebp - 0x8c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004d3358
add esp, 0xc
call fcn.004a17af
test eax, eax
je 0x4d1804
jmp 0x4d2f72
mov dword [ebp - 0x1d4], 0xffffffff
mov edx, dword [ebp + 0xc]
add edx, 4
mov dword [ebp - 0x1c0], edx
mov eax, dword [ebp - 8]
add eax, 0x18
mov dword [ebp - 0x1d8], eax
mov dword [ebp - 0x1c8], 0xffffffff
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x1c4], ecx
mov edx, dword [ebp - 8]
add edx, 0x18
mov dword [ebp - 0x1d8], edx
jmp 0x4d186c
mov eax, dword [ebp - 0x1c4]
add eax, 1
mov dword [ebp - 0x1c4], eax
mov ecx, dword [ebp - 0x1d8]
add ecx, 0x40
mov dword [ebp - 0x1d8], ecx
mov edx, dword [ebp + 0xc]
movsx eax, word [edx]
cmp dword [ebp - 0x1c4], eax
jge 0x4d1b87
mov dword [ebp - 0x1e8], 0
mov dword [ebp - 0x1e4], 0
mov dword [ebp - 0x1f0], 0
mov dword [ebp - 0x1ec], 0
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 0x20c], 0xa2879f2e
mov dword [ebp - 0x208], 0x547d42ae
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x200], ecx
mov edx, dword [ebp - 0x200]
imul edx, edx, 0x24
mov eax, dword [ebp + 0xc]
lea ecx, [eax + edx + 4]
mov dword [ebp - 0x1c0], ecx
jmp 0x4d1903
mov edx, dword [ebp - 0x200]
add edx, 1
mov dword [ebp - 0x200], edx
mov eax, dword [ebp - 0x1c0]
add eax, 0x24
mov dword [ebp - 0x1c0], eax
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx]
cmp dword [ebp - 0x200], edx
jge 0x4d1a9c
mov eax, dword [ebp - 0x1c0]
xor ecx, ecx
mov cl, byte [eax + 0x15]
and ecx, 0xa
test ecx, ecx
jne 0x4d194e
cmp dword [ebp - 0x200], 0
jle 0x4d1942
mov edx, dword [ebp - 0x1c0]
xor eax, eax
mov al, byte [edx - 0xf]
and eax, 0xa
test eax, eax
jne 0x4d194e
mov dword [ebp - 0x2c4], 0
jmp 0x4d1958
mov dword [ebp - 0x2c4], 1
mov ecx, dword [ebp - 0x2c4]
mov dword [ebp - 0x214], ecx
cmp dword [ebp - 0x1e0], 0
je 0x4d197b
cmp dword [ebp - 0x214], 0
je 0x4d197b
jmp 0x4d1a9c
mov edx, dword [ebp - 0x1c0]
movsx eax, word [edx + 0x16]
push eax
lea ecx, [ebp - 0x8c]
push ecx
call fcn.004d316e
add esp, 8
mov dword [ebp - 0x204], eax
mov edx, dword [ebp - 0x204]
and edx, dword [ebp - 0x1d4]
test edx, edx
jne 0x4d19c4
mov eax, dword [ebp - 0x200]
cmp eax, dword [ebp - 4]
jne 0x4d19bf
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
jmp 0x4d18e5
cmp dword [ebp - 0x1c4], 0
jne 0x4d19e0
cmp dword [ebp + 0x14], 0
je 0x4d19e0
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
mov dword [ebp - 0x2c8], eax
jmp 0x4d19ea
mov dword [ebp - 0x2c8], 0
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x1dc]
push edx
lea eax, [ebp - 0x1f4]
push eax
mov ecx, dword [ebp - 0x2c8]
push ecx
mov edx, dword [ebp - 0x1d4]
push edx
mov eax, dword [ebp - 0x1c0]
push eax
lea ecx, [ebp - 0x1b8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004d4042
add esp, 0x20
fst qword [ebp - 0x1fc]
fcomp qword [ebp - 0x20c]
fnstsw ax
test ah, 1
je 0x4d1a8c
mov dword [ebp - 0x1e0], 1
mov eax, dword [ebp - 0x1fc]
mov dword [ebp - 0x20c], eax
mov ecx, dword [ebp - 0x1f8]
mov dword [ebp - 0x208], ecx
mov edx, dword [ebp - 0x1f4]
mov dword [ebp - 0x1e8], edx
mov eax, dword [ebp - 0x1dc]
mov dword [ebp - 0x1e4], eax
mov ecx, dword [ebp - 0x210]
mov dword [ebp - 0x1f0], ecx
mov edx, dword [ebp - 0x200]
mov dword [ebp - 0x1ec], edx
cmp dword [ebp - 0x214], 0
je 0x4d1a97
jmp 0x4d1a9c
jmp 0x4d18e5
mov eax, dword [ebp - 0x1e4]
and eax, 0x1000
test eax, eax
je 0x4d1ab4
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 0
mov edx, dword [ebp - 0x1c8]
and edx, dword [ebp - 0x1e4]
mov dword [ebp - 0x1c8], edx
mov eax, dword [ebp - 0x1d8]
mov ecx, dword [ebp - 0x1e4]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x1d8]
mov eax, dword [ebp - 0x1e8]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 0x1d8]
mov edx, dword [ebp - 0x1f0]
mov dword [ecx + 0x34], edx
mov eax, dword [ebp - 0x1d8]
mov dword [eax + 0x3c], 0
mov ecx, dword [ebp - 0x1d8]
mov dword [ecx + 0x38], 0
cmp dword [ebp - 0x1e8], 0
je 0x4d1b36
mov edx, dword [ebp - 0x1d8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
mov dword [edx + 0x18], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x1c], eax
jmp 0x4d1b43
mov edx, dword [ebp - 0x1d8]
mov dword [edx + 0x18], 0xffffffff
mov eax, dword [ebp - 0x1ec]
imul eax, eax, 0x24
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx + eax + 0x1a]
push edx
lea eax, [ebp - 0x8c]
push eax
call fcn.004d316e
add esp, 8
not eax
mov ecx, dword [ebp - 0x1d4]
and ecx, eax
mov dword [ebp - 0x1d4], ecx
mov edx, dword [ebp - 0x1d8]
mov eax, dword [ebp - 0x1ec]
mov dword [edx], eax
jmp 0x4d184e
mov ecx, dword [ebp - 0x1c8]
and ecx, 0x4000
test ecx, ecx
je 0x4d1ba6
cmp dword [ebp + 0x14], 0
je 0x4d1ba6
mov edx, dword [ebp + 0x14]
mov dword [edx], 0
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
push eax
call fcn.004a7b5a
add esp, 8
mov ecx, dword [ebp - 8]
add ecx, 0x18
mov dword [ebp - 0x1d8], ecx
mov dword [ebp - 0x1c4], 0
mov edx, dword [ebp - 8]
add edx, 0x18
mov dword [ebp - 0x1d8], edx
jmp 0x4d1bf6
mov eax, dword [ebp - 0x1c4]
add eax, 1
mov dword [ebp - 0x1c4], eax
mov ecx, dword [ebp - 0x1d8]
add ecx, 0x40
mov dword [ebp - 0x1d8], ecx
mov edx, dword [ebp + 0xc]
movsx eax, word [edx]
cmp dword [ebp - 0x1c4], eax
jge 0x4d1f6a
mov ecx, dword [ebp - 0x1d8]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x218], edx
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [eax + 0x80]
cmp ecx, 2
jne 0x4d1d4d
mov edx, dword [ebp - 0x1d8]
mov eax, dword [edx]
imul eax, eax, 0x24
mov ecx, dword [ebp + 0xc]
lea edx, [ecx + eax + 4]
mov dword [ebp - 0x22c], edx
mov eax, dword [ebp - 0x22c]
mov ecx, dword [eax + 4]
push ecx
push str.TABLE__s
call fcn.00497bb0
add esp, 8
mov dword [ebp - 0x228], eax
mov edx, dword [ebp - 0x22c]
cmp dword [edx + 8], 0
je 0x4d1c90
mov eax, dword [ebp - 0x22c]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 0x228]
push edx
push str._z_AS__s
call fcn.00497bb0
add esp, 0xc
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x1d8]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x224], ecx
cmp dword [ebp - 0x224], 0
je 0x4d1ccd
mov edx, dword [ebp - 0x224]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x228]
push ecx
push str._z_WITH_INDEX__s
call fcn.00497bb0
add esp, 0xc
mov dword [ebp - 0x228], eax
jmp 0x4d1cf7
mov edx, dword [ebp - 0x1d8]
mov eax, dword [edx + 4]
and eax, 3
test eax, eax
je 0x4d1cf7
mov ecx, dword [ebp - 0x228]
push ecx
push str._z_USING_PRIMARY_KEY
call fcn.00497bb0
add esp, 8
mov dword [ebp - 0x228], eax
mov edx, dword [ebp - 0x1d8]
mov eax, dword [edx + 4]
and eax, 0x1000
test eax, eax
je 0x4d1d23
mov ecx, dword [ebp - 0x228]
push ecx
push str._z_ORDER_BY
call fcn.00497bb0
add esp, 8
mov dword [ebp - 0x228], eax
push 0xffffffffffffffff
mov edx, dword [ebp - 0x228]
push edx
mov eax, dword [ebp - 0x1d8]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x1c4]
push edx
push 0x71
mov eax, dword [ebp - 0x1bc]
push eax
call fcn.004b1b9a
add esp, 0x18
mov ecx, dword [ebp - 0x1d8]
mov edx, dword [ecx]
imul edx, edx, 0x24
mov eax, dword [ebp + 0xc]
lea ecx, [eax + edx + 4]
mov dword [ebp - 0x1c0], ecx
mov edx, dword [ebp - 0x1c0]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x220], eax
mov ecx, dword [ebp - 0x220]
mov edx, dword [ecx + 0x3c]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.0049fd0c
add esp, 8
mov dword [ebp - 0x21c], eax
mov edx, dword [ebp - 0x220]
xor eax, eax
mov al, byte [edx + 0x1d]
test eax, eax
jne 0x4d1dad
mov ecx, dword [ebp - 0x220]
cmp dword [ecx + 0x18], 0
je 0x4d1db2
jmp 0x4d1bd8
mov edx, dword [ebp - 0x1d8]
mov eax, dword [edx + 4]
and eax, 0x800
test eax, eax
jne 0x4d1e69
push 0xc
mov ecx, dword [ebp - 0x220]
push ecx
mov edx, dword [ebp - 0x21c]
push edx
mov eax, dword [ebp - 0x1c0]
movsx ecx, word [eax + 0x16]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004cb1e0
add esp, 0x14
mov eax, dword [ebp - 0x220]
cmp dword [eax + 4], 0x20
jae 0x4d1e67
mov ecx, dword [ebp - 0x1c0]
mov edx, dword [ecx + 0x20]
mov dword [ebp - 0x230], edx
mov dword [ebp - 0x234], 0
jmp 0x4d1e33
mov eax, dword [ebp - 0x230]
shr eax, 1
mov dword [ebp - 0x230], eax
mov ecx, dword [ebp - 0x234]
add ecx, 1
mov dword [ebp - 0x234], ecx
cmp dword [ebp - 0x230], 0
je 0x4d1e3e
jmp 0x4d1e16
mov edx, dword [ebp - 0x234]
push edx
mov eax, dword [ebp - 0x1bc]
push eax
call fcn.004b1c77
add esp, 4
sub eax, 1
push eax
mov ecx, dword [ebp - 0x1bc]
push ecx
call fcn.004b1db6
add esp, 0xc
jmp 0x4d1e91
mov edx, dword [ebp - 0x220]
mov eax, dword [edx]
push eax
push 0
mov ecx, dword [ebp - 0x220]
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp - 0x21c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004a315b
add esp, 0x14
mov edx, dword [ebp - 0x1c0]
movsx eax, word [edx + 0x16]
mov ecx, dword [ebp - 0x1d8]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 0x1d8]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
je 0x4d1f1a
mov ecx, dword [ebp - 0x224]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004a7fc9
add esp, 8
mov dword [ebp - 0x238], eax
push 0
mov eax, dword [ebp - 0x21c]
push eax
push 0x2d
mov ecx, dword [ebp - 0x1bc]
push ecx
call fcn.004b1a5b
add esp, 0x10
push 0xfffffffffffffff7
mov edx, dword [ebp - 0x238]
push edx
mov eax, dword [ebp - 0x224]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 0x218]
push edx
push 0xc
mov eax, dword [ebp - 0x1bc]
push eax
call fcn.004b1b9a
add esp, 0x18
mov ecx, dword [ebp - 0x1d8]
mov edx, dword [ecx + 4]
and edx, 0x800
test edx, edx
je 0x4d1f52
mov eax, dword [ebp - 0x224]
mov ecx, dword [eax + 4]
add ecx, 1
push ecx
mov edx, dword [ebp - 0x218]
push edx
push 0x64
mov eax, dword [ebp - 0x1bc]
push eax
call fcn.004b1a5b
add esp, 0x10
mov ecx, dword [ebp - 0x21c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004a7b5a
add esp, 8
jmp 0x4d1bd8
mov eax, dword [ebp - 0x1bc]
push eax
call fcn.004b1c77
add esp, 4
mov ecx, dword [ebp - 8]
mov dword [ecx + 8], eax
mov dword [ebp - 0x1d4], 0xffffffff
mov dword [ebp - 0x1c4], 0
mov edx, dword [ebp - 8]
add edx, 0x18
mov dword [ebp - 0x1d8], edx
jmp 0x4d1fbf
mov eax, dword [ebp - 0x1c4]
add eax, 1
mov dword [ebp - 0x1c4], eax
mov ecx, dword [ebp - 0x1d8]
add ecx, 0x40
mov dword [ebp - 0x1d8], ecx
mov edx, dword [ebp + 0xc]
movsx eax, word [edx]
cmp dword [ebp - 0x1c4], eax
jge 0x4d2f52
mov ecx, dword [ebp - 0x1c0]
movsx edx, word [ecx + 0x16]
mov dword [ebp - 0x244], edx
mov eax, dword [ebp - 0x1d8]
mov ecx, dword [eax]
imul ecx, ecx, 0x24
mov edx, dword [ebp + 0xc]
lea eax, [edx + ecx + 4]
mov dword [ebp - 0x1c0], eax
mov ecx, dword [ebp - 0x1c0]
movsx edx, word [ecx + 0x16]
mov dword [ebp - 0x244], edx
mov eax, dword [ebp - 0x1d8]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x24c], ecx
mov edx, dword [ebp - 0x1d8]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x240], eax
mov ecx, dword [ebp - 0x1d8]
mov edx, dword [ecx + 4]
and edx, 0x2000
neg edx
sbb edx, edx
neg edx
mov dword [ebp - 0x23c], edx
mov eax, dword [ebp - 0x1d8]
mov ecx, dword [eax + 4]
and ecx, 0x800
neg ecx
sbb ecx, ecx
neg ecx
mov dword [ebp - 0x248], ecx
mov edx, dword [ebp - 0x1bc]
push edx
call fcn.004b1bd8
add esp, 4
mov ecx, dword [ebp - 0x1d8]
mov dword [ecx + 0x1c], eax
mov edx, dword [ebp - 0x1d8]
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x1cc], eax
mov ecx, dword [ebp - 0x1bc]
push ecx
call fcn.004b1bd8
add esp, 4
mov edx, dword [ebp - 0x1d8]
mov dword [edx + 0x20], eax
mov eax, dword [ebp - 0x1d8]
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp - 0x1d8]
cmp dword [edx], 0
jle 0x4d211b
mov eax, dword [ebp - 0x1c0]
xor ecx, ecx
mov cl, byte [eax - 0xf]
and ecx, 8
test ecx, ecx
je 0x4d211b
mov edx, dword [ebp + 8]
cmp dword [edx + 0x20], 0
jne 0x4d20e0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
add ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x20], ecx
mov eax, dword [ebp - 0x1d8]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x20]
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
add ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x20], ecx
mov eax, dword [ebp - 0x1d8]
mov ecx, dword [eax + 0xc]
push ecx
push 0
push 0x2e
mov edx, dword [ebp - 0x1bc]
push edx
call fcn.004b1a5b
add esp, 0x10
mov eax, dword [ebp - 0x1d8]
mov ecx, dword [eax + 4]
and ecx, 1
test ecx, ecx
je 0x4d21c4
push 0
push 3
mov edx, dword [ebp - 0x1d4]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x244]
push eax
lea ecx, [ebp - 0x1b8]
push ecx
call fcn.004d31d2
add esp, 0x18
mov dword [ebp - 0x1d0], eax
mov edx, dword [ebp - 0x1d8]
push edx
mov eax, dword [ebp - 0x1cc]
push eax
mov ecx, dword [ebp - 0x1d0]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004d491c
add esp, 0x10
mov eax, dword [ebp - 0x1cc]
push eax
push 1
push 0x21
mov ecx, dword [ebp - 0x1bc]
push ecx
call fcn.004b1a5b
add esp, 0x10
mov edx, dword [ebp - 0x1cc]
push edx
mov eax, dword [ebp - 0x244]
push eax
push 0x2a
mov ecx, dword [ebp - 0x1bc]
push ecx
call fcn.004b1a5b
add esp, 0x10
mov edx, dword [ebp - 0x1d8]
mov dword [edx + 0x28], 0x13
jmp 0x4d2d67
mov eax, dword [ebp - 0x1d8]
mov ecx, dword [eax + 4]
and ecx, 2
test ecx, ecx
je 0x4d24d6
mov dword [ebp - 0x25c], 0x13
push 0
push 0x24
mov edx, dword [ebp - 0x1d4]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x244]
push eax
lea ecx, [ebp - 0x1b8]
push ecx
call fcn.004d31d2
add esp, 0x18
mov dword [ebp - 0x258], eax
push 0
push 0x18
mov edx, dword [ebp - 0x1d4]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x244]
push eax
lea ecx, [ebp - 0x1b8]
push ecx
call fcn.004d31d2
add esp, 0x18
mov dword [ebp - 0x254], eax
cmp dword [ebp - 0x23c], 0
je 0x4d2261
mov edx, dword [ebp - 0x258]
mov dword [ebp - 0x1d0], edx
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x258], eax
mov ecx, dword [ebp - 0x1d0]
mov dword [ebp - 0x254], ecx
cmp dword [ebp - 0x258], 0
je 0x4d232b
mov edx, dword [ebp - 0x258]
mov eax, dword [edx]
mov dword [ebp - 0x264], eax
mov ecx, dword [ebp - 0x264]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004c7155
add esp, 8
mov ecx, dword [ebp - 0x264]
xor edx, edx
mov dl, byte [ecx]
cmp edx, 0x45
je 0x4d22bc
mov eax, dword [ebp - 0x264]
xor ecx, ecx
mov cl, byte [eax]
cmp ecx, 0x44
je 0x4d22bc
mov dword [ebp - 0x2cc], 0
jmp 0x4d22c6
mov dword [ebp - 0x2cc], 1
mov edx, dword [ebp - 0x1cc]
push edx
mov eax, dword [ebp - 0x2cc]
push eax
push 0x6e
mov ecx, dword [ebp - 0x1bc]
push ecx
call fcn.004b1a5b
add esp, 0x10
mov edx, dword [ebp - 0x1cc]
push edx
mov eax, dword [ebp - 0x244]
push eax
mov ecx, dword [ebp - 0x23c]
neg ecx
sbb ecx, ecx
and ecx, 0xffffffe8
add ecx, 0x78
push ecx
mov edx, dword [ebp - 0x1bc]
push edx
call fcn.004b1a5b
add esp, 0x10
mov eax, dword [ebp - 0x258]
push eax
mov ecx, dword [ebp - 0x1d8]
push ecx
call fcn.004d480b
add esp, 8
jmp 0x4d2359
mov edx, dword [ebp - 0x1cc]
push edx
mov eax, dword [ebp - 0x244]
push eax
mov ecx, dword [ebp - 0x23c]
neg ecx
sbb ecx, ecx
and ecx, 0xffffffba
add ecx, 0x77
push ecx
mov edx, dword [ebp - 0x1bc]
push edx
call fcn.004b1a5b
add esp, 0x10
cmp dword [ebp - 0x254], 0
je 0x4d2426
mov eax, dword [ebp - 0x254]
mov ecx, dword [eax]
mov dword [ebp - 0x268], ecx
mov edx, dword [ebp - 0x268]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004c7155
add esp, 8
mov edx, dword [ebp - 0x1d8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
mov dword [edx + 8], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x20]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x20], eax
push 1
mov edx, dword [ebp - 0x1d8]
mov eax, dword [edx + 8]
push eax
push 0x76
mov ecx, dword [ebp - 0x1bc]
push ecx
call fcn.004b1a5b
add esp, 0x10
mov edx, dword [ebp - 0x268]
xor eax, eax
mov al, byte [edx]
cmp eax, 0x46
je 0x4d23e3
mov ecx, dword [ebp - 0x268]
xor edx, edx
mov dl, byte [ecx]
cmp edx, 0x44
jne 0x4d23fa
mov eax, dword [ebp - 0x23c]
neg eax
sbb eax, eax
and al, 0xfe
add eax, 0x47
mov dword [ebp - 0x25c], eax
jmp 0x4d2410
mov ecx, dword [ebp - 0x23c]
neg ecx
sbb ecx, ecx
and ecx, 2
add ecx, 0x44
mov dword [ebp - 0x25c], ecx
mov edx, dword [ebp - 0x254]
push edx
mov eax, dword [ebp - 0x1d8]
push eax
call fcn.004d480b
add esp, 8
mov ecx, dword [ebp - 0x1bc]
push ecx
call fcn.004b1c77
add esp, 4
mov dword [ebp - 0x260], eax
mov edx, dword [ebp - 0x23c]
neg edx
sbb edx, edx
and edx, 0xffffffc7
add edx, 0x68
mov eax, dword [ebp - 0x1d8]
mov dword [eax + 0x28], edx
mov ecx, dword [ebp - 0x1d8]
mov edx, dword [ebp - 0x244]
mov dword [ecx + 0x2c], edx
mov eax, dword [ebp - 0x1d8]
mov ecx, dword [ebp - 0x260]
mov dword [eax + 0x30], ecx
cmp dword [ebp - 0x25c], 0x13
je 0x4d24d1
push 0
mov edx, dword [ebp - 0x244]
push edx
push 0x23
mov eax, dword [ebp - 0x1bc]
push eax
call fcn.004b1a5b
add esp, 0x10
push 0
mov ecx, dword [ebp - 0x1d8]
mov edx, dword [ecx + 8]
push edx
push 1
mov eax, dword [ebp - 0x1bc]
push eax
call fcn.004b1a5b
add esp, 0x10
mov ecx, dword [ebp - 0x1cc]
push ecx
push 0x63
mov edx, dword [ebp - 0x25c]
push edx
mov eax, dword [ebp - 0x1bc]
push eax
call fcn.004b1a5b
add esp, 0x10
jmp 0x4d2d67
mov ecx, dword [ebp - 0x1d8]
mov edx, dword [ecx + 4]
and edx, 0x20
test edx, edx
je 0x4d2b0e
mov eax, dword [ebp - 0x1d8]
mov ecx, dword [eax + 0x34]
mov dword [ebp - 0x28c], ecx
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x284], 0
mov edx, dword [ebp - 0x1d8]
mov eax, dword [edx + 4]
and eax, 0x100
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x274], eax
mov ecx, dword [ebp - 0x1d8]
mov edx, dword [ecx + 4]
and edx, 0x200
neg edx
sbb edx, edx
neg edx
mov dword [ebp - 0x27c], edx
mov eax, dword [ebp - 0x1cc]
push eax
mov ecx, dword [ebp - 0x1d4]
push ecx
lea edx, [ebp - 0x1b8]
push edx
mov eax, dword [ebp - 0x1d8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004d4a0f
add esp, 0x14
mov dword [ebp - 0x250], 0
jmp 0x4d2585
mov edx, dword [ebp - 0x250]
add edx, 1
mov dword [ebp - 0x250], edx
mov eax, dword [ebp - 0x250]
cmp eax, dword [ebp - 0x28c]
jge 0x4d25b2
push 0
mov ecx, dword [ebp - 0x28c]
sub ecx, 1
push ecx
push 0x5a
mov edx, dword [ebp - 0x1bc]
push edx
call fcn.004b1a5b
add esp, 0x10
jmp 0x4d2576
mov eax, dword [ebp - 0x28c]
add eax, dword [ebp - 0x274]
mov dword [ebp - 0x26c], eax
mov ecx, dword [ebp - 0x24c]
mov edx, dword [ecx + 0x28]
mov eax, dword [ebp - 0x28c]
xor ecx, ecx
mov cl, byte [edx + eax]
test ecx, ecx
jne 0x4d25f2
mov dword [ebp - 0x288], 0x18
mov dword [ebp - 0x270], 0x24
jmp 0x4d262a
mov dword [ebp - 0x288], 0x24
mov dword [ebp - 0x270], 0x18
mov edx, dword [ebp - 0x274]
mov dword [ebp - 0x294], edx
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x274], eax
mov ecx, dword [ebp - 0x294]
mov dword [ebp - 0x27c], ecx
cmp dword [ebp - 0x274], 0
je 0x4d26e3
mov edx, dword [ebp - 0x24c]
mov eax, dword [edx + 8]
mov ecx, dword [ebp - 0x250]
mov edx, dword [eax + ecx*4]
mov dword [ebp - 0x298], edx
mov eax, dword [ebp - 0x24c]
push eax
mov cx, word [ebp - 0x288]
push ecx
mov edx, dword [ebp - 0x1d4]
push edx
mov eax, dword [ebp - 0x298]
push eax
mov ecx, dword [ebp - 0x244]
push ecx
lea edx, [ebp - 0x1b8]
push edx
call fcn.004d31d2
add esp, 0x18
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp - 0x1d0]
mov ecx, dword [eax]
mov dword [ebp - 0x29c], ecx
mov edx, dword [ebp - 0x29c]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004c7155
add esp, 8
mov edx, dword [ebp - 0x1d0]
xor eax, eax
mov ax, word [edx + 0xa]
and eax, 0x28
mov dword [ebp - 0x278], eax
mov ecx, dword [ebp - 0x1d0]
push ecx
mov edx, dword [ebp - 0x1d8]
push edx
call fcn.004d480b
add esp, 8
mov dword [ebp - 0x280], 0x3a
jmp 0x4d2706
xor eax, eax
cmp dword [ebp - 0x28c], 0
setle al
dec eax
and eax, 0x27
add eax, 0x13
mov dword [ebp - 0x280], eax
mov dword [ebp - 0x278], 1
cmp dword [ebp - 0x280], 0x13
je 0x4d27d2
mov ecx, dword [ebp - 0x28c]
add ecx, dword [ebp - 0x274]
mov dword [ebp - 0x2a0], ecx
mov edx, dword [ebp - 0x1d8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
mov dword [edx + 8], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x20]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x20], eax
mov edx, dword [ebp - 0x24c]
push edx
mov eax, dword [ebp - 0x1cc]
push eax
mov ecx, dword [ebp - 0x28c]
push ecx
mov edx, dword [ebp - 0x2a0]
push edx
mov eax, dword [ebp - 0x1bc]
push eax
call fcn.004d48a4
add esp, 0x14
cmp dword [ebp - 0x23c], 0
je 0x4d27b3
mov ecx, dword [ebp - 0x278]
neg ecx
sbb ecx, ecx
and ecx, 0xffffffdf
add ecx, 0x60
mov dword [ebp - 0x2a4], ecx
mov edx, dword [ebp - 0x1cc]
push edx
mov eax, dword [ebp - 0x240]
push eax
mov ecx, dword [ebp - 0x2a4]
push ecx
mov edx, dword [ebp - 0x1bc]
push edx
call fcn.004b1a5b
add esp, 0x10
jmp 0x4d27d0
push 1
mov eax, dword [ebp - 0x1d8]
mov ecx, dword [eax + 8]
push ecx
push 0x76
mov edx, dword [ebp - 0x1bc]
push edx
call fcn.004b1a5b
add esp, 0x10
jmp 0x4d27fa
cmp dword [ebp - 0x23c], 0
je 0x4d27fa
mov eax, dword [ebp - 0x1cc]
push eax
mov ecx, dword [ebp - 0x240]
push ecx
push 0x31
mov edx, dword [ebp - 0x1bc]
push edx
call fcn.004b1a5b
add esp, 0x10
cmp dword [ebp - 0x27c], 0
je 0x4d28a9
mov eax, dword [ebp - 0x24c]
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 0x250]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x2a8], eax
mov ecx, dword [ebp - 0x24c]
push ecx
mov dx, word [ebp - 0x270]
push edx
mov eax, dword [ebp - 0x1d4]
push eax
mov ecx, dword [ebp - 0x2a8]
push ecx
mov edx, dword [ebp - 0x244]
push edx
lea eax, [ebp - 0x1b8]
push eax
call fcn.004d31d2
add esp, 0x18
mov dword [ebp - 0x1d0], eax
mov ecx, dword [ebp - 0x1d0]
mov edx, dword [ecx]
mov dword [ebp - 0x2ac], edx
mov eax, dword [ebp - 0x2ac]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004c7155
add esp, 8
mov eax, dword [ebp - 0x1d0]
xor ecx, ecx
mov cx, word [eax + 0xa]
and ecx, 0x28
mov dword [ebp - 0x284], ecx
mov edx, dword [ebp - 0x1d0]
push edx
mov eax, dword [ebp - 0x1d8]
push eax
call fcn.004d480b
add esp, 8
jmp 0x4d28b3
mov dword [ebp - 0x284], 1
cmp dword [ebp - 0x28c], 0
jg 0x4d28c9
cmp dword [ebp - 0x27c], 0
je 0x4d298d
mov ecx, dword [ebp - 0x28c]
add ecx, dword [ebp - 0x27c]
mov dword [ebp - 0x2b0], ecx
mov edx, dword [ebp - 0x24c]
push edx
mov eax, dword [ebp - 0x1cc]
push eax
push 0
mov ecx, dword [ebp - 0x2b0]
push ecx
mov edx, dword [ebp - 0x1bc]
push edx
call fcn.004d48a4
add esp, 0x14
cmp dword [ebp - 0x23c], 0
je 0x4d2951
mov eax, dword [ebp - 0x1d8]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x20]
mov dword [eax + 8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
add ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x20], ecx
push 1
mov eax, dword [ebp - 0x1d8]
mov ecx, dword [eax + 8]
push ecx
push 0x76
mov edx, dword [ebp - 0x1bc]
push edx
call fcn.004b1a5b
add esp, 0x10
mov dword [ebp - 0x280], 0x24
jmp 0x4d298b
mov eax, dword [ebp - 0x284]
neg eax
sbb eax, eax
and eax, 0x72
add eax, 6
mov dword [ebp - 0x2b4], eax
mov ecx, dword [ebp - 0x1cc]
push ecx
mov edx, dword [ebp - 0x240]
push edx
mov eax, dword [ebp - 0x2b4]
push eax
mov ecx, dword [ebp - 0x1bc]
push ecx
call fcn.004b1a5b
add esp, 0x10
jmp 0x4d29c1
cmp dword [ebp - 0x23c], 0
je 0x4d29a2
mov dword [ebp - 0x280], 0x13
jmp 0x4d29c1
mov edx, dword [ebp - 0x1cc]
push edx
mov eax, dword [ebp - 0x240]
push eax
push 0x77
mov ecx, dword [ebp - 0x1bc]
push ecx
call fcn.004b1a5b
add esp, 0x10
mov edx, dword [ebp - 0x1bc]
push edx
call fcn.004b1c77
add esp, 4
mov dword [ebp - 0x290], eax
cmp dword [ebp - 0x280], 0x13
je 0x4d2a5c
push 0
mov eax, dword [ebp - 0x1d8]
mov ecx, dword [eax + 8]
push ecx
push 1
mov edx, dword [ebp - 0x1bc]
push edx
call fcn.004b1a5b
add esp, 0x10
mov eax, dword [ebp - 0x1cc]
push eax
mov ecx, dword [ebp - 0x240]
push ecx
mov edx, dword [ebp - 0x280]
push edx
mov eax, dword [ebp - 0x1bc]
push eax
call fcn.004b1a5b
add esp, 0x10
cmp dword [ebp - 0x278], 0
je 0x4d2a32
cmp dword [ebp - 0x23c], 0
je 0x4d2a44
cmp dword [ebp - 0x284], 0
jne 0x4d2a5c
cmp dword [ebp - 0x23c], 0
je 0x4d2a5c
push 0xfffffffffffffffe
push 0x5157e4
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x1bc]
push ecx
call fcn.004b1ef9
add esp, 0x10
push 0
mov edx, dword [ebp - 0x240]
push edx
push 7
mov eax, dword [ebp - 0x1bc]
push eax
call fcn.004b1a5b
add esp, 0x10
mov ecx, dword [ebp - 0x90]
push ecx
mov edx, dword [ebp - 0x26c]
push edx
push 0x1e
mov eax, dword [ebp - 0x1bc]
push eax
call fcn.004b1a5b
add esp, 0x10
cmp dword [ebp - 0x248], 0
jne 0x4d2ad2
push 0
mov ecx, dword [ebp - 0x240]
push ecx
push 0x32
mov edx, dword [ebp - 0x1bc]
push edx
call fcn.004b1a5b
add esp, 0x10
push 0
mov eax, dword [ebp - 0x244]
push eax
push 0x78
mov ecx, dword [ebp - 0x1bc]
push ecx
call fcn.004b1a5b
add esp, 0x10
mov edx, dword [ebp - 0x23c]
neg edx
sbb edx, edx
and edx, 0xffffffc7
add edx, 0x68
mov eax, dword [ebp - 0x1d8]
mov dword [eax + 0x28], edx
mov ecx, dword [ebp - 0x1d8]
mov edx, dword [ebp - 0x240]
mov dword [ecx + 0x2c], edx
mov eax, dword [ebp - 0x1d8]
mov ecx, dword [ebp - 0x290]
mov dword [eax + 0x30], ecx
jmp 0x4d2d67
mov edx, dword [ebp - 0x1d8]
mov eax, dword [edx + 4]
and eax, 0x10
test eax, eax
je 0x4d2d20
mov ecx, dword [ebp - 0x1d8]
mov edx, dword [ecx + 0x34]
mov dword [ebp - 0x2b8], edx
mov eax, dword [ebp - 0x1cc]
push eax
mov ecx, dword [ebp - 0x1d4]
push ecx
lea edx, [ebp - 0x1b8]
push edx
mov eax, dword [ebp - 0x1d8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004d4a0f
add esp, 0x14
mov edx, dword [ebp - 0x24c]
push edx
mov eax, dword [ebp - 0x1cc]
push eax
push 0
mov ecx, dword [ebp - 0x2b8]
push ecx
mov edx, dword [ebp - 0x1bc]
push edx
call fcn.004d48a4
add esp, 0x14
push 0
mov eax, dword [ebp - 0x1d8]
mov ecx, dword [eax + 8]
push ecx
push 0x76
mov edx, dword [ebp - 0x1bc]
push edx
call fcn.004b1a5b
add esp, 0x10
cmp dword [ebp - 0x23c], 0
je 0x4d2c15
mov eax, dword [ebp - 0x1cc]
push eax
mov ecx, dword [ebp - 0x240]
push ecx
push 0x3f
mov edx, dword [ebp - 0x1bc]
push edx
call fcn.004b1a5b
add esp, 0x10
push 0
mov eax, dword [ebp - 0x1d8]
mov ecx, dword [eax + 8]
push ecx
push 1
mov edx, dword [ebp - 0x1bc]
push edx
call fcn.004b1a5b
add esp, 0x10
mov dword [ebp - 0x2bc], eax
mov eax, dword [ebp - 0x1cc]
push eax
mov ecx, dword [ebp - 0x240]
push ecx
push 0x24
mov edx, dword [ebp - 0x1bc]
push edx
call fcn.004b1a5b
add esp, 0x10
mov eax, dword [ebp - 0x1d8]
mov dword [eax + 0x28], 0x2f
jmp 0x4d2c8a
mov ecx, dword [ebp - 0x1cc]
push ecx
mov edx, dword [ebp - 0x240]
push edx
push 0x78
mov eax, dword [ebp - 0x1bc]
push eax
call fcn.004b1a5b
add esp, 0x10
push 0
mov ecx, dword [ebp - 0x1d8]
mov edx, dword [ecx + 8]
push edx
push 1
mov eax, dword [ebp - 0x1bc]
push eax
call fcn.004b1a5b
add esp, 0x10
mov dword [ebp - 0x2bc], eax
push 0xfffffffffffffffe
push 0x5157e8
mov ecx, dword [ebp - 0x1cc]
push ecx
mov edx, dword [ebp - 0x240]
push edx
push 0x3a
mov eax, dword [ebp - 0x1bc]
push eax
call fcn.004b1b9a
add esp, 0x18
mov ecx, dword [ebp - 0x1d8]
mov dword [ecx + 0x28], 0x68
push 0
mov edx, dword [ebp - 0x240]
push edx
push 7
mov eax, dword [ebp - 0x1bc]
push eax
call fcn.004b1a5b
add esp, 0x10
mov ecx, dword [ebp - 0x90]
push ecx
mov edx, dword [ebp - 0x2b8]
push edx
push 0x1e
mov eax, dword [ebp - 0x1bc]
push eax
call fcn.004b1a5b
add esp, 0x10
cmp dword [ebp - 0x248], 0
jne 0x4d2d00
push 0
mov ecx, dword [ebp - 0x240]
push ecx
push 0x32
mov edx, dword [ebp - 0x1bc]
push edx
call fcn.004b1a5b
add esp, 0x10
push 0
mov eax, dword [ebp - 0x244]
push eax
push 0x78
mov ecx, dword [ebp - 0x1bc]
push ecx
call fcn.004b1a5b
add esp, 0x10
mov edx, dword [ebp - 0x1d8]
mov eax, dword [ebp - 0x240]
mov dword [edx + 0x2c], eax
mov ecx, dword [ebp - 0x1d8]
mov edx, dword [ebp - 0x2bc]
mov dword [ecx + 0x30], edx
jmp 0x4d2d67
mov eax, dword [ebp - 0x1d8]
mov dword [eax + 0x28], 0x68
mov ecx, dword [ebp - 0x1d8]
mov edx, dword [ebp - 0x244]
mov dword [ecx + 0x2c], edx
mov eax, dword [ebp - 0x1cc]
push eax
mov ecx, dword [ebp - 0x244]
push ecx
push 0x77
mov edx, dword [ebp - 0x1bc]
push edx
call fcn.004b1a5b
add esp, 0x10
add eax, 1
mov ecx, dword [ebp - 0x1d8]
mov dword [ecx + 0x30], eax
mov edx, dword [ebp - 0x244]
push edx
lea eax, [ebp - 0x8c]
push eax
call fcn.004d316e
add esp, 8
not eax
mov ecx, dword [ebp - 0x1d4]
and ecx, eax
mov dword [ebp - 0x1d4], ecx
mov edx, dword [ebp - 0x1ac]
mov dword [ebp - 0x1d0], edx
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x250], eax
jmp 0x4d2dc5
mov ecx, dword [ebp - 0x250]
sub ecx, 1
mov dword [ebp - 0x250], ecx
mov edx, dword [ebp - 0x1d0]
add edx, 0x1c
mov dword [ebp - 0x1d0], edx
cmp dword [ebp - 0x250], 0
jle 0x4d2e63
mov eax, dword [ebp - 0x1d0]
xor ecx, ecx
mov cl, byte [eax + 0xc]
and ecx, 6
test ecx, ecx
je 0x4d2de6
jmp 0x4d2da7
mov edx, dword [ebp - 0x1d0]
mov eax, dword [edx + 0x18]
and eax, dword [ebp - 0x1d4]
test eax, eax
je 0x4d2dfb
jmp 0x4d2da7
mov ecx, dword [ebp - 0x1d0]
mov edx, dword [ecx]
mov dword [ebp - 0x2c0], edx
mov eax, dword [ebp - 0x1d8]
cmp dword [eax + 0xc], 0
je 0x4d2e2d
mov ecx, dword [ebp - 0x2c0]
xor edx, edx
mov dl, byte [ecx + 2]
and edx, 1
cmp edx, 1
je 0x4d2e2d
jmp 0x4d2da7
push 1
mov eax, dword [ebp - 0x90]
push eax
mov ecx, dword [ebp - 0x2c0]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004c8302
add esp, 0x10
mov eax, dword [ebp - 0x1d0]
mov cl, byte [eax + 0xc]
or cl, 4
mov edx, dword [ebp - 0x1d0]
mov byte [edx + 0xc], cl
jmp 0x4d2da7
mov eax, dword [ebp - 0x1d8]
cmp dword [eax + 0xc], 0
je 0x4d2f4d
mov ecx, dword [ebp - 0x1bc]
push ecx
call fcn.004b1c77
add esp, 4
mov edx, dword [ebp - 0x1d8]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 0x1d8]
mov ecx, dword [eax + 0xc]
push ecx
push 1
push 0x2e
mov edx, dword [ebp - 0x1bc]
push edx
call fcn.004b1a5b
add esp, 0x10
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x1d0], eax
mov dword [ebp - 0x250], 0
jmp 0x4d2ede
mov ecx, dword [ebp - 0x250]
add ecx, 1
mov dword [ebp - 0x250], ecx
mov edx, dword [ebp - 0x1d0]
add edx, 0x1c
mov dword [ebp - 0x1d0], edx
mov eax, dword [ebp - 0x250]
cmp eax, dword [ebp - 0x1b4]
jge 0x4d2f4d
mov ecx, dword [ebp - 0x1d0]
xor edx, edx
mov dl, byte [ecx + 0xc]
and edx, 6
test edx, edx
je 0x4d2f00
jmp 0x4d2ec0
mov eax, dword [ebp - 0x1d0]
mov ecx, dword [eax + 0x18]
and ecx, dword [ebp - 0x1d4]
test ecx, ecx
je 0x4d2f15
jmp 0x4d2ec0
push 1
mov edx, dword [ebp - 0x90]
push edx
mov eax, dword [ebp - 0x1d0]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004c8302
add esp, 0x10
mov eax, dword [ebp - 0x1d0]
mov cl, byte [eax + 0xc]
or cl, 4
mov edx, dword [ebp - 0x1d0]
mov byte [edx + 0xc], cl
jmp 0x4d2ec0
jmp 0x4d1fa1
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x90]
mov dword [eax + 0xc], ecx
lea edx, [ebp - 0x1b8]
push edx
call fcn.004d2fc0
add esp, 4
mov eax, dword [ebp - 8]
jmp 0x4d2f8f
lea eax, [ebp - 0x1b8]
push eax
call fcn.004d2fc0
add esp, 4
mov ecx, dword [ebp - 8]
push ecx
call fcn.004a0362
add esp, 4
xor eax, eax
mov esp, ebp
pop ebp
ret