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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
mov dword [esp], edx
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
lea eax, [edx + 0x50]
mov dword [esp + 0x58], esi
mov dword [esp + 0x6c], eax
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [esi]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x60], ebx
mov eax, dword [edi + 0x48]
mov dword [esp + 0x28], eax
movzx eax, byte [edi + 0x34]
imul ecx, eax, 0x48
mov eax, dword [edx + 4]
add eax, 8
add eax, ecx
lea ecx, [edx + 0x1e8]
mov dword [esp + 0x74], eax
mov eax, dword [eax + 0x2c]
mov edx, eax
mov dword [esp + 0x24], eax
call fcn.004a0350
mov ecx, dword [ebp + 8]
not eax
and eax, dword [ebp + 0x14]
not edx
and edx, dword [ebp + 0x18]
mov dword [edi + 0x50], eax
mov dword [edi + 0x54], edx
mov eax, dword [ecx + 0x40]
mov edx, dword [ecx + 0x44]
mov ecx, dword [ebp + 0xc]
call fcn.005b2ad0
xor ecx, ecx
inc ecx
and eax, ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x38]
dec eax
mov dword [esi + 0x38], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0xc], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x38]
dec eax
mov dword [esi + 0x38], eax
mov dword [esp + 0x7c], eax
mov dword [edi + 0x18], eax
cmp byte [edi + 0x34], bl
jbe 0x49cf2d
mov eax, dword [esp + 0x74]
test byte [eax + 0x24], 8
je 0x49cf2d
mov eax, dword [esi + 0x2c]
mov ecx, dword [esp + 0xc]
inc eax
push ebx
push eax
push ebx
push 0x46
mov dword [esi + 0x2c], eax
pop edx
mov dword [edi], eax
call fcn.00469c0b
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov ecx, eax
mov edx, dword [ebp + 8]
test eax, eax
jle 0x49cf4f
imul eax, eax, 0x58
add eax, 0x2f0
add eax, edx
cmp dword [eax], ebx
jne 0x49cf4f
dec ecx
sub eax, 0x58
test ecx, ecx
jg 0x49cf43
imul eax, ecx, 0x58
mov eax, dword [eax + edx + 0x2fc]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x74]
test byte [eax + 0x28], 0x10
je 0x49cfa1
push dword [eax + 0x18]
mov esi, dword [eax + 0x1c]
mov ecx, dword [esp + 0x10]
push ebx
push esi
push 0xd
pop edx
call fcn.00469c0b
mov ecx, dword [esp + 0x18]
add esp, 0xc
push ebx
push dword [esp + 0x30]
push esi
push 0xe
pop edx
call fcn.00469c0b
add esp, 0xc
mov dword [edi + 0x3c], eax
push 0xb
pop eax
mov byte [edi + 0x35], al
jmp 0x49e2f6
mov eax, dword [esp + 0x28]
mov ecx, 0x400
mov edx, dword [eax + 0x24]
test ecx, edx
je 0x49d1db
movzx eax, word [eax + 0x28]
mov ecx, esi
mov dword [esp + 0x20], eax
lea edx, [eax + 2]
call fcn.0047d619
mov ecx, eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x20], ebx
jle 0x49d031
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x30]
mov edx, dword [eax + ebx*4]
test edx, edx
je 0x49d028
xor eax, eax
inc eax
test byte [edx + 0xc], al
je 0x49d00f
lea eax, [ecx + 2]
mov ecx, esi
add eax, ebx
push eax
push dword [esp + 0x40]
push ebx
push edi
call fcn.0049c600
mov eax, dword [edi + 0x10]
add esp, 0x10
mov dword [esp + 0x10], eax
jmp 0x49d024
mov edx, dword [edx]
push eax
lea eax, [ecx + 2]
mov ecx, esi
add eax, ebx
mov edx, dword [edx + 0x10]
push eax
call fcn.0049cc94
pop ecx
pop ecx
mov ecx, dword [esp + 0x38]
inc ebx
cmp ebx, dword [esp + 0x20]
jl 0x49cfda
xor ebx, ebx
mov eax, dword [esp + 0x28]
push ebx
push ecx
mov ecx, dword [esp + 0x14]
push dword [eax + 0x18]
push 0x46
pop edx
call fcn.00469c0b
mov eax, dword [esp + 0x44]
add esp, 0xc
mov ecx, dword [esp + 0xc]
inc eax
push ebx
push eax
push dword [esp + 0x28]
push 0x46
pop edx
call fcn.00469c0b
mov ecx, dword [esp + 0x34]
add esp, 0xc
or eax, 0xffffffff
cmp byte [ecx + 0x1c], 0
push 0xfffffffffffffff9
pop edx
cmovne eax, edx
push eax
push dword [ecx + 0x20]
mov ecx, dword [esp + 0x14]
push dword [esp + 0x40]
push dword [esp + 0x1c]
push dword [esp + 0x34]
push 9
pop edx
call fcn.00469d31
mov eax, dword [esp + 0x3c]
add esp, 0x14
mov ecx, dword [ebp + 8]
mov byte [eax + 0x1c], bl
mov eax, dword [esp + 0x24]
mov dword [edi + 0x38], eax
cmp byte [ecx + 0x31], 0
mov ecx, dword [esp + 0x20]
push 0x3c
pop eax
lea edx, [eax + 0x6e]
cmovne eax, edx
mov edx, dword [edi + 0x40]
mov byte [edi + 0x35], al
sub ecx, 1
mov eax, dword [esp + 0xc]
mov dword [esp + 0x14], ecx
mov eax, dword [eax + 0x6c]
mov dword [edi + 0x3c], eax
js 0x49e2f6
imul eax, edx, 0x14
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x30]
mov edx, dword [eax + ecx*4]
mov dword [esp + 0x2c], edx
cmp ecx, 0x10
jge 0x49d10e
mov eax, dword [esp + 0x28]
mov ax, word [eax + 0x1e]
shr ax, cl
xor ecx, ecx
inc ecx
test cl, al
je 0x49d10a
mov ecx, edi
call fcn.0049c38c
jmp 0x49d1c5
mov ecx, dword [esp + 0x14]
xor eax, eax
inc eax
test byte [edx + 0xc], al
je 0x49d1c9
mov eax, dword [esp + 0x6c]
cmp byte [eax + 0x51], 0
jne 0x49d153
mov eax, dword [esp + 0x10]
mov edx, dword [edi + 0x44]
sub eax, 0x14
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x10], eax
mov edx, dword [edx + eax + 4]
call fcn.0046a36b
push dword [eax + 0xc]
movzx edx, byte [eax]
push dword [eax + 8]
push dword [eax + 4]
call fcn.00469c0b
add esp, 0xc
push ebx
push ebx
push 0x35
pop edx
mov ecx, esi
call fcn.00478c87
mov dword [esp + 0x20], eax
pop ecx
pop ecx
test eax, eax
je 0x49d1c5
mov ecx, dword [esp + 0x2c]
mov edx, 0xab
push ebx
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x70]
call fcn.00478bf7
mov edx, eax
mov eax, dword [esp + 0x1c]
pop ecx
mov dword [eax + 0x10], edx
test edx, edx
je 0x49d1b7
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0x14]
add edi, 2
add ecx, edi
mov edi, dword [ebp + 0x10]
push ebx
mov dword [edx + 0x1c], ecx
push dword [edi + 0x18]
push eax
push esi
call fcn.0047c806
mov eax, dword [esp + 0x28]
add esp, 0x10
mov ecx, dword [esp + 0x6c]
mov edx, eax
mov dword [eax + 0xc], ebx
call fcn.00478f74
mov ecx, dword [esp + 0x14]
sub ecx, 1
mov dword [esp + 0x14], ecx
jns 0x49d0d9
jmp 0x49e2f6
test dl, 5
setne cl
bt edx, 8
setb al
test al, cl
je 0x49d26a
mov eax, dword [esp + 0x28]
mov ecx, esi
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
push eax
push dword [esp + 0x40]
mov dword [esp + 0x34], edx
push ebx
push edi
mov dword [esp + 0x20], eax
call fcn.0049c600
mov edx, dword [esp + 0x20]
add esp, 0x10
mov dword [esp + 0x18], eax
cmp eax, edx
je 0x49d22b
mov ecx, esi
call fcn.0047d600
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
push eax
push dword [edi + 0x10]
push dword [esp + 0x2c]
push 0x1e
pop edx
call fcn.00469c0b
mov edx, dword [esp + 0x38]
add esp, 0xc
mov byte [edi + 0x35], 0xaa
mov ecx, dword [edx + 0x28]
mov eax, dword [edx + 0x2c]
and ecx, dword [edi + 0x50]
and eax, dword [edi + 0x54]
or ecx, eax
jne 0x49e2f6
push 4
pop ecx
or word [edx + 0xa], cx
jmp 0x49e2f6
mov ecx, 0x102
mov eax, edx
and eax, ecx
cmp eax, ecx
jne 0x49d49b
mov dword [esp + 0x40], 0xaa
mov ecx, ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], ecx
test dl, 0x20
je 0x49d2ae
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax]
xor eax, eax
inc eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], eax
test dl, 0x10
je 0x49d2c7
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
mov eax, dword [eax + 0x30]
mov edx, dword [eax + edx*4]
mov dword [esp + 0x20], edx
jmp 0x49d2c9
mov edx, ebx
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x49d2db
mov dword [esp + 0x20], ecx
mov ecx, edx
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x49d38d
mov edx, dword [ecx]
mov dword [esp + 0x14], 0x18161719
mov dword [esp + 0x10], edx
mov ecx, dword [edx + 0x10]
call fcn.004786ae
cmp eax, 1
jle 0x49d334
mov ecx, esi
call fcn.0047d5e1
mov edx, dword [edx + 0x10]
xor ecx, ecx
inc ecx
mov dword [esp + 0x18], eax
push ecx
push eax
mov ecx, esi
mov dword [esp + 0x4c], eax
call fcn.0049cc94
mov edx, dword [esp + 0x18]
xor eax, eax
pop ecx
pop ecx
inc eax
movzx ecx, byte [edx]
inc ecx
and ecx, 2
or ecx, eax
mov cl, byte [esp + ecx + 0x14]
jmp 0x49d365
lea eax, [esp + 0x38]
mov edx, ecx
push eax
mov ecx, esi
call fcn.0047c1b7
mov edx, dword [esp + 0x1c]
pop ecx
mov ecx, edi
mov dword [esp + 0x44], eax
call fcn.0049c38c
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x18], eax
movzx ecx, byte [edx]
mov cl, byte [esp + ecx - 0x22]
push dword [esp + 0x44]
movzx edx, cl
push dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
push dword [esp + 0x2c]
call fcn.00469c0b
mov edx, dword [esp + 0x24]
add esp, 0xc
mov ecx, esi
call fcn.0047d600
jmp 0x49d3ad
mov ecx, dword [esp + 0xc]
test eax, eax
push ebx
push dword [esp + 0x48]
push dword [esp + 0x2c]
push 0x24
pop edx
push 0x20
pop eax
cmovne edx, eax
call fcn.00469c0b
add esp, 0xc
mov eax, dword [esp + 0x20]
test eax, eax
je 0x49d42c
mov eax, dword [eax]
inc dword [esi + 0x2c]
mov ecx, dword [esi + 0x2c]
push 1
mov edx, dword [eax + 0x10]
mov dword [esp + 0x68], ecx
push ecx
mov ecx, esi
mov dword [esp + 0x18], eax
call fcn.0049cc94
mov edx, dword [esp + 0x18]
pop ecx
pop ecx
mov ecx, dword [edx + 0x10]
call fcn.004786ae
cmp eax, 1
jg 0x49d402
mov al, byte [edx]
cmp al, 0x38
je 0x49d3ef
cmp al, 0x36
jne 0x49d402
cmp dword [esp + 0x3c], ebx
push 0x39
pop edx
push 0x37
pop eax
cmovne edx, eax
mov dword [esp + 0x40], edx
jmp 0x49d415
mov edx, dword [esp + 0x3c]
test edx, edx
push 0x36
pop eax
push 0x38
pop edx
cmovne eax, edx
mov dword [esp + 0x40], eax
call fcn.004786ae
xor ecx, ecx
inc ecx
cmp eax, ecx
jg 0x49d42c
mov edx, dword [esp + 0x20]
mov ecx, edi
call fcn.0049c38c
mov eax, dword [esp + 0xc]
cmp dword [esp + 0x3c], ebx
mov ecx, dword [eax + 0x6c]
sete al
add al, 4
mov dword [edi + 0x3c], ecx
cmp dword [esp + 0x40], 0xaa
mov byte [edi + 0x35], al
mov eax, dword [esp + 0x24]
mov dword [edi + 0x38], eax
je 0x49e2f6
inc dword [esi + 0x2c]
mov edx, 0x80
mov esi, dword [esi + 0x2c]
mov ecx, dword [esp + 0xc]
push ebx
push esi
push eax
call fcn.00469c0b
mov edx, dword [esp + 0x4c]
add esp, 0xc
mov ecx, dword [esp + 0xc]
push esi
push dword [esp + 0x30]
push dword [esp + 0x6c]
call fcn.00469c0b
mov ecx, dword [esp + 0x18]
add esp, 0xc
push 0x53
pop edx
call fcn.0046a0d0
jmp 0x49e2f6
test edx, 0x200
je 0x49dce7
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x14], ebx
movzx eax, word [ecx + 0x18]
mov dword [esp + 0x34], eax
movzx eax, word [ecx + 0x1a]
mov dword [esp + 0x40], eax
movzx eax, word [ecx + 0x1c]
mov dword [esp + 0x38], eax
mov eax, dword [ecx + 0x20]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x60], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x48], eax
movzx eax, cx
mov dword [esp + 0x2c], ebx
mov ecx, eax
mov byte [esp + 0x1f], bl
mov byte [esp + 0x6b], bl
mov dword [esp + 0x50], ebx
mov dword [esp + 0x30], eax
test dl, 0x20
je 0x49d51e
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x28]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + ecx*4]
inc ecx
mov dword [esp + 0x58], eax
movzx eax, word [esi + 0x1a]
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x14], eax
test dl, 0x10
je 0x49d5d5
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + ecx*4]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x54], eax
movzx eax, word [edx + 0x1c]
cmp ecx, eax
cmovbe ecx, eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x14], ecx
mov ecx, 0x100
test word [eax + 0xa], cx
je 0x49d59e
mov eax, dword [esi + 0x2c]
mov ecx, dword [esp + 0xc]
inc eax
push ebx
push eax
mov dword [esi + 0x2c], eax
mov dword [edi + 0x2c], eax
xor eax, eax
inc eax
push eax
push 0x46
pop edx
call fcn.00469c0b
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov edx, dword [esp + 0x3c]
add esp, 0xc
mov eax, dword [eax + 0x6c]
shl dword [edi + 0x2c], 1
mov dword [edi + 0x30], eax
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 0x1c]
cmp byte [edx + eax], 1
sete cl
xor ecx, dword [esp + 0x3c]
or dword [edi + 0x2c], ecx
jmp 0x49d5a2
mov edx, dword [esp + 0x30]
cmp dword [esp + 0x58], ebx
jne 0x49d5d5
mov ecx, dword [esp + 0x60]
mov eax, dword [ecx + 4]
movsx edx, word [eax + edx*2]
test edx, edx
js 0x49d5c7
mov eax, dword [ecx + 0xc]
mov ecx, edx
add ecx, ecx
mov eax, dword [eax + 4]
cmp byte [eax + ecx*8 + 0xc], bl
je 0x49d5cc
cmp edx, 0xfffffffe
jne 0x49d5d5
xor ecx, ecx
inc ecx
mov byte [esp + 0x1f], cl
jmp 0x49d5d8
xor ecx, ecx
inc ecx
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x24]
and eax, 0x80030
cmp eax, 0x80000
jne 0x49d609
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x24], eax
dec dword [esi + 0x38]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x38]
mov dword [esp + 0x14], ecx
mov byte [esp + 0x1f], cl
mov dword [edi + 0x28], eax
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x34]
movzx edx, word [ecx + 0x32]
cmp ax, dx
jae 0x49d637
mov eax, dword [ecx + 0x1c]
xor ecx, ecx
mov esi, dword [esp + 0x30]
cmp byte [esi + eax], cl
mov esi, dword [esp + 0x5c]
sete cl
cmp dword [esp + 0x3c], ecx
je 0x49d642
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x3c], ebx
je 0x49d674
cmp dx, ax
jne 0x49d674
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x58], eax
mov al, byte [esp + 0x1f]
mov byte [esp + 0x6b], al
mov eax, dword [esp + 0x40]
mov dword [esp + 0x54], ecx
movzx ecx, dx
movzx eax, al
mov byte [esp + 0x1f], bl
mov dword [esp + 0x40], ecx
mov dword [esp + 0x38], eax
lea eax, [esp + 0x44]
mov edx, edi
push eax
push dword [esp + 0x18]
mov ecx, esi
push dword [esp + 0x44]
call fcn.0049c9ae
mov ecx, dword [esp + 0x50]
add esp, 0xc
mov dword [esp + 0x4c], eax
test ecx, ecx
je 0x49d6b4
cmp word [esp + 0x38], bx
je 0x49d6b4
mov edx, dword [esp + 0x30]
lea edx, [edx + ecx]
mov ecx, dword [esp + 0x6c]
call fcn.00451fc7
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x50], ebx
je 0x49d6c3
mov ecx, dword [edi + 0x28]
mov dword [esp + 0x14], ecx
jmp 0x49d6ca
mov eax, dword [edi + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x58]
test eax, eax
je 0x49d6e1
test byte [eax + 0xc], 0x28
jne 0x49d6e1
xor edx, edx
mov dword [esp + 0x20], ebx
inc edx
jmp 0x49d6e8
xor edx, edx
inc edx
mov dword [esp + 0x20], edx
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x49d6fa
test byte [ecx + 0xc], 0x28
mov dword [esp + 0x18], ebx
je 0x49d6fe
mov dword [esp + 0x18], edx
test eax, eax
jne 0x49d70f
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x64], ebx
test cx, cx
je 0x49d713
mov dword [esp + 0x64], edx
mov ecx, dword [esp + 0x30]
mov edx, ecx
mov dword [esp + 0x34], edx
test eax, eax
je 0x49d7e8
mov eax, dword [eax]
mov edx, dword [esp + 0x40]
add ecx, dword [esp + 0x4c]
mov esi, dword [esp + 0x5c]
mov eax, dword [eax + 0x10]
movzx edx, dx
push edx
push ecx
mov edx, eax
mov dword [esp + 0x18], eax
mov ecx, esi
call fcn.0049cc94
mov eax, dword [esp + 0x60]
pop ecx
pop ecx
mov ecx, 0x100
test word [eax + 0xa], cx
je 0x49d764
mov ecx, dword [esp + 0xc]
mov edx, edi
call fcn.0049cbbe
mov ecx, dword [esp + 0x10]
call fcn.00479e61
test eax, eax
je 0x49d78e
mov eax, dword [esp + 0x30]
add eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0xc]
push ebx
push dword [esp + 0x18]
push eax
push 0x32
pop edx
call fcn.00469c0b
add esp, 0xc
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x49d7ae
mov eax, dword [esp + 0x30]
add eax, ecx
mov ecx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x44]
movzx edx, ax
call fcn.0049c438
pop ecx
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x34]
movzx eax, cx
mov ecx, dword [esp + 0x10]
add edx, eax
mov dword [esp + 0x34], edx
call fcn.004786ae
xor ecx, ecx
inc ecx
cmp eax, ecx
jg 0x49d7e0
mov edx, dword [esp + 0x58]
mov ecx, edi
call fcn.0049c38c
mov edx, dword [esp + 0x34]
jmp 0x49d7e4
mov dword [esp + 0x20], ecx
mov al, bl
jmp 0x49d828
mov al, byte [esp + 0x1f]
test al, al
je 0x49d7f6
mov dword [esp + 0x20], ebx
jmp 0x49d7fc
cmp dword [esp + 0x50], ebx
je 0x49d828
mov eax, dword [esp + 0x4c]
push ebx
add eax, ecx
mov ecx, dword [esp + 0x10]
push eax
push ebx
push 0x49
pop edx
call fcn.00469c0b
mov edx, dword [esp + 0x40]
xor eax, eax
inc eax
add esp, 0xc
inc edx
mov dword [esp + 0x64], eax
mov al, byte [esp + 0x1f]
mov dword [esp + 0x34], edx
push dword [esp + 0x44]
movzx ecx, al
sub edx, ecx
mov dword [esp + 0x44], ecx
push edx
mov edx, dword [esp + 0x54]
mov ecx, esi
call fcn.0049c3f0
pop ecx
pop ecx
mov ecx, dword [esp + 0x28]
movzx eax, word [ecx + 0x2a]
test ax, ax
je 0x49d85a
cmp dword [esp + 0x34], eax
je 0x49d925
test dword [ecx + 0x24], 0x40000
je 0x49d878
mov ecx, dword [esp + 0xc]
push ebx
push ebx
push dword [esp + 0x50]
push 0x77
pop edx
call fcn.00469c0b
add esp, 0xc
mov eax, dword [esp + 0x50]
test eax, eax
je 0x49d895
mov ecx, dword [esp + 0xc]
push ebx
push eax
xor eax, eax
inc eax
push eax
push 0x46
pop edx
call fcn.00469c0b
add esp, 0xc
mov ecx, dword [esp + 0x20]
push dword [esp + 0x34]
mov eax, dword [esp + 0x68]
push dword [esp + 0x50]
push dword [esp + 0x1c]
lea eax, [ecx + eax*2]
mov ecx, dword [esp + 0x48]
push dword [esp + 0x54]
movzx edx, byte [ecx + eax*2 + 0x5e9514]
mov ecx, dword [esp + 0x1c]
call fcn.00469e63
mov eax, dword [esp + 0x60]
add esp, 0x10
test eax, eax
je 0x49d929
mov ecx, dword [esp + 0xc]
push ebx
mov eax, dword [ecx + 0x6c]
add eax, 2
push eax
push ebx
push 0xb
pop eax
mov edx, eax
call fcn.00469c0b
mov eax, dword [esp + 0x40]
add esp, 0xc
sub eax, dword [esp + 0x20]
push eax
push dword [esp + 0x50]
xor eax, eax
push dword [esp + 0x1c]
inc eax
push dword [esp + 0x54]
cmp eax, dword [esp + 0x44]
push 4
pop ecx
sbb eax, eax
and eax, ecx
mov ecx, dword [esp + 0x4c]
movzx edx, byte [eax + ecx + 0x5e9516]
mov ecx, dword [esp + 0x1c]
call fcn.00469e63
add esp, 0x10
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x49da07
mov eax, dword [ecx]
mov edx, dword [esp + 0x38]
movzx ecx, dx
mov edx, dword [esp + 0x30]
add edx, dword [esp + 0x4c]
mov eax, dword [eax + 0x10]
push ecx
push edx
mov edx, eax
mov dword [esp + 0x18], eax
mov ecx, esi
call fcn.0049cc94
mov eax, dword [esp + 0x5c]
pop ecx
pop ecx
mov ecx, 0x100
test word [eax + 0xa], cx
je 0x49d974
mov ecx, dword [esp + 0xc]
mov edx, edi
call fcn.0049cbbe
mov ecx, dword [esp + 0x10]
call fcn.00479e61
test eax, eax
je 0x49d99e
mov eax, dword [esp + 0x30]
add eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0xc]
push ebx
push dword [esp + 0x18]
push eax
push 0x32
pop edx
call fcn.00469c0b
add esp, 0xc
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x49d9d9
mov ecx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x3c]
movzx edx, ax
call fcn.0049c438
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x3c]
pop ecx
mov ecx, dword [esp + 0x30]
push eax
movzx eax, dx
mov edx, dword [esp + 0x50]
push eax
lea edx, [ecx + edx]
mov ecx, esi
call fcn.0049c3f0
pop ecx
pop ecx
mov ecx, dword [esp + 0x38]
movzx eax, cx
add dword [esp + 0x30], eax
mov ecx, dword [esp + 0x10]
call fcn.004786ae
xor ecx, ecx
inc ecx
cmp eax, ecx
jg 0x49da01
mov edx, dword [esp + 0x54]
mov ecx, edi
call fcn.0049c38c
jmp 0x49da33
mov dword [esp + 0x18], ecx
jmp 0x49da33
cmp byte [esp + 0x6b], bl
je 0x49da33
test eax, eax
jne 0x49da2f
mov eax, dword [esp + 0x30]
add eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0xc]
push ebx
push eax
push ebx
push 0x49
pop edx
call fcn.00469c0b
add esp, 0xc
mov dword [esp + 0x18], ebx
inc dword [esp + 0x30]
mov eax, dword [esp + 0x44]
test eax, eax
je 0x49da46
mov ecx, dword [esp + 0x6c]
mov edx, eax
call fcn.00451bec
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x49da59
mov ecx, dword [esp + 0x6c]
mov edx, eax
call fcn.00451bec
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x6c]
mov dword [edi + 0x3c], eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x49dab8
mov edx, dword [esp + 0x50]
test edx, edx
je 0x49da8f
mov eax, dword [ecx + 0x6c]
push ebx
add eax, 3
push eax
push edx
push 0x14
pop edx
call fcn.00469c0b
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x3c]
push eax
push dword [esp + 0x50]
mov eax, dword [esp + 0x20]
push dword [esp + 0x1c]
push dword [esp + 0x54]
movzx edx, byte [eax + edx*2 + 0x5edb80]
call fcn.00469e63
mov ecx, dword [esp + 0x1c]
add esp, 0x10
mov edx, dword [esp + 0x50]
test edx, edx
je 0x49db03
mov eax, dword [ecx + 0x6c]
push ebx
add eax, 2
push eax
push edx
push 0x12
pop edx
call fcn.00469c0b
mov ecx, dword [esp + 0x4c]
add esp, 0xc
mov eax, dword [esp + 0x30]
add eax, ecx
push eax
push dword [esp + 0x50]
mov eax, dword [esp + 0x44]
push dword [esp + 0x1c]
push dword [esp + 0x54]
movzx edx, byte [ecx + eax*2 + 0x5edb80]
mov ecx, dword [esp + 0x1c]
call fcn.00469e63
add esp, 0x10
mov eax, dword [esp + 0x28]
test dword [eax + 0x24], 0x40000
je 0x49db2c
mov ecx, dword [esp + 0xc]
xor eax, eax
push ebx
inc eax
push eax
push dword [esp + 0x50]
push 0x77
pop edx
call fcn.00469c0b
mov eax, dword [esp + 0x34]
add esp, 0xc
test byte [eax + 0x24], 0x40
je 0x49db4b
mov ecx, dword [ebp + 8]
test byte [ecx + 0x2c], 0x20
jne 0x49db4b
xor eax, eax
inc eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
jmp 0x49dc66
mov edx, dword [esp + 0x60]
mov dword [esp + 0x18], ebx
mov ecx, dword [edx + 0xc]
test byte [ecx + 0x24], 0x20
jne 0x49dbcc
mov ecx, dword [ebp + 8]
movzx eax, word [ecx + 0x2c]
test eax, 0x400
jne 0x49db95
test eax, 0x1000
je 0x49db79
xor eax, eax
inc eax
cmp byte [ecx + 0x31], al
je 0x49db95
mov esi, dword [esp + 0x48]
push esi
push dword [esp + 0x28]
call fcn.0049cbe0
mov eax, dword [esp + 0x2c]
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
jmp 0x49dc6a
inc dword [esi + 0x2c]
mov edx, 0x87
mov esi, dword [esi + 0x2c]
mov ecx, dword [esp + 0xc]
push ebx
push esi
push dword [esp + 0x50]
call fcn.00469c0b
mov ecx, dword [esp + 0x18]
add esp, 0xc
push esi
push ebx
push dword [esp + 0x2c]
push 0x1f
pop edx
call fcn.00469c0b
add esp, 0xc
jmp 0x49dc5f
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x48]
je 0x49dc63
call fcn.004818cf
mov ecx, esi
mov dword [esp + 0x2c], eax
movzx edx, word [eax + 0x32]
call fcn.0047d619
mov esi, dword [esp + 0x2c]
xor ecx, ecx
mov dword [esp + 0x10], eax
cmp cx, word [esi + 0x32]
jae 0x49dc3c
mov edi, dword [esp + 0xc]
mov ebx, ecx
mov ecx, dword [esp + 0x60]
add eax, ebx
push eax
mov eax, dword [esi + 4]
mov dx, word [eax + ebx*2]
call fcn.004818e7
cwde
mov ecx, edi
push eax
push dword [esp + 0x50]
push 0x5a
pop edx
call fcn.00469c0b
movzx eax, word [esi + 0x32]
add esp, 0xc
inc ebx
cmp ebx, eax
mov eax, dword [esp + 0x10]
jl 0x49dc04
mov edi, dword [ebp + 0x10]
xor ebx, ebx
movzx eax, word [esi + 0x32]
mov ecx, dword [esp + 0xc]
push eax
push dword [esp + 0x14]
push dword [esp + 0x84]
push dword [esp + 0x30]
push 0x1c
pop edx
call fcn.00469e63
add esp, 0x10
mov eax, dword [esp + 0x24]
mov ecx, dword [ebp + 8]
mov esi, dword [esp + 0x48]
cmp dword [edi], ebx
jne 0x49dc83
test byte [ecx + 0x2c], 0x20
jne 0x49dc83
push ecx
mov ecx, dword [esp + 0x64]
mov edx, eax
push esi
call fcn.0049cd5b
pop ecx
pop ecx
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x49dc9c
push dword [esp + 0x70]
mov edx, dword [esp + 0x28]
call fcn.0049cdf2
pop ecx
mov ecx, dword [esp + 0x28]
test dword [ecx + 0x24], 0x1000
je 0x49dcaf
mov byte [edi + 0x35], 0xaa
jmp 0x49dcbc
cmp dword [esp + 0x3c], 0
sete al
add al, 4
mov byte [edi + 0x35], al
xor edx, edx
mov dword [edi + 0x38], esi
mov al, byte [ecx + 0x26]
inc edx
and al, dl
mov byte [edi + 0x36], al
test byte [ecx + 0x24], 0xf
jne 0x49dcd3
mov byte [edi + 0x37], dl
cmp dword [esp + 0x18], 0
je 0x49e2f6
mov dword [esp + 0x60], ebx
jmp 0x49e2f6
test edx, 0x2000
je 0x49e2af
mov eax, dword [esi + 0x28]
mov dword [esp + 0x48], eax
inc eax
inc dword [esi + 0x2c]
dec dword [esi + 0x38]
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x38]
mov edx, dword [esi + 0x2c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebx
mov ecx, dword [eax + 0x10]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x50], ebx
mov eax, dword [eax + 0x30]
mov dword [esp + 0x58], ecx
mov eax, dword [eax]
mov dword [esp + 0x30], eax
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x38], edx
xor edx, edx
mov byte [edi + 0x35], 0x42
inc edx
mov al, byte [eax + 0x2e]
cmp al, dl
jbe 0x49de3a
movzx eax, al
sub eax, dword [ebp + 0xc]
dec eax
imul ecx, eax, 0x48
push ebx
mov dword [esp + 0x14], eax
add ecx, 0x50
push ecx
mov ecx, dword [esp + 0x74]
call fcn.00451e30
pop ecx
pop ecx
mov ecx, eax
mov dword [esp + 0x34], ecx
test ecx, ecx
jne 0x49dd90
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
jmp 0x49e5b8
mov al, byte [esp + 0x10]
inc al
movzx eax, al
push 0x48
push dword [esp + 0x78]
mov dword [ecx + 4], eax
mov dword [ecx], eax
lea eax, [ecx + 8]
push eax
call fcn.00588a40
mov ecx, dword [ebp + 8]
xor eax, eax
inc eax
add esp, 0xc
mov ecx, dword [ecx + 4]
mov dword [esp + 0x14], ecx
cmp dword [esp + 0x10], eax
jl 0x49de09
mov eax, dword [esp + 0x34]
lea esi, [edi + 0x8c]
mov ebx, dword [esp + 0x10]
add eax, 0x50
mov dword [esp + 0x18], eax
mov edi, eax
movzx eax, byte [esi]
add ecx, 8
imul eax, eax, 0x48
push 0x48
add eax, ecx
push eax
push edi
call fcn.00588a40
mov ecx, dword [esp + 0x20]
lea esi, [esi + 0x58]
add esp, 0xc
add edi, 0x48
sub ebx, 1
jne 0x49ddda
mov edi, dword [ebp + 0x10]
xor ebx, ebx
mov esi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
mov eax, dword [ebp + 8]
test byte [eax + 0x2c], 0x10
jne 0x49de8b
test byte [ecx + 0x24], 0x20
jne 0x49de46
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
mov ecx, dword [esp + 0xc]
push ebx
push eax
push ebx
push 0x49
pop edx
mov dword [esp + 0x4c], eax
call fcn.00469c0b
add esp, 0xc
jmp 0x49de81
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [esp + 0x34], eax
jmp 0x49de0d
call fcn.004818cf
mov esi, eax
mov eax, dword [esp + 0x5c]
push ebx
mov edx, dword [eax + 0x28]
mov dword [esp + 0x44], edx
lea ecx, [edx + 1]
mov dword [eax + 0x28], ecx
movzx ecx, word [esi + 0x32]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push 0x70
pop edx
call fcn.00469c0b
add esp, 0xc
mov edx, esi
mov esi, dword [esp + 0x5c]
mov ecx, esi
call fcn.0046a350
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0xc]
push ebx
push dword [esp + 0x50]
push ebx
push 0x46
pop edx
call fcn.00469c0b
mov dword [esp + 0x84], eax
xor ecx, ecx
mov eax, dword [esp + 0x7c]
inc ecx
add esp, 0xc
cmp dword [eax + 0xc], ecx
jle 0x49df49
cmp dword [eax + 0xc], 0
mov edx, ebx
mov dword [esp + 0x10], edx
jle 0x49df49
mov ecx, ebx
mov dword [esp + 0x18], ebx
mov edi, ebx
mov eax, dword [eax + 0x14]
add eax, ecx
cmp eax, dword [esp + 0x30]
je 0x49df11
test byte [eax + 0xa], 6
jne 0x49df11
mov esi, 0x1fff
test word [eax + 0xc], si
mov esi, dword [esp + 0x5c]
je 0x49df11
mov edx, dword [eax]
mov ecx, dword [esp + 0x6c]
push ebx
call fcn.00479404
pop ecx
push eax
mov edx, edi
mov ecx, esi
call fcn.00478d33
mov edx, dword [esp + 0x14]
mov edi, eax
pop ecx
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x70]
inc edx
add ecx, 0x30
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ecx
cmp edx, dword [eax + 0xc]
jl 0x49decf
mov dword [esp + 0x50], edi
test edi, edi
mov edi, dword [ebp + 0x10]
je 0x49df49
mov eax, dword [esp + 0x50]
mov edx, 0x1002c
push eax
push ebx
mov ecx, esi
call fcn.00478c87
pop ecx
pop ecx
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 8]
mov ecx, 0x400
push 0x20
mov ax, word [eax + 0x2c]
and ax, cx
pop ecx
or ax, cx
movzx eax, ax
mov dword [esp + 0x28], eax
xor eax, eax
push str.MULTI_INDEX_OR
inc eax
push eax
push esi
call fcn.00469da7
mov ecx, dword [esp + 0x38]
add esp, 0xc
mov eax, ebx
mov dword [esp + 0x54], eax
cmp dword [ecx + 0xc], ebx
jle 0x49e224
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 0x24]
imul eax, eax, 0x30
add eax, dword [ecx + 0x14]
cmp dword [eax + 0x14], edx
je 0x49dfb0
mov edi, 0x400
test word [eax + 0xc], di
mov edi, dword [esp + 0xc]
je 0x49e20f
mov ecx, dword [esp + 0x50]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ebx
test ecx, ecx
je 0x49dfc9
mov dword [ecx + 0xc], eax
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x54]
inc eax
push eax
xor eax, eax
push str.INDEX__d
inc eax
push eax
push esi
call fcn.00469da7
push dword [esp + 0x58]
mov edx, dword [esp + 0x48]
mov ecx, esi
push dword [esp + 0x3c]
push ebx
push ebx
push dword [esp + 0x38]
call fcn.004a439c
add esp, 0x24
mov dword [esp + 0x88], eax
test eax, eax
je 0x49e207
mov edx, dword [esp + 0x34]
lea ecx, [eax + 0x2f0]
push ebx
push ecx
mov ecx, esi
call fcn.0049c0eb
mov eax, dword [ebp + 8]
pop ecx
pop ecx
test byte [eax + 0x2c], 0x10
jne 0x49e171
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x54]
push 0xffffffffffffffff
pop edx
mov eax, dword [eax + 0xc]
dec eax
cmp ecx, eax
mov eax, dword [esp + 0x58]
cmove ecx, edx
mov dword [esp + 0x18], ecx
test byte [eax + 0x24], 0x20
jne 0x49e085
push dword [esp + 0x20]
mov ecx, edi
push edx
push dword [esp + 0x2c]
mov edx, eax
call fcn.0047b25f
add esp, 0xc
mov ecx, edi
push dword [esp + 0x18]
push dword [esp + 0x24]
push ebx
push dword [esp + 0x4c]
push 0x2a
pop edx
call fcn.00469e63
add esp, 0x10
mov dword [esp + 0x10], eax
jmp 0x49e171
mov ecx, eax
call fcn.004818cf
mov ecx, esi
mov dword [esp + 0x84], eax
movzx edx, word [eax + 0x32]
mov dword [esp + 0x14], edx
call fcn.0047d619
mov dword [esp + 0x80], ebx
mov ecx, eax
mov dword [esp + 0x38], ecx
test edx, edx
je 0x49e0ee
mov esi, ebx
mov ebx, edx
mov eax, dword [esp + 0x84]
add ecx, esi
mov edx, dword [esp + 0x58]
push ecx
mov ecx, edi
mov eax, dword [eax + 4]
movsx eax, word [eax + esi*2]
push eax
push dword [esp + 0x2c]
call fcn.0047b25f
mov ecx, dword [esp + 0x44]
add esp, 0xc
inc esi
cmp esi, ebx
jl 0x49e0b7
mov esi, dword [esp + 0x5c]
xor ebx, ebx
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x49e114
push edx
push ecx
push ebx
push dword [esp + 0x4c]
mov ecx, edi
push 0x1d
pop edx
call fcn.00469e63
mov dword [esp + 0x20], eax
add esp, 0x10
mov eax, dword [esp + 0x18]
test eax, eax
js 0x49e15f
push dword [esp + 0x20]
mov ecx, edi
push dword [esp + 0x18]
push dword [esp + 0x40]
push 0x5c
pop edx
call fcn.00469c0b
add esp, 0xc
mov edx, 0x84
mov ecx, edi
push dword [esp + 0x14]
push dword [esp + 0x3c]
push dword [esp + 0x28]
push dword [esp + 0x4c]
call fcn.00469e63
add esp, 0x10
cmp dword [esp + 0x18], 0
je 0x49e15f
push 0x10
pop edx
mov ecx, edi
call fcn.0046a0d0
push dword [esp + 0x14]
mov edx, dword [esp + 0x3c]
mov ecx, esi
call fcn.0047d64f
add esp, 4
push ebx
push dword [esp + 0x40]
mov ecx, edi
push dword [esp + 0x54]
push 0xc
pop edx
call fcn.00469c0b
mov eax, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
je 0x49e19e
mov edx, eax
mov ecx, edi
call fcn.0046a36b
mov ecx, dword [edi + 0x6c]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x64]
push 1
pop ecx
cmp byte [edx + 0x32], 0
cmovne eax, ecx
mov ecx, dword [edx + 0x338]
mov dword [esp + 0x64], eax
test dword [ecx + 0x24], 0x200
je 0x49e1f5
cmp dword [esp + 0x54], 0
je 0x49e1d6
mov eax, dword [esp + 0x44]
cmp dword [ecx + 0x20], eax
jne 0x49e1f5
mov eax, dword [esp + 0x58]
test byte [eax + 0x24], 0x20
je 0x49e1ec
mov eax, dword [ecx + 0x20]
mov eax, dword [eax + 0x38]
and al, 3
cmp al, 2
je 0x49e1f5
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x44], eax
jmp 0x49e1f9
mov dword [esp + 0x44], ebx
mov ecx, edx
call fcn.004a4d58
mov ecx, esi
call fcn.00469df8
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x54]
inc eax
mov dword [esp + 0x54], eax
cmp eax, dword [ecx + 0xc]
jl 0x49df92
mov edi, dword [ebp + 0x10]
mov ecx, esi
call fcn.00469df8
mov eax, dword [esp + 0x44]
mov dword [edi + 0x40], eax
test eax, eax
je 0x49e23d
mov eax, dword [esp + 0x48]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x50]
test eax, eax
je 0x49e253
mov ecx, dword [esp + 0x6c]
mov edx, eax
mov dword [eax + 0xc], ebx
call fcn.00478f74
mov esi, dword [esp + 0xc]
mov ecx, esi
mov edx, dword [esp + 0x78]
call fcn.0046a36b
mov ecx, dword [esi + 0x6c]
mov dword [eax + 4], ecx
mov ecx, esi
mov edx, dword [edi + 0xc]
call fcn.00469c64
mov edx, dword [esp + 0x3c]
mov ecx, esi
call fcn.00469efd
mov eax, dword [ebp + 8]
xor ecx, ecx
inc ecx
cmp byte [eax + 0x2e], cl
jbe 0x49e29b
mov eax, dword [esp + 0x34]
test eax, eax
je 0x49e29b
mov ecx, dword [esp + 0x6c]
mov edx, eax
call fcn.00451bec
cmp dword [esp + 0x64], 0
jne 0x49e2f6
mov edx, dword [esp + 0x30]
mov ecx, edi
call fcn.0049c38c
jmp 0x49e2f6
mov eax, dword [esp + 0x74]
test byte [eax + 0x28], 0x20
je 0x49e2bf
mov byte [edi + 0x35], 0xaa
jmp 0x49e2f6
mov ecx, dword [esp + 0x3c]
push ebx
push dword [esp + 0x48]
mov al, byte [ecx + 0x5ec2f4]
movzx edx, byte [ecx + 0x5edbd0]
mov ecx, dword [esp + 0x14]
mov byte [edi + 0x35], al
mov eax, dword [esp + 0x2c]
push eax
mov dword [edi + 0x38], eax
call fcn.00469c0b
add esp, 0xc
inc eax
mov dword [edi + 0x3c], eax
xor eax, eax
inc eax
mov byte [edi + 0x37], al
xor edx, edx
cmp dword [esp + 0x60], edx
sete dl
inc edx
mov dword [esp + 0x2c], edx
mov ecx, dword [esp + 0x70]
mov eax, ebx
mov dword [esp + 0x14], eax
mov esi, dword [ecx + 0x14]
mov ecx, dword [ecx + 0xc]
jmp 0x49e414
movzx ecx, word [esi + 0xa]
mov dword [esp + 0x10], ebx
test cl, 6
jne 0x49e408
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
and ecx, dword [edi + 0x50]
and eax, dword [edi + 0x54]
or ecx, eax
je 0x49e348
mov eax, dword [ebp + 8]
xor ecx, ecx
inc ecx
mov byte [eax + 0x32], cl
jmp 0x49e404
mov ecx, dword [esp + 0x74]
mov eax, dword [esi]
mov dword [esp + 0x78], eax
test byte [ecx + 0x24], 8
je 0x49e366
xor ecx, ecx
inc ecx
test byte [eax + 4], cl
je 0x49e404
jmp 0x49e369
xor ecx, ecx
inc ecx
cmp edx, ecx
jne 0x49e38d
push dword [esp + 0x60]
mov edx, dword [edi + 4]
mov ecx, eax
call fcn.0047d21b
pop ecx
test eax, eax
jne 0x49e43d
push 2
pop eax
mov dword [esp + 0x14], eax
jmp 0x49e408
cmp edx, 3
jl 0x49e440
movzx eax, word [esi + 0xa]
test eax, 0x200
je 0x49e3c8
mov edx, dword [edi + 0x2c]
test edx, edx
je 0x49e3c8
mov eax, edx
and edx, ecx
mov ecx, dword [esp + 0xc]
push ebx
shr eax, 1
push ebx
push eax
lea edx, [edx*2 + 0x12]
call fcn.00469c0b
add esp, 0xc
mov dword [esp + 0x10], eax
push 0x10
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0x68]
call fcn.0047c806
mov eax, dword [esp + 0x20]
add esp, 0x10
test eax, eax
je 0x49e3fd
mov ecx, dword [esp + 0xc]
mov edx, eax
call fcn.0046a36b
mov ecx, dword [ecx + 0x6c]
mov dword [eax + 8], ecx
push 4
pop eax
or word [esi + 0xa], ax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x2c]
dec ecx
add esi, 0x30
mov dword [esp + 0x18], ecx
test ecx, ecx
jg 0x49e319
mov edx, eax
mov dword [esp + 0x2c], edx
test eax, eax
jg 0x49e304
mov eax, dword [esp + 0x70]
mov esi, dword [eax + 0x14]
mov edx, dword [eax + 0xc]
jmp 0x49e531
xor ecx, ecx
inc ecx
movzx eax, word [esi + 0xa]
test eax, 0x1000
je 0x49e39a
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x49e408
push 3
jmp 0x49e386
test byte [esi + 0xa], 6
jne 0x49e52d
movzx eax, word [esi + 0xc]
test al, 0x82
push 0xb
pop edi
setne cl
bt ax, di
mov edi, dword [ebp + 0x10]
setb al
test al, cl
je 0x49e52d
mov ecx, dword [esp + 0x24]
cmp dword [esi + 0x14], ecx
jne 0x49e52d
cmp dword [edi], ebx
jne 0x49e52d
mov eax, dword [esi]
mov edx, ecx
mov ecx, dword [esp + 0x70]
push ebx
push 0x83
push dword [ebp + 0x18]
mov dword [esp + 0x84], eax
push dword [ebp + 0x14]
push dword [esi + 0x1c]
call fcn.004a0652
mov edx, eax
add esp, 0x14
test edx, edx
je 0x49e529
test byte [edx + 0xa], 4
jne 0x49e529
xor ecx, ecx
inc ecx
test byte [edx + 0xc], cl
je 0x49e4e9
mov eax, dword [edx]
test dword [eax + 4], 0x800
je 0x49e4e9
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
cmp dword [eax], ecx
jg 0x49e529
mov esi, dword [edx]
lea edi, [esp + 0x8c]
mov eax, dword [esp + 0x78]
push 0xd
pop ecx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [eax + 0xc]
push 0x10
push dword [esp + 0x80]
mov dword [esp + 0xa0], eax
lea eax, [esp + 0x94]
push eax
push dword [esp + 0x68]
call fcn.0047c806
mov edi, dword [ebp + 0x10]
add esp, 0x10
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
dec edx
add esi, 0x30
mov dword [esp + 0x20], edx
mov dword [esp + 0x10], esi
test edx, edx
jg 0x49e45e
cmp dword [edi], 0
je 0x49e5b2
mov ecx, dword [esp + 0xc]
push ebx
push dword [edi]
mov eax, dword [ecx + 0x6c]
mov dword [edi + 0x1c], eax
xor eax, eax
inc eax
push eax
push 0x46
pop edx
call fcn.00469c0b
mov edx, dword [esp + 0x7c]
add esp, 0xc
mov esi, dword [edx + 0x14]
cmp dword [edx + 0xc], ebx
jle 0x49e5b2
test byte [esi + 0xa], 6
jne 0x49e5a9
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
and ecx, dword [edi + 0x50]
and eax, dword [edi + 0x54]
or ecx, eax
jne 0x49e5a9
push 0x10
push dword [esp + 0x80]
push dword [esi]
push dword [esp + 0x68]
call fcn.0047c806
mov edx, dword [esp + 0x80]
add esp, 0x10
push 4
pop eax
or word [esi + 0xa], ax
inc ebx
add esi, 0x30
cmp ebx, dword [edx + 0xc]
jl 0x49e56e
mov eax, dword [edi + 0x50]
mov edx, dword [edi + 0x54]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret