Function at 0x4ebe80
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 0x4ebec4
push 0x20
push str.at_most__d_tables_in_a_join
mov ecx, dword [ebp + 8]
push ecx
call fcn.004bae2a
add esp, 0xc
xor eax, eax
jmp 0x4ed78f
push 0x84
push 0
lea edx, [ebp - 0x8c]
push edx
call fcn.0048ba50
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x1b8]
push ecx
call fcn.004ed793
add esp, 8
push 0x3c
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x1b8]
push eax
call fcn.004ed835
add esp, 0xc
push 1
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx]
shl edx, 6
add edx, 0x58
push edx
call fcn.004babac
add esp, 8
mov dword [ebp - 8], eax
call fcn.004bbfcf
test eax, eax
je 0x4ebf2a
jmp 0x4ed772
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.004cc3f8
add esp, 4
mov edx, dword [ebp - 8]
mov dword [edx + 0x10], eax
cmp dword [ebp + 0x10], 0
je 0x4ebf90
mov eax, dword [ebp + 0xc]
movsx ecx, word [eax]
test ecx, ecx
je 0x4ebf70
mov edx, dword [ebp + 0x10]
push edx
call fcn.004e05ff
add esp, 4
test eax, eax
je 0x4ebf90
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.004e2b12
add esp, 0x10
mov dword [ebp + 0x10], 0
mov dword [ebp - 0x1c4], 0
jmp 0x4ebfab
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 0x4ebfdc
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.004ed9b1
add esp, 8
jmp 0x4ebf9c
lea edx, [ebp - 0x1b8]
push edx
lea eax, [ebp - 0x8c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004edb58
add esp, 0xc
call fcn.004bbfcf
test eax, eax
je 0x4ec004
jmp 0x4ed772
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 0x4ec06c
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 0x4ec387
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 0x4ec103
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 0x4ec29c
mov eax, dword [ebp - 0x1c0]
xor ecx, ecx
mov cl, byte [eax + 0x15]
and ecx, 0xa
test ecx, ecx
jne 0x4ec14e
cmp dword [ebp - 0x200], 0
jle 0x4ec142
mov edx, dword [ebp - 0x1c0]
xor eax, eax
mov al, byte [edx - 0xf]
and eax, 0xa
test eax, eax
jne 0x4ec14e
mov dword [ebp - 0x2c4], 0
jmp 0x4ec158
mov dword [ebp - 0x2c4], 1
mov ecx, dword [ebp - 0x2c4]
mov dword [ebp - 0x214], ecx
cmp dword [ebp - 0x1e0], 0
je 0x4ec17b
cmp dword [ebp - 0x214], 0
je 0x4ec17b
jmp 0x4ec29c
mov edx, dword [ebp - 0x1c0]
movsx eax, word [edx + 0x16]
push eax
lea ecx, [ebp - 0x8c]
push ecx
call fcn.004ed96e
add esp, 8
mov dword [ebp - 0x204], eax
mov edx, dword [ebp - 0x204]
and edx, dword [ebp - 0x1d4]
test edx, edx
jne 0x4ec1c4
mov eax, dword [ebp - 0x200]
cmp eax, dword [ebp - 4]
jne 0x4ec1bf
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
jmp 0x4ec0e5
cmp dword [ebp - 0x1c4], 0
jne 0x4ec1e0
cmp dword [ebp + 0x14], 0
je 0x4ec1e0
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
mov dword [ebp - 0x2c8], eax
jmp 0x4ec1ea
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.004ee842
add esp, 0x20
fst qword [ebp - 0x1fc]
fcomp qword [ebp - 0x20c]
fnstsw ax
test ah, 1
je 0x4ec28c
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 0x4ec297
jmp 0x4ec29c
jmp 0x4ec0e5
mov eax, dword [ebp - 0x1e4]
and eax, 0x1000
test eax, eax
je 0x4ec2b4
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 0x4ec336
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 0x4ec343
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.004ed96e
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 0x4ec04e
mov ecx, dword [ebp - 0x1c8]
and ecx, 0x4000
test ecx, ecx
je 0x4ec3a6
cmp dword [ebp + 0x14], 0
je 0x4ec3a6
mov edx, dword [ebp + 0x14]
mov dword [edx], 0
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
push eax
call fcn.004c237a
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 0x4ec3f6
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 0x4ec76a
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 0x4ec54d
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.004b23d0
add esp, 8
mov dword [ebp - 0x228], eax
mov edx, dword [ebp - 0x22c]
cmp dword [edx + 8], 0
je 0x4ec490
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.004b23d0
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 0x4ec4cd
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.004b23d0
add esp, 0xc
mov dword [ebp - 0x228], eax
jmp 0x4ec4f7
mov edx, dword [ebp - 0x1d8]
mov eax, dword [edx + 4]
and eax, 3
test eax, eax
je 0x4ec4f7
mov ecx, dword [ebp - 0x228]
push ecx
push str._z_USING_PRIMARY_KEY
call fcn.004b23d0
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 0x4ec523
mov ecx, dword [ebp - 0x228]
push ecx
push str._z_ORDER_BY
call fcn.004b23d0
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.004cc3ba
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.004ba52c
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 0x4ec5ad
mov ecx, dword [ebp - 0x220]
cmp dword [ecx + 0x18], 0
je 0x4ec5b2
jmp 0x4ec3d8
mov edx, dword [ebp - 0x1d8]
mov eax, dword [edx + 4]
and eax, 0x800
test eax, eax
jne 0x4ec669
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.004e59e0
add esp, 0x14
mov eax, dword [ebp - 0x220]
cmp dword [eax + 4], 0x20
jae 0x4ec667
mov ecx, dword [ebp - 0x1c0]
mov edx, dword [ecx + 0x20]
mov dword [ebp - 0x230], edx
mov dword [ebp - 0x234], 0
jmp 0x4ec633
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 0x4ec63e
jmp 0x4ec616
mov edx, dword [ebp - 0x234]
push edx
mov eax, dword [ebp - 0x1bc]
push eax
call fcn.004cc497
add esp, 4
sub eax, 1
push eax
mov ecx, dword [ebp - 0x1bc]
push ecx
call fcn.004cc5d6
add esp, 0xc
jmp 0x4ec691
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.004bd97b
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 0x4ec71a
mov ecx, dword [ebp - 0x224]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004c27e9
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.004cc27b
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.004cc3ba
add esp, 0x18
mov ecx, dword [ebp - 0x1d8]
mov edx, dword [ecx + 4]
and edx, 0x800
test edx, edx
je 0x4ec752
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.004cc27b
add esp, 0x10
mov ecx, dword [ebp - 0x21c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004c237a
add esp, 8
jmp 0x4ec3d8
mov eax, dword [ebp - 0x1bc]
push eax
call fcn.004cc497
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 0x4ec7bf
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 0x4ed752
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.004cc3f8
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.004cc3f8
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 0x4ec91b
mov eax, dword [ebp - 0x1c0]
xor ecx, ecx
mov cl, byte [eax - 0xf]
and ecx, 8
test ecx, ecx
je 0x4ec91b
mov edx, dword [ebp + 8]
cmp dword [edx + 0x20], 0
jne 0x4ec8e0
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.004cc27b
add esp, 0x10
mov eax, dword [ebp - 0x1d8]
mov ecx, dword [eax + 4]
and ecx, 1
test ecx, ecx
je 0x4ec9c4
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.004ed9d2
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.004ef11c
add esp, 0x10
mov eax, dword [ebp - 0x1cc]
push eax
push 1
push 0x21
mov ecx, dword [ebp - 0x1bc]
push ecx
call fcn.004cc27b
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.004cc27b
add esp, 0x10
mov edx, dword [ebp - 0x1d8]
mov dword [edx + 0x28], 0x13
jmp 0x4ed567
mov eax, dword [ebp - 0x1d8]
mov ecx, dword [eax + 4]
and ecx, 2
test ecx, ecx
je 0x4eccd6
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.004ed9d2
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.004ed9d2
add esp, 0x18
mov dword [ebp - 0x254], eax
cmp dword [ebp - 0x23c], 0
je 0x4eca61
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 0x4ecb2b
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.004e1965
add esp, 8
mov ecx, dword [ebp - 0x264]
xor edx, edx
mov dl, byte [ecx]
cmp edx, 0x45
je 0x4ecabc
mov eax, dword [ebp - 0x264]
xor ecx, ecx
mov cl, byte [eax]
cmp ecx, 0x44
je 0x4ecabc
mov dword [ebp - 0x2cc], 0
jmp 0x4ecac6
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.004cc27b
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.004cc27b
add esp, 0x10
mov eax, dword [ebp - 0x258]
push eax
mov ecx, dword [ebp - 0x1d8]
push ecx
call fcn.004ef00b
add esp, 8
jmp 0x4ecb59
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.004cc27b
add esp, 0x10
cmp dword [ebp - 0x254], 0
je 0x4ecc26
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.004e1965
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.004cc27b
add esp, 0x10
mov edx, dword [ebp - 0x268]
xor eax, eax
mov al, byte [edx]
cmp eax, 0x46
je 0x4ecbe3
mov ecx, dword [ebp - 0x268]
xor edx, edx
mov dl, byte [ecx]
cmp edx, 0x44
jne 0x4ecbfa
mov eax, dword [ebp - 0x23c]
neg eax
sbb eax, eax
and al, 0xfe
add eax, 0x47
mov dword [ebp - 0x25c], eax
jmp 0x4ecc10
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.004ef00b
add esp, 8
mov ecx, dword [ebp - 0x1bc]
push ecx
call fcn.004cc497
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 0x4eccd1
push 0
mov edx, dword [ebp - 0x244]
push edx
push 0x23
mov eax, dword [ebp - 0x1bc]
push eax
call fcn.004cc27b
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.004cc27b
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.004cc27b
add esp, 0x10
jmp 0x4ed567
mov ecx, dword [ebp - 0x1d8]
mov edx, dword [ecx + 4]
and edx, 0x20
test edx, edx
je 0x4ed30e
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.004ef20f
add esp, 0x14
mov dword [ebp - 0x250], 0
jmp 0x4ecd85
mov edx, dword [ebp - 0x250]
add edx, 1
mov dword [ebp - 0x250], edx
mov eax, dword [ebp - 0x250]
cmp eax, dword [ebp - 0x28c]
jge 0x4ecdb2
push 0
mov ecx, dword [ebp - 0x28c]
sub ecx, 1
push ecx
push 0x5a
mov edx, dword [ebp - 0x1bc]
push edx
call fcn.004cc27b
add esp, 0x10
jmp 0x4ecd76
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 0x4ecdf2
mov dword [ebp - 0x288], 0x18
mov dword [ebp - 0x270], 0x24
jmp 0x4ece2a
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 0x4ecee3
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.004ed9d2
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.004e1965
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.004ef00b
add esp, 8
mov dword [ebp - 0x280], 0x3a
jmp 0x4ecf06
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 0x4ecfd2
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.004ef0a4
add esp, 0x14
cmp dword [ebp - 0x23c], 0
je 0x4ecfb3
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.004cc27b
add esp, 0x10
jmp 0x4ecfd0
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.004cc27b
add esp, 0x10
jmp 0x4ecffa
cmp dword [ebp - 0x23c], 0
je 0x4ecffa
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.004cc27b
add esp, 0x10
cmp dword [ebp - 0x27c], 0
je 0x4ed0a9
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.004ed9d2
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.004e1965
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.004ef00b
add esp, 8
jmp 0x4ed0b3
mov dword [ebp - 0x284], 1
cmp dword [ebp - 0x28c], 0
jg 0x4ed0c9
cmp dword [ebp - 0x27c], 0
je 0x4ed18d
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.004ef0a4
add esp, 0x14
cmp dword [ebp - 0x23c], 0
je 0x4ed151
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.004cc27b
add esp, 0x10
mov dword [ebp - 0x280], 0x24
jmp 0x4ed18b
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.004cc27b
add esp, 0x10
jmp 0x4ed1c1
cmp dword [ebp - 0x23c], 0
je 0x4ed1a2
mov dword [ebp - 0x280], 0x13
jmp 0x4ed1c1
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.004cc27b
add esp, 0x10
mov edx, dword [ebp - 0x1bc]
push edx
call fcn.004cc497
add esp, 4
mov dword [ebp - 0x290], eax
cmp dword [ebp - 0x280], 0x13
je 0x4ed25c
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.004cc27b
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.004cc27b
add esp, 0x10
cmp dword [ebp - 0x278], 0
je 0x4ed232
cmp dword [ebp - 0x23c], 0
je 0x4ed244
cmp dword [ebp - 0x284], 0
jne 0x4ed25c
cmp dword [ebp - 0x23c], 0
je 0x4ed25c
push 0xfffffffffffffffe
push 0x5387f4
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x1bc]
push ecx
call fcn.004cc719
add esp, 0x10
push 0
mov edx, dword [ebp - 0x240]
push edx
push 7
mov eax, dword [ebp - 0x1bc]
push eax
call fcn.004cc27b
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.004cc27b
add esp, 0x10
cmp dword [ebp - 0x248], 0
jne 0x4ed2d2
push 0
mov ecx, dword [ebp - 0x240]
push ecx
push 0x32
mov edx, dword [ebp - 0x1bc]
push edx
call fcn.004cc27b
add esp, 0x10
push 0
mov eax, dword [ebp - 0x244]
push eax
push 0x78
mov ecx, dword [ebp - 0x1bc]
push ecx
call fcn.004cc27b
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 0x4ed567
mov edx, dword [ebp - 0x1d8]
mov eax, dword [edx + 4]
and eax, 0x10
test eax, eax
je 0x4ed520
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.004ef20f
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.004ef0a4
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.004cc27b
add esp, 0x10
cmp dword [ebp - 0x23c], 0
je 0x4ed415
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.004cc27b
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.004cc27b
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.004cc27b
add esp, 0x10
mov eax, dword [ebp - 0x1d8]
mov dword [eax + 0x28], 0x2f
jmp 0x4ed48a
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.004cc27b
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.004cc27b
add esp, 0x10
mov dword [ebp - 0x2bc], eax
push 0xfffffffffffffffe
push 0x5387f8
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.004cc3ba
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.004cc27b
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.004cc27b
add esp, 0x10
cmp dword [ebp - 0x248], 0
jne 0x4ed500
push 0
mov ecx, dword [ebp - 0x240]
push ecx
push 0x32
mov edx, dword [ebp - 0x1bc]
push edx
call fcn.004cc27b
add esp, 0x10
push 0
mov eax, dword [ebp - 0x244]
push eax
push 0x78
mov ecx, dword [ebp - 0x1bc]
push ecx
call fcn.004cc27b
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 0x4ed567
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.004cc27b
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.004ed96e
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 0x4ed5c5
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 0x4ed663
mov eax, dword [ebp - 0x1d0]
xor ecx, ecx
mov cl, byte [eax + 0xc]
and ecx, 6
test ecx, ecx
je 0x4ed5e6
jmp 0x4ed5a7
mov edx, dword [ebp - 0x1d0]
mov eax, dword [edx + 0x18]
and eax, dword [ebp - 0x1d4]
test eax, eax
je 0x4ed5fb
jmp 0x4ed5a7
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 0x4ed62d
mov ecx, dword [ebp - 0x2c0]
xor edx, edx
mov dl, byte [ecx + 2]
and edx, 1
cmp edx, 1
je 0x4ed62d
jmp 0x4ed5a7
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.004e2b12
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 0x4ed5a7
mov eax, dword [ebp - 0x1d8]
cmp dword [eax + 0xc], 0
je 0x4ed74d
mov ecx, dword [ebp - 0x1bc]
push ecx
call fcn.004cc497
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.004cc27b
add esp, 0x10
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x1d0], eax
mov dword [ebp - 0x250], 0
jmp 0x4ed6de
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 0x4ed74d
mov ecx, dword [ebp - 0x1d0]
xor edx, edx
mov dl, byte [ecx + 0xc]
and edx, 6
test edx, edx
je 0x4ed700
jmp 0x4ed6c0
mov eax, dword [ebp - 0x1d0]
mov ecx, dword [eax + 0x18]
and ecx, dword [ebp - 0x1d4]
test ecx, ecx
je 0x4ed715
jmp 0x4ed6c0
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.004e2b12
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 0x4ed6c0
jmp 0x4ec7a1
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x90]
mov dword [eax + 0xc], ecx
lea edx, [ebp - 0x1b8]
push edx
call fcn.004ed7c0
add esp, 4
mov eax, dword [ebp - 8]
jmp 0x4ed78f
lea eax, [ebp - 0x1b8]
push eax
call fcn.004ed7c0
add esp, 4
mov ecx, dword [ebp - 8]
push ecx
call fcn.004bab82
add esp, 4
xor eax, eax
mov esp, ebp
pop ebp
ret